Commit 402e0ba4 authored by Lance Chen's avatar Lance Chen Committed by Natanael Copa

testing/pdns: add subpackage pdns-backend-bind

Enable bind module. Bind backend is a handy method for setting up
a minimal powerdns instance.
parent 68b11daa
......@@ -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; }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment