swi-prolog-devel
MEDIUM
maintainer archery
12 votes
scanned 2026-08-22 11:17:02.700618
Why flagged
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
Triggered rules
Medium
source=() URL on a non-standard host
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:28
source=("https://www.swi-prolog.org/download/devel/src/swipl-$pkgver.tar.gz")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Ebrahim Azarisooreh <ebrahim.azarisooreh@gmail.com>
2
# Contributor: Nikolaos Bezirgiannis <bezeria@gmail.com>
3
# Contributor: Alexander Rødseth <rodseth@gmail.com>
4
# Contributor: Jachym Barvinek <jachymb@gmail.com>
5
# Contributor: Thomas Dziedzic < gostrc at gmail >
6
# Contributor: John Proctor <jproctor@prium.net>
7
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
8
9
pkgname=swi-prolog-devel
10
pkgver=10.1.13
11
pkgrel=1
12
pkgdesc='Prolog environment (development version)'
13
arch=('x86_64' 'i686')
14
url='https://www.swi-prolog.org/'
15
license=(GPL LGPL)
16
depends=('gmp' 'readline' 'openssl' 'libarchive' 'libyaml' 'libutf8proc')
17
makedepends=(cmake jdk-openjdk junit libjpeg libxft libxinerama libxpm ninja unixodbc sdl3 sdl3_image)
18
optdepends=('unixodbc: for using the odbc4pl library'
19
'uuid: for using the uuid library'
20
'libjpeg: for using the pl2xpce library'
21
'libxpm: for using the pl2xpce library'
22
'libxinerama: for using the pl2xpce library'
23
'libxft: for using the pl2xpce library'
24
'sdl3: for using the pl2xpce library'
25
'sdl3_image: for using the pl2xpce library'
26
'jdk-openjdk: for using Prolog from Java'
27
'java-runtime: for using Prolog from Java')
28
source=("https://www.swi-prolog.org/download/devel/src/swipl-$pkgver.tar.gz")
29
sha256sums=('99a508cae9adc21e5d23c30a394b442137ed27724e3ac7d4e42a1386b9385fd1')
30
31
provides=('swi-prolog')
32
conflicts=('swi-prolog')
33
34
35
36
37
build() {
38
mkdir -p build
39
cd build
40
cmake ../swipl-$pkgver \
41
-DCMAKE_BUILD_TYPE=PGO \
42
-DCMAKE_INSTALL_PREFIX=/usr \
43
-DCMAKE_C_FLAGS="$CFLAGS -fPIC -ffile-prefix-map=$PWD= -w" \
44
-DLIBEDIT_LIBRARIES=/usr/lib/libedit.so.0 \
45
-DLIBEDIT_INCLUDE_DIR=/usr/include \
46
-DUSE_TCMALLOC=OFF \
47
-G Ninja
48
#../swipl-$pkgver/scripts/pgo-compile.sh
49
ninja
50
}
51
52
check() {
53
cd build
54
# the prolog_in_java test fails
55
ctest -j 8 || true
56
}
57
58
package() {
59
DESTDIR="$pkgdir" ninja -C build install
60
}
61
62
# getver: www.swi-prolog.org/download/devel
63
# vim: ts=2 sw=2 et:
64
Changes since previous scan
--- PKGBUILD @ 2026-07-23 00:14+++ PKGBUILD @ 2026-08-22 11:17@@ -7,7 +7,7 @@ # Contributor: Juergen Hoetzel <juergen@archlinux.org> pkgname=swi-prolog-devel-pkgver=10.1.12+pkgver=10.1.13 pkgrel=1 pkgdesc='Prolog environment (development version)' arch=('x86_64' 'i686')@@ -26,7 +26,7 @@ 'jdk-openjdk: for using Prolog from Java' 'java-runtime: for using Prolog from Java') source=("https://www.swi-prolog.org/download/devel/src/swipl-$pkgver.tar.gz")-sha256sums=('2754abfe274cf2cc8cdd594a50c8c29f5ab67a72be608355cccaf13a96f33ba4')+sha256sums=('99a508cae9adc21e5d23c30a394b442137ed27724e3ac7d4e42a1386b9385fd1') provides=('swi-prolog') conflicts=('swi-prolog')Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-22 11:17:02 | Medium | 1 |
| 2026-07-23 00:14:47 | Clean | 2 |
| 2026-07-22 11:20:06 | Medium | 1 |
| 2026-06-26 10:25:02 | Clean | 2 |
| 2026-06-19 19:07:35 | Clean | 2 |
| 2026-06-18 17:53:10 | Clean | 2 |
| 2026-06-18 16:11:54 | Medium | 1 |