# ChangeLog for net-dns/pdns
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.41 2007/03/12 19:56:07 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.42 2007/04/22 13:02:10 swegener Exp $
+
+*pdns-2.9.21 (22 Apr 2007)
+
+ 22 Apr 2007; Sven Wegener <swegener@gentoo.org> +pdns-2.9.21.ebuild:
+ Version bump.
12 Mar 2007; Sven Wegener <swegener@gentoo.org> files/pdns:
Remove bashisms from init script, bug #169636.
RMD160 36a225c2be31e96c89a8c90c6cdb8f428c7570d4 files/recursor.conf 436
SHA256 1ac01b17aa9dcdd2c133d2ba29d3aa9319b2b2290b48cfe5603191b97a6d1c3f files/recursor.conf 436
DIST pdns-2.9.20.tar.gz 867520 RMD160 15d433bc29e7d60549d9296fca573724574614fc SHA1 45fde296f17d2feaac779c206cf467d1dae2aaa1 SHA256 28984207c78bc5d40542d40366d74f6695a9cf3a7ec4f431d908966d4fc35e3d
+DIST pdns-2.9.21.tar.gz 991071 RMD160 ed53de20a4e660ab2537b3c888b0a85225764a51 SHA1 2b86e4b44ef43db308c62e32b10ed0d5221a45c9 SHA256 4b24db683ba2217caa1edf54545841dcdfa6fd27b66017577d8b0dd54f8e7ed5
EBUILD pdns-2.9.20-r1.ebuild 2848 RMD160 58bfd3b373bfcc20f37fce05713b10885c4641c2 SHA1 1da6ba7234d567640d61131ef1aee05ad1639ece SHA256 0d10e31d1db51d9f28d12e74f5d2ac6fd064232f5f95233a7511c0376f71c6ae
MD5 014c40537d948a7e8ea16170d0ead5c1 pdns-2.9.20-r1.ebuild 2848
RMD160 58bfd3b373bfcc20f37fce05713b10885c4641c2 pdns-2.9.20-r1.ebuild 2848
MD5 5b5e6d42c233861497e29635ffe6194b pdns-2.9.20-r2.ebuild 2621
RMD160 9d415587ffb54ffff397d62fb7ec37065e6282df pdns-2.9.20-r2.ebuild 2621
SHA256 5d68a24a324f4da34a8208cbb821cd4369cc28cb0e1f5cd1902b83d784879b9e pdns-2.9.20-r2.ebuild 2621
-MISC ChangeLog 6820 RMD160 1d34511d153c2bda9fdea7f1179011d3dfec2f50 SHA1 3f65c98c80209a2a93951001a3148e5d00a2d1b0 SHA256 5ffd5479f4ba9142c6f3cf119333411563cfaf4020cd612a1ce7b169786617aa
-MD5 3306e07192e141e972d1e16880a467ba ChangeLog 6820
-RMD160 1d34511d153c2bda9fdea7f1179011d3dfec2f50 ChangeLog 6820
-SHA256 5ffd5479f4ba9142c6f3cf119333411563cfaf4020cd612a1ce7b169786617aa ChangeLog 6820
+EBUILD pdns-2.9.21.ebuild 2622 RMD160 3fff426e90b9974e735d8a42aad93109b9a01b07 SHA1 ee441912dd66aeaea840104591ab2dfce602ae69 SHA256 9a51060799a21114cef7d678f09e89e73c42cb61374b5cee3665ba178cfb7d13
+MD5 caeb4d5fecdd23340a3a1b804fb15db7 pdns-2.9.21.ebuild 2622
+RMD160 3fff426e90b9974e735d8a42aad93109b9a01b07 pdns-2.9.21.ebuild 2622
+SHA256 9a51060799a21114cef7d678f09e89e73c42cb61374b5cee3665ba178cfb7d13 pdns-2.9.21.ebuild 2622
+MISC ChangeLog 6936 RMD160 f5940134e9195fac92cf3ce479b4d2342609d522 SHA1 ddc417ae24f9cc329159d54e79a46d47a78d14dd SHA256 c21ed4420cbe6fad2b61afd1e1ce67f516a5654e021a28c4eecc5cca62fa3a42
+MD5 46062cec87359f5c5687d44a3b9df4c3 ChangeLog 6936
+RMD160 f5940134e9195fac92cf3ce479b4d2342609d522 ChangeLog 6936
+SHA256 c21ed4420cbe6fad2b61afd1e1ce67f516a5654e021a28c4eecc5cca62fa3a42 ChangeLog 6936
MISC metadata.xml 573 RMD160 74995a273e6513bb6689ec0ad74bf5b0b0fdf5c1 SHA1 01c4329b63991b54af3559d2220251520cb7147a SHA256 26a6150230ca87a16d882d1cdac565a040e75e7bf02ee9348688569924e1bfc3
MD5 56567ddcaf248499457a1ce74277c910 metadata.xml 573
RMD160 74995a273e6513bb6689ec0ad74bf5b0b0fdf5c1 metadata.xml 573
MD5 4d4c82f77383d45b0f3c812506353f02 files/digest-pdns-2.9.20-r2 235
RMD160 dcc067109bce2032ef801cb2f77a19cf70b863dc files/digest-pdns-2.9.20-r2 235
SHA256 d2ac1f7a38f80ff664956d619e704adceb479b42cb6f1b792d48efe666bb51f2 files/digest-pdns-2.9.20-r2 235
+MD5 875821fb533b87b4fb761454a14d013e files/digest-pdns-2.9.21 235
+RMD160 09e760eb836c99fcc470264856d9ef75f4326f16 files/digest-pdns-2.9.21 235
+SHA256 11217e7da6ead42e1378d3b9a7ab6db69fd93834b9dfff0d34adcb8bbd589fe0 files/digest-pdns-2.9.21 235
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (GNU/Linux)
-iD8DBQFF9bBfI1lqEGTUzyQRAmuiAJ9DGftirZM4odDeXoa0paso+5IQ2wCgklMi
-ECvv49bERB+AHT0euqZRY4g=
-=SVU7
+iD8DBQFGK1zaI1lqEGTUzyQRAo8hAJ9tNYFU9BrwhZVvlxEDK2M13RGx1gCfRnC9
+OJylXJQgE7lQYAk6O1ujap8=
+=PJtD
-----END PGP SIGNATURE-----
--- /dev/null
+MD5 a0d650dd1489ed46b36dfcc1d73653af pdns-2.9.21.tar.gz 991071
+RMD160 ed53de20a4e660ab2537b3c888b0a85225764a51 pdns-2.9.21.tar.gz 991071
+SHA256 4b24db683ba2217caa1edf54545841dcdfa6fd27b66017577d8b0dd54f8e7ed5 pdns-2.9.21.tar.gz 991071
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/pdns-2.9.21.ebuild,v 1.1 2007/04/22 13:02:10 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 opendbx"
+
+DEPEND="mysql? ( virtual/mysql )
+ 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"
+
+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 opendbx && modules="${modules} opendbx"
+ use ldap && modules="${modules} ldap"
+ use tdb && modules="${modules} xdb"
+ use debug && myconf="${myconf} --enable-verbose-logging"
+
+ econf \
+ --sysconfdir=/etc/powerdns \
+ --libdir=/usr/$(get_libdir)/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
+
+ keepdir /var/empty
+
+ dodoc ChangeLog README TODO
+ use doc && dohtml -r codedocs/html/.
+}
+
+pkg_preinst() {
+ enewgroup pdns
+ enewuser pdns -1 -1 /var/empty pdns
+}
+
+pkg_postinst() {
+ einfo
+ einfo "PowerDNS 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
+}