leda-free
maintainer igel
· 3 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a prebuilt library tarball from the official project domain, used for building a standard package;虽 host not whitelisted, it is plausibly official and the content is not executed at build time.
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 library tarball from the official project domain, used for building a standard package;虽 host not whitelisted, it is plausibly official and the content is not executed at build time.
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:10
source=("https://www.algorithmic-solutions.info/free/Packages/LEDA-${pkgver}-free-fedora-core-8-64-g++-4.1.2-mt.tar.gz")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Stephan Friedrichs <accounts at sfriedri dot de>
2
3
pkgname='leda-free'
4
pkgver='6.3'
5
pkgrel='4'
6
pkgdesc='C++ class library for efficient data types and algorithms'
7
url='https://www.algorithmic-solutions.com/index.php/products/leda-free-edition'
8
license=('custom:LEDA Free License')
9
arch=('x86_64')
10
source=("https://www.algorithmic-solutions.info/free/Packages/LEDA-${pkgver}-free-fedora-core-8-64-g++-4.1.2-mt.tar.gz")
11
sha256sums=('281057aa2077972d46e5a8e42cecb5633fdf7682bc4ff8ca83e31bde6ae06db9')
12
noextract=(${source[0]})
13
depends=('gcc-libs' 'tcsh')
14
options=('staticlibs' '!strip' '!emptydirs')
15
16
prepare() {
17
# As of version 6.3, the archive is broken and needs to be extracted manually.
18
tar -xf "${srcdir}/LEDA-${pkgver}-free-fedora-core-8-64-g++-4.1.2-mt.tar"
19
}
20
21
package() {
22
local _ledadir="LEDA-${pkgver}-free-fedora-core-8-64-g++-4.1.2-mt"
23
24
# Static and shared libraries
25
install -D -m644 "${srcdir}/${_ledadir}/libleda.a" "${pkgdir}/usr/lib/libleda.a"
26
install -D -m644 "${srcdir}/${_ledadir}/libleda.so" "${pkgdir}/usr/lib/libleda.so"
27
28
# Includes
29
mkdir -p "${pkgdir}/usr/include/LEDA/"
30
for _incldir in "G++" "Kernel" "LEDA"; do
31
cp -r "${srcdir}/${_ledadir}/incl/${_incldir}" "${pkgdir}/usr/include/LEDA/"
32
done
33
34
# License
35
install -D -m644 "${srcdir}/${_ledadir}/license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
36
}
37
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 |