summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2006-09-02 00:24:20 +0000
committerMichael Cummings <mcummings@gentoo.org>2006-09-02 00:24:20 +0000
commit9a1671f7a3558fd9fee323b22e4b2a4ddb95ffdf (patch)
tree469329839cd7f76dff6258c9569df8a27c34bc3d /dev-perl
parentautopatch inclusion from base.eclass. All hail PATCHES. (diff)
downloadgentoo-2-9a1671f7a3558fd9fee323b22e4b2a4ddb95ffdf.tar.gz
gentoo-2-9a1671f7a3558fd9fee323b22e4b2a4ddb95ffdf.tar.bz2
gentoo-2-9a1671f7a3558fd9fee323b22e4b2a4ddb95ffdf.zip
Keywording ~amd64; added testing dep; patches support
(Portage version: 2.1.1_pre3-r1)
Diffstat (limited to 'dev-perl')
-rw-r--r--dev-perl/Net-FTPServer/ChangeLog6
-rw-r--r--dev-perl/Net-FTPServer/Net-FTPServer-1.122.ebuild15
-rw-r--r--dev-perl/Net-FTPServer/files/240abort.patch12
-rw-r--r--dev-perl/Net-FTPServer/files/digest-Net-FTPServer-1.1222
-rw-r--r--dev-perl/Net-FTPServer/files/makefile.patch11
5 files changed, 36 insertions, 10 deletions
diff --git a/dev-perl/Net-FTPServer/ChangeLog b/dev-perl/Net-FTPServer/ChangeLog
index 7e8b9988a96a..8f191923506b 100644
--- a/dev-perl/Net-FTPServer/ChangeLog
+++ b/dev-perl/Net-FTPServer/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-perl/Net-FTPServer
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-FTPServer/ChangeLog,v 1.17 2006/08/05 14:18:24 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-FTPServer/ChangeLog,v 1.18 2006/09/02 00:24:19 mcummings Exp $
+
+ 02 Sep 2006; Michael Cummings <mcummings@gentoo.org>
+ +files/240abort.patch, +files/makefile.patch, Net-FTPServer-1.122.ebuild:
+ Keywording ~amd64; added testing dep; patches support
05 Aug 2006; Michael Cummings <mcummings@gentoo.org>
Net-FTPServer-1.120.ebuild, Net-FTPServer-1.122.ebuild:
diff --git a/dev-perl/Net-FTPServer/Net-FTPServer-1.122.ebuild b/dev-perl/Net-FTPServer/Net-FTPServer-1.122.ebuild
index e5875e93da8e..a94081244092 100644
--- a/dev-perl/Net-FTPServer/Net-FTPServer-1.122.ebuild
+++ b/dev-perl/Net-FTPServer/Net-FTPServer-1.122.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-FTPServer/Net-FTPServer-1.122.ebuild,v 1.8 2006/08/05 14:18:24 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-FTPServer/Net-FTPServer-1.122.ebuild,v 1.9 2006/09/02 00:24:19 mcummings Exp $
inherit perl-module
@@ -10,9 +10,11 @@ SRC_URI="mirror://cpan/authors/id/R/RW/RWMJ/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="ia64 ~ppc sparc x86"
+KEYWORDS="~amd64 ia64 ~ppc sparc x86"
IUSE="postgres"
SRC_TEST="do"
+PATCHES="${FILESDIR}/240abort.patch
+ ${FILESDIR}/makefile.patch"
DEPEND="dev-perl/Archive-Zip
dev-perl/Authen-PAM
@@ -25,12 +27,7 @@ DEPEND="dev-perl/Archive-Zip
dev-perl/File-Sync
dev-perl/IO-stringy
postgres? ( dev-perl/DBI )
- dev-lang/perl"
+ test? ( app-arch/ncompress )
+ dev-lang/perl"
RDEPEND="${DEPEND}"
-src_unpack() {
- unpack ${A}
- cd ${S}
- sed -i -e "s:/etc:${D}/etc:" Makefile.PL
-}
-
diff --git a/dev-perl/Net-FTPServer/files/240abort.patch b/dev-perl/Net-FTPServer/files/240abort.patch
new file mode 100644
index 000000000000..8c6c4b005683
--- /dev/null
+++ b/dev-perl/Net-FTPServer/files/240abort.patch
@@ -0,0 +1,12 @@
+diff -Naurp Net-FTPServer-1.122.orig/t/240abort.t Net-FTPServer-1.122/t/240abort.t
+--- Net-FTPServer-1.122.orig/t/240abort.t 2006-09-01 10:27:44.000000000 -0400
++++ Net-FTPServer-1.122/t/240abort.t 2006-09-01 10:28:02.000000000 -0400
+@@ -69,7 +69,7 @@ foreach my $mode ('A', 'I')
+ Proto => "tcp")
+ or die "socket: $!";
+
+- for (my $i = 0; $i < 10000; ++$i)
++ for (my $i = 0; $i < 1000000; ++$i)
+ {
+ $sock->print ("This is line $i.\r\n");
+ }
diff --git a/dev-perl/Net-FTPServer/files/digest-Net-FTPServer-1.122 b/dev-perl/Net-FTPServer/files/digest-Net-FTPServer-1.122
index 3ef26fef86b5..bd20a665a821 100644
--- a/dev-perl/Net-FTPServer/files/digest-Net-FTPServer-1.122
+++ b/dev-perl/Net-FTPServer/files/digest-Net-FTPServer-1.122
@@ -1 +1,3 @@
MD5 03413e192528959775529957fdaf145b Net-FTPServer-1.122.tar.gz 127256
+RMD160 0987a35546df7acc322ef1ba1653aec9af203c92 Net-FTPServer-1.122.tar.gz 127256
+SHA256 d7a5257c982edaa83b2cd5c1cbb3190a27b8f9996b382cbaa69d2c5d6171d75c Net-FTPServer-1.122.tar.gz 127256
diff --git a/dev-perl/Net-FTPServer/files/makefile.patch b/dev-perl/Net-FTPServer/files/makefile.patch
new file mode 100644
index 000000000000..bd5695a107c4
--- /dev/null
+++ b/dev-perl/Net-FTPServer/files/makefile.patch
@@ -0,0 +1,11 @@
+--- Net-FTPServer-1.122.orig/Makefile.PL 2006-09-01 10:27:44.000000000 -0400
++++ Net-FTPServer-1.122/Makefile.PL 2006-09-01 10:44:39.000000000 -0400
+@@ -276,7 +276,7 @@ sub libscan
+ sub postamble
+ {
+ '
+-sysconfdir = /etc
++sysconfdir = "$(DESTDIR)/etc"
+
+ check-manifest:
+ @for d in `find -type d -name CVS`; \