ntpsec

maintainer gdfuego · 15 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a release tarball from the project's official domain (ftp.ntpsec.org), which is plausibly project-owned; building from own-source is normal AUR practice, so the non-whitelisted host alone does not indicate danger.

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 release tarball from the project's official domain (ftp.ntpsec.org), which is plausibly project-owned; building from own-source is normal AUR practice, so the non-whitelisted host alone does not indicate danger.

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

Changes since previous scan

--- PKGBUILD @ 2026-07-31 00:14
+++ PKGBUILD @ 2026-08-03 00:08
@@ -1,8 +1,8 @@
# Maintainer: Gregory Boyce <gregory@auburndaletech.com>
pkgname=ntpsec
-pkgver=1.2.4
-pkgrel=3
+pkgver=1.2.5
+pkgrel=1
pkgdesc="Security-hardened Network Time Protocol implementation"
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url="https://www.ntpsec.org/"
@@ -20,8 +20,8 @@
use-arch-pool.patch
ntpsec.sysusers
waf-2.0.27)
-sha512sums=('f3e8494dd669fa2e4ac61721efe38c26a615f3fe38e659e33ea9d0994d67d779600c4ff6e65b023e6252c478ffc90a51baa90aeecc9f17daaf3f785273269efc'
- '001f27bb418863b265b6ccab01be584a6941be4e4426fa1deca420833bdd5792ded983d06deb2b7352dccf051033882403c5ac2d81d20deaa5e4a0542e1a95d8'
+sha512sums=('52f1c993616c5fbadea6732b65949dd2ec5a03d441d48ec2ae415e3bdb1baba06c8d21b2bd3b20c377ef82d06f3e6d5fe7bac961c41e7dadc3d7cbd4c6bf94ab'
+ '991c2983d53cadf906783b0f5567b230745f3d863fc68e1dc57de10811246f3d3e59c3369e9ee563e06d216a0c859e30ad933583f4652ebd3a92bb43bafe30d0'
'7edb1d2dd41b135fa489de1802ea9b4079e9cb6556fa6457924bf7363bef7375987b9e4bb6507730ad906199ba55a44103d0655ad1f517b0426083be5b3e218c'
'ac4ce13fe88a383382abb92cb34ab231467cbc9dcb8ac8780480d467f295ddf65e217b6415bbadabd8c7ac9832b0fd9058b837946aa2d5dcfd9f3bb81cff6b31'
'22c21dfcbf5ed25c25040ab04f62326f271b2b18ff96ca7598dadf68230d21d70cef1c9d7ef56721edbd9c737a56576fd4a9ffac1b00cb93d5c013b8f3a9d97e')

Scan history

Scanned at (UTC)SeverityRules
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 21:18:45 MEDIUM 1
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

Report a package

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

0 / 4000
Your suggestion