aboutsummaryrefslogtreecommitdiffstats
path: root/main/gdnsd/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/gdnsd/APKBUILD')
-rw-r--r--main/gdnsd/APKBUILD42
1 files changed, 23 insertions, 19 deletions
diff --git a/main/gdnsd/APKBUILD b/main/gdnsd/APKBUILD
index 5652bf31d5..49ee35bcb6 100644
--- a/main/gdnsd/APKBUILD
+++ b/main/gdnsd/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=gdnsd
-pkgver=1.6.9
+pkgver=1.9.0
pkgrel=0
pkgdesc="Geographic Authoritative DNS server"
url="https://github.com/blblack/gdnsd/"
@@ -9,13 +9,13 @@ arch="all"
license="GPL-3"
depends=""
depends_dev=""
-makedepends="libev-dev libcap-dev autoconf automake libtool"
+makedepends="userspace-rcu-dev libev-dev libcap-dev ragel autoconf automake libtool"
install="$pkgname.pre-install"
subpackages="$pkgname-dev $pkgname-doc"
-source="https://github.com/downloads/blblack/gdnsd/gdnsd-$pkgver.tar.xz
- geoip-autodc.patch
- geoip-speedup.patch
- 0001-preliminary-djbdns-support.patch
+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
@@ -27,18 +27,12 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
- libtoolize --force || return 1
- aclocal -I m4 || return 1
- autoconf || return 1
- automake --add-missing || return 1
+ ./autogen.sh || return 1
}
build() {
cd "$_builddir"
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
+ ./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-fast-install \
@@ -57,8 +51,18 @@ package() {
"$pkgdir"/etc/init.d/gdnsd || return 1
}
-md5sums="c8ea1da00fabc52e3d685528444f1279 gdnsd-1.6.9.tar.xz
-02eb668b6cad54552568a35985f44a09 geoip-autodc.patch
-7fb697653b8295322e53492f9051e831 geoip-speedup.patch
-00f2838e0908effaaa2f6e6a1699f25b gdnsd.initd
-4c8ff14e377fb8f1854b68b7bf9be282 0001-preliminary-djbdns-support.patch"
+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"