linrad
maintainer laura7089
· 16 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is downloaded from the project's official website (sm5bsz.com), which is the author's own domain; despite the non-whitelisted host, this is a legitimate source for the software, and the package builds from source without executing untrusted binaries.
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 downloaded from the project's official website (sm5bsz.com), which is the author's own domain; despite the non-whitelisted host, this is a legitimate source for the software, and the package builds from source without executing untrusted binaries.
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:15
source=("$pkgname-$pkgver.tbz::https://www.sm5bsz.com/linuxdsp/archive/lir${pkgver/./-}.tbz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Laura Demkowicz-Duffy <dev at demkowiczduffy dot co dot uk>
2
# Contributor: 0b100100 <0b100100 at protonmail dot ch>
3
# Contributor: Carsten Feuls <archlinux@carstenfeuls.de>
4
5
pkgname=linrad
6
pkgver=05.02
7
pkgrel=4
8
pkgdesc="Software defined radio receiver for x11"
9
arch=('i686' 'x86_64')
10
url="https://www.sm5bsz.com/linuxdsp/linrad.htm"
11
license=('MIT')
12
depends=('portaudio' 'libxext' 'libusb-compat' 'glibc' 'bash' 'libx11')
13
optdepends=('hamradio-menus: XDG menus for ham radio software')
14
makedepends=('nasm' 'icoutils')
15
source=("$pkgname-$pkgver.tbz::https://www.sm5bsz.com/linuxdsp/archive/lir${pkgver/./-}.tbz"
16
"$pkgname.desktop"
17
"$pkgname-wrapper.sh"
18
"$pkgname-obey-cflags-and-ldflags.patch"
19
"ignore-stringop-truncation.patch")
20
sha512sums=('c3ead1c91c6224ac63978f14d1f03979fcf825b89f33583805981dfc8200ff91f4469a70c7286058583efca4b1641211dcfaaf7087b12bfe50adca69a257571c'
21
'7b4d462d422b15c7c9249544d0792cd9f9902ceb10708770b8594f7cfa226b8aca2617168bcfb88861d6db76e7d573ea86812c3ab20d1ae4c8a2e92ee832e3e7'
22
'1c661e4bea550ae496af121fc1c658cccc1fbe15c4aecb783641064729d5593f501fb977dff310739c9e303d4869ddafb36df3290c242df139560e6cbd4c661a'
23
'af9efc5dc58385b7545c8f73568dab4760705b2276828887516e587cb712d170abb6466a8f665490d9c5c8be698e6324671789882b67c8a50b4e7e3883340396'
24
'69d3f70d56e967ebe54aaaf227bdf282a8a7057f7006dbceaacd572624b026e333b122b18b91f14eb175e15b25f682bd33c9c695ae69b6afd2a1ed81eecd8aa1')
25
provides=("xlinrad=$pkgver")
26
conflicts=('xlinrad')
27
28
prepare() {
29
cd "$pkgname-$pkgver"
30
patch -Np1 -i "$srcdir/$pkgname-obey-cflags-and-ldflags.patch"
31
patch -Np1 -i "$srcdir/ignore-stringop-truncation.patch"
32
33
# Fix path for help and error files
34
sed -i "s|help.lir|/usr/share/$pkgname/help.lir|g" menu.c help.c
35
sed -i "s|errors.lir|/usr/share/$pkgname/errors.lir|g" help.c
36
37
./clean
38
autoreconf -fiv
39
./configure
40
}
41
42
build() {
43
cd "$pkgname-$pkgver"
44
if [[ "${CARCH}" == "x86_64" ]]; then
45
make xlinrad64
46
else
47
make xlinrad
48
fi
49
}
50
51
package(){
52
icotool -x $pkgname-$pkgver/cmake/$pkgname.ico -o $pkgname.png
53
install -Dm644 $pkgname.png -t "$pkgdir/usr/share/pixmaps/"
54
install -Dm644 $pkgname.desktop -t "$pkgdir/usr/share/applications/"
55
install -Dm755 $pkgname-wrapper.sh "$pkgdir/usr/bin/$pkgname"
56
57
cd "$pkgname-$pkgver"
58
install -Dm755 xlinrad* "$pkgdir/usr/bin/x$pkgname"
59
install -Dm644 *.lir -t "$pkgdir/usr/share/$pkgname/"
60
install -Dm644 z_*.txt -t "$pkgdir/usr/share/doc/$pkgname/"
61
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
62
}
63
64
# vim:set ts=2 sw=2 et:
65
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 |