vms-empire
maintainer melindajuhasz
· 6 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from the project maintainer's personal domain (catb.org), which is plausible for this project; the checksum is verified, and the build process is transparent and standard, posing no real risk.
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 tarball from the project maintainer's personal domain (catb.org), which is plausible for this project; the checksum is verified, and the build process is transparent and standard, posing no real risk.
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:13
source=("http://www.catb.org/~esr/$pkgname/$pkgname-$pkgver.tar.gz")
PKGBUILD
1 offending line(s) highlighted
1
# Contributor: Kyle Keen <keenerd@gmail.com>
2
# Contributor: Michael Fellinger <m.fellinger@gmail.com>
3
4
pkgname=vms-empire
5
pkgver=1.18
6
pkgrel=1
7
pkgdesc="Empire is a simulation of a full-scale war between two emperors, the computer and you."
8
arch=('i686' 'x86_64')
9
url="http://www.catb.org/~esr/vms-empire/"
10
license=('GPL-2.0-or-later')
11
depends=('glibc' 'ncurses')
12
makedepends=('xmlto')
13
source=("http://www.catb.org/~esr/$pkgname/$pkgname-$pkgver.tar.gz")
14
md5sums=('65175a4fa171638a1bd77048c1b5d8e8')
15
16
prepare() {
17
cd $pkgname-$pkgver
18
sed -i 's/^install: empire.6 uninstall/install: empire.6/' Makefile
19
20
# gcc10 tweaks
21
sed -i 's/^.*user_obj.*$/static &/' extern.h
22
sed -i 's/^.*comp_obj.*$/static &/' extern.h
23
sed -i 's/^.*automove.*$/static &/' extern.h
24
sed -i 's/^view_map_t .*$/static &/' extern.h
25
sed -i 's/^real_map_t .*$/static &/' extern.h
26
sed -i 's/^int [^(]*$/static &/' extern.h
27
sed -i 's/^long [^(]*$/static &/' extern.h
28
sed -i 's/^bool [^(]*$/static &/' extern.h
29
sed -i 's/^char [^(]*$/static &/' extern.h
30
sed -i 's/^piece_info_t [^(]*$/static &/' extern.h
31
sed -i 's/^city_info_t [^(]*$/static &/' extern.h
32
}
33
34
build() {
35
cd $pkgname-$pkgver
36
make PREFIX="/usr"
37
}
38
39
package() {
40
cd $pkgname-$pkgver
41
make DESTDIR="$pkgdir/" install
42
}
43
44
# vim:set ts=2 sw=2 et:
45
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 |