0ad-data-git

maintainer tuxayo · 8 votes · base 0ad-git · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a git repository from a project-owned Gitea instance, building from official source code; the non-whitelisted host is plausibly legitimate and the package does not execute untrusted prebuilt binaries.

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 source is a git repository from a project-owned Gitea instance, building from official source code; the non-whitelisted host is plausibly legitimate and the package does not execute untrusted prebuilt binaries.

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:21 "git-lfs+https://gitea.wildfiregames.com/0ad/0ad"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: tuxayo <victor (replace by @) tuxayo DOT net>
2# Maintainer: Michał Wojdyła < micwoj9292 at gmail dot com >
3# Contributor: Brenton Horne <brentonhorne77 at gmail dot com>
4# Contributor: Sven-Hendrik Haase <svenstaro@archlinux.org>
5# Contributor: t3ddy <t3ddy1988 "at" gmail {dot} com>
6# Contributor: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
7pkgname=('0ad-git' '0ad-data-git')
8_pkgname=0ad
9epoch=1
10pkgver=a26.r2110.g14a5ccee52
11pkgrel=1
12pkgdesc="Cross-platform, 3D and historically-based real-time strategy game (git version)"
13arch=('i686' 'x86_64')
14url="https://play0ad.com"
15makedepends=('boost' 'cmake' 'mesa' 'zip' 'libsm' 'rust' 'git' 'enet' 'fmt'
16 'gloox' 'libminiupnpc.so' 'libpng' 'libsodium' 'libvorbis'
17 'miniupnpc' 'openal' 'sdl2' 'wxwidgets-gtk3' 'which' 'subversion'
18 'makepkg-git-lfs-proto' 'python' 'llvm' 'cbindgen')
19options=('!lto' '!debug') # lto breaks spidermonkey linking (https://bugs.gentoo.org/746947)
20source=(
21 "git-lfs+https://gitea.wildfiregames.com/0ad/0ad"
22)
23md5sums=(
24 'SKIP'
25)
26
27pkgver() {
28 cd ${_pkgname}
29 git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
30}
31
32build() {
33 # https://gitea.wildfiregames.com/0ad/0ad/issues/8571
34 export CXXFLAGS="${CXXFLAGS/-fexceptions/}"
35
36 export CMAKE_POLICY_VERSION_MINIMUM=3.5
37 cd "$srcdir/${_pkgname}/libraries"
38 ./build-source-libs.sh
39 cd "$srcdir/${_pkgname}/build/workspaces"
40 ./update-workspaces.sh \
41 --with-lto \
42 --without-pch \
43 --bindir=/usr/bin \
44 --libdir=/usr/lib/0ad \
45 --datadir=/usr/share/${pkgname}/data
46
47# cd "$srcdir/${_pkgname}/libraries/source/fcollada/src"
48# make # always keep uncommented
49# # OPTIONAL: uncomment for a debug build, it's a 2nd executable named
50# # `pyrogenesis_dbg`
51# # It's independent from the debug symbols and not as important as them.
52# # https://trac.wildfiregames.com/wiki/Debugging#CallstackonLinuxmacOS
53# # It's likely a small increase of build time.
54# # And up to a 1.2 GiB in total used space. (inc. package build files)
55# # Note there is something else to uncomment below in package_0ad-git()
56# # make config=debug
57
58 cd gcc
59 make # always keep uncommented
60 # OPTIONAL: uncomment for a debug build, see above
61 # make config=debug
62}
63
64package_0ad-git() {
65 license=('GPL-2.0-or-later')
66 depends=('0ad-data' 'boost-libs' 'curl' 'enet' 'libpng' 'libvorbis'
67 'libxml2' 'openal' 'sdl2' 'wxwidgets-gtk3' 'zlib' 'fmt'
68 'gloox' 'miniupnpc' 'libminiupnpc.so' 'icu' 'libsodium' 'which')
69 conflicts=('0ad')
70 provides=('0ad')
71
72 install -d "${pkgdir}"/usr/{bin,lib/0ad,share/"${_pkgname}"/data}
73 cd "$srcdir/${_pkgname}"
74
75 install -Dm755 binaries/system/pyrogenesis "${pkgdir}/usr/bin"
76 # OPTIONAL: uncomment below for debug build. See the comments around the `make` calls
77 #install -Dm755 binaries/system/pyrogenesis_dbg "${pkgdir}/usr/bin"
78
79 install -Dm755 binaries/system/*.so "${pkgdir}/usr/lib/0ad"
80
81 cp -r binaries/data/l10n/ "${pkgdir}/usr/share/${_pkgname}/data/"
82
83 install -Dm755 build/resources/${_pkgname}.sh "${pkgdir}/usr/bin/${_pkgname}"
84 install -Dm644 build/resources/${_pkgname}.desktop "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
85 install -Dm644 build/resources/${_pkgname}.png "${pkgdir}/usr/share/pixmaps/${_pkgname}.png"
86}
87
88package_0ad-data-git() {
89 pkgdesc+=" (data files)"
90 license=('CC-BY-NC-SA-3.0')
91 conflicts=('0ad-data')
92 provides=('0ad-data')
93 mkdir -p ${pkgdir}/usr/share/${_pkgname}-git
94 cd "$srcdir/${_pkgname}"
95 cp -r "binaries/data" "${pkgdir}/usr/share/${_pkgname}-git"
96}
97

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