ham-v2.71-linux-bin
maintainer Sterophonick
· 0 votes
· base
ham-v2.71-linux
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a legacy development kit from an archived source, which is non-whitelisted but plausibly the project's official host; the content is built from a static, verifiable archive with a valid checksum and installs only pre-existing binaries and data without executing remote code or exfiltrating data.
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 package downloads a legacy development kit from an archived source, which is non-whitelisted but plausibly the project's official host; the content is built from a static, verifiable archive with a valid checksum and installs only pre-existing binaries and data without executing remote code or exfiltrating data.
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:12
source=(https://web.archive.org/web/20070708215529/http://www.ngine.de/download/ham-271-linux-full.rar 10-ham-sdk.conf gfx2gba)
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Sterophonick
2
pkgname=ham-v2.71-linux-bin
3
_pkgname='ham-v2.71-linux-bin'
4
pkgbase=ham-v2.71-linux
5
pkgver=2.71
6
pkgrel=5
7
pkgdesc='Legacy Game Boy Advance development kit based on GCC 3.2.2'
8
url='http://ngine.de'
9
arch=(x86_64 i686)
10
makedepends=(p7zip unrar sed)
11
depends=(lib32-ncurses5-compat-libs wine)
12
source=(https://web.archive.org/web/20070708215529/http://www.ngine.de/download/ham-271-linux-full.rar 10-ham-sdk.conf gfx2gba)
13
noextract=(ham-271-linux-full.rar)
14
md5sums=('1e2e105a2a71a77036fbd8cafb041dd3'
15
'300796835173e04a8f8cab11c1f272ac'
16
'a89841ffcfcd14f6d566e9f21ad358cc')
17
license=('nonfree')
18
options=(!debug !strip)
19
20
prepare() {
21
7z x ham-271-linux-full.rar -o$srcdir
22
}
23
24
package() {
25
cd $srcdir
26
27
# out of the box next to none of the executables are marked as executable
28
chmod +x gcc-arm/bin/*
29
chmod +x gcc-arm/arm-thumb-elf/bin/*
30
chmod +x gcc-arm/lib/gcc-lib/arm-thumb-elf/3.2.2/cc1
31
chmod +x gcc-arm/lib/gcc-lib/arm-thumb-elf/3.2.2/cc1plus
32
chmod +x gcc-arm/lib/gcc-lib/arm-thumb-elf/3.2.2/collect2
33
chmod +x gcc-arm/lib/gcc-lib/arm-thumb-elf/3.2.2/cpp0
34
chmod +x gcc-arm/lib/gcc-lib/arm-thumb-elf/3.2.2/tradcpp0
35
chmod +x tools/linux/elf_align
36
chmod +x tools/linux/interflip
37
chmod +x tools/linux/mb
38
chmod +x tools/linux/vba
39
chmod +x tools/linux/wav2gba
40
chmod +x tools/linux/krawall/converter
41
42
pushd tools/linux
43
mv gfx2gba gfx2gba.bak
44
popd
45
46
cp ./gfx2gba tools/linux
47
chmod +x tools/linux/gfx2gba
48
49
50
# replicate the "runme_once.sh" to force everything in /opt/ham-gba/
51
sed -i 's/HAMDIR = .*/HAMDIR = \/opt\/ham-gba/' system/master.mak
52
sed -i 's/HAM_PLATFORM = .*/HAM_PLATFORM = linux/' system/master.mak
53
54
mkdir -p $pkgdir/opt/ham-gba
55
cp -r * $pkgdir/opt/ham-gba
56
chmod -R 777 $pkgdir/opt/ham-gba
57
rm $pkgdir/opt/ham-gba/ham-271-linux-full.rar # remove weird symlink
58
rm $pkgdir/opt/ham-gba/10-ham-sdk.conf
59
rm $pkgdir/opt/ham-gba/gfx2gba
60
61
mkdir -p $pkgdir/etc/environment.d
62
cp 10-ham-sdk.conf $pkgdir/etc/environment.d
63
}
64
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 |