summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/pdns/ChangeLog7
-rw-r--r--net-dns/pdns/Manifest18
-rw-r--r--net-dns/pdns/files/digest-pdns-2.9.203
-rw-r--r--net-dns/pdns/pdns-2.9.20.ebuild103
4 files changed, 124 insertions, 7 deletions
diff --git a/net-dns/pdns/ChangeLog b/net-dns/pdns/ChangeLog
index 4df9d94f8104..b36b568db940 100644
--- a/net-dns/pdns/ChangeLog
+++ b/net-dns/pdns/ChangeLog
@@ -1,6 +1,11 @@
# 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.25 2006/03/01 22:28:38 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.26 2006/03/17 00:35:53 swegener Exp $
+
+*pdns-2.9.20 (17 Mar 2006)
+
+ 17 Mar 2006; Sven Wegener <swegener@gentoo.org> +pdns-2.9.20.ebuild:
+ Version bump.
*pdns-2.9.19-r2 (01 Mar 2006)
diff --git a/net-dns/pdns/Manifest b/net-dns/pdns/Manifest
index ed4342a33a01..70d959c4b3af 100644
--- a/net-dns/pdns/Manifest
+++ b/net-dns/pdns/Manifest
@@ -1,9 +1,9 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 b1efdb86c71f910179d01d38b7848d8d ChangeLog 4190
-RMD160 4de1593ba76d0e5935082638fae93170010abc42 ChangeLog 4190
-SHA256 bd7b0cb60de6a97db88e3293f48482e59479060e7b43dd6d7c350695a00e21d6 ChangeLog 4190
+MD5 687f2e04785771f866c7a3d2d6ca0ce5 ChangeLog 4306
+RMD160 e1576b816e3016b15bf0b05076048745121239bf ChangeLog 4306
+SHA256 ae147f29dd4c49acfab6f6b87da1463efbd9afc46daf85790f36aad365aa34af ChangeLog 4306
MD5 90fb32e843326d14359c508cef855929 files/2.9.18-default-mysql-options.patch 606
RMD160 bfc5e2aeee2bc3e01a62a430b087e7ca5742a85b files/2.9.18-default-mysql-options.patch 606
SHA256 228a6c42a11a2eab82b68f8c04d5881f8be39746010675feba7ebf16add18151 files/2.9.18-default-mysql-options.patch 606
@@ -22,6 +22,9 @@ SHA256 82926090a266fc97fc0f0ac57fbb2f3d16ba559d25f30ffed71be9f56e6702f0 files/di
MD5 7c635ea76a8c4a51b00b99519a1fe8fc files/digest-pdns-2.9.19-r2 235
RMD160 368ed8b2e5638d47b5b9840acfc3db4fba45fe50 files/digest-pdns-2.9.19-r2 235
SHA256 55dfe1e00b6a161466c08a9d87c15af5ff28cbf5fda8df6a88d42768970c56a6 files/digest-pdns-2.9.19-r2 235
+MD5 4d4c82f77383d45b0f3c812506353f02 files/digest-pdns-2.9.20 235
+RMD160 dcc067109bce2032ef801cb2f77a19cf70b863dc files/digest-pdns-2.9.20 235
+SHA256 d2ac1f7a38f80ff664956d619e704adceb479b42cb6f1b792d48efe666bb51f2 files/digest-pdns-2.9.20 235
MD5 6ab134a1e83514c326fad4a0f5539094 files/pdns 1240
RMD160 ba798457cc9453e7a44f187aeeee25ed803cab5c files/pdns 1240
SHA256 d13d9c494022f8c1bf6656576624e3af0c8f72ac1a738b55c0f35534db1ba532 files/pdns 1240
@@ -40,10 +43,13 @@ SHA256 3421c4b499067231957a3e544616ebcfab421bf7419f224120f6ed03455fe26b pdns-2.9
MD5 a63f22f9c598e5db33af2dabe6a9f3b7 pdns-2.9.19-r2.ebuild 2919
RMD160 d84028a1aa6973664c97f1ec2e3631e129e57b97 pdns-2.9.19-r2.ebuild 2919
SHA256 130e075c8b12a6028c1bdbad1e371e640ba52618a968b4e1ccb0325964f3e3db pdns-2.9.19-r2.ebuild 2919
+MD5 a8498fef7bb78f44b0605fa97146d49b pdns-2.9.20.ebuild 2696
+RMD160 a4ef91123e44c3e24c19a1d9c7401d1177b7176e pdns-2.9.20.ebuild 2696
+SHA256 27f3eed12d684c85efdf889b2d203213a452f6e9803551f365283f437c005cf7 pdns-2.9.20.ebuild 2696
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)
-iD8DBQFEBiAjI1lqEGTUzyQRAngxAKC99Lcq979RDGWytTnGZHOxBGKt6wCg3lI0
-EccjQp2KEnbTWO0C5Etomzs=
-=E4PS
+iD8DBQFEGgR3I1lqEGTUzyQRApg4AJ0QX5bo9M9/bOiw0V9zvpHZKkozYQCg3WfD
++omF9IKmMjp2N+JY0Eq6QBE=
+=bJR/
-----END PGP SIGNATURE-----
diff --git a/net-dns/pdns/files/digest-pdns-2.9.20 b/net-dns/pdns/files/digest-pdns-2.9.20
new file mode 100644
index 000000000000..6d87ffaaad65
--- /dev/null
+++ b/net-dns/pdns/files/digest-pdns-2.9.20
@@ -0,0 +1,3 @@
+MD5 33b20ef1b767f93297101f2aa09e99ed pdns-2.9.20.tar.gz 867520
+RMD160 15d433bc29e7d60549d9296fca573724574614fc pdns-2.9.20.tar.gz 867520
+SHA256 28984207c78bc5d40542d40366d74f6695a9cf3a7ec4f431d908966d4fc35e3d pdns-2.9.20.tar.gz 867520
diff --git a/net-dns/pdns/pdns-2.9.20.ebuild b/net-dns/pdns/pdns-2.9.20.ebuild
new file mode 100644
index 000000000000..762703f6b8d5
--- /dev/null
+++ b/net-dns/pdns/pdns-2.9.20.ebuild
@@ -0,0 +1,103 @@
+# 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.ebuild,v 1.1 2006/03/17 00:35:53 swegener Exp $
+
+inherit eutils
+
+DESCRIPTION="The PowerDNS Daemon"
+SRC_URI="http://downloads.powerdns.com/releases/${P}.tar.gz"
+HOMEPAGE="http://www.powerdns.com/"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug doc ldap mysql postgres recursor sqlite static tdb"
+
+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* )
+ tdb? ( dev-libs/tdb )
+ >=dev-libs/boost-1.31"
+
+RDEPEND="${DEPEND}"
+
+DEPEND="${DEPEND}
+ doc? ( app-doc/doxygen )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/2.9.18-default-mysql-options.patch
+}
+
+src_compile() {
+ local modules="pipe geo" myconf=""
+
+ use mysql && modules="${modules} gmysql"
+ use postgres && modules="${modules} gpgsql"
+ use sqlite && modules="${modules} gsqlite"
+ use ldap && modules="${modules} ldap"
+ use tdb && modules="${modules} xdb"
+ use debug && myconf="${myconf} --enable-verbose-logging"
+
+ econf \
+ --sysconfdir=/etc/powerdns \
+ --with-modules= \
+ --with-dynmodules="${modules}" \
+ --with-pgsql-includes=/usr/include \
+ $(use_enable static static-binaries) \
+ $(use_enable recursor) \
+ ${myconf} \
+ || die "econf failed"
+ emake -j1 || die "emake failed"
+
+ if use doc
+ then
+ emake -C codedocs codedocs || die "emake codedocs failed"
+ fi
+}
+
+src_install () {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ mv "${D}"/etc/powerdns/pdns.conf{-dist,}
+
+ # set defaults: setuid=pdns, setgid=pdns
+ sed -i -e 's/^# set\([ug]\)id=$/set\1id=pdns/g' \
+ "${D}"/etc/powerdns/pdns.conf
+
+ doinitd "${FILESDIR}"/pdns
+
+ if use recursor
+ then
+ doinitd "${FILESDIR}"/precursor
+ insinto /etc/powerdns
+ doins "${FILESDIR}"/recursor.conf
+ fi
+
+ dodoc ChangeLog README TODO
+ use doc && dohtml -r codedocs/html/.
+}
+
+pkg_preinst() {
+ enewgroup pdns
+ enewuser pdns -1 -1 /var/empty pdns
+}
+
+pkg_postinst() {
+ ewarn
+ ewarn "ATTENTION: the config files have moved from /etc to /etc/powerdns!"
+ ewarn
+ einfo
+ einfo "pdns now provides multiple instances support. You can create more instances"
+ einfo "by symlinking the pdns init script to another name."
+ einfo
+ einfo "The name must be in the format pdns-<suffix> and PowerDNS will use the"
+ einfo "/etc/powerdns/pdns-<suffix>.conf configuration file instead of the default."
+ einfo
+ einfo "Also all backends, except the bind and random backends, are now compiled as"
+ einfo "loadable modules and must be loaded with load-modules= in the configuration"
+ einfo "file."
+ einfo
+}