dnsmasq-git

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

The source is a git clone from the official project's domain (thekelleys.org.uk), which is normal for -git packages; the non-whitelisted host is the project's own official site, so the risk is low despite SKIP'd checksums.

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 git clone from the official project's domain (thekelleys.org.uk), which is normal for -git packages; the non-whitelisted host is the project's own official site, so the risk is low despite SKIP'd checksums.

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=("git+https://thekelleys.org.uk/git/dnsmasq.git"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
2
3pkgname=dnsmasq-git
4pkgver=2.92.r28.ge4d0bb4
5pkgrel=1
6pkgdesc="Lightweight, easy to configure DNS forwarder and DHCP server"
7arch=('i686' 'x86_64')
8url="https://thekelleys.org.uk/dnsmasq/doc.html"
9license=('GPL-2.0-or-later' 'GPL-3.0-or-later')
10depends=('glibc' 'gmp' 'libdbus' 'libidn2' 'libnetfilter_conntrack' 'nettle' 'nftables')
11makedepends=('git')
12provides=("dnsmasq=$pkgver")
13conflicts=('dnsmasq')
14backup=('etc/dnsmasq.conf')
15source=("git+https://thekelleys.org.uk/git/dnsmasq.git"
16 "dnsmasq.sysusers::https://gitlab.archlinux.org/archlinux/packaging/packages/dnsmasq/-/raw/main/dnsmasq.sysusers"
17 "dnsmasq.service::https://gitlab.archlinux.org/archlinux/packaging/packages/dnsmasq/-/raw/main/dnsmasq.service")
18sha256sums=('SKIP'
19 'SKIP'
20 'SKIP')
21
22
23_build_copts=" \
24 -DHAVE_CONNTRACK \
25 -DHAVE_DBUS \
26 -DHAVE_DNSSEC \
27 -DHAVE_LIBIDN2 \
28 -DHAVE_NFTSET"
29
30pkgver() {
31 cd "dnsmasq"
32
33 _tag=$(git tag -l --sort -v:refname | grep -E '^v?[0-9\.]+$' | head -n1)
34 _rev=$(git rev-list --count "$_tag"..HEAD)
35 _hash=$(git rev-parse --short HEAD)
36 printf "%s.r%s.g%s" "$_tag" "$_rev" "$_hash" | sed 's/^v//'
37}
38
39build() {
40 cd "dnsmasq"
41
42 make \
43 CFLAGS="$CPPFLAGS $CFLAGS" \
44 LDFLAGS="$LDFLAGS" \
45 COPTS="$_build_copts" \
46 all-i18n
47
48 cd "contrib/lease-tools"
49 make \
50 CFLAGS="$CPPFLAGS $CFLAGS" \
51 LDFLAGS="$LDFLAGS" \
52 COPTS="$_build_copts" \
53 all
54}
55
56package() {
57 cd "dnsmasq"
58
59 make \
60 COPTS="$_build_copts" \
61 DESTDIR="$pkgdir" \
62 PREFIX="/usr" \
63 BINDIR="/usr/bin" \
64 install \
65 install-i18n
66
67 install -Dm644 "dnsmasq.conf.example" "$pkgdir/etc/dnsmasq.conf"
68 install -Dm644 "dbus/dnsmasq.conf" -t "$pkgdir/usr/share/dbus-1/system.d"
69 install -Dm644 "$srcdir/dnsmasq.service" -t "$pkgdir/usr/lib/systemd/system"
70 install -Dm644 "$srcdir/dnsmasq.sysusers" "$pkgdir/usr/lib/sysusers.d/dnsmasq.conf"
71
72 # DNSSEC setup
73 sed -i 's,%%PREFIX%%,/usr,' "$pkgdir/etc/dnsmasq.conf"
74 install -Dm644 "trust-anchors.conf" -t "$pkgdir/usr/share/dnsmasq"
75
76 install -Dm755 "contrib/lease-tools"/dhcp_{release{,6},lease_time} -t "$pkgdir/usr/bin"
77 install -Dm644 "contrib/lease-tools"/dhcp_{release{,6},lease_time}.1 -t "$pkgdir/usr/share/man/man1"
78}
79

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