aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/dnsmasq/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/main/dnsmasq/APKBUILD b/main/dnsmasq/APKBUILD
index b346ef4d66..b1545f34f6 100644
--- a/main/dnsmasq/APKBUILD
+++ b/main/dnsmasq/APKBUILD
@@ -1,7 +1,7 @@
# 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"