s7
maintainer johv
· 2 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from Stanford's official GitLab instance, which is plausibly the project's own infrastructure; building from this source is normal AUR packaging despite the non-whitelisted host.
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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from Stanford's official GitLab instance, which is plausibly the project's own infrastructure; building from this source is normal AUR packaging despite the non-whitelisted host.
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:26
source=("https://cm-gitlab.stanford.edu/bil/s7/-/archive/$_commit/s7-$_commit.tar.gz" Makefile s7.pc pass-through-compiler-flags.patch)
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Jonas Hvid <mail@johv.dk>
2
# Contributor: Peter <peter@nexoid.at>
3
pkgname=s7
4
# Upstream publishes different versions with the same version number
5
pkgver=11.9.r20260730
6
_upstreamver=${pkgver%.*}
7
pkgrel=1
8
epoch=
9
pkgdesc="A Scheme implementation intended as an extension language for other applications."
10
arch=(x86_64 i686)
11
url="https://ccrma.stanford.edu/software/snd/snd/s7.html"
12
license=('custom:0BSD')
13
groups=()
14
depends=(glibc)
15
makedepends=(git rsync)
16
checkdepends=()
17
optdepends=()
18
provides=()
19
conflicts=()
20
replaces=()
21
backup=()
22
options=()
23
install=
24
changelog=
25
_commit="779e11342679c7f5082e1fac8af50535fbf7513e"
26
source=("https://cm-gitlab.stanford.edu/bil/s7/-/archive/$_commit/s7-$_commit.tar.gz" Makefile s7.pc pass-through-compiler-flags.patch)
27
sha256sums=('c083b51add696690dc1a9a9d7d9b4117e7e03f74837fb3a4855b16aca425c867' SKIP SKIP SKIP)
28
29
noextract=()
30
validpgpkeys=()
31
32
prepare() {
33
sed -i 's/XX\.X/'${_upstreamver}'/' s7.pc
34
cd s7-$_commit
35
cp ${srcdir}/Makefile .
36
patch -Np0 -i ${srcdir}/pass-through-compiler-flags.patch
37
}
38
39
build() {
40
cd s7-$_commit
41
make -j all
42
}
43
44
package() {
45
mkdir -vp ${pkgdir}/usr/lib/s7
46
mkdir -vp ${pkgdir}/usr/bin/
47
mkdir -vp ${pkgdir}/usr/include/
48
mkdir -vp ${pkgdir}/usr/lib/pkgconfig/
49
mkdir -vp ${pkgdir}/usr/share/doc/s7/
50
mkdir -vp ${pkgdir}/usr/share/licenses/s7/
51
cp -v ${srcdir}/s7.pc ${pkgdir}/usr/lib/pkgconfig/
52
echo '0-clause BSD' > ${pkgdir}/usr/share/licenses/s7/LICENSE
53
cd ${srcdir}/s7-$_commit
54
find . -name '*.scm' | rsync -va --files-from - ./ ${pkgdir}/usr/lib/s7
55
cp -v libc_s7.so ${pkgdir}/usr/lib/s7
56
cp -v s7 ${pkgdir}/usr/bin/
57
cp -v libs7.so ${pkgdir}/usr/lib/
58
cp -v s7.h ${pkgdir}/usr/include/
59
cp -v *.html ${pkgdir}/usr/share/doc/s7/
60
}
61
Changes since previous scan
--- PKGBUILD @ 2026-07-31 00:14+++ PKGBUILD @ 2026-08-03 00:08@@ -2,7 +2,7 @@ # Contributor: Peter <peter@nexoid.at> pkgname=s7 # Upstream publishes different versions with the same version number-pkgver=11.7.r20260129+pkgver=11.9.r20260730 _upstreamver=${pkgver%.*} pkgrel=1 epoch=@@ -22,9 +22,9 @@ options=() install= changelog=-_commit="57e46f181f4f7b340eab6afffc4c00b147bd708a"+_commit="779e11342679c7f5082e1fac8af50535fbf7513e" source=("https://cm-gitlab.stanford.edu/bil/s7/-/archive/$_commit/s7-$_commit.tar.gz" Makefile s7.pc pass-through-compiler-flags.patch)-sha256sums=('7a4531e961aeeacb5d18aec68597b50260b161b494716caea87c339e2932d5cf' SKIP SKIP SKIP)+sha256sums=('c083b51add696690dc1a9a9d7d9b4117e7e03f74837fb3a4855b16aca425c867' SKIP SKIP SKIP) noextract=() validpgpkeys=()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 17:18:23 | MEDIUM | 1 |
| 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 |