sac-compiler-weekly-basic
maintainer hv15
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a prebuilt tarball from the project's own GitLab instance, used for weekly builds; while the host is not a standard forge URL, it is plausibly controlled by the project maintainers, and the checksum is verified, reducing 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 prebuilt tarball from the project's own GitLab instance, used for weekly builds; while the host is not a standard forge URL, it is plausibly controlled by the project maintainers, and the checksum is verified, reducing 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:22
source=("https://gitlab.sac-home.org/sac-group/sac-packages/-/raw/master/packages/weekly/Linux/${_version}-${_changes}-${_rev}/basic/sac2c-${_version}-${_name}-${_changes}-${_commit}-omnibus.tar.gz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Hans-Nikolai Viessmann <hans AT viess DOT mn>
2
# Contributors: SaC Development Team <info AT sac-home DOT org>
3
4
pkgname=sac-compiler-weekly-basic
5
_version=1.3.3
6
_rev=1
7
_changes=738
8
_name=MijasCosta
9
_commit=gc21cf93
10
pkgver="${_version}.${_changes}"
11
pkgrel=1
12
pkgdesc='The compiler (sac2c) of the Single-Assignment C programming language (weekly build)'
13
arch=('x86_64')
14
url='http://www.sac-home.org/'
15
license=('custom:SAC')
16
depends=('gcc' 'libxcrypt' 'util-linux-libs')
17
optdepends=('sac-stdlib-weekly-basic: StdLib for the SaC Compiler basic-release')
18
#makedepends=('python' 'python-argparse') # XXX once sac-version-manager is running on python3
19
provides=('sac-compiler')
20
replaces=('sac-compiler')
21
conflicts=('sac-compiler' 'sac-compiler-weekly')
22
source=("https://gitlab.sac-home.org/sac-group/sac-packages/-/raw/master/packages/weekly/Linux/${_version}-${_changes}-${_rev}/basic/sac2c-${_version}-${_name}-${_changes}-${_commit}-omnibus.tar.gz"
23
'LICENSE.txt'
24
'Makefile')
25
sha256sums=('b341d451c7ebaf4c3af88886868b5df7095365080dcc52026f93e862ab00997e'
26
'01938a80d588cf44e2c8ef644c0bdd833ce5a6abc1becbe5a32a2448524e44fe'
27
'eb965cc10ff6d032627429b87c553c2eb962d92753a8e30cfebdf699d1f5504a')
28
29
build () {
30
cd "$srcdir/src"
31
32
# build binaries
33
make -f "$srcdir/Makefile"
34
}
35
36
package() {
37
cd "$srcdir"
38
39
# install libraries
40
install -d "$pkgdir/usr/local"
41
cp -r share "$pkgdir/usr/local/"
42
cp -r include "$pkgdir/usr/local/"
43
cp -r lib "$pkgdir/usr/local/"
44
cp -r libexec "$pkgdir/usr/local/"
45
46
# install binaries
47
find "src" -type f -executable -exec cp {} "$pkgdir/usr/local/libexec/sac2c/${_version}-${_name}-${_changes}-${_commit}" \;
48
49
# create symlinks
50
# XXX replace with sac-version-manager script (uses python2 with specific depends, I don't want to pull these in!)
51
install -d "$pkgdir/usr/local/bin"
52
ln -s "/usr/local/libexec/sac2c/${_version}-${_name}-${_changes}-${_commit}/sac2c_d" "$pkgdir/usr/local/bin/sac2c_d"
53
ln -s "/usr/local/libexec/sac2c/${_version}-${_name}-${_changes}-${_commit}/sac4c_d" "$pkgdir/usr/local/bin/sac4c_d"
54
ln -s "/usr/local/libexec/sac2c/${_version}-${_name}-${_changes}-${_commit}/sac2tex_d" "$pkgdir/usr/local/bin/sac2tex_d"
55
ln -s "/usr/local/libexec/sac2c/${_version}-${_name}-${_changes}-${_commit}/sac2c_p" "$pkgdir/usr/local/bin/sac2c_p"
56
ln -s "/usr/local/libexec/sac2c/${_version}-${_name}-${_changes}-${_commit}/sac4c_p" "$pkgdir/usr/local/bin/sac4c_p"
57
ln -s "/usr/local/libexec/sac2c/${_version}-${_name}-${_changes}-${_commit}/sac2tex_p" "$pkgdir/usr/local/bin/sac2tex_p"
58
59
ln -s "/usr/local/libexec/sac2c/${_version}-${_name}-${_changes}-${_commit}/saccc_p" "$pkgdir/usr/local/bin/saccc_p"
60
ln -s "/usr/local/libexec/sac2c/${_version}-${_name}-${_changes}-${_commit}/saccc_d" "$pkgdir/usr/local/bin/saccc_d"
61
ln -s "/usr/local/libexec/sac2c/${_version}-${_name}-${_changes}-${_commit}/csimt_p" "$pkgdir/usr/local/bin/csimt_p"
62
ln -s "/usr/local/libexec/sac2c/${_version}-${_name}-${_changes}-${_commit}/csimt_d" "$pkgdir/usr/local/bin/csimt_d"
63
ln -s "/usr/local/libexec/sac2c/${_version}-${_name}-${_changes}-${_commit}/csima_p" "$pkgdir/usr/local/bin/csima_p"
64
ln -s "/usr/local/libexec/sac2c/${_version}-${_name}-${_changes}-${_commit}/csima_d" "$pkgdir/usr/local/bin/csima_d"
65
66
ln -s "/usr/local/libexec/sac2c/${_version}-${_name}-${_changes}-${_commit}/sac2c_p" "$pkgdir/usr/local/bin/sac2c"
67
ln -s "/usr/local/libexec/sac2c/${_version}-${_name}-${_changes}-${_commit}/sac4c_p" "$pkgdir/usr/local/bin/sac4c"
68
ln -s "/usr/local/libexec/sac2c/${_version}-${_name}-${_changes}-${_commit}/sac2tex_p" "$pkgdir/usr/local/bin/sac2tex"
69
ln -s "/usr/local/libexec/sac2c/${_version}-${_name}-${_changes}-${_commit}/saccc_p" "$pkgdir/usr/local/bin/saccc"
70
ln -s "/usr/local/libexec/sac2c/${_version}-${_name}-${_changes}-${_commit}/csimt_p" "$pkgdir/usr/local/bin/csimt"
71
ln -s "/usr/local/libexec/sac2c/${_version}-${_name}-${_changes}-${_commit}/csima_p" "$pkgdir/usr/local/bin/csima"
72
73
# install license file
74
install -Dm644 "${srcdir}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
75
}
76
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 |