fasthenry-wr
maintainer tskaar
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from the project's official domain (wrcad.com), which is plausibly the project's own release infrastructure; building from source is normal AUR behavior, and the host, while not a common forge, is project-specific and not a swappable file 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 the project's official domain (wrcad.com), which is plausibly the project's own release infrastructure; building from source is normal AUR behavior, and the host, while not a common forge, is project-specific and not a swappable file 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:27
"http://www.wrcad.com/ftp/pub/${_pkgname}-${pkgver//_/-}.tar.gz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Torleif Skår <torleif.skaar AT gmail DOT com>
2
#
3
_pkgname=fasthenry
4
pkgname=${_pkgname}-wr
5
pkgver=3.0wr_031424
6
pkgrel=1
7
pkgdesc="Premium inductance solver - Whitley Research Edition w/KLU Solver"
8
arch=('x86_64')
9
url="http://www.wrcad.com/freestuff.html"
10
license=('LicenseRef-Custom')
11
depends=(
12
"glibc"
13
"suitesparse"
14
)
15
makedepends=(
16
"git"
17
"make"
18
"gcc"
19
)
20
optdepends=(
21
"octave: Parsing .mat files produced by Fasthenry"
22
)
23
conflicts=(
24
"fasthenry"
25
)
26
source=(
27
"http://www.wrcad.com/ftp/pub/${_pkgname}-${pkgver//_/-}.tar.gz"
28
"0001-make_misc.patch"
29
"0002-fix_make_klu.patch"
30
"LICENSE"
31
)
32
b2sums=(
33
'9fca528ea85abeca1e00acdc228183d9a0045ccb77f25069205adaed0fdfa78a687c481e49aaf9d3cf38e68c670294b5fb59ce2056bce47a7ef4b7ad141fc723'
34
'9476b1d2743bab1441d7daf368ed2ac26ead42e16b56cd8634c36e23b537f4f399cb4a69fe7b9b333fc5af9993a5a3220e1b5a850abc1ae2fed25850a006aa28'
35
'ee5c5b3cc478383cbf118534a357025143dc81a19ff04daa8f871147162b5d066ad98e8ccc3e5d124f8846fdf47231f53bfd601a0c01d6565fef87d6701ce5d4'
36
'0545e36175f464f3cec3af6f73c945653f78a22eb729ec2dc8c9c3742ab478c89e6de6b108185793b194ec60ef8cec890799712aaad4f25ec461b2f74aca5e45'
37
)
38
options=(!debug)
39
_pkg="${_pkgname}-${pkgver//_*/}"
40
prepare() {
41
cd "${_pkg}"
42
43
# Apply patches
44
for p in ../*.patch; do
45
echo "Applying patch: $p"
46
patch -Np1 < $p
47
done
48
}
49
50
build() {
51
cd "${_pkg}"
52
make SOLVER=KLU_SOLVER all
53
}
54
55
check() {
56
cd "${_pkg}/examples"
57
# Execute all examples to verify that it works:
58
./run
59
# Compare against previously ran values for comparison
60
./cf
61
}
62
63
package() {
64
cd "${_pkg}"
65
66
install -Dm0755 -t "${pkgdir}/usr/bin/" bin/fasthenry
67
# Install all the binaries
68
for exe in MakeLcircuit ReadOutput zbuf; do
69
install -Dm0755 bin/"${exe}" "${pkgdir}/usr/bin/${exe}"
70
done
71
# License
72
install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" ../LICENSE
73
# Documentation
74
install -Dm0644 -t "${pkgdir}/usr/share/${pkgname}/doc/" doc/*.pdf
75
76
}
77
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 |