aprsc-9m2pju-bin
maintainer 9M2PJU
· 0 votes
· scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged
The package installs a prebuilt binary from a GitHub release tied to a personal account, which is unverifiable and could be silently swapped, posing a supply-chain risk despite matching checksums.
Triggered rules
LOW
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
MEDIUM
AI review of an ambiguous pattern
llm_review
The static rules found a suspicious pattern they could not resolve, so an AI model (qwen/qwen3-235b-a22b-2507) reviewed it and judged it MEDIUM (confidence 90%): The package installs a prebuilt binary from a GitHub release tied to a personal account, which is unverifiable and could be silently swapped, posing a supply-chain risk despite matching checksums.
PKGBUILD
1
# Maintainer: 9M2PJU <9m2pju@hamradio.my>
2
pkgname=aprsc-9m2pju-bin
3
pkgver=2.1.21
4
pkgrel=1
5
pkgdesc="APRS-IS core server in C with chroot sandboxing, SCTP support, and web UI. Pre-built binary from GitHub releases."
6
arch=('x86_64' 'aarch64')
7
url="https://github.com/9M2PJU/aprsc"
8
license=('BSD-3-Clause')
9
depends=('libevent' 'openssl' 'lksctp-tools' 'libcap' 'zlib')
10
makedepends=('binutils')
11
source_x86_64=("aprsc_${pkgver}.+bookworm1_amd64.deb::${url}/releases/download/v${pkgver}/aprsc_${pkgver}.%2Bbookworm1_amd64.deb")
12
source_aarch64=("aprsc_${pkgver}.+bookworm1_arm64.deb::${url}/releases/download/v${pkgver}/aprsc_${pkgver}.%2Bbookworm1_arm64.deb")
13
sha256sums_x86_64=('e3a3914c31e5e30af0a303be719e6a3ef3a7ff21148c1f560182580b267888aa')
14
sha256sums_aarch64=('cc8735c4f4e4e193bb38951bc9aa2bf0f79c1c03d206c833ea95cb78ea95bb9b')
15
backup=('opt/aprsc/etc/aprsc.conf')
16
install=${pkgname}.install
17
provides=('aprsc')
18
conflicts=('aprsc' 'aprsc-9m2pju-git')
19
20
# Map Arch arch names to Debian arch names used in the .deb filenames
21
case "$CARCH" in
22
x86_64) _debarch=amd64 ;;
23
aarch64) _debarch=arm64 ;;
24
*) _debarch=$CARCH ;;
25
esac
26
27
package() {
28
cd "$pkgdir"
29
30
# Re-extract data.tar.xz from the .deb (makepkg's bsdtar extraction
31
# already unpacks it into srcdir, but we do it here for robustness).
32
ar x "$srcdir/aprsc_${pkgver}.+bookworm1_${_debarch}.deb" data.tar.xz
33
tar -xJf data.tar.xz -C "$pkgdir"
34
rm -f data.tar.xz
35
36
# The .deb installs systemd units under /lib/systemd/system (Debian
37
# convention). Move them to /usr/lib/systemd/system (Arch convention).
38
if [ -d "$pkgdir/lib/systemd/system" ]; then
39
install -dm755 "$pkgdir/usr/lib/systemd/system"
40
mv "$pkgdir/lib/systemd/system"/* "$pkgdir/usr/lib/systemd/system/"
41
rm -rf "$pkgdir/lib"
42
fi
43
}
44
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | MEDIUM | 2 |
| 2026-08-02 00:16:08 | MEDIUM | 2 |
| 2026-08-01 00:11:18 | MEDIUM | 2 |
| 2026-07-31 00:14:10 | MEDIUM | 2 |
| 2026-07-30 00:17:23 | MEDIUM | 2 |
| 2026-07-29 00:25:53 | MEDIUM | 2 |
| 2026-07-28 00:07:28 | MEDIUM | 2 |
| 2026-07-27 00:24:32 | MEDIUM | 2 |
| 2026-07-26 00:07:32 | MEDIUM | 2 |
| 2026-07-25 00:13:44 | MEDIUM | 2 |
| 2026-07-24 00:02:28 | MEDIUM | 2 |
| 2026-07-23 00:14:47 | MEDIUM | 2 |
| 2026-07-22 11:20:06 | MEDIUM | 2 |