darkplaces
The package downloads source code from a project-associated host (icculus.org) which is not on the standard whitelist but is plausibly official; the source is verified via checksum and used to build the software normally, posing minimal risk.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads source code from a project-associated host (icculus.org) which is not on the standard whitelist but is plausibly official; the source is verified via checksum and used to build the software normally, posing minimal risk.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:16
source=(http://icculus.org/twilight/$pkgname/files/darkplacesengine$pkgver.zip -
PKGBUILD:18
gcc-11.patch::https://gitweb.gentoo.org/repo/gentoo.git/plain/games-fps/darkplaces/files/darkplaces-20140513-gcc-11.patch?id=bc2ba1cd6fdc5a7ad7d161efb21652b73c6b207e)
PKGBUILD
2 offending line(s) highlighted# Maintainer: Jose Riha <jose1711 gmail com>
# Contributor: Arkham <arkham at archlinux dot us>
# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
# Contributor: Paul Bredbury <brebs@sent.com>
pkgname=darkplaces
pkgver=20140513
pkgrel=7
pkgdesc="An advanced Quake 1 game engine"
arch=('i686' 'x86_64')
url="http://icculus.org/twilight/darkplaces/"
license=('GPL-2.0-or-later')
depends=('alsa-lib' 'hicolor-icon-theme' 'libgl' 'libjpeg-turbo' 'libxpm'
'libxxf86vm' 'sdl' 'zlib')
install=$pkgname.install
source=(http://icculus.org/twilight/$pkgname/files/darkplacesengine$pkgver.zip
$pkgname.desktop
gcc-11.patch::https://gitweb.gentoo.org/repo/gentoo.git/plain/games-fps/darkplaces/files/darkplaces-20140513-gcc-11.patch?id=bc2ba1cd6fdc5a7ad7d161efb21652b73c6b207e)
sha512sums=('45864b590057c6de0ea978b3cc967feb879b87b2d376f3b4d8525e037b10ca1fc68599c152506494bb06669c6c2304e0aa0ee1b28f7a0d589d10c23f7285052c'
'daed32cb397b8f5d8a569b0679680377b9a1fb7a30fc5b99742381723850b792424d221deafb48ed4bad99d9fc7812f8a667263d9f0e63a40fbc2d9e1013c1d6'
'426e6e3926872131afde4b6f162453f5f24ee0075b13c2da9732c7519bdbae9f05348502f74cafce88b183adddf5d9916020d1df0db25b953fafdeda7b49f1e2')
noextract=(darkplacesengine$pkgver.zip)
prepare() {
cd "$srcdir"
bsdtar -xf darkplacesengine$pkgver.zip darkplacesenginesource$pkgver.zip
bsdtar -xf darkplacesenginesource$pkgver.zip
cd "$pkgname"
# Fix a couple options in the Makefile.
sed -i '1i DP_LINK_TO_LIBJPEG=1' makefile
sed -i '/(STRIP)/d' makefile.inc
# Honor LDFLAGS from makepkg.conf (full RELRO etc.)
sed -i "s|^LDFLAGS_RELEASE=\$(OPTIM_RELEASE)|& ${LDFLAGS}|" makefile.inc
# Fix compilation with GCC-11+
patch -p1 -i "${srcdir}/gcc-11.patch"
}
build() {
cd "$srcdir/$pkgname"
make OPTIM_RELEASE="${CFLAGS} -std=gnu17" DP_FS_BASEDIR=/usr/share/games/quake release
}
package() {
cd $srcdir/$pkgname
install -d $pkgdir/usr/bin
install -m755 darkplaces-{dedicated,glx,sdl} $pkgdir/usr/bin
for i in 16 24 32 48 64 72; do
install -Dm644 darkplaces${i}x${i}.png $pkgdir/usr/share/icons/hicolor/${i}x${i}/apps/darkplaces.png
done
install -Dm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
}
Changes since previous scan
--- PKGBUILD @ 2026-10-18 00:06+++ PKGBUILD @ 2026-11-01 00:21@@ -5,12 +5,12 @@ pkgname=darkplaces pkgver=20140513-pkgrel=6+pkgrel=7 pkgdesc="An advanced Quake 1 game engine" arch=('i686' 'x86_64') url="http://icculus.org/twilight/darkplaces/" license=('GPL-2.0-or-later')-depends=('alsa-lib' 'hicolor-icon-theme' 'libjpeg-turbo' 'libxpm'+depends=('alsa-lib' 'hicolor-icon-theme' 'libgl' 'libjpeg-turbo' 'libxpm' 'libxxf86vm' 'sdl' 'zlib') install=$pkgname.install source=(http://icculus.org/twilight/$pkgname/files/darkplacesengine$pkgver.zipScan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 15:22:20 | Medium | 1 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 13:16:10 | Medium | 1 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |