dnsmasq-git

LOW
maintainer Chocobo1 0 votes scanned 2026-11-01 00:21:48.120785
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-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 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