Subject: [alpine-aports] [PATCH] testing/pdns: add subpackage pdns-backend-bind

From: Lance Chen <[email-masked]>
Date: Mon, 28 Mar 2016 03:11:15 +0800

Enable bind module. Bind backend is a handy method for setting up
a minimal powerdns instance.
---
 testing/pdns/APKBUILD | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/testing/pdns/APKBUILD b/testing/pdns/APKBUILD
index 2c30087..ffa9c31 100644
--- a/testing/pdns/APKBUILD
+++ b/testing/pdns/APKBUILD
@@ -14,6 +14,7 @@ makedepends="$depends_dev boost-dev lua-dev openldap-dev mariadb-dev
 	postgresql-dev sqlite-dev"
 install="$pkgname.pre-install $pkgname.post-deinstall"
 subpackages="$pkgname-doc
+	$pkgname-backend-bind:backend_bind
 	$pkgname-backend-geo:backend_geo
 	$pkgname-backend-ldap:backend_ldap
 	$pkgname-backend-mysql:backend_mysql
@@ -49,7 +50,7 @@ build() {
 		--localstatedir=/var \
 		--libdir=/usr/lib/pdns \
 		--with-modules="" \
-		--with-dynmodules="geo ldap gmysql gpgsql pipe gsqlite3" \
+		--with-dynmodules="bind geo ldap gmysql gpgsql pipe gsqlite3" \
 		--disable-recursor \
 		--disable-static \
 		|| return 1
@@ -68,6 +69,7 @@ package() {
 	chown pdns:pdns "$pkgdir"/etc/$pkgname.conf || return 1
 }
 
+backend_bind()		{ _mv_backend bind; }
 backend_geo()		{ _mv_backend geo; }
 backend_ldap()		{ _mv_backend ldap openldap; }
 backend_mysql()		{ _mv_backend gmysql mysql; }
-- 
2.7.4

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---