summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2009-08-03 19:34:12 +0000
committerSven Wegener <swegener@gentoo.org>2009-08-03 19:34:12 +0000
commit4f143c9f0281c452a6ddcd2033516918cfa9027f (patch)
tree032356bf6d66afb86415ffd200b0c3b2941822d1 /net-dns
parentDropping DEPEND on dev-lang/perl because dev-util/intltool already depends on it (diff)
downloadhistorical-4f143c9f0281c452a6ddcd2033516918cfa9027f.tar.gz
historical-4f143c9f0281c452a6ddcd2033516918cfa9027f.tar.bz2
historical-4f143c9f0281c452a6ddcd2033516918cfa9027f.zip
Version bump.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/pdns-recursor/ChangeLog9
-rw-r--r--net-dns/pdns-recursor/Manifest15
-rw-r--r--net-dns/pdns-recursor/files/pdns-recursor-3.1.7.1-error-message.patch11
-rw-r--r--net-dns/pdns-recursor/pdns-recursor-3.1.7.1.ebuild57
4 files changed, 80 insertions, 12 deletions
diff --git a/net-dns/pdns-recursor/ChangeLog b/net-dns/pdns-recursor/ChangeLog
index 2b65a4443c72..de1080207db7 100644
--- a/net-dns/pdns-recursor/ChangeLog
+++ b/net-dns/pdns-recursor/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-dns/pdns-recursor
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns-recursor/ChangeLog,v 1.29 2009/07/04 18:12:37 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns-recursor/ChangeLog,v 1.30 2009/08/03 19:34:12 swegener Exp $
+
+*pdns-recursor-3.1.7.1 (03 Aug 2009)
+
+ 03 Aug 2009; Sven Wegener <swegener@gentoo.org>
+ +pdns-recursor-3.1.7.1.ebuild,
+ +files/pdns-recursor-3.1.7.1-error-message.patch:
+ Version bump.
04 Jul 2009; Sven Wegener <swegener@gentoo.org>
-pdns-recursor-3.1.6.ebuild, -files/pdns-recursor-3.1.6-gcc-4.3.patch:
diff --git a/net-dns/pdns-recursor/Manifest b/net-dns/pdns-recursor/Manifest
index 6228a9ffbc67..794f6671d36a 100644
--- a/net-dns/pdns-recursor/Manifest
+++ b/net-dns/pdns-recursor/Manifest
@@ -1,18 +1,11 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX pdns-recursor-3.1.7-boost-1.37.0.patch 3786 RMD160 f02a3477ddb1e3eb0786b1bcbb10c020cb01fe58 SHA1 6827c65ff12d1c7bca8daaf90cd0c12ed67fbf9f SHA256 37ede1f3c59bd60011a2bac42331170f2014bef95c85645b9d7ef95d7536353d
AUX pdns-recursor-3.1.7-error-message.patch 459 RMD160 bfccb73616ff69999c4f509d613e649a9dd21abe SHA1 edf0aac4fc2ff223dd5f78e02db9284c9a83cc12 SHA256 240997d49805155a8a820c502256909ca00ba95896e8a15360bdc20c545a0d67
+AUX pdns-recursor-3.1.7.1-error-message.patch 463 RMD160 098864d5b52a0950bb92bef834f868ac531b8026 SHA1 9e937d6c08771b0c6bf1031b73082ee28fe3409c SHA256 0c77f50080093a7b5f93ec4ec507a499015f205868f23e04f8ebe9909e3be8e4
AUX precursor 580 RMD160 71be0984e72763e09173b81f7a76bb5df56667a6 SHA1 ea316b070e8eb123f02e24cd60c568b4dd5aefc6 SHA256 f17d76262bea558604fa01e9d661bbb54af387bd976b54a8a59f7ad4a5a56014
AUX recursor.conf 452 RMD160 6708700e955dd29041e360d5f0a68c9d3293d665 SHA1 455cbbd4335dbd032b2274498044ba680693d306 SHA256 b36b3310a26785d5e8a38c03bce9afcf8a08e321a81ee385e9557dcaa3957255
+DIST pdns-recursor-3.1.7.1.tar.bz2 174715 RMD160 887bf7509a7260781b1f9658a3a13b1b502522b7 SHA1 3e0527ef1487777e85fa61b8569d52e21b3a451d SHA256 8428ec7cdd7322d0d3b94b5bd7f586272db165145bb7a23937e745e96c759c33
DIST pdns-recursor-3.1.7.tar.bz2 174424 RMD160 359b3e3fff942f9fd14bebe4bc16b9d6cd23d0e3 SHA1 3e9c46e432d57edd58f767311247e750350883e9 SHA256 2255ea25071f7ccb3e096e85c7fb38f860a02d29f277dfbef66c7a1f5735051f
+EBUILD pdns-recursor-3.1.7.1.ebuild 1361 RMD160 3f68958c05b148c067cc15e3ff6ed9bffb8b60cf SHA1 5eae71b6f203471bd5f67cac5456c4869dbdbec3 SHA256 d50d8a3d34e762c6640c6ecada964b97c7da3d8a69650d6a6d2304b618cdc0b5
EBUILD pdns-recursor-3.1.7.ebuild 1401 RMD160 af52f47b826f2507677b9c65e11f77eb8e8ff252 SHA1 78a0c21fc60345ca79171913f9fe794a9fd71987 SHA256 f4171245e6de4f5332c315c2ed53b767d7b1a9ca093a85cc9992c404244fd38e
-MISC ChangeLog 4795 RMD160 a02c0027b7042b96af0996a195868c44278d7786 SHA1 6d8e4ee3968ed436def403d1d9fb8367ea077b67 SHA256 9d886923fb2016932bed3a9946426ec5dc9bd32b2f291bb5eb72f3a9fe364391
+MISC ChangeLog 4985 RMD160 23b325b0e4c2eb9913d5d5c1c09c6c8471f76ee5 SHA1 3559461e5c1348f389bdb7e6802ce5b4e97bcdcd SHA256 c52d04f8a6ada825846c55f8016efa10123d7d06e8df5ce25b20cb54eb6dfafe
MISC metadata.xml 837 RMD160 2622852a4345606d2ffe85a68f50f332a1dbd696 SHA1 4b574c68576b1c058956085df7a07e250361455c SHA256 742f9fd882ba627c0a7b26dff7fe7b439b8ccf728a1394725bbd85f2a28a7d4b
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.12 (GNU/Linux)
-
-iEYEARECAAYFAkpPm5oACgkQI1lqEGTUzyTA1wCbB2V7zgKVadWLQpDwgUASnczH
-idUAoJoNEL6aNmStPx2l/FCMrgMsLdFK
-=PukJ
------END PGP SIGNATURE-----
diff --git a/net-dns/pdns-recursor/files/pdns-recursor-3.1.7.1-error-message.patch b/net-dns/pdns-recursor/files/pdns-recursor-3.1.7.1-error-message.patch
new file mode 100644
index 000000000000..ed1f2285c797
--- /dev/null
+++ b/net-dns/pdns-recursor/files/pdns-recursor-3.1.7.1-error-message.patch
@@ -0,0 +1,11 @@
+--- pdns-recursor-3.1.7.1/rec_channel.cc
++++ pdns-recursor-3.1.7.1/rec_channel.cc
+@@ -100,7 +100,7 @@
+ strcpy(remote.sun_path,(path+"/"+fname).c_str());
+ if(::connect(d_fd, (sockaddr*)&remote, sizeof(remote)) < 0) {
+ unlink(d_local.sun_path);
+- throw AhuException("Unable to connect to remote '"+path+fname+"': "+string(strerror(errno)));
++ throw AhuException("Unable to connect to remote '"+path+"/"+fname+"': "+string(strerror(errno)));
+ }
+ }
+
diff --git a/net-dns/pdns-recursor/pdns-recursor-3.1.7.1.ebuild b/net-dns/pdns-recursor/pdns-recursor-3.1.7.1.ebuild
new file mode 100644
index 000000000000..c17cbf21e7a0
--- /dev/null
+++ b/net-dns/pdns-recursor/pdns-recursor-3.1.7.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns-recursor/pdns-recursor-3.1.7.1.ebuild,v 1.1 2009/08/03 19:34:12 swegener Exp $
+
+inherit toolchain-funcs flag-o-matic eutils
+
+DESCRIPTION="The PowerDNS Recursor"
+HOMEPAGE="http://www.powerdns.com/"
+SRC_URI="http://downloads.powerdns.com/releases/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="lua"
+
+DEPEND=">=dev-libs/boost-1.33.1
+ lua? ( >=dev-lang/lua-5.1 )"
+RDEPEND="${DEPEND}
+ !<net-dns/pdns-2.9.20-r1"
+
+pkg_setup() {
+ filter-flags -ftree-vectorize
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-error-message.patch
+
+ sed -i -e s:/var/run/:/var/lib/powerdns: "${S}"/config.h || die
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)" \
+ OPTFLAGS="" \
+ LUA_LIBS_CONFIG="-llua" \
+ LUA_CPPFLAGS_CONFIG="" \
+ LUA="$(use lua && echo 1)" \
+ || die "emake failed"
+}
+
+src_install() {
+ dosbin pdns_recursor rec_control || die "dosbin failed"
+ doman pdns_recursor.1 rec_control.1 || die "doman failed"
+
+ insinto /etc/powerdns
+ doins "${FILESDIR}"/recursor.conf || die "doins failed"
+
+ doinitd "${FILESDIR}"/precursor || die "doinitd failed"
+
+ # Pretty ugly, uh?
+ dodir /var/lib/powerdns/var/lib
+ dosym ../.. /var/lib/powerdns/var/lib/powerdns
+}