zdoom
The source is a versioned tarball from the official project domain zdoom.org, which is plausibly the project's own release infrastructure; building from official source is normal AUR practice, even if the host is not on a standard whitelist.
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 versioned tarball from the official project domain zdoom.org, which is plausibly the project's own release infrastructure; building from official source is normal AUR practice, even if the host is not on a standard whitelist.
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:44
source=("http://zdoom.org/files/zdoom/${pkgver%.${pkgver#*.*.}}/zdoom-${pkgver}-src.7z"
PKGBUILD
1 offending line(s) highlighted# Maintainer: envolution
# Contributor: Jan Cholasta <grubber at grubber cz>
# Contributor: Andrew Rabert <arabert@nullsum.net>
# shellcheck shell=bash disable=SC2034,SC2154
pkgname=zdoom
pkgver=2.8.1
pkgrel=8
pkgdesc='Advanced Doom source port'
arch=('i686' 'x86_64')
url='http://www.zdoom.org/'
license=('BSD' 'custom:BUILD' 'custom:doom' 'custom:dumb' 'LGPL')
depends=('gtk2'
'libgme'
'libsndfile'
'mpg123'
'sdl2')
makedepends=('cmake'
'desktop-file-utils'
'fluidsynth'
'imagemagick'
'openal'
'p7zip')
makedepends_i686=('nasm')
optdepends=('blasphemer-wad: Blasphemer (free Heretic) game data'
'chexquest3-wad: Chex Quest 3 game data'
'doom1-wad: Doom shareware game data'
'fluidsynth: FluidSynth MIDI device'
'freedm: FreeDM game data'
'freedoom1: Freedoom: Phase 1 game data'
'freedoom2: Freedoom: Phase 2 game data'
'gxmessage: crash dialog (GNOME)'
'hacx-wad: HacX game data'
'harmony-wad: Harmony game data'
'heretic1-wad: Heretic shareware game data'
'hexen1-wad: Hexen demo game data'
'kdialog: crash dialog (KDE)'
'openal: in-game sound'
'strife0-wad: Strife shareware game data'
'square1-wad: The Adventures of Square, Episode 1 game data'
'timidity++: Timidity MIDI device'
'urbanbrawl-wad: Urban Brawl: Action Doom 2 game data'
'xorg-xmessage: crash dialog (other)')
source=("http://zdoom.org/files/zdoom/${pkgver%.${pkgver#*.*.}}/zdoom-${pkgver}-src.7z"
'zdoom.desktop'
'0001-Fix-file-paths.patch'
'0002-Improve-Mac-GCC-errors-fix-to-work-only-for-GCC.patch'
'0003-modern-cmake.patch')
noextract=("${source[0]##*/}")
sha256sums=('782179d4667d2e56e26e21d7a0872523f8e4262ed176072fef00d0043376a310'
'e8932a559baf30ecbfc062546ca014c6dfb70f76d1570549654209d39157e350'
'2e9edd1f776a1e706f21e35b6f066fcd086dece2e9e4e0832ab9714658ff6b6b'
'3de616393fa2eea8540c59c983a4394b29a0a0220095297a3f47e4f721b8d9fb'
'd89cd17ef6f1fa380c18780472a3a5942eaabf6d5d7ab89820cb91f80968df9a')
prepare() {
7z x -ozdoom -y "${source[0]##*/}" >/dev/null
cd zdoom
patch -i "$srcdir"/0001-Fix-file-paths.patch -p 1
patch -i "$srcdir"/0002-Improve-Mac-GCC-errors-fix-to-work-only-for-GCC.patch -p 1
patch -i "$srcdir"/0003-modern-cmake.patch -p 1
}
build() {
cd zdoom
mkdir -p build
cmake -B build \
-D CMAKE_BUILD_TYPE=Release \
-D NO_FMOD=ON \
-D GME_INCLUDE_DIR=/usr/include/gme \
-D FORCE_INTERNAL_GME=OFF \
-D CMAKE_C_FLAGS="-std=gnu89" \
-D CMAKE_CXX_FLAGS="$CXXFLAGS \
-ffile-prefix-map=\"$PWD\"=. \
-DSHARE_DIR=\\\"/usr/share/zdoom\\\"" \
-D CMAKE_EXE_LINKER_FLAGS="$LDFLAGS -Wl,-z,noexecstack" \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DCMAKE_CXX_STANDARD=17 \
.
make -C build
sed -n '/\*\*-/,/\*\*-/p' src/version.h >bsd.txt
magick 'src/win32/icon1.ico[2]' zdoom.xpm
}
package() {
cd zdoom
install build/zdoom -D -t "$pkgdir"/usr/bin
install build/zdoom.pk3 -D -m 644 -t "$pkgdir"/usr/share/zdoom
install -d "$pkgdir"/usr/share/licenses/zdoom
install bsd.txt -m 644 "$pkgdir"/usr/share/licenses/zdoom/bsd.txt
install docs/BUILDLIC.TXT -m 644 "$pkgdir"/usr/share/licenses/zdoom/buildlic.txt
install docs/doomlic.txt -m 644 "$pkgdir"/usr/share/licenses/zdoom/doomlic.txt
install dumb/licence.txt -m 644 "$pkgdir"/usr/share/licenses/zdoom/dumb.txt
desktop-file-install "$srcdir"/zdoom.desktop --dir="$pkgdir"/usr/share/applications
install zdoom.xpm -D -m 644 "$pkgdir"/usr/share/icons/hicolor/48x48/apps/zdoom.xpm
}
# vim:set ts=2 sw=2 et:
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 |