Commit 87794e6f authored by Natanael Copa's avatar Natanael Copa

main/dnsmasq: upgrade to 2.51

parent 3cf7d843
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dnsmasq
pkgver=2.50
pkgrel=1
pkgver=2.51
pkgrel=0
pkgdesc="Small forwarding DNS server"
url="http://www.thekelleys.org.uk/dnsmasq/"
license="GPL-2"
......@@ -13,7 +13,6 @@ source="http://www.thekelleys.org.uk/dnsmasq/$pkgname-$pkgver.tar.gz
"
build() {
# src_unpack
cd "$srcdir/$pkgname-$pkgver"
sed -i -e 's/^AWK.*/AWK = awk/' Makefile
make PREFIX=/usr \
......@@ -22,6 +21,10 @@ build() {
DBUS_CFLAGS= \
DBUS_MINOR= \
all || return 1
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make PREFIX=/usr \
DESTDIR="$pkgdir" \
DBUS_LIBS= \
......@@ -32,6 +35,6 @@ build() {
install -D -m644 "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
install dnsmasq.conf.example "$pkgdir"/etc/dnsmasq.conf
}
md5sums="f7b1e17c590e493039537434c57c9de7 dnsmasq-2.50.tar.gz
md5sums="97465261a6de5258a3c3edfe51ca16a4 dnsmasq-2.51.tar.gz
db46459322a0c7d9ce4f68251fd265c4 dnsmasq.initd
5990c2d2cb92209feacf8f3a5a7d0831 dnsmasq.confd"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment