Revision bump, without the included recursor component. Use net-dns/pdns-recursor...
authorSven Wegener <swegener@gentoo.org>
Sun, 18 Jun 2006 16:55:35 +0000 (16:55 +0000)
committerSven Wegener <swegener@gentoo.org>
Sun, 18 Jun 2006 16:55:35 +0000 (16:55 +0000)
Package-Manager: portage-2.1.1_pre1-r1

net-dns/pdns/ChangeLog
net-dns/pdns/Manifest
net-dns/pdns/files/digest-pdns-2.9.20-r1 [new file with mode: 0644]
net-dns/pdns/pdns-2.9.20-r1.ebuild [new file with mode: 0644]

index 00629a4fb2310fd65f6cededa4017b1669a07d03..eccddfda78c5eab31121df48efb6e0d6146cb062 100644 (file)
@@ -1,6 +1,12 @@
 # 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.31 2006/06/01 21:22:25 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.32 2006/06/18 16:55:35 swegener Exp $
+
+*pdns-2.9.20-r1 (18 Jun 2006)
+
+  18 Jun 2006; Sven Wegener <swegener@gentoo.org> +pdns-2.9.20-r1.ebuild:
+  Revision bump, without the included recursor component. Use
+  net-dns/pdns-recursor from now on.
 
   01 Jun 2006; Sven Wegener <swegener@gentoo.org>
   +files/2.9.20-ldap-deprecated.patch, pdns-2.9.20.ebuild:
index 1efba886c7297d3cf0e4d7d9c575aed9969979f1..088657eb6256f381b20b8dcd32ef66ddd16401d1 100644 (file)
@@ -44,14 +44,18 @@ EBUILD pdns-2.9.19-r2.ebuild 2957 RMD160 a140deefa7e6fbb6a4b0d55d13664f8b4e6a2a2
 MD5 8018f45156d74442972981b902326d34 pdns-2.9.19-r2.ebuild 2957
 RMD160 a140deefa7e6fbb6a4b0d55d13664f8b4e6a2a2f pdns-2.9.19-r2.ebuild 2957
 SHA256 0671e5debc20ea2a49f0bc9368951eb25a6f404f906b6541692ae6701932c7fd pdns-2.9.19-r2.ebuild 2957
+EBUILD pdns-2.9.20-r1.ebuild 2864 RMD160 81167fd2ee2bbb960a76ae8ec5f2ce8eabc89836 SHA1 ee10392cf4e47fbd5f6ef4601d38864c080a18af SHA256 fed539da1ae50d57e10f17f112c8dc25af7ebae901ea8b717916bba631315e44
+MD5 476ca111e57d043818c4aa29730fd153 pdns-2.9.20-r1.ebuild 2864
+RMD160 81167fd2ee2bbb960a76ae8ec5f2ce8eabc89836 pdns-2.9.20-r1.ebuild 2864
+SHA256 fed539da1ae50d57e10f17f112c8dc25af7ebae901ea8b717916bba631315e44 pdns-2.9.20-r1.ebuild 2864
 EBUILD pdns-2.9.20.ebuild 2939 RMD160 4ef615bcbbfeeaab900ac6a51672fb16cd81f4db SHA1 f4d5c289ef035f1decc1a00391e618f08782c8ed SHA256 cf8a63fa22a7d252eb9d2752d6e566f37ba8566172790684158bfdf781131791
 MD5 f24d6b35b90e7b8d9ba17f69f34f4ebc pdns-2.9.20.ebuild 2939
 RMD160 4ef615bcbbfeeaab900ac6a51672fb16cd81f4db pdns-2.9.20.ebuild 2939
 SHA256 cf8a63fa22a7d252eb9d2752d6e566f37ba8566172790684158bfdf781131791 pdns-2.9.20.ebuild 2939
-MISC ChangeLog 5459 RMD160 294831159ba1658dad302ac6bfd65b1a55f4a4f9 SHA1 8b491bf4faf1c6f03ad6d45534866ab6649d7d1a SHA256 bd8e232a375c8a296a56fa18d736b547913920b11cf14d40943edad9973acde6
-MD5 a6f93ffeebdc363fa0233da6add5578f ChangeLog 5459
-RMD160 294831159ba1658dad302ac6bfd65b1a55f4a4f9 ChangeLog 5459
-SHA256 bd8e232a375c8a296a56fa18d736b547913920b11cf14d40943edad9973acde6 ChangeLog 5459
+MISC ChangeLog 5664 RMD160 6fce297521cff297a2ae763c8cc4c324550c889d SHA1 d9eb3ac8770730592d9b41fb06065720216e9d1b SHA256 0b0eb19f031b58a1b4bdae6ee1d346ed53b12412c9d8dc9e0ff244d13fed9b43
+MD5 e156277b93475f375a7372b70a82e1b3 ChangeLog 5664
+RMD160 6fce297521cff297a2ae763c8cc4c324550c889d ChangeLog 5664
+SHA256 0b0eb19f031b58a1b4bdae6ee1d346ed53b12412c9d8dc9e0ff244d13fed9b43 ChangeLog 5664
 MISC metadata.xml 573 RMD160 74995a273e6513bb6689ec0ad74bf5b0b0fdf5c1 SHA1 01c4329b63991b54af3559d2220251520cb7147a SHA256 26a6150230ca87a16d882d1cdac565a040e75e7bf02ee9348688569924e1bfc3
 MD5 56567ddcaf248499457a1ce74277c910 metadata.xml 573
 RMD160 74995a273e6513bb6689ec0ad74bf5b0b0fdf5c1 metadata.xml 573
@@ -65,10 +69,13 @@ SHA256 55dfe1e00b6a161466c08a9d87c15af5ff28cbf5fda8df6a88d42768970c56a6 files/di
 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 4d4c82f77383d45b0f3c812506353f02 files/digest-pdns-2.9.20-r1 235
+RMD160 dcc067109bce2032ef801cb2f77a19cf70b863dc files/digest-pdns-2.9.20-r1 235
+SHA256 d2ac1f7a38f80ff664956d619e704adceb479b42cb6f1b792d48efe666bb51f2 files/digest-pdns-2.9.20-r1 235
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.3 (GNU/Linux)
 
-iD8DBQFEf1qJI1lqEGTUzyQRAkbVAJ9UbL4Q2lPCptz+CqmGxL9o8sopowCgml5A
-v/FMltWlcsZjfxcM/DX4qNw=
-=KrE2
+iD8DBQFElYV4I1lqEGTUzyQRAiDDAJ9mW7qrrLztZcsZSIab+l9eTBEC5ACeMzqJ
+XWPcpLAHDSk6OLN20QsurdM=
+=OAUk
 -----END PGP SIGNATURE-----
diff --git a/net-dns/pdns/files/digest-pdns-2.9.20-r1 b/net-dns/pdns/files/digest-pdns-2.9.20-r1
new file mode 100644 (file)
index 0000000..6d87ffa
--- /dev/null
@@ -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-r1.ebuild b/net-dns/pdns/pdns-2.9.20-r1.ebuild
new file mode 100644 (file)
index 0000000..e3bea8a
--- /dev/null
@@ -0,0 +1,104 @@
+# 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-r1.ebuild,v 1.1 2006/06/18 16:55:35 swegener Exp $
+
+inherit multilib eutils autotools
+
+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 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
+       epatch "${FILESDIR}"/2.9.20-ldap-deprecated.patch
+
+       eautoreconf
+}
+
+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 \
+               --disable-recursor \
+               --with-modules= \
+               --with-dynmodules="${modules}" \
+               --with-pgsql-includes=/usr/include \
+               --with-pgsql-lib=/usr/$(get_libdir) \
+               --with-mysql-lib=/usr/$(get_libdir) \
+               --with-sqlite-lib=/usr/$(get_libdir) \
+               $(use_enable static static-binaries) \
+               ${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
+
+       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
+       ewarn "ATTENTION: The recursor component has been split out to net-dns(pdns-recursor!"
+       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
+}