aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pdns/APKBUILD
diff options
context:
space:
mode:
authorLance Chen <cyen0312@gmail.com>2016-03-28 03:11:15 +0800
committerNatanael Copa <ncopa@alpinelinux.org>2016-06-15 09:44:38 +0000
commit402e0ba4ad346ab15aa8af537feee5546d650c40 (patch)
tree2a8d9c3a24532bc49d043e40e22596455d5aad33 /testing/pdns/APKBUILD
parent68b11daa203fcae22a4aa3ee9662f5f6fc135063 (diff)
downloadaports-402e0ba4ad346ab15aa8af537feee5546d650c40.tar.gz
aports-402e0ba4ad346ab15aa8af537feee5546d650c40.tar.bz2
aports-402e0ba4ad346ab15aa8af537feee5546d650c40.tar.xz
testing/pdns: add subpackage pdns-backend-bind
Enable bind module. Bind backend is a handy method for setting up a minimal powerdns instance.
Diffstat (limited to 'testing/pdns/APKBUILD')
-rw-r--r--testing/pdns/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/testing/pdns/APKBUILD b/testing/pdns/APKBUILD
index 9e71023985..3a39327567 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; }