summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2006-11-06 20:15:50 +0000
committerSven Wegener <swegener@gentoo.org>2006-11-06 20:15:50 +0000
commitfe9ec5c8ed2a7e7482263028971ee73f1a464660 (patch)
tree2b4e715d062aaa7f84e517efeaf8a1314fc1b253 /net-dns/pdns
parentAdded doc USE flag and doxygen dependency for systems without doxygen. (diff)
downloadgentoo-2-fe9ec5c8ed2a7e7482263028971ee73f1a464660.tar.gz
gentoo-2-fe9ec5c8ed2a7e7482263028971ee73f1a464660.tar.bz2
gentoo-2-fe9ec5c8ed2a7e7482263028971ee73f1a464660.zip
Add support for the OpenDBX backend.
(Portage version: 2.1.2_rc1-r4)
Diffstat (limited to 'net-dns/pdns')
-rw-r--r--net-dns/pdns/ChangeLog5
-rw-r--r--net-dns/pdns/pdns-2.9.20-r2.ebuild11
2 files changed, 12 insertions, 4 deletions
diff --git a/net-dns/pdns/ChangeLog b/net-dns/pdns/ChangeLog
index d10b346f4d87..9e3f36089103 100644
--- a/net-dns/pdns/ChangeLog
+++ b/net-dns/pdns/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-dns/pdns
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.38 2006/10/15 01:21:47 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.39 2006/11/06 20:15:50 swegener Exp $
+
+ 06 Nov 2006; Sven Wegener <swegener@gentoo.org> pdns-2.9.20-r2.ebuild:
+ Add support for the OpenDBX backend.
*pdns-2.9.20-r2 (15 Oct 2006)
diff --git a/net-dns/pdns/pdns-2.9.20-r2.ebuild b/net-dns/pdns/pdns-2.9.20-r2.ebuild
index d7ae09f2bc1b..42e7cc9af0f9 100644
--- a/net-dns/pdns/pdns-2.9.20-r2.ebuild
+++ b/net-dns/pdns/pdns-2.9.20-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/pdns-2.9.20-r2.ebuild,v 1.1 2006/10/15 01:21:47 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/pdns-2.9.20-r2.ebuild,v 1.2 2006/11/06 20:15:50 swegener Exp $
inherit multilib eutils autotools
@@ -10,12 +10,13 @@ HOMEPAGE="http://www.powerdns.com/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="debug doc ldap mysql postgres sqlite static tdb"
+IUSE="debug doc ldap mysql postgres sqlite static tdb opendbx"
DEPEND="mysql? ( >=dev-db/mysql-3.23.54a )
postgres? ( >=dev-cpp/libpqpp-4.0-r1 )
ldap? ( >=net-nds/openldap-2.0.27-r4 )
sqlite? ( =dev-db/sqlite-2.8* )
+ opendbx? ( dev-db/opendbx )
tdb? ( dev-libs/tdb )
>=dev-libs/boost-1.31"
@@ -40,6 +41,7 @@ src_compile() {
use mysql && modules="${modules} gmysql"
use postgres && modules="${modules} gpgsql"
use sqlite && modules="${modules} gsqlite"
+ use opendbx && modules="${modules} opendbx"
use ldap && modules="${modules} ldap"
use tdb && modules="${modules} xdb"
use debug && myconf="${myconf} --enable-verbose-logging"
@@ -71,11 +73,14 @@ src_install () {
mv "${D}"/etc/powerdns/pdns.conf{-dist,}
# set defaults: setuid=pdns, setgid=pdns
- sed -i -e 's/^# set\([ug]\)id=$/set\1id=pdns/g' \
+ sed -i \
+ -e 's/^# set\([ug]\)id=$/set\1id=pdns/g' \
"${D}"/etc/powerdns/pdns.conf
doinitd "${FILESDIR}"/pdns
+ keepdir /var/emtpy
+
dodoc ChangeLog README TODO
use doc && dohtml -r codedocs/html/.
}