aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gdnsd/APKBUILD
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-07-12 08:50:26 +0300
committerTimo Teräs <timo.teras@iki.fi>2013-07-12 09:28:01 +0300
commit3c24eab6e249a1b8f20770fa4f73557eb4eabde2 (patch)
treead00a25ec2e75ba793bb45c3cae9e1ef1cfcceac /testing/gdnsd/APKBUILD
parentbbc06ec1abefc220a621547bc31befeb5d6046b5 (diff)
downloadaports-3c24eab6e249a1b8f20770fa4f73557eb4eabde2.tar.bz2
aports-3c24eab6e249a1b8f20770fa4f73557eb4eabde2.tar.xz
testing/gdnsd: experimental version 1.9.0
* update to upstream 1.9.0 * updated to use userspace-rcu * cherry-pick cname reply fix * refreshed djbdns support patch (from upstream dev branch) * updated init.d script
Diffstat (limited to 'testing/gdnsd/APKBUILD')
-rw-r--r--testing/gdnsd/APKBUILD68
1 files changed, 68 insertions, 0 deletions
diff --git a/testing/gdnsd/APKBUILD b/testing/gdnsd/APKBUILD
new file mode 100644
index 0000000000..f63bb99bbe
--- /dev/null
+++ b/testing/gdnsd/APKBUILD
@@ -0,0 +1,68 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Timo Teräs <timo.teras@iki.fi>
+pkgname=gdnsd
+pkgver=1.9.0
+pkgrel=0
+pkgdesc="Geographic Authoritative DNS server"
+url="https://github.com/blblack/gdnsd/"
+arch="all"
+license="GPL-3"
+depends=""
+depends_dev=""
+makedepends="userspace-rcu-dev libev-dev libcap-dev autoconf automake libtool"
+install="$pkgname.pre-install"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://github.com/blblack/gdnsd/archive/v$pkgver.tar.gz
+ 0001-Fix-auth-section-of-ANY-query-on-CNAME.patch
+ 0001-Fix-ztree_txn_-API-to-work.patch
+ 0002-Impelement-loading-of-DJBDNS-zone-files.patch
+ gdnsd.initd"
+
+_builddir="$srcdir"/gdnsd-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+ ./autogen.sh || return 1
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --enable-fast-install \
+ || return 1
+ make || return 1
+ install -Dm755 "$srcdir"/gdnsd.initd \
+ "$pkgdir"/etc/init.d/gdnsd || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la \
+ "$pkgdir"/usr/lib/gdnsd/*.la
+ install -Dm755 "$srcdir"/gdnsd.initd \
+ "$pkgdir"/etc/init.d/gdnsd || return 1
+}
+
+md5sums="17b5450d6b78f73bb3f47f7b2d1e5f0f v1.9.0.tar.gz
+c6229e37f4d3f9c2bec7f8e56ef93b0c 0001-Fix-auth-section-of-ANY-query-on-CNAME.patch
+64b0232acbd664db83ff2ac800cb5459 0001-Fix-ztree_txn_-API-to-work.patch
+bc54485f31d09b0c83eb78dee4cd7446 0002-Impelement-loading-of-DJBDNS-zone-files.patch
+85f07d47b324a8913cb87a45067d4f44 gdnsd.initd"
+sha256sums="955970ddd07c9926450a07877f106124a57dd56913f40e8fe2262287a2377db0 v1.9.0.tar.gz
+459b8fab55c701ffa196e6838056322c60129ab3646eefac4dd4900df8300e2a 0001-Fix-auth-section-of-ANY-query-on-CNAME.patch
+f42d30f3aa88d5fedcf1642de33132beafade609c041ed9f5943ba3da9d7c2fb 0001-Fix-ztree_txn_-API-to-work.patch
+f78f0071812ef675e7b57cfa8d0edfcd00be84f6e320afedcf9352bc3a08a197 0002-Impelement-loading-of-DJBDNS-zone-files.patch
+dd1ee7fa4063455f127c444b467625fd12cc51349858757614607cf367804a74 gdnsd.initd"
+sha512sums="666cb34241fa3dd345d6dbde6d9166c691e8418eaf913dd2b1a7d1c3aa6b1a6f8d7d74b6f6e7804a989951b45d10e69f34bce647737b8460c5b0fc18e25150aa v1.9.0.tar.gz
+703ef89071a21db03f14efa1fc0d269fbd1d50cc6861cd9912cad1076d0cfe91e7cfc4760a6355cca91df1d58387431c3f53ffa8b19342bde54bc850ff80b278 0001-Fix-auth-section-of-ANY-query-on-CNAME.patch
+c8a1a23a623dcacf3cd799929a974edbe29e0ab36ef85ada4047dd04726c96ff040eff733509f523b9982aa8956408b9a654f8c6c6c26e454773b3b81d4f49cb 0001-Fix-ztree_txn_-API-to-work.patch
+c32e7bfd09006344cc53b32fe8597c5d9744d2d66723e0eea6ba4a5ec4db39c5700c844d880bacd41862126a21cdaaca276b8510a512e7f1b5ccdcfdb5ab1f1b 0002-Impelement-loading-of-DJBDNS-zone-files.patch
+0e8263182bbfa52aa8176443373d5de8b05dfb3f6d4f3268e0deecaca24832125bb3fa59309a4880bd7ae76ffb612ecb61f6cf00732f0237a4de21fadae219b5 gdnsd.initd"