summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2009-11-15 09:06:30 +0000
committerTorsten Veller <tove@gentoo.org>2009-11-15 09:06:30 +0000
commit92dc9ba469e461c934bdcc1ea42910042c8911e5 (patch)
tree6b9d8162926653d22b124c0df8f8d5bf9328a4e9 /dev-lang/perl
parent0.6.23 version bump. (diff)
downloadgentoo-2-92dc9ba469e461c934bdcc1ea42910042c8911e5.tar.gz
gentoo-2-92dc9ba469e461c934bdcc1ea42910042c8911e5.tar.bz2
gentoo-2-92dc9ba469e461c934bdcc1ea42910042c8911e5.zip
Add libnet hostname patch from perl-core/libnet
(Portage version: 2.2_rc49/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/perl')
-rw-r--r--dev-lang/perl/ChangeLog6
-rw-r--r--dev-lang/perl/files/perl-5.8.8-libnet-hostname.patch25
-rw-r--r--dev-lang/perl/perl-5.8.8-r8.ebuild5
3 files changed, 34 insertions, 2 deletions
diff --git a/dev-lang/perl/ChangeLog b/dev-lang/perl/ChangeLog
index 917785a96e71..2da30c5d6432 100644
--- a/dev-lang/perl/ChangeLog
+++ b/dev-lang/perl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/perl
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.297 2009/11/14 11:31:30 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.298 2009/11/15 09:06:30 tove Exp $
+
+ 15 Nov 2009; Torsten Veller <tove@gentoo.org> perl-5.8.8-r8.ebuild,
+ +files/perl-5.8.8-libnet-hostname.patch:
+ Add libnet hostname patch from perl-core/libnet
14 Nov 2009; Torsten Veller <tove@gentoo.org> perl-5.8.8-r8.ebuild,
perl-5.10.1.ebuild:
diff --git a/dev-lang/perl/files/perl-5.8.8-libnet-hostname.patch b/dev-lang/perl/files/perl-5.8.8-libnet-hostname.patch
new file mode 100644
index 000000000000..60440e287977
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.8-libnet-hostname.patch
@@ -0,0 +1,25 @@
+commit adeb94125ab7de8d20c129a905a5159972ad9fd1
+Author: Ricardo SIGNES <rjbs@cpan.org>
+Date: Mon Oct 22 05:01:09 2007 -0400
+
+ hostname.t busted
+ Message-ID: <20071022130109.GA16748@knight>
+
+ p4raw-id: //depot/perl@32180
+
+diff --git a/lib/Net/t/hostname.t b/lib/Net/t/hostname.t
+index 758d304..4013d74 100644
+--- a/lib/Net/t/hostname.t
++++ b/lib/Net/t/hostname.t
+@@ -26,7 +26,10 @@ print "1..5\n";
+ $domain = domainname();
+
+ if(defined $domain && $domain ne "") {
+- print "ok 1\n";
++ print "ok 1 - defined, non-empty domainname\n";
++}
++elsif (not defined $domain) {
++ print "ok 1 # SKIP domain not fully defined\n";
+ }
+ else {
+ print "not ok 1\n";
diff --git a/dev-lang/perl/perl-5.8.8-r8.ebuild b/dev-lang/perl/perl-5.8.8-r8.ebuild
index 05ba98ab9015..8f246eb420a9 100644
--- a/dev-lang/perl/perl-5.8.8-r8.ebuild
+++ b/dev-lang/perl/perl-5.8.8-r8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.8-r8.ebuild,v 1.2 2009/11/14 11:31:30 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.8-r8.ebuild,v 1.3 2009/11/15 09:06:30 tove Exp $
inherit eutils alternatives flag-o-matic toolchain-funcs multilib
@@ -157,6 +157,9 @@ src_unpack() {
# perlcc fix patch - bug #181229
epatch "${FILESDIR}"/${P}-perlcc.patch
+ # libnet hostname test patch
+ epatch "${FILESDIR}"/${P}-libnet-hostname.patch
+
# patch to fix bug #198196
# UTF/Regular expressions boundary error (CVE-2007-5116)
epatch "${FILESDIR}"/${P}-utf8-boundary.patch