aboutsummaryrefslogtreecommitdiff
path: root/net/p5-Net
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2007-06-19 15:56:56 +0000
committerMathieu Arnold <mat@FreeBSD.org>2007-06-19 15:56:56 +0000
commit20881ba334bfdda1fd967d03234fb876bf2cb18d (patch)
tree6f66badde9f73d8cbc98aab761b3a52ad8b0651f /net/p5-Net
parentbb302da228585333f0114df98041ac76ee14a128 (diff)
downloadports-20881ba334bfdda1fd967d03234fb876bf2cb18d.tar.gz
ports-20881ba334bfdda1fd967d03234fb876bf2cb18d.zip
Notes
Diffstat (limited to 'net/p5-Net')
-rw-r--r--net/p5-Net/Makefile6
-rw-r--r--net/p5-Net/distinfo6
-rw-r--r--net/p5-Net/files/patch-Makefile.PL6
-rw-r--r--net/p5-Net/files/patch-Net_Cmd.pm20
4 files changed, 7 insertions, 31 deletions
diff --git a/net/p5-Net/Makefile b/net/p5-Net/Makefile
index 97e758da6e59..659379c85bb4 100644
--- a/net/p5-Net/Makefile
+++ b/net/p5-Net/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= p5-Net
-PORTVERSION= 1.20
-PORTREVISION= 1
+PORTVERSION= 1.21
PORTEPOCH= 1
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
@@ -33,9 +32,6 @@ MAN3= Net::Cmd.3 \
Net::Time.3 \
Net::libnetFAQ.3
-post-patch:
- @${RM} ${WRKSRC}/Net/Cmd.pm.orig
-
.include <bsd.port.pre.mk>
# Authen-SASL is not available under perl 5.005_03
diff --git a/net/p5-Net/distinfo b/net/p5-Net/distinfo
index 32280e06b2a7..725139cd8195 100644
--- a/net/p5-Net/distinfo
+++ b/net/p5-Net/distinfo
@@ -1,3 +1,3 @@
-MD5 (libnet-1.20.tar.gz) = 5d884dccf00c787ec560c83abda67c64
-SHA256 (libnet-1.20.tar.gz) = d8789fb683348cda689c3eb3e6772c05baf72deb4bbd50c6f9228d3ba43af4d0
-SIZE (libnet-1.20.tar.gz) = 67954
+MD5 (libnet-1.21.tar.gz) = be5aa6ef1607c665059f2d36b5e93fe7
+SHA256 (libnet-1.21.tar.gz) = f18d936a7337300e648684b8c74cda3046030a3ce6895a6578c8852038ee6f48
+SIZE (libnet-1.21.tar.gz) = 67693
diff --git a/net/p5-Net/files/patch-Makefile.PL b/net/p5-Net/files/patch-Makefile.PL
index aaecf22d3378..6e8250940727 100644
--- a/net/p5-Net/files/patch-Makefile.PL
+++ b/net/p5-Net/files/patch-Makefile.PL
@@ -1,9 +1,9 @@
---- Makefile.PL Wed Aug 20 17:07:25 2003
-+++ Makefile.PL~ Wed Aug 20 17:07:16 2003
+--- Makefile.PL.orig Sat May 19 15:56:18 2007
++++ Makefile.PL Tue Jun 19 16:05:28 2007
@@ -98,6 +98,18 @@
- Socket => 1.3,
IO::Socket => 1.05
},
+ dist => { DIST_DEFAULT => 'mydist', },
+ 'MAN3PODS' => {
+ 'Net/Cmd.pm' => '$(INST_MAN3DIR)/Net::Cmd.$(MAN3EXT)',
+ 'Net/Config.pm' => '$(INST_MAN3DIR)/Net::Config.$(MAN3EXT)',
diff --git a/net/p5-Net/files/patch-Net_Cmd.pm b/net/p5-Net/files/patch-Net_Cmd.pm
deleted file mode 100644
index d81d9bb18f3b..000000000000
--- a/net/p5-Net/files/patch-Net_Cmd.pm
+++ /dev/null
@@ -1,20 +0,0 @@
---- Net/Cmd.pm~ Fri Oct 27 13:08:07 2006
-+++ Net/Cmd.pm Fri Feb 9 16:02:10 2007
-@@ -21,8 +21,6 @@
- }
- }
-
--my $doUTF8 = eval { require utf8 };
--
- $VERSION = "2.27";
- @ISA = qw(Exporter);
- @EXPORT = qw(CMD_INFO CMD_OK CMD_MORE CMD_REJECT CMD_ERROR CMD_PENDING);
-@@ -394,8 +392,6 @@
- my $cmd = shift;
- my $arr = @_ == 1 && ref($_[0]) ? $_[0] : \@_;
- my $line = join("" ,@$arr);
--
-- utf8::encode($line) if $doUTF8;
-
- return 0 unless defined(fileno($cmd));
-