summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2009-01-31 18:39:35 +0000
committerSven Wegener <swegener@gentoo.org>2009-01-31 18:39:35 +0000
commit4ec653d146d684a83c6cf6aa5376e81e460c4e6c (patch)
treea9812c091ed7a8279e9af10551988ea4319cafb1 /net-dns
parentFix --as-needed compilation, bug #247521. (diff)
downloadhistorical-4ec653d146d684a83c6cf6aa5376e81e460c4e6c.tar.gz
historical-4ec653d146d684a83c6cf6aa5376e81e460c4e6c.tar.bz2
historical-4ec653d146d684a83c6cf6aa5376e81e460c4e6c.zip
Version bump.
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/pdns/ChangeLog7
-rw-r--r--net-dns/pdns/Manifest14
-rw-r--r--net-dns/pdns/pdns-2.9.22.ebuild112
3 files changed, 121 insertions, 12 deletions
diff --git a/net-dns/pdns/ChangeLog b/net-dns/pdns/ChangeLog
index 15a2b4671b42..7a7ffd4b593d 100644
--- a/net-dns/pdns/ChangeLog
+++ b/net-dns/pdns/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-dns/pdns
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.59 2009/01/22 18:11:21 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.60 2009/01/31 18:39:35 swegener Exp $
+
+*pdns-2.9.22 (31 Jan 2009)
+
+ 31 Jan 2009; Sven Wegener <swegener@gentoo.org> +pdns-2.9.22.ebuild:
+ Version bump.
22 Jan 2009; Sven Wegener <swegener@gentoo.org>
+files/2.9.21.2-zone2ldap.patch, pdns-2.9.21.2.ebuild:
diff --git a/net-dns/pdns/Manifest b/net-dns/pdns/Manifest
index 97343de78a12..ab7ae8b0ced6 100644
--- a/net-dns/pdns/Manifest
+++ b/net-dns/pdns/Manifest
@@ -1,19 +1,11 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX 2.9.18-default-mysql-options.patch 606 RMD160 bfc5e2aeee2bc3e01a62a430b087e7ca5742a85b SHA1 d265706bb723f1a878a65c7c0db59a88e67f0816 SHA256 228a6c42a11a2eab82b68f8c04d5881f8be39746010675feba7ebf16add18151
AUX 2.9.20-ldap-deprecated.patch 457 RMD160 edcb367abfc83853e4739cc6646ca593ae7d5e9e SHA1 858cfe5e7169329f13dfb547c5ae8ff436eff64f SHA256 862728373669f7ea5544de7021c394cc0efa3ff5c65551d6657dad85cb654097
AUX 2.9.21-gcc-4.3.patch 4762 RMD160 08fe799699d103b6aa422e00993fcd80789d0317 SHA1 4baa3ce459b88a7dbbb422291f04cfb0aabc58ca SHA256 a3f8f35f9403216de7e596eb3f6248ed148cee85bef44d6f40020b9f52a79e57
AUX 2.9.21.2-zone2ldap.patch 718 RMD160 e2791e8c1773b19e5eefdfdbf40a66591d487e96 SHA1 d3e5e8a62632989a68f1a1b273101d3ee3589b8f SHA256 6664621aefa15658526e94c9fc7fc40324e0d5d7522d90729466da7b39f09bfc
AUX pdns 1253 RMD160 f576dd3edda7b22155ebc2cb8c060459ba871471 SHA1 174beeed51f22fbe35f883b22465a94f6c569d85 SHA256 d4b1e4ae4330c8572ed8a9b16d3a1524d62f1380f22f33ba581aaf9599e44113
DIST pdns-2.9.21.2.tar.gz 1008111 RMD160 e28a31c6816a382502124726a5fe9ac66dd2df94 SHA1 9088361071ddb6c2bd32eb90c6c166736e8a229d SHA256 04c7ea0024b96ec70ed73950b2394d3f45f03d5bc22448c68e073022b9c6e809
+DIST pdns-2.9.22.tar.gz 1072257 RMD160 be9bff3edac0a9700eaf8ac30c77bfc8336b7d92 SHA1 2c0888c8252299c5a17dc69eec289e90c7e8f3ff SHA256 7c03da01c2cbd8bbe897180bc3bd50ca8cfaa63ada94dc6b29f7745b82e17525
EBUILD pdns-2.9.21.2.ebuild 2984 RMD160 f4c0c918d96116d3ec08730ed4e71e2940db5756 SHA1 8043f12def0c5b94ee868f3085b5b7b45268f69f SHA256 83446c6673e7c8e30f6f69e351211cae4459b932c976a7ebacd932d2510c5e58
-MISC ChangeLog 8881 RMD160 04775a2fafc93d16dbc2047a9feeb1ed28a503f6 SHA1 05a2177e47e85c049a4b0c614983df31548e5969 SHA256 218b36fc77b99ca115c8ccf3a00aa0b609fe7051b7cd4cdc30f403c3a45f9f17
+EBUILD pdns-2.9.22.ebuild 2819 RMD160 eb82bd299bf5d968da5d5004f11b8cff255b3915 SHA1 6c919291acbc124d12187441ec6c5d779354ad7e SHA256 4952e437d323b1c62edf814c1fd9b0c9d01cbb7141e9ae8fb708961c5c5a835e
+MISC ChangeLog 8997 RMD160 ce33adebdd3a4d596cc71ca52e6343c2367009b8 SHA1 acc321811d366dc1f3c6c3b1ab2165f6ed1a27ab SHA256 ff24727e6c27c1490c9c34c5e937cf529191f23d9834d016bef888b0002e7163
MISC metadata.xml 709 RMD160 01ea2530b412ec56a4a52196e7d08229386a927a SHA1 4883719a029bf18655e83f37b46420cb2921895e SHA256 b9bc7bbd88f60ed3e6e8e9784ee611755f3ddbc284e36fc09b5ce57089c79c3f
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkl4ts8ACgkQI1lqEGTUzyQPGwCgqDL2coIp09+uXzHizCEY8AK9
-2e4Aniz1t6xsZOaVm9D/oUNVDugrkDdF
-=b/eT
------END PGP SIGNATURE-----
diff --git a/net-dns/pdns/pdns-2.9.22.ebuild b/net-dns/pdns/pdns-2.9.22.ebuild
new file mode 100644
index 000000000000..5c297cb9a706
--- /dev/null
+++ b/net-dns/pdns/pdns-2.9.22.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2009 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.ebuild,v 1.1 2009/01/31 18:39:35 swegener Exp $
+
+EAPI="2"
+
+inherit multilib 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 sqlite sqlite3 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* )
+ sqlite3? ( =dev-db/sqlite-3* )
+ opendbx? ( dev-db/opendbx )
+ tdb? ( dev-libs/tdb )
+ >=dev-libs/boost-1.31"
+
+RDEPEND="${DEPEND}"
+
+DEPEND="${DEPEND}
+ doc? ( app-doc/doxygen )"
+
+src_unpack() {
+ default
+ cd "${S}"
+
+ 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 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) \
+ --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
+}