saclib
maintainer g3rb
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from a university-hosted URL that is plausibly the project's official location; it is built from source and not an unverifiable prebuilt binary, so the risk is low 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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from a university-hosted URL that is plausibly the project's official location; it is built from source and not an unverifiable prebuilt binary, so the risk is low 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:11
source=("https://www.usna.edu/Users/cs/wcbrown/qepcad/INSTALL/${pkgname}${pkgver}.tgz")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Daniel Gerbet <daniel.gerbet1 at tu-dresden dot de>
2
3
pkgname=saclib
4
pkgver=2.2.8
5
pkgrel=1
6
pkgdesc="A C library for computer algebra derived from the SAC2 system"
7
arch=('x86_64')
8
url="https://www.usna.edu/Users/cs/wcbrown/qepcad/B/QEPCAD.html"
9
license=('custom:RISC-Linz')
10
makedepends=('perl' 'bash' 'make' 'gcc')
11
source=("https://www.usna.edu/Users/cs/wcbrown/qepcad/INSTALL/${pkgname}${pkgver}.tgz")
12
md5sums=("2a251651bc96a14eba4300f18ec4cbb4")
13
14
prepare() {
15
cd "${pkgname}${pkgver}"
16
sed "s%^#include \"\(.*\)\"$%#include \"${pkgname}/\1\"%" "include/saclib.h" > saclib.h
17
}
18
19
build() {
20
cd "${pkgname}${pkgver}"
21
export saclib="${PWD}"
22
cd bin
23
./sconf
24
./mkproto
25
./mkmake
26
./mklib opt
27
}
28
29
package() {
30
cd "${pkgname}${pkgver}"
31
32
incdir="${pkgdir}/usr/include/${pkgname}"
33
install -d "${incdir}"
34
install -m644 "saclib.h" "${pkgdir}/usr/include"
35
install -m644 "include/hfloats.h" "${incdir}"
36
install -m644 "include/sacmacros.h" "${incdir}"
37
install -m644 "include/sacproto.h" "${incdir}"
38
install -m644 "include/sacsys.h" "${incdir}"
39
install -m644 "include/sactypes.h" "${incdir}"
40
install -m644 "include/sysdep.h" "${incdir}"
41
42
install -D -m644 -t "${pkgdir}/usr/lib/" "lib/saclibo.a"
43
44
install -D -m644 -t "${pkgdir}/usr/share/licenses/${pkgname}" "LICENSE"
45
46
# the doumentation seems outdated, but better keep this one
47
# as the compiled version is already downloaded, avoid compilation,
48
# which would require latex and makeindex
49
install -m644 -Dt "${pkgdir}/usr/share/doc/${pkgname}" "doc/saclib.pdf"
50
}
51
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 |