gltron
maintainer Dragonlord
· 41 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads source code from SourceForge, a common but non-whitelisted host, which is normal for AUR packages; the source is built locally and the only other download is a small image file, posing no execution 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 package downloads source code from SourceForge, a common but non-whitelisted host, which is normal for AUR packages; the source is built locally and the only other download is a small image file, posing no execution 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:14
http://upload.wikimedia.org/wikipedia/commons/thumb/5/58/GLTron.png/120px-GLTron.png
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
2
3
pkgname=gltron
4
pkgver=0.70
5
pkgrel=5
6
pkgdesc="A tron-like lightcycle game with a nice 3D perspective"
7
arch=('i686' 'x86_64')
8
url="http://www.gltron.org"
9
license=('GPL')
10
depends=('libgl' 'gcc-libs' 'smpeg' 'sdl_sound' 'libpng' 'glu')
11
makedepends=('patch')
12
options=('!makeflags')
13
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver-source.tar.gz
14
http://upload.wikimedia.org/wikipedia/commons/thumb/5/58/GLTron.png/120px-GLTron.png
15
gltron-0.70-configure.patch
16
gltron-0.70-prototypes.patch
17
gltron-0.70-debian.patch
18
gltron.desktop)
19
md5sums=('300e54914844f36c199415d6d8b0372a'
20
'794e6160e815040951af7ec7fcba9278'
21
'9cd844f561d537df49a35fac21d5b51c'
22
'744c0f80394f8713aebdf7038044570e'
23
'd53c903bba366af12c1fdcc578d32da1'
24
'1f36bf3e65cc8791301b79b9024ab51a')
25
26
build() {
27
cd "${srcdir}"/$pkgname-$pkgver
28
29
patch -Np0 -i "${srcdir}"/gltron-0.70-configure.patch
30
patch -Np0 -i "${srcdir}"/gltron-0.70-prototypes.patch
31
32
if [ "$CARCH" = "x86_64" ]; then
33
patch -Np0 -i "${srcdir}"/gltron-0.70-debian.patch
34
fi
35
36
./configure --prefix=/usr --enable-warn=off
37
sed -i 's/#include <ctype.h>/&\n#include <stdint.h>/' lua/src/lib/liolib.c
38
make
39
}
40
41
package() {
42
cd "${srcdir}"/$pkgname-$pkgver
43
make DESTDIR="${pkgdir}" install
44
45
install -Dm644 "${srcdir}"/120px-GLTron.png \
46
"${pkgdir}"/usr/share/gltron/pics/gltron.png
47
install -Dm644 "${srcdir}"/gltron.desktop \
48
"${pkgdir}"/usr/share/applications/gltron.desktop
49
}
50
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 |