Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

106.9. dnsmasq-2.93

DNS forwarder, DHCP server and TFTP server (NetworkManager hotspot mode)

2.93-1 · GPL-2.0-only OR GPL-3.0-only · 0.1 SBU · 742.5 KiB, 5 files · 41_system, 648 of 1047 · ports/core/network/dnsmasq

Homepage: https://thekelleys.org.uk/dnsmasq/

Depends on: pkgconf, dbus, nettle, gmp, nftables, libidn2.

Required by (2): libvirt, networkmanager.

Sources: dnsmasq-2.93.tar.xz (627.7 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install dnsmasq'

build.sh:

opts="-DHAVE_DBUS -DHAVE_DNSSEC -DHAVE_NFTSET -DHAVE_LIBIDN2"
make PREFIX=/usr CONFFILE=/etc/dnsmasq.conf COPTS="$opts" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
make PREFIX=/usr CONFFILE=/etc/dnsmasq.conf COPTS="$opts" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" DESTDIR=$PKG install
install -Dm644 dbus/dnsmasq.conf "$PKG/usr/share/dbus-1/system.d/dnsmasq.conf"

Programs: dnsmasq.

Directories: /usr/share/licenses/dnsmasq.