summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2008-11-16 20:41:42 +0000
committerSven Wegener <swegener@gentoo.org>2008-11-16 20:41:42 +0000
commit4164b9455f188c78965a7ff0c3b56f286cd623d9 (patch)
treefafec98e038e9ed48b088c7e247ef3ee7ebeb6d6 /net-dns/pdns
parentFix typo in build system for indent test #247080 by Mark Nowiasz. (diff)
downloadhistorical-4164b9455f188c78965a7ff0c3b56f286cd623d9.tar.gz
historical-4164b9455f188c78965a7ff0c3b56f286cd623d9.tar.bz2
historical-4164b9455f188c78965a7ff0c3b56f286cd623d9.zip
Version bump.
Package-Manager: portage-2.2_rc14/cvs/Linux 2.6.28-rc5 x86_64
Diffstat (limited to 'net-dns/pdns')
-rw-r--r--net-dns/pdns/ChangeLog7
-rw-r--r--net-dns/pdns/Manifest10
-rw-r--r--net-dns/pdns/pdns-2.9.21.2.ebuild111
3 files changed, 123 insertions, 5 deletions
diff --git a/net-dns/pdns/ChangeLog b/net-dns/pdns/ChangeLog
index 6df754d0d9df..e6ae9d24576b 100644
--- a/net-dns/pdns/ChangeLog
+++ b/net-dns/pdns/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-dns/pdns
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.55 2008/09/04 10:51:37 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.56 2008/11/16 20:41:42 swegener Exp $
+
+*pdns-2.9.21.2 (16 Nov 2008)
+
+ 16 Nov 2008; Sven Wegener <swegener@gentoo.org> +pdns-2.9.21.2.ebuild:
+ Version bump.
04 Sep 2008; Sven Wegener <swegener@gentoo.org> -pdns-2.9.21.ebuild:
Cleanup.
diff --git a/net-dns/pdns/Manifest b/net-dns/pdns/Manifest
index 4f93d0ab897f..a9fb3b38522b 100644
--- a/net-dns/pdns/Manifest
+++ b/net-dns/pdns/Manifest
@@ -6,13 +6,15 @@ AUX 2.9.20-ldap-deprecated.patch 457 RMD160 edcb367abfc83853e4739cc6646ca593ae7d
AUX 2.9.21-gcc-4.3.patch 4762 RMD160 08fe799699d103b6aa422e00993fcd80789d0317 SHA1 4baa3ce459b88a7dbbb422291f04cfb0aabc58ca SHA256 a3f8f35f9403216de7e596eb3f6248ed148cee85bef44d6f40020b9f52a79e57
AUX pdns 1253 RMD160 f576dd3edda7b22155ebc2cb8c060459ba871471 SHA1 174beeed51f22fbe35f883b22465a94f6c569d85 SHA256 d4b1e4ae4330c8572ed8a9b16d3a1524d62f1380f22f33ba581aaf9599e44113
DIST pdns-2.9.21.1.tar.gz 1002905 RMD160 4d02e732fb7348f6eeb44090d641abd9d0cee9dd SHA1 d2f9f55223411114ce229b4728228f6739f2e708 SHA256 f87e818fbe135e2710b95d7e793e48010bfb7297231cea4101f58e4954077400
+DIST pdns-2.9.21.2.tar.gz 1008111 RMD160 e28a31c6816a382502124726a5fe9ac66dd2df94 SHA1 9088361071ddb6c2bd32eb90c6c166736e8a229d SHA256 04c7ea0024b96ec70ed73950b2394d3f45f03d5bc22448c68e073022b9c6e809
EBUILD pdns-2.9.21.1.ebuild 2932 RMD160 982001fa83794ebd534be3149b6ee2e83ed88851 SHA1 45bcf152a2146bfcaa917b73c5b001aed555b8f1 SHA256 eedab2362963d6d21572d7c703232078fa4939702c4a0149c429f84c533954de
-MISC ChangeLog 8435 RMD160 8738097e0dea5c7b81b473572c92f63ca8485738 SHA1 13d06769fbee040bc7d3f32d5d5f980bed27abe2 SHA256 12908d8951a91f47655621029aef38da612b593463086eb8c668ecf5ab807493
+EBUILD pdns-2.9.21.2.ebuild 2932 RMD160 7df59da8d9f96326b73c9ca849cb13e3adee03fe SHA1 6d3191471216ce11dcb30edecb1c29a2a751a599 SHA256 5852dd456c7b2858320e866a43a822a6407d30230e497ccff43b266a12d5e902
+MISC ChangeLog 8555 RMD160 ad303214c6e6062b4533d2e5e962d05fd3a77768 SHA1 89ecea64ed23a7ce3667fa99268761d08722818e SHA256 a32ee420659d57fb14dce73a745c42a816e9c70a6aceef97f37e2db836748423
MISC metadata.xml 709 RMD160 01ea2530b412ec56a4a52196e7d08229386a927a SHA1 4883719a029bf18655e83f37b46420cb2921895e SHA256 b9bc7bbd88f60ed3e6e8e9784ee611755f3ddbc284e36fc09b5ce57089c79c3f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAki/vb4ACgkQI1lqEGTUzyRTfwCfWO0cYoRIHWMDfqlLoedJBKgi
-lLAAn0dBPo1nhfvNoX3asATa9e4OOig1
-=73eO
+iEYEARECAAYFAkkghY4ACgkQI1lqEGTUzyTmOQCgwCQxP0E2+htHeMB7oNNdM5j8
+YlcAoIuvZGL9m02CI8velzXAp5Rl0Fyj
+=8dG4
-----END PGP SIGNATURE-----
diff --git a/net-dns/pdns/pdns-2.9.21.2.ebuild b/net-dns/pdns/pdns-2.9.21.2.ebuild
new file mode 100644
index 000000000000..3dfb2d0605db
--- /dev/null
+++ b/net-dns/pdns/pdns-2.9.21.2.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2008 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.2.ebuild,v 1.1 2008/11/16 20:41:42 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 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() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/2.9.18-default-mysql-options.patch
+ epatch "${FILESDIR}"/2.9.20-ldap-deprecated.patch
+ epatch "${FILESDIR}"/2.9.21-gcc-4.3.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 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"
+ emake || 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/.
+
+ # 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
+}