diff options
author | Juergen Daubert <jue@jue.li> | 2021-01-27 10:48:06 +0100 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2021-01-27 10:48:42 +0100 |
commit | 6a767570d216fd3006911e7d314ae0f4c16a5577 (patch) | |
tree | 63b91766e224fd33e83ab049a05fdc2d550ad8cf /dnsmasq/Pkgfile | |
parent | 8deccf3b1f3f10bcb46c4becf0e3ea7487defe57 (diff) | |
download | opt-6a767570d216fd3006911e7d314ae0f4c16a5577.tar.gz opt-6a767570d216fd3006911e7d314ae0f4c16a5577.tar.xz |
dnsmasq: update to 2.84
Diffstat (limited to 'dnsmasq/Pkgfile')
-rw-r--r-- | dnsmasq/Pkgfile | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/dnsmasq/Pkgfile b/dnsmasq/Pkgfile index 536408262..d2b5ae047 100644 --- a/dnsmasq/Pkgfile +++ b/dnsmasq/Pkgfile @@ -4,22 +4,23 @@ # Depends on: nettle name=dnsmasq -version=2.83 +version=2.84 release=1 source=(http://www.thekelleys.org.uk/$name/$name-$version.tar.xz \ - $name-config.patch dnsmasq) + $name-config.patch dnsmasq) build () { - cd $name-$version + cd $name-$version - patch -p1 -i $SRC/$name-config.patch + sed 's/rc2//' -i VERSION + patch -p1 -i $SRC/$name-config.patch - make COPTS="-DHAVE_DNSSEC" CFLAGS="$CFLAGS -Wall -W" - make COPTS="-DHAVE_DNSSEC" PREFIX=$PKG/usr install + make COPTS="-DHAVE_DNSSEC" CFLAGS="$CFLAGS -W -Wall" + make PREFIX=$PKG/usr install-common - install -d $PKG/{var/lib/dhcp,etc/rc.d,usr/share/dnsmasq} + install -d $PKG/{var/lib/dhcp,etc/rc.d,usr/share/dnsmasq} - install -m 755 $SRC/dnsmasq $PKG/etc/rc.d/ - install -m 644 dnsmasq.conf.example $PKG/etc/dnsmasq.conf - install -m 644 trust-anchors.conf $PKG/usr/share/dnsmasq + install -m 755 $SRC/dnsmasq $PKG/etc/rc.d/ + install -m 644 dnsmasq.conf.example $PKG/etc/dnsmasq.conf + install -m 644 trust-anchors.conf $PKG/usr/share/dnsmasq } |