darkplaces

maintainer jose1711 · 79 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads source code from the project's official host (icculus.org), which is not on the whitelist but is the legitimate upstream for Darkplaces; building from official source is normal AUR packaging and not inherently dangerous.

Triggered rules

LOW AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads source code from the project's official host (icculus.org), which is not on the whitelist but is the legitimate upstream for Darkplaces; building from official source is normal AUR packaging and not inherently dangerous.

1 higher static finding superseded - not the current verdict (shown for transparency)
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: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
1# Maintainer: Jose Riha <jose1711 gmail com>
2# Contributor: Arkham <arkham at archlinux dot us>
3# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
4# Contributor: Paul Bredbury <brebs@sent.com>
5
6pkgname=darkplaces
7pkgver=20140513
8pkgrel=5
9pkgdesc="An advanced Quake 1 game engine"
10arch=('i686' 'x86_64')
11url="http://icculus.org/twilight/darkplaces/"
12license=('GPL2')
13depends=('alsa-lib' 'hicolor-icon-theme' 'libjpeg-turbo' 'libxpm'
14 'libxxf86vm' 'sdl' 'zlib')
15install=$pkgname.install
16source=(http://icculus.org/twilight/$pkgname/files/darkplacesengine$pkgver.zip
17 $pkgname.desktop
18 gcc-11.patch::https://gitweb.gentoo.org/repo/gentoo.git/plain/games-fps/darkplaces/files/darkplaces-20140513-gcc-11.patch?id=bc2ba1cd6fdc5a7ad7d161efb21652b73c6b207e)
19sha512sums=('45864b590057c6de0ea978b3cc967feb879b87b2d376f3b4d8525e037b10ca1fc68599c152506494bb06669c6c2304e0aa0ee1b28f7a0d589d10c23f7285052c'
20 'daed32cb397b8f5d8a569b0679680377b9a1fb7a30fc5b99742381723850b792424d221deafb48ed4bad99d9fc7812f8a667263d9f0e63a40fbc2d9e1013c1d6'
21 '426e6e3926872131afde4b6f162453f5f24ee0075b13c2da9732c7519bdbae9f05348502f74cafce88b183adddf5d9916020d1df0db25b953fafdeda7b49f1e2')
22noextract=(darkplacesengine$pkgver.zip)
23
24prepare() {
25 cd "$srcdir"
26 bsdtar -xf darkplacesengine$pkgver.zip darkplacesenginesource$pkgver.zip
27 bsdtar -xf darkplacesenginesource$pkgver.zip
28 cd "$pkgname"
29
30 # Fix a couple options in the Makefile.
31 sed -i '1i DP_LINK_TO_LIBJPEG=1' makefile
32 sed -i '/(STRIP)/d' makefile.inc
33
34 # Fix compilation with GCC-11+
35 patch -p1 -i "${srcdir}/gcc-11.patch"
36}
37
38build() {
39 cd "$srcdir/$pkgname"
40
41 make OPTIM_RELEASE="${CFLAGS} -std=gnu17" DP_FS_BASEDIR=/usr/share/games/quake release
42}
43
44package() {
45 cd $srcdir/$pkgname
46 install -d $pkgdir/usr/bin
47 install -m755 darkplaces-{dedicated,glx,sdl} $pkgdir/usr/bin
48
49 for i in 16 24 32 48 64 72; do
50 install -Dm644 darkplaces${i}x${i}.png $pkgdir/usr/share/icons/hicolor/${i}x${i}/apps/darkplaces.png
51 done
52
53 install -Dm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
54}
55

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 LOW 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion