aboutsummaryrefslogtreecommitdiff
path: root/ftp/p5-Net-FTP-Common
diff options
context:
space:
mode:
authorAaron Dalton <aaron@FreeBSD.org>2006-07-01 16:16:26 +0000
committerAaron Dalton <aaron@FreeBSD.org>2006-07-01 16:16:26 +0000
commita0d5df07d7263f807b23a0832e1b790fddbb387f (patch)
treeafb5236d4510a41fd96cf8128bc69503530a50a9 /ftp/p5-Net-FTP-Common
parent7793233f5ccb65f61126272659c90754adcfa4c1 (diff)
downloadports-a0d5df07d7263f807b23a0832e1b790fddbb387f.tar.gz
ports-a0d5df07d7263f807b23a0832e1b790fddbb387f.zip
Notes
Diffstat (limited to 'ftp/p5-Net-FTP-Common')
-rw-r--r--ftp/p5-Net-FTP-Common/Makefile11
-rw-r--r--ftp/p5-Net-FTP-Common/distinfo6
-rw-r--r--ftp/p5-Net-FTP-Common/files/patch-Common.pm21
3 files changed, 10 insertions, 28 deletions
diff --git a/ftp/p5-Net-FTP-Common/Makefile b/ftp/p5-Net-FTP-Common/Makefile
index 8851a77008f1..8b325cc7c937 100644
--- a/ftp/p5-Net-FTP-Common/Makefile
+++ b/ftp/p5-Net-FTP-Common/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Net-FTP-Common
-PORTVERSION= 4.0
+PORTVERSION= 5.31
CATEGORIES= ftp perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../../authors/id/T/TB/TBONE
@@ -22,7 +22,10 @@ PERL_CONFIGURE= yes
MAN3= Net::FTP::Common.3
-post-patch:
- ${RM} ${WRKSRC}/lib/Net/FTP/Common.pm.orig
+.include <bsd.port.pre.mk>
-.include <bsd.port.mk>
+.if ${PERL_LEVEL} < 500600 # inherited from security/p5-Authen-SASL
+IGNORE= requires at least Perl 5.6. Please install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/ftp/p5-Net-FTP-Common/distinfo b/ftp/p5-Net-FTP-Common/distinfo
index 8764904bba48..1e83d30472f8 100644
--- a/ftp/p5-Net-FTP-Common/distinfo
+++ b/ftp/p5-Net-FTP-Common/distinfo
@@ -1,3 +1,3 @@
-MD5 (Net-FTP-Common-4.0.tar.gz) = b119ca7184915d6410c4ab9f2dc9afd2
-SHA256 (Net-FTP-Common-4.0.tar.gz) = 7b223631f18209446e880edb89f4792fa6668c8ad2346219d07c30e5d943eb6e
-SIZE (Net-FTP-Common-4.0.tar.gz) = 18351
+MD5 (Net-FTP-Common-5.31.tar.gz) = a60f821a0b6971433e60fe88773b3e22
+SHA256 (Net-FTP-Common-5.31.tar.gz) = b4d39fa9b5f18c40b2449e4607b7a25786166a8276f1a5e897661e7ed7449fbc
+SIZE (Net-FTP-Common-5.31.tar.gz) = 17619
diff --git a/ftp/p5-Net-FTP-Common/files/patch-Common.pm b/ftp/p5-Net-FTP-Common/files/patch-Common.pm
deleted file mode 100644
index 7e1d166a23f9..000000000000
--- a/ftp/p5-Net-FTP-Common/files/patch-Common.pm
+++ /dev/null
@@ -1,21 +0,0 @@
---- lib/Net/FTP/Common.pm.orig Fri Oct 10 13:30:42 2003
-+++ lib/Net/FTP/Common.pm Tue Oct 14 16:31:23 2003
-@@ -167,7 +167,8 @@
- foreach (@{$dir})
- {
- # $_ =~ m#([a-z-]*)\s*([0-9]*)\s*([0-9a-zA-Z]*)\s*([0-9a-zA-Z]*)\s*([0-9]*)\s*([A-Za-z]*)\s*([0-9]*)\s*([0-9A-Za-z:]*)\s*([A-Za-z0-9.-]*)#;
-- $_ = m#([a-z-]*)\s*([0-9]*)\s*([0-9a-zA-Z]*)\s*([0-9a-zA-Z]*)\s*([0-9]*)\s*([A-Za-z]*)\s*([0-9]*)\s*([0-9A-Za-z:]*)\s*([\w*\W*\s*\S*]*)#;
-+ # $_ = m#([a-z-]*)\s*([0-9]*)\s*([0-9a-zA-Z]*)\s*([0-9a-zA-Z]*)\s*([0-9]*)\s*([A-Za-z]*)\s*([0-9]*)\s*([0-9A-Za-z:]*)\s*([\w*\W*\s*\S*]*)#;
-+ $_ =~ m#([a-z-]*)\s*([0-9]*)\s*([0-9a-zA-Z-]*)\s*([0-9a-zA-Z-]*)\s*([0-9]*)\s*([A-Za-z]*)\s*([0-9]*)\s*([0-9A-Za-z:]*)\s*(\S+)#;
-
- my $perm = $1;
- my $inode = $2;
-@@ -180,7 +181,7 @@
- my $name = $9;
- my $linkTarget;
-
-- if ( $' =~ m#\s*->\s*([A-Za-z0-9.-/]*)# ) # it's a symlink
-+ if ( $' =~ m#\s*->\s*([A-Za-z0-9.\-/]*)# ) # it's a symlink
- { $linkTarget = $1; }
-
- $HoH{$name}{perm} = $perm;