summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2008-10-06 08:24:15 +0000
committerSven Wegener <swegener@gentoo.org>2008-10-06 08:24:15 +0000
commit6d6a30de2d32ea61569358a38f334846d5ff6cf5 (patch)
treea3a94ab1fad70e6cb69c168cd467fe9fc98b112b /net-dns/pdns-recursor
parentAnother patch merged upstream to fix compatibility with latest x264. (diff)
downloadgentoo-2-6d6a30de2d32ea61569358a38f334846d5ff6cf5.tar.gz
gentoo-2-6d6a30de2d32ea61569358a38f334846d5ff6cf5.tar.bz2
gentoo-2-6d6a30de2d32ea61569358a38f334846d5ff6cf5.zip
Fixup error message for bug #239846.
(Portage version: 2.2_rc11/cvs/Linux 2.6.27-rc8 x86_64)
Diffstat (limited to 'net-dns/pdns-recursor')
-rw-r--r--net-dns/pdns-recursor/ChangeLog7
-rw-r--r--net-dns/pdns-recursor/files/pdns-recursor-3.1.7-error-message.patch11
-rw-r--r--net-dns/pdns-recursor/pdns-recursor-3.1.6.ebuild3
-rw-r--r--net-dns/pdns-recursor/pdns-recursor-3.1.7.ebuild6
4 files changed, 23 insertions, 4 deletions
diff --git a/net-dns/pdns-recursor/ChangeLog b/net-dns/pdns-recursor/ChangeLog
index 4947105e879a..8b17c9c25650 100644
--- a/net-dns/pdns-recursor/ChangeLog
+++ b/net-dns/pdns-recursor/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-dns/pdns-recursor
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns-recursor/ChangeLog,v 1.24 2008/09/04 10:52:51 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns-recursor/ChangeLog,v 1.25 2008/10/06 08:24:14 swegener Exp $
+
+ 06 Oct 2008; Sven Wegener <swegener@gentoo.org>
+ +files/pdns-recursor-3.1.7-error-message.patch,
+ pdns-recursor-3.1.6.ebuild, pdns-recursor-3.1.7.ebuild:
+ Fixup error message for bug #239846.
04 Sep 2008; Sven Wegener <swegener@gentoo.org>
-pdns-recursor-3.1.5.ebuild:
diff --git a/net-dns/pdns-recursor/files/pdns-recursor-3.1.7-error-message.patch b/net-dns/pdns-recursor/files/pdns-recursor-3.1.7-error-message.patch
new file mode 100644
index 000000000000..18d73a98c46c
--- /dev/null
+++ b/net-dns/pdns-recursor/files/pdns-recursor-3.1.7-error-message.patch
@@ -0,0 +1,11 @@
+--- pdns-recursor-3.1.7/rec_channel.cc
++++ pdns-recursor-3.1.7/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.6.ebuild b/net-dns/pdns-recursor/pdns-recursor-3.1.6.ebuild
index 7194af3bd944..6a84d066517a 100644
--- a/net-dns/pdns-recursor/pdns-recursor-3.1.6.ebuild
+++ b/net-dns/pdns-recursor/pdns-recursor-3.1.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 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.6.ebuild,v 1.5 2008/08/04 19:03:18 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns-recursor/pdns-recursor-3.1.6.ebuild,v 1.6 2008/10/06 08:24:14 swegener Exp $
inherit toolchain-funcs flag-o-matic eutils
@@ -22,6 +22,7 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}"/${P}-gcc-4.3.patch
+ epatch "${FILESDIR}"/${PN}-3.1.7-error-message.patch
sed -i -e s:/var/run/:/var/lib/powerdns: "${S}"/config.h || die
}
diff --git a/net-dns/pdns-recursor/pdns-recursor-3.1.7.ebuild b/net-dns/pdns-recursor/pdns-recursor-3.1.7.ebuild
index 9aa8a1de7a8e..78b0d0a2db1c 100644
--- a/net-dns/pdns-recursor/pdns-recursor-3.1.7.ebuild
+++ b/net-dns/pdns-recursor/pdns-recursor-3.1.7.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 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.ebuild,v 1.2 2008/06/28 12:10:34 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdns-recursor/pdns-recursor-3.1.7.ebuild,v 1.3 2008/10/06 08:24:14 swegener Exp $
-inherit toolchain-funcs flag-o-matic
+inherit toolchain-funcs flag-o-matic eutils
DESCRIPTION="The PowerDNS Recursor"
HOMEPAGE="http://www.powerdns.com/"
@@ -25,6 +25,8 @@ pkg_setup() {
src_unpack() {
unpack ${A}
+ epatch "${FILESDIR}"/${P}-error-message.patch
+
sed -i -e s:/var/run/:/var/lib/powerdns: "${S}"/config.h || die
}