# ChangeLog for net-dns/pdns
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.72 2012/01/12 17:29:56 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.73 2012/01/12 19:05:38 swegener Exp $
+
+*pdns-2.9.22.5 (12 Jan 2012)
+
+ 12 Jan 2012; Sven Wegener <swegener@gentoo.org> +pdns-2.9.22.5.ebuild:
+ Also bump to 2.9 series.
12 Jan 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> pdns-3.0.1.ebuild:
x86 stable wrt bug #398403
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA1
AUX 2.9.18-default-mysql-options.patch 606 RMD160 bfc5e2aeee2bc3e01a62a430b087e7ca5742a85b SHA1 d265706bb723f1a878a65c7c0db59a88e67f0816 SHA256 228a6c42a11a2eab82b68f8c04d5881f8be39746010675feba7ebf16add18151
AUX pdns 1288 RMD160 9c8640f8a741a9943a0fc7eb00ac4dc4f747ae21 SHA1 7942dbaf04f1e42dda18c4d53ff7ee4663c186d2 SHA256 e616dd0ac4b955f74a4520cccee5e764945804e46564f1cde3464914d8104ed8
AUX pdns-2.9.22-gcc44.patch 856 RMD160 3e477b236af42767aea3d55af4cb9f14cbca106d SHA1 0a206fee906f36eac630ad200a8d3866cd477a55 SHA256 1beba6a251e0c7a4a4d11dce41d2c5e9b809c3d32856aabce22225ebb02d3992
AUX pdns-3.0-lua-config.patch 964 RMD160 34943feff5ecf18cd447e4f92eb84e4de9a7e5c9 SHA1 02f5a0b3da7a1f8d3b655f38478224807c2bd23c SHA256 8d79b7b71733aeb7de9d4d31a3f86bb8205dd1fbb955e6c1892ab84fe56fe720
+DIST pdns-2.9.22.5.tar.gz 1077617 RMD160 8be76a7a63c3366d55724815245e2f955ec0adda SHA1 7a514fe624c110afb8a262f4d76376d0f8e17bea SHA256 f85a18e8fec99b687854852738b04d32fca407bfd1198c681fc3c85dd6e83a07
DIST pdns-2.9.22.tar.gz 1072257 RMD160 be9bff3edac0a9700eaf8ac30c77bfc8336b7d92 SHA1 2c0888c8252299c5a17dc69eec289e90c7e8f3ff SHA256 7c03da01c2cbd8bbe897180bc3bd50ca8cfaa63ada94dc6b29f7745b82e17525
DIST pdns-3.0.1.tar.gz 1196471 RMD160 996fb9db4d94456d01df840c61c1500d40ea2b1e SHA1 88205f0fd80268113aadcc0a4cffd2dfd4b9df44 SHA256 922554431737b4a8126a8c4b5be3126eb8bf8ac2a086e3030d1cf4b3dfa7d1b9
DIST pdns-3.0.tar.gz 1202795 RMD160 d4042f6711743f7b35439de313fe675d06354236 SHA1 d5de28ec125fa14deebc834d01a48922f9bac910 SHA256 a468b24b35c2595cc81119c3c8f2db4bd3566266431853e7d6be5930f692b0a2
EBUILD pdns-2.9.22-r1.ebuild 2747 RMD160 06a8f7f24526a695ee89c38de7a8bedbea13ced2 SHA1 0f3dbe384f3d482e87ca2065c017efaa134f0e5b SHA256 c34872aab77f9fba398645a407eeba1b0cd9bf2554ecffa0df454b0877ca8b2c
+EBUILD pdns-2.9.22.5.ebuild 2713 RMD160 fa6db9109933bb6d7c9adcc218822b5a10e874ce SHA1 5f17ab15ca86723abe5aea6beb4c1c789645a555 SHA256 44c96649b760191aa014aab901b849f36423730bd2e993c44c42c69ee1d3cca5
EBUILD pdns-3.0.1.ebuild 2703 RMD160 2bdc8586b369150d6b1cfe1a896137ded001df39 SHA1 91e0fe251fb068ac0ef29ce35f628b407f577bdb SHA256 029b9fc70cf3f0d71544894ab91a3f604000096a45e6a0fbdf5bd933aeafb822
EBUILD pdns-3.0.ebuild 2695 RMD160 cc632a14b1640a651a65e9495026f84a7345bc25 SHA1 5fff41d950b80c3028eaac8cf247f92061a31247 SHA256 1bad87922251316553a136f4a99465c236f5d52e96c2c89c8d98d1907675514b
-MISC ChangeLog 10619 RMD160 6db2b0cd511097940efc06e624c65c46ae2645f0 SHA1 4cef5f0ff4b655bf22c69905fe6b29dcc8ce00bd SHA256 5dbb6016865ebb847177276ae587a89280b105d416172215f47fbcb2793f67a5
+MISC ChangeLog 10748 RMD160 574541726d72355c1d28b68c6317e483524eb3ba SHA1 a51d357208515e1dae168d3965688c8aca9b9a5c SHA256 930da8b63e2443c492cef4149bc88d3e009d9ca2e0a47bed532419d9c6af410d
MISC metadata.xml 621 RMD160 b3abde0169582f9767bdc7bf0388714f942b2dbb SHA1 060f3699149a71c8db8811a026e8b4e191cc7aff SHA256 97dc634cfab302b5b4b61f6e2fd34253f8425fd3449fff155afce234ec5a2194
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEAREKAAYFAk8PGJoACgkQuUQtlDBCeQLo7wCfTPRW436XvsX8K0rqmAPnhSzx
-c9YAn1ecrw23bsXuNFZJKfoLMUqS9DN8
-=dk8y
+iEUEARECAAYFAk8PLwkACgkQI1lqEGTUzyQnlwCgi0dCFjaFyLgPCxdmIVxq9lEk
+HscAmPJCn3Rje9OlYUSf0lNX+LDXuFQ=
+=kVOi
-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/pdns-2.9.22.5.ebuild,v 1.1 2012/01/12 19:05:38 swegener Exp $
+
+EAPI=2
+inherit eutils multilib
+
+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 sqlite3 static opendbx"
+
+RDEPEND="mysql? ( virtual/mysql )
+ postgres? ( dev-db/postgresql-base )
+ ldap? ( >=net-nds/openldap-2.0.27-r4 )
+ sqlite? ( =dev-db/sqlite-2.8* )
+ sqlite3? ( =dev-db/sqlite-3* )
+ opendbx? ( dev-db/opendbx )
+ >=dev-libs/boost-1.31"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/2.9.18-default-mysql-options.patch
+}
+
+src_configure() {
+ local modules="pipe geo" myconf=""
+
+ use mysql && modules="${modules} gmysql"
+ use postgres && modules="${modules} gpgsql"
+ use sqlite && modules="${modules} gsqlite"
+ use sqlite3 && modules="${modules} gsqlite3"
+ use opendbx && modules="${modules} opendbx"
+ use ldap && modules="${modules} ldap"
+ 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) \
+ --with-sqlite3-lib=/usr/$(get_libdir) \
+ $(use_enable static static-binaries) \
+ ${myconf} \
+ || die "econf failed"
+}
+
+src_compile() {
+ default
+
+ 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/.
+
+ # Install development headers
+ insinto /usr/include/pdns
+ doins pdns/*.hh
+ insinto /usr/include/pdns/backends/gsql
+ doins pdns/backends/gsql/*.hh
+}
+
+pkg_preinst() {
+ enewgroup pdns
+ enewuser pdns -1 -1 /var/empty pdns
+}
+
+pkg_postinst() {
+ elog
+ elog "PowerDNS provides multiple instances support. You can create more instances"
+ elog "by symlinking the pdns init script to another name."
+ elog
+ elog "The name must be in the format pdns.<suffix> and PowerDNS will use the"
+ elog "/etc/powerdns/pdns-<suffix>.conf configuration file instead of the default."
+ elog
+}