aboutsummaryrefslogtreecommitdiffstats
path: root/main/dnsmasq/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-12-10 15:44:56 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-12-10 15:49:36 +0000
commit87794e6ff27309b98adf7b117c457d9e5e3fca14 (patch)
tree880b7acbe03f08f5d204c5f6168daa99aec37b19 /main/dnsmasq/APKBUILD
parent3cf7d8431be564cf7846254e3b931160f64e4d34 (diff)
downloadaports-87794e6ff27309b98adf7b117c457d9e5e3fca14.tar.bz2
aports-87794e6ff27309b98adf7b117c457d9e5e3fca14.tar.xz
main/dnsmasq: upgrade to 2.51
Diffstat (limited to 'main/dnsmasq/APKBUILD')
-rw-r--r--main/dnsmasq/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/main/dnsmasq/APKBUILD b/main/dnsmasq/APKBUILD
index b346ef4d6..b1545f34f 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"