daemon-engine
maintainer orphaned
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The flagged source URL for NaCL SDK is from a project-associated domain (dl.unvanquished.net) used for legitimate build dependencies; the package builds from official project sources and the download is a standard part of the build process, posing no evident risk of code execution or tampering.
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 flagged source URL for NaCL SDK is from a project-associated domain (dl.unvanquished.net) used for legitimate build dependencies; the package builds from official project sources and the download is a standard part of the build process, posing no evident risk of code execution or tampering.
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:40
"naclsdk_${_naclsdkver}.tar.bz2::https://dl.unvanquished.net/deps/${_naclsdkver}.tar.bz2")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: PopeRigby <poperigby at tuta dot io>
2
3
pkgname=daemon-engine
4
pkgver=0.52.0
5
pkgrel=1
6
pkgdesc="The standalone engine that powers the multiplayer first person shooter Unvanquished."
7
arch=('x86_64' 'i686')
8
url='http://unvanquished.net'
9
license=('BSD' 'GPL3')
10
makedepends=('cmake')
11
depends=('nettle' 'geoip' 'curl' 'sdl2' 'glew' 'libwebp>=0.2.0' 'freetype2' 'openal' 'libvorbis' 'opusfile')
12
13
# Daemon is the game's engine.
14
_daemonver="v${pkgver}"
15
_daemondir="Daemon-${pkgver}"
16
17
# breakpad, crunch, and recastnavigation are Daemon submodules.
18
_breakpadver=15fbc760aa1e4db2a3b36493ff3b4cf49e3df282
19
_crunchver=559a1b045b50b5f716294b47325c0170c8236dbc
20
_recastver=6b68934d6d2715501e01b1e115413cefaa0aa7d3
21
_breakpaddir="breakpad-${_breakpadver}"
22
_crunchdir="crunch-${_crunchver}"
23
_recastdir="recastnavigation-${_recastver}"
24
25
# NaCL SDK is a buildtime dependency of Daemon.
26
# Note that due to enormous compile times, we use a binary distribution.
27
_naclsdkbasever="4"
28
if test "$CARCH" == "x86_64"; then
29
_naclsdkarch=linux64
30
else
31
_naclsdkarch=linux32
32
fi
33
_naclsdkver="${_naclsdkarch}-${_naclsdkbasever}"
34
_naclsdkdir="${_naclsdkver}"
35
36
source=("daemon_${pkgver}.tar.gz::https://github.com/DaemonEngine/Daemon/archive/${_daemonver}.tar.gz"
37
"breakpad_${_breakpadver}.tar.gz::https://github.com/DaemonEngine/breakpad/archive/${_breakpadver}.tar.gz"
38
"crunch_${_crunchver}.tar.gz::https://github.com/DaemonEngine/crunch/archive/${_crunchver}.tar.gz"
39
"recast_${_recastver}.tar.gz::https://github.com/DaemonEngine/recastnavigation/archive/${_recastver}.tar.gz"
40
"naclsdk_${_naclsdkver}.tar.bz2::https://dl.unvanquished.net/deps/${_naclsdkver}.tar.bz2")
41
42
# The prepare function mimics the git submodule dance.
43
prepare() {
44
cd "${srcdir}"
45
46
# From Daemon: Remove empty submodule directories.
47
rmdir --ignore-fail-on-non-empty "${_daemondir}/libs/breakpad"
48
rmdir --ignore-fail-on-non-empty "${_daemondir}/libs/crunch"
49
50
# Link the NaCL SDK in the Dæmon source tree.
51
ln -sfr "${_naclsdkdir}" "${_daemondir}/external_deps/${_naclsdkdir}"
52
53
# Link Dæmon's submodules.
54
ln -sfr "${_breakpaddir}" "${_daemondir}/libs/breakpad"
55
ln -sfr "${_crunchdir}" "${_daemondir}/libs/crunch"
56
ln -sfr "${_recastdir}" "${_daemondir}/libs/recastnavigation"
57
}
58
59
build() {
60
cd "${srcdir}/${_daemondir}"
61
62
mkdir -p build
63
cd build
64
65
cmake -D BUILD_CGAME=OFF -D BUILD_SGAME=OFF ..
66
make
67
}
68
69
package() {
70
# create installation directories
71
cd "${pkgdir}"
72
73
install -dm755 \
74
usr/lib/daemon-engine \
75
usr/share/licenses/daemon-engine
76
77
# install content
78
cd "${srcdir}/${_daemondir}"
79
80
install -m 644 COPYING.txt "${pkgdir}/usr/share/licenses/daemon-engine/"
81
82
cd "${srcdir}/${_daemondir}/build"
83
84
install -m 755 daemon "${pkgdir}/usr/lib/daemon-engine/"
85
install -m 755 daemonded "${pkgdir}/usr/lib/daemon-engine/"
86
install -m 755 daemon-tty "${pkgdir}/usr/lib/daemon-engine/"
87
install -m 755 irt_core-x86*.nexe "${pkgdir}/usr/lib/daemon-engine/"
88
install -m 755 nacl_helper_bootstrap "${pkgdir}/usr/lib/daemon-engine/"
89
install -m 755 nacl_loader "${pkgdir}/usr/lib/daemon-engine/"
90
}
91
92
md5sums=('7d0422b8185b190a4b67466d9854b647'
93
'256f388e18018f638958a47f53f2a8d9'
94
'356bbda9890f48dca1db3b80001d40c0'
95
'2b1989f17e3ae0cab77cae8d397deafb'
96
'2ba12c71625919ddc282172b74fa4887')
97
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |