0ad-git
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
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)
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# Maintainer: tuxayo <victor (replace by @) tuxayo DOT net>
# Maintainer: Michał Wojdyła < micwoj9292 at gmail dot com >
# Contributor: Brenton Horne <brentonhorne77 at gmail dot com>
# Contributor: Sven-Hendrik Haase <svenstaro@archlinux.org>
# Contributor: t3ddy <t3ddy1988 "at" gmail {dot} com>
# Contributor: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=('0ad-git' '0ad-data-git')
_pkgname=0ad
epoch=1
pkgver=a26.r2110.g14a5ccee52
pkgrel=1
pkgdesc="Cross-platform, 3D and historically-based real-time strategy game (git version)"
arch=('i686' 'x86_64')
url="https://play0ad.com"
makedepends=('boost' 'cmake' 'mesa' 'zip' 'libsm' 'rust' 'git' 'enet' 'fmt'
'gloox' 'libminiupnpc.so' 'libpng' 'libsodium' 'libvorbis'
'miniupnpc' 'openal' 'sdl2' 'wxwidgets-gtk3' 'which' 'subversion'
'makepkg-git-lfs-proto' 'python' 'llvm' 'cbindgen')
options=('!lto' '!debug') # lto breaks spidermonkey linking (https://bugs.gentoo.org/746947)
source=(
"git-lfs+https://gitea.wildfiregames.com/0ad/0ad"
)
md5sums=(
'SKIP'
)
pkgver() {
cd ${_pkgname}
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
# https://gitea.wildfiregames.com/0ad/0ad/issues/8571
export CXXFLAGS="${CXXFLAGS/-fexceptions/}"
export CMAKE_POLICY_VERSION_MINIMUM=3.5
cd "$srcdir/${_pkgname}/libraries"
./build-source-libs.sh
cd "$srcdir/${_pkgname}/build/workspaces"
./update-workspaces.sh \
--with-lto \
--without-pch \
--bindir=/usr/bin \
--libdir=/usr/lib/0ad \
--datadir=/usr/share/${pkgname}/data
# cd "$srcdir/${_pkgname}/libraries/source/fcollada/src"
# make # always keep uncommented
# # OPTIONAL: uncomment for a debug build, it's a 2nd executable named
# # `pyrogenesis_dbg`
# # It's independent from the debug symbols and not as important as them.
# # https://trac.wildfiregames.com/wiki/Debugging#CallstackonLinuxmacOS
# # It's likely a small increase of build time.
# # And up to a 1.2 GiB in total used space. (inc. package build files)
# # Note there is something else to uncomment below in package_0ad-git()
# # make config=debug
cd gcc
make # always keep uncommented
# OPTIONAL: uncomment for a debug build, see above
# make config=debug
}
package_0ad-git() {
license=('GPL-2.0-or-later')
depends=('0ad-data' 'boost-libs' 'curl' 'enet' 'libpng' 'libvorbis'
'libxml2' 'openal' 'sdl2' 'wxwidgets-gtk3' 'zlib' 'fmt'
'gloox' 'miniupnpc' 'libminiupnpc.so' 'icu' 'libsodium' 'which')
conflicts=('0ad')
provides=('0ad')
install -d "${pkgdir}"/usr/{bin,lib/0ad,share/"${_pkgname}"/data}
cd "$srcdir/${_pkgname}"
install -Dm755 binaries/system/pyrogenesis "${pkgdir}/usr/bin"
# OPTIONAL: uncomment below for debug build. See the comments around the `make` calls
#install -Dm755 binaries/system/pyrogenesis_dbg "${pkgdir}/usr/bin"
install -Dm755 binaries/system/*.so "${pkgdir}/usr/lib/0ad"
cp -r binaries/data/l10n/ "${pkgdir}/usr/share/${_pkgname}/data/"
install -Dm755 build/resources/${_pkgname}.sh "${pkgdir}/usr/bin/${_pkgname}"
install -Dm644 build/resources/${_pkgname}.desktop "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
install -Dm644 build/resources/${_pkgname}.png "${pkgdir}/usr/share/pixmaps/${_pkgname}.png"
}
package_0ad-data-git() {
pkgdesc+=" (data files)"
license=('CC-BY-NC-SA-3.0')
conflicts=('0ad-data')
provides=('0ad-data')
mkdir -p ${pkgdir}/usr/share/${_pkgname}-git
cd "$srcdir/${_pkgname}"
cp -r "binaries/data" "${pkgdir}/usr/share/${_pkgname}-git"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |