9base-git
maintainer aksr
· 2 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a git repository from git.suckless.org, a well-known and trusted hosting site for suckless projects; building from source is standard practice and the host, while not universally whitelisted, is legitimate and project-associated.
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 git repository from git.suckless.org, a well-known and trusted hosting site for suckless projects; building from source is standard practice and the host, while not universally whitelisted, is legitimate and project-associated.
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:16
source=("$pkgname::git+https://git.suckless.org/9base" 9 plan9.sh)
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer:
2
# Contributor: Army
3
# Contributor: aksr <aksr at t-com dot me>
4
5
pkgname=9base-git
6
pkgver=20190913.117
7
pkgrel=1
8
pkgdesc="Port of various original Plan9 tools to unix"
9
arch=('i686' 'x86_64')
10
url="https://tools.suckless.org/9base"
11
license=('custom')
12
depends=(sh)
13
makedepends=('git')
14
provides=('9base' 'plan9')
15
conflicts=('9base')
16
source=("$pkgname::git+https://git.suckless.org/9base" 9 plan9.sh)
17
md5sums=('SKIP'
18
'ae7108b9f26bed388e9055f35eef2986'
19
'0fa02cbcca0bc4584d7378f13ec1a1de')
20
sha256sums=('SKIP'
21
'1da13555dc798787a73bfdfe44ded76bc007b8a0ab5fd5f8fea88cd4ae870b1e'
22
'e81ac6d0ebe2dd0237d570145a6f5a43d409b92a6b334107a4b97a68e00258df')
23
24
pkgver() {
25
cd "$srcdir/$pkgname"
26
echo "$(git log -1 --format="%cd" --date=short | sed 's|-||g').$(git rev-list --count master)"
27
}
28
29
prepare() {
30
cd "$srcdir/$pkgname"
31
32
CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
33
34
case $CARCH in
35
i686) sed -i 's#^OBJTYPE\s.*$#OBJTYPE = 386#' config.mk ;;
36
x86_64) sed -i 's#^OBJTYPE\s.*$#OBJTYPE = x86_64#' config.mk ;;
37
esac
38
39
sed -i 's#^PREFIX\s.*$#PREFIX = /opt/plan9#' config.mk
40
sed -i 's#^CFLAGS\s*+=#CFLAGS += -DPLAN9PORT #' config.mk
41
42
# Force dynamic linking. Several of the programs in 9base won't work
43
# when statically linked against the latest glibc.
44
sed -i '/-static/d' config.mk
45
}
46
47
build() {
48
cd "$srcdir/$pkgname"
49
make
50
}
51
52
package() {
53
cd "$srcdir/$pkgname"
54
make DESTDIR="$pkgdir" install
55
install -Dm755 ../9 "$pkgdir/opt/plan9/bin/"
56
install -Dm755 ../plan9.sh "$pkgdir/etc/profile.d/plan9.sh"
57
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
58
}
59
60
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 |