dnsmasq-git

maintainer Chocobo1 · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
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-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

Report a package

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

0 / 4000
Your suggestion