darkplaces

LOW
maintainer jose1711 79 votes scanned 2026-09-17 00:27:14.276658
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-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 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