ntpsec

LOW
maintainer gdfuego 15 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The source is a tarball from the project's official release host (ftp.ntpsec.org), which is plausibly owned by the project despite not being on a standard whitelist; building from own-source is normal AUR behavior and not inherently dangerous.

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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from the project's official release host (ftp.ntpsec.org), which is plausibly owned by the project despite not being on a standard whitelist; building from own-source is normal AUR behavior and not inherently dangerous.

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:18 source=("https://ftp.ntpsec.org/pub/releases/$pkgname-$pkgver.tar.gz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Gregory Boyce <gregory@auburndaletech.com>
2
3pkgname=ntpsec
4pkgver=1.2.5
5pkgrel=2
6pkgdesc="Security-hardened Network Time Protocol implementation"
7arch=('i686' 'x86_64' 'armv7h' 'aarch64')
8url="https://www.ntpsec.org/"
9license=('Apache-2.0','BSD-2-Clause','BSD-4-Clause','ISC','NTP','Beerware','BSD-3-Clause','CC-BY-4.0','MIT')
10depends=('avahi' 'libbsd' 'python' 'openssl')
11makedepends=('asciidoc' 'pps-tools' 'w3m' 'binutils' 'asciidoctor')
12optdepends=('gnuplot: for ntpviz'
13 'libevent: for ntpdig'
14 'python-psutil: Optional for ntpviz, allows running with ionice'
15 'ttf-liberation: Improves font quality in ntpviz renderings')
16provides=('ntp')
17conflicts=('ntp')
18source=("https://ftp.ntpsec.org/pub/releases/$pkgname-$pkgver.tar.gz"
19 "https://ftp.ntpsec.org/pub/releases/$pkgname-$pkgver.tar.gz.asc"
20 use-arch-pool.patch
21 ntpsec.sysusers
22 waf-2.0.27)
23sha512sums=('52f1c993616c5fbadea6732b65949dd2ec5a03d441d48ec2ae415e3bdb1baba06c8d21b2bd3b20c377ef82d06f3e6d5fe7bac961c41e7dadc3d7cbd4c6bf94ab'
24 '991c2983d53cadf906783b0f5567b230745f3d863fc68e1dc57de10811246f3d3e59c3369e9ee563e06d216a0c859e30ad933583f4652ebd3a92bb43bafe30d0'
25 '7edb1d2dd41b135fa489de1802ea9b4079e9cb6556fa6457924bf7363bef7375987b9e4bb6507730ad906199ba55a44103d0655ad1f517b0426083be5b3e218c'
26 'ac4ce13fe88a383382abb92cb34ab231467cbc9dcb8ac8780480d467f295ddf65e217b6415bbadabd8c7ac9832b0fd9058b837946aa2d5dcfd9f3bb81cff6b31'
27 '22c21dfcbf5ed25c25040ab04f62326f271b2b18ff96ca7598dadf68230d21d70cef1c9d7ef56721edbd9c737a56576fd4a9ffac1b00cb93d5c013b8f3a9d97e')
28validpgpkeys=('E57235D22764129FA4F2F4D17F52608ED0E49D76')
29backup=('etc/ntp.conf'
30 'etc/ntp.d/default.conf'
31 'etc/ntp.d/use-pool')
32
33prepare() {
34 cd "$pkgname-$pkgver"
35
36 for patch in ../*.patch; do
37 if [ ! -f "$patch" ]; then
38 break;
39 else
40 patch -p1 -i "$patch"
41 fi
42 done
43 cp ../waf-2.0.27 waf
44}
45
46build() {
47 cd "$pkgname-$pkgver"
48
49 ./waf configure --prefix /usr --sbindir=/usr/ntpsec/bin --refclock=all \
50 --enable-leap-smear --enable-doc --htmldir=/usr/share/doc/ntpsec
51 ./waf build
52
53 a2x -f text docs/copyright.adoc
54}
55
56check() {
57 cd "$pkgname-$pkgver"
58
59 ./waf check
60}
61
62package() {
63 cd "$pkgname-$pkgver"
64
65 ./waf install --destdir="$pkgdir/"
66
67 install -Dm 644 etc/logrotate-config.ntpd "$pkgdir/etc/logrotate.d/ntpd"
68 install -Dm 644 build/main/etc/ntpd.service "$pkgdir/usr/lib/systemd/system/ntpd.service"
69 install -Dm 644 docs/copyright.text "$pkgdir/usr/share/licenses/$pkgname/COPYING"
70 install -Dm 644 ../ntpsec.sysusers "$pkgdir/usr/lib/sysusers.d/ntpsec.conf"
71 install -Dm 644 LICENSES/*.txt "$pkgdir/usr/share/licenses/$pkgname/"
72
73 for configfile in etc/ntp.d/*; do
74 install -Dm 644 "$configfile" "$pkgdir/$configfile"
75 done
76
77 install -dm 700 -g 212 -o 212 "$pkgdir/var/lib/ntp"
78 touch $pkgdir/etc/ntp.conf
79
80}
81

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 Low 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion