summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2012-11-04 22:57:51 +0000
committerSven Wegener <swegener@gentoo.org>2012-11-04 22:57:51 +0000
commit32ef1dec337053ab7d6d890a5e320f74f3ada589 (patch)
tree989c9a02c34e22e4d7ac29ecbfafa5f8eae54298 /net-dns/pdns
parentRename aligned_alloc to tio_aligned_alloc, bug #429912. (diff)
downloadhistorical-32ef1dec337053ab7d6d890a5e320f74f3ada589.tar.gz
historical-32ef1dec337053ab7d6d890a5e320f74f3ada589.tar.bz2
historical-32ef1dec337053ab7d6d890a5e320f74f3ada589.zip
Cleanup.
Package-Manager: portage-2.2.0_alpha142/cvs/Linux x86_64 Manifest-Sign-Key: 0x64D4CF24
Diffstat (limited to 'net-dns/pdns')
-rw-r--r--net-dns/pdns/ChangeLog8
-rw-r--r--net-dns/pdns/Manifest18
-rw-r--r--net-dns/pdns/files/2.9.18-default-mysql-options.patch13
-rw-r--r--net-dns/pdns/files/pdns-2.9.22-gcc44.patch22
-rw-r--r--net-dns/pdns/pdns-2.9.22-r1.ebuild108
-rw-r--r--net-dns/pdns/pdns-2.9.22.5.ebuild107
-rw-r--r--net-dns/pdns/pdns-2.9.22.6.ebuild107
-rw-r--r--net-dns/pdns/pdns-3.0.ebuild113
8 files changed, 11 insertions, 485 deletions
diff --git a/net-dns/pdns/ChangeLog b/net-dns/pdns/ChangeLog
index fe30370bd96e..768893ffad26 100644
--- a/net-dns/pdns/ChangeLog
+++ b/net-dns/pdns/ChangeLog
@@ -1,6 +1,12 @@
# 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.82 2012/11/04 21:42:49 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns/ChangeLog,v 1.83 2012/11/04 22:57:50 swegener Exp $
+
+ 04 Nov 2012; Sven Wegener <swegener@gentoo.org>
+ -files/2.9.18-default-mysql-options.patch, -pdns-2.9.22-r1.ebuild,
+ -pdns-2.9.22.5.ebuild, -pdns-2.9.22.6.ebuild, -files/pdns-2.9.22-gcc44.patch,
+ -pdns-3.0.ebuild:
+ Cleanup.
*pdns-3.1 (04 Nov 2012)
diff --git a/net-dns/pdns/Manifest b/net-dns/pdns/Manifest
index 2105815ac641..fec05e7d57bd 100644
--- a/net-dns/pdns/Manifest
+++ b/net-dns/pdns/Manifest
@@ -1,29 +1,19 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-AUX 2.9.18-default-mysql-options.patch 606 SHA256 228a6c42a11a2eab82b68f8c04d5881f8be39746010675feba7ebf16add18151 SHA512 895eed9eaea8da73fc33ada3e08e0940653bd96121211379b907dac0c17d08d7de066f571179fb1222758973c0b321340e2dc1c72ca22fe05ea97d711c156b2f WHIRLPOOL c978e6a8a5c59dbae0ef03eaea4e1873d4fd8cb4f4938682dcef5303aef7bc9ffa87756b1326900ea81ab55e337f1e904bf0c8dc43df9195364e9371af6f1ce1
AUX pdns 1288 SHA256 e616dd0ac4b955f74a4520cccee5e764945804e46564f1cde3464914d8104ed8 SHA512 3a36784c37e0b48ccc3254ca4bc4c4bbfc5e27a38104c8e5087b8bb864074b035d82d7675d10b2b4560bb265412099820f01d865c9c710cbf1fdb6e7aa5c7254 WHIRLPOOL d324dffe2f96cb29fc465604b4c77a14ebc8ea5a4188793f672154d252c44a76c1fc31bd1aac428801c4f98cc1612972520de6cd835a48a76dae2345361489ed
-AUX pdns-2.9.22-gcc44.patch 856 SHA256 1beba6a251e0c7a4a4d11dce41d2c5e9b809c3d32856aabce22225ebb02d3992 SHA512 07b748126159e8cef9f7d89417d5e750bb652382ebb1bb3a2f75c89a8bc230b60a611310442ac5966ef47b24f10621346a2a67983db897c3030a7090b1eb87f4 WHIRLPOOL 92b20cfd4b37bda6b098e3fbe973864272a44a59cd0f2602f933adbbe745ab8559186f37bb202e35be83f8a55f1f07c4049ccd27ae3edd75fa03829ea7009cba
AUX pdns-3.0-lua-config.patch 964 SHA256 8d79b7b71733aeb7de9d4d31a3f86bb8205dd1fbb955e6c1892ab84fe56fe720 SHA512 9ad47e72f44375172f51ada06193f65f170660d05e8c6c488bbd74f52132f5c72ccaf20b5c7a9ba7cd3bda6b2415b2730c27b9a5a352fea325dd894b2c05cceb WHIRLPOOL 5b0cf1ba7fab9e1a0a74fba2d548be742fbcb8f174eb9dfa33e07c60ae6ec92d81bf6057759357206b62d4bcea376f7ffeb91c6e51ccfcf966f05194280bbdb8
AUX pdns-3.0-verbose-logging.patch 667 SHA256 0ba17f63285e39136411d27b5f7943aa7fde32ce325718b96c59bf21d842a9e9 SHA512 2af13300057515fec593d662b289be37bbc5a9e51c849b9918f7d6d94e46057d41f2b6288d43cc9cc238204edff66ca21c3db0832d0d61037d4f65270628198a WHIRLPOOL 31f26b09582fb9a166ba75b8539b206a6de2aa8ee96585a0078dfed50285cf5bbbf1a427d785f1e3e45ab17b51f456fe1fa5c7c9ba023782ce184b0cec829cbe
-DIST pdns-2.9.22.5.tar.gz 1077617 SHA256 f85a18e8fec99b687854852738b04d32fca407bfd1198c681fc3c85dd6e83a07
-DIST pdns-2.9.22.6.tar.gz 1090648 SHA256 fdbbbc209363102d026f1a434bcf3459fa70026a78c3146c36fd1ed149242d0e
-DIST pdns-2.9.22.tar.gz 1072257 SHA256 7c03da01c2cbd8bbe897180bc3bd50ca8cfaa63ada94dc6b29f7745b82e17525
DIST pdns-3.0.1.tar.gz 1196471 SHA256 922554431737b4a8126a8c4b5be3126eb8bf8ac2a086e3030d1cf4b3dfa7d1b9 SHA512 2266d6d0c7a878ce296e5d322df8e817582e1c2db735ac04509002f2fea0991239cd06563c72717ac1ead9a59ad5f73d69781db032c2afdb1ad38d8a986ff006 WHIRLPOOL 2cee75202c61713e1c91c3287c7718f3afc623d0a215dca6b1644aadd8d5170daa2eb60ed6ac41b00e2ce466ef03ed6dae25d58ae99fd6b3713cb188c1309930
-DIST pdns-3.0.tar.gz 1202795 SHA256 a468b24b35c2595cc81119c3c8f2db4bd3566266431853e7d6be5930f692b0a2 SHA512 9d90feab0f1e67bd041e31653cd62842a4bea6c25ff8090ae74f4db15ec9c6c101a178d5485da1fde1aa24e6a0cb50fc3adf3258ad02c56a772704f572c97eaa WHIRLPOOL ad59f2cadbd63d3ef05f6fdab335b68f85a5f0a99863311167554ac2d73623a9bf87ba076012e9bf742dcf89a8c6dce1d2ceb8fd4cd4a78c67389a7736f27472
DIST pdns-3.1.tar.gz 1268532 SHA256 1400f7bd659207c0b1f4b8296092e559a7b7bf6a2434951970217d9af06922a1 SHA512 fdfaa98f401238b2a0cffe9e4eeb61787ca186cb3798e0265f70e525d98abfb937df200a2a922d5269db730dbeb5bbf457458b5c87fce034a359a03dfb3dfbc8 WHIRLPOOL 314423d10797628f2f0cf47ddd7da240e2d596fb3ff4e8d093c64655cc66383042c291352d3f673f147e4ea3e17b03e64dd10f180ce744d9ccd7e6926b9d6ede
-EBUILD pdns-2.9.22-r1.ebuild 2864 SHA256 c15c448d861ffd92ebdab1e2965e0bfb23bc20c905ed91d16e374851273e03d7 SHA512 81f4ba913aa056c53e16d9e18605e2293060fcb44d40ae0f9a3e5b9b1008feaa0038a6f7d878e4b5c6f0a1e4ebe2624b6822d0912978c451c6308b43e4f497bb WHIRLPOOL 33f0d33a069bbcd1ae57d9b0216199b7c363fc2d5d57ae51afc425655f69dc97509ae8a9f91e3e23936b6165331c63a36613cfd052216b0deba0fc24c98db9c6
-EBUILD pdns-2.9.22.5.ebuild 2830 SHA256 bb47f0580f332c28444613c2ca2f7faefe767c889b8008ecd115ae829752eac7 SHA512 fc91d687aa3961c6dc1d67292ce8b7466d2023d1394f3921b8c45fbb05d22c2a27b4ec6adfb78179ea6933963b85d394bcffbe7b63012a2d202a04118f795c82 WHIRLPOOL e10f77a048a3a25ab78e8b2faeca0770d6882bcb827829266183cf64fcbe0ba00d641d73ae067c6138aab5f5a5b7f6a3124dea011978e90c3ba1e97d4691f2ad
-EBUILD pdns-2.9.22.6.ebuild 2830 SHA256 0c2455127588476de809a556d74c77a95032d7f2241e01a80a2bccdb06f1f1c5 SHA512 816adad194048fe0def50686384de9d71c39a7e0ff1c6afdbd9b6e2a2c8e803a113f5ae48cb2a06051159fb8599e907d95d2c24030069c1e5775f6291037d2ea WHIRLPOOL afd2f612e7df906f807bdc784c4cdfcbe3578658e9797c98cfb283335f72b3dfc1f6047213da9f24fad1c3debf6c4a8bc81f28584233207ee90fafad569bf45b
EBUILD pdns-3.0.1.ebuild 2968 SHA256 e1cc62829ca38b59a36b0ffb68291d0e0925bb8a15d362fec51170ef33aca2a3 SHA512 4bf17b34650ef4b4be1ad432a512cbf2e1257ae211df8b521ea2cb536e4a2ab54a9b2a62cd4a7a6a41911813b9b08ca2ab024027101cbab65a13bd0dfcffd468 WHIRLPOOL 3d6809f133caae7d3b8e8d04332dd3ca319ccd55d92ba90ff617f8c2d5c6629c7e332503d45f6c032280dcb7990440bfeaf716a5bfed97f5799da0951a61d0f0
-EBUILD pdns-3.0.ebuild 2963 SHA256 96b9b545648cd60b94a37e5168c366229dca8255e2b9a5dca1e9c0a0351350e7 SHA512 6cd505c361d054e97fa18755cb147d29e1f64069afa4bf816b43f75ad41882cb703248eb3b93036b2cb49df7bd61c2c3f9c4f7aff7bc74aec2dea4517f61dfe1 WHIRLPOOL 0a237c4585f934889addd162092b74c1980632f13d1cf1412c24a856178b70ecc8bcb98a44d335af61fa5fbda67faaa6b3828c9cccf8dd85e2f12b1c632c10d7
EBUILD pdns-3.1.ebuild 2827 SHA256 37f900a5aa700254e798e3ba0c3809d5402193a0f5fb734ba17b9bbfccb4c11a SHA512 f1cc7a91e4408e84f669e11492837df5910ef0eee662dce8355f9c0866be9f514a88a58b46f084704a260ddfb2152f05353c0812b1b70537b06894f62743a594 WHIRLPOOL 27ca7b71a681c876593c88787bca9b4c000b3198e5eba1c7f61a1ae9a479dedee72eaa7fe819041adf387fbbe19ce52db63b4a88df7f31c5a74512b1f2efaff5
-MISC ChangeLog 12385 SHA256 d09af8c780891099981e327d577516180a19cbd9c536ad82733c338154199c5a SHA512 ad09adb115ab114969f25eb4608652cb34827ea9b2f9c1c574758356cd633afe40514d2d55cfc32cee79576bb7438c2d5e07ea4d87a59edb43b7fee0b50892c5 WHIRLPOOL 1efdf4b47f3ee68a8d39e33d328db157d2a533ef1f819aa2f0cb7033c58963360bc1a26342bdafa854a3903320f007e4e83544ff5a574a5b37b65f82be9e77e0
+MISC ChangeLog 12616 SHA256 ed2140b1b5e5b8cfb5c2c132e4308584b442433f8f8b0cffc39c613395624181 SHA512 19bc9cf69c6b16512c77c0283ccdad5a3d9708a77e6fa8b5ec1679a3cf8317fdb61ce0eb6a34993914c4a798e66c5af8547abf4b3f3bd2bd5358e1c697f60b53 WHIRLPOOL 5e67ce166c2a0264dd49330cfc425b8aa78dac7e5b0c84723d6ca81f7f8da1b5772a4b00e43004d5af442a69c8e8bf0327edc1255bd7b86d1702d83a528c40fd
MISC metadata.xml 621 SHA256 97dc634cfab302b5b4b61f6e2fd34253f8425fd3449fff155afce234ec5a2194 SHA512 46d2044f9fdc7ee5961417edeb4c3471df329470cdc494e4e5c86542dbde2ac4b59271e23c4853493c528085ddca3ae7a42cf5d7dc514fde02c8cd9ea98a257e WHIRLPOOL 25e71a20790e563160147694b04a3888194fe3e4ac1216f698223e7d84d84040fe72792d4193b2cc3f1fb1539204b120ca2ed9785e25330cb6f2636736e6ea12
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlCW4VwACgkQI1lqEGTUzySEuwCgrKTJU11N/8Y4YoE2VIO4Uivn
-vfoAnjjo0q2TnkGB2TvMaB3RNUvHS64O
-=16ZH
+iEYEAREIAAYFAlCW8u8ACgkQI1lqEGTUzyTW9wCdH/JCc9PVyIu0CPlGloJ+xU/1
+dJYAniCbCFbmf94JdEd+hxzDiSNyRudf
+=rb0X
-----END PGP SIGNATURE-----
diff --git a/net-dns/pdns/files/2.9.18-default-mysql-options.patch b/net-dns/pdns/files/2.9.18-default-mysql-options.patch
deleted file mode 100644
index a9048e13e10d..000000000000
--- a/net-dns/pdns/files/2.9.18-default-mysql-options.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -Nur pdns-2.9.18.orig/modules/gmysqlbackend/smysql.cc pdns-2.9.18/modules/gmysqlbackend/smysql.cc
---- pdns-2.9.18.orig/modules/gmysqlbackend/smysql.cc 2005-04-23 23:40:15.000000000 +0200
-+++ pdns-2.9.18/modules/gmysqlbackend/smysql.cc 2005-07-17 10:38:35.363597586 +0200
-@@ -15,6 +15,9 @@
- const string &password)
- {
- mysql_init(&d_db);
-+#if MYSQL_VERSION_ID > 32349
-+ mysql_options(&d_db, MYSQL_READ_DEFAULT_GROUP, "client");
-+#endif
- if (!mysql_real_connect(&d_db, host.empty() ? 0 : host.c_str(),
- user.empty() ? 0 : user.c_str(),
- password.empty() ? 0 : password.c_str(),
diff --git a/net-dns/pdns/files/pdns-2.9.22-gcc44.patch b/net-dns/pdns/files/pdns-2.9.22-gcc44.patch
deleted file mode 100644
index 35c1c77775e0..000000000000
--- a/net-dns/pdns/files/pdns-2.9.22-gcc44.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -ur pdns-2.9.22.orig/pdns/dnsparser.cc pdns-2.9.22/pdns/dnsparser.cc
---- pdns-2.9.22.orig/pdns/dnsparser.cc 2008-11-15 22:32:46.000000000 +0200
-+++ pdns-2.9.22/pdns/dnsparser.cc 2009-07-06 22:09:02.000000000 +0300
-@@ -16,6 +16,7 @@
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-+#include <stdio.h>
- #include "dnsparser.hh"
- #include "dnswriter.hh"
- #include <boost/lexical_cast.hpp>
-diff -ur pdns-2.9.22.orig/pdns/rcpgenerator.cc pdns-2.9.22/pdns/rcpgenerator.cc
---- pdns-2.9.22.orig/pdns/rcpgenerator.cc 2008-11-15 23:20:27.000000000 +0200
-+++ pdns-2.9.22/pdns/rcpgenerator.cc 2009-07-06 22:07:26.000000000 +0300
-@@ -16,6 +16,7 @@
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-+#include <stdio.h>
- #include "rcpgenerator.hh"
- #include "dnsparser.hh"
- #include "misc.hh"
diff --git a/net-dns/pdns/pdns-2.9.22-r1.ebuild b/net-dns/pdns/pdns-2.9.22-r1.ebuild
deleted file mode 100644
index 93805c8faf86..000000000000
--- a/net-dns/pdns/pdns-2.9.22-r1.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# 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-r1.ebuild,v 1.6 2012/06/14 02:17:35 zmedico Exp $
-
-EAPI=2
-inherit eutils multilib user
-
-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 )
- !static? ( >=dev-libs/boost-1.31 )"
-DEPEND="${RDEPEND}
- static? ( >=dev-libs/boost-1.31[static-libs] )
- doc? ( app-doc/doxygen )"
-
-src_prepare() {
- epatch "${FILESDIR}"/2.9.18-default-mysql-options.patch \
- "${FILESDIR}"/${P}-gcc44.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 () {
- emake 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
-
- rm -f "${D}"/usr/$(get_libdir)/powerdns/*.{a,la}
-}
-
-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
-}
diff --git a/net-dns/pdns/pdns-2.9.22.5.ebuild b/net-dns/pdns/pdns-2.9.22.5.ebuild
deleted file mode 100644
index 499dd1ab3c9b..000000000000
--- a/net-dns/pdns/pdns-2.9.22.5.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# 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.3 2012/06/14 02:17:35 zmedico Exp $
-
-EAPI=2
-inherit eutils multilib user
-
-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 )
- !static? ( >=dev-libs/boost-1.31 )"
-DEPEND="${RDEPEND}
- static? ( >=dev-libs/boost-1.31[static-libs] )
- 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 () {
- emake 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
-
- rm -f "${D}"/usr/$(get_libdir)/powerdns/*.{a,la}
-}
-
-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
-}
diff --git a/net-dns/pdns/pdns-2.9.22.6.ebuild b/net-dns/pdns/pdns-2.9.22.6.ebuild
deleted file mode 100644
index 2d91e08fea51..000000000000
--- a/net-dns/pdns/pdns-2.9.22.6.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# 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.6.ebuild,v 1.2 2012/06/14 02:17:35 zmedico Exp $
-
-EAPI=2
-inherit eutils multilib user
-
-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 )
- !static? ( >=dev-libs/boost-1.31 )"
-DEPEND="${RDEPEND}
- static? ( >=dev-libs/boost-1.31[static-libs] )
- 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 () {
- emake 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
-
- rm -f "${D}"/usr/$(get_libdir)/powerdns/*.{a,la}
-}
-
-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
-}
diff --git a/net-dns/pdns/pdns-3.0.ebuild b/net-dns/pdns/pdns-3.0.ebuild
deleted file mode 100644
index 523dc32a970a..000000000000
--- a/net-dns/pdns/pdns-3.0.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# 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-3.0.ebuild,v 1.8 2012/07/07 11:43:21 swegener Exp $
-
-EAPI=2
-
-inherit eutils multilib autotools user toolchain-funcs
-
-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 )
- !static? ( >=dev-libs/boost-1.34 )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- static? ( >=dev-libs/boost-1.34[static-libs] )
- doc? ( app-doc/doxygen )"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-lua-config.patch \
- "${FILESDIR}"/${PN}-3.0-verbose-logging.patch
- eautoreconf
-}
-
-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) \
- --without-lua \
- $(use_enable static static-binaries) \
- ${myconf} \
- || die "econf failed"
-}
-
-src_compile() {
- emake -C pdns/ext/polarssl CC="$(tc-getCC)" OFLAGS="${CFLAGS}"
-
- default
-
- if use doc
- then
- emake -C codedocs codedocs || die "emake codedocs failed"
- fi
-}
-
-src_install () {
- emake 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
-
- rm -f "${D}"/usr/$(get_libdir)/powerdns/*.{a,la}
-}
-
-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
-}