summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2006-03-17 00:35:53 +0000
committerSven Wegener <swegener@gentoo.org>2006-03-17 00:35:53 +0000
commit0809cee06d8fedd42515d4d5af4cf73d4cecf721 (patch)
tree952c435e8b941666d0d8da1126016a1c3ea5934b /net-dns
parentUpdate nightlie (no it doesn't work fine). (diff)
downloadgentoo-2-0809cee06d8fedd42515d4d5af4cf73d4cecf721.tar.gz
gentoo-2-0809cee06d8fedd42515d4d5af4cf73d4cecf721.tar.bz2
gentoo-2-0809cee06d8fedd42515d4d5af4cf73d4cecf721.zip
Version bump.
(Portage version: 2.1_pre6-r1)
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/pdns/ChangeLog7
-rw-r--r--net-dns/pdns/Manifest16
-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, 118 insertions, 11 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..1d94a4f145fd 100644
--- a/net-dns/pdns/Manifest
+++ b/net-dns/pdns/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 b1efdb86c71f910179d01d38b7848d8d ChangeLog 4190
RMD160 4de1593ba76d0e5935082638fae93170010abc42 ChangeLog 4190
SHA256 bd7b0cb60de6a97db88e3293f48482e59479060e7b43dd6d7c350695a00e21d6 ChangeLog 4190
@@ -22,6 +19,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 +40,6 @@ 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
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2.1 (GNU/Linux)
-
-iD8DBQFEBiAjI1lqEGTUzyQRAngxAKC99Lcq979RDGWytTnGZHOxBGKt6wCg3lI0
-EccjQp2KEnbTWO0C5Etomzs=
-=E4PS
------END PGP SIGNATURE-----
+MD5 01642ff2d710078af153280fc90b4a9d pdns-2.9.20.ebuild 2683
+RMD160 85e967890095271499b5b54e9d2fc8c7af27a042 pdns-2.9.20.ebuild 2683
+SHA256 d2c0a8d3145839f6bc4ec95fd8fc8fdda9a06c7f980b377765dbbb4c5e99520b pdns-2.9.20.ebuild 2683
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
+}