summaryrefslogtreecommitdiffstats
path: root/testing/gdnsd/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/gdnsd/APKBUILD')
-rw-r--r--testing/gdnsd/APKBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/testing/gdnsd/APKBUILD b/testing/gdnsd/APKBUILD
index c89aae670..6da9d6caa 100644
--- a/testing/gdnsd/APKBUILD
+++ b/testing/gdnsd/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gdnsd
pkgver=1.6.2
-pkgrel=1
+pkgrel=2
pkgdesc="Geographic Authoritative DNS server"
url="http://code.google.com/p/gdnsd/"
arch="all"
@@ -12,7 +12,8 @@ depends_dev=""
makedepends="libev-dev libcap-dev"
install="$pkgname.pre-install"
subpackages="$pkgname-dev $pkgname-doc"
-source="http://gdnsd.googlecode.com/files/gdnsd-$pkgver.tar.xz"
+source="http://gdnsd.googlecode.com/files/gdnsd-$pkgver.tar.xz
+ gdnsd.initd"
_builddir="$srcdir"/gdnsd-$pkgver
prepare() {
@@ -33,6 +34,8 @@ build() {
--enable-fast-install \
|| return 1
make || return 1
+ install -Dm755 "$srcdir"/gdnsd.initd "$pkgdir"/etc/init.d/gdnsd \
+ || return 1
}
package() {
@@ -42,4 +45,5 @@ package() {
"$pkgdir"/usr/lib/gdnsd/*.la
}
-md5sums="082f874d24cdc7073950ed6294f8d39b gdnsd-1.6.2.tar.xz"
+md5sums="082f874d24cdc7073950ed6294f8d39b gdnsd-1.6.2.tar.xz
+dad20779adfb4b85b57b45c7c903a636 gdnsd.initd"