ports/52956: Bugfix: net/p5-NetPacket
Foxfair Hu
foxfair at drago.fomokka.net
Thu Jun 19 01:40:08 UTC 2003
The following reply was made to PR ports/52956; it has been noted by GNATS.
From: Foxfair Hu <foxfair at drago.fomokka.net>
To: Lars Eggert <larse at ISI.EDU>, freebsd-gnats-submit at FreeBSD.org
Cc:
Subject: Re: ports/52956: Bugfix: net/p5-NetPacket
Date: Thu, 19 Jun 2003 09:33:05 +0800
--H+4ONPRPur6+Ovig
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Ah, please ignore the "Makefile.orig" part in last email.
Once again, here is a complete set of patch include the bugfix.
foxfair.
--H+4ONPRPur6+Ovig
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="patch.p5-NetPacket"
diff -ruN /usr/ports/net/p5-NetPacket/Makefile ./Makefile
--- /usr/ports/net/p5-NetPacket/Makefile Fri Mar 21 01:25:53 2003
+++ ./Makefile Thu Jun 19 09:32:24 2003
@@ -6,7 +6,7 @@
#
PORTNAME= NetPacket
-PORTVERSION= 0.03
+PORTVERSION= 0.04
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= NetPacket
@@ -18,7 +18,9 @@
PERL_CONFIGURE= yes
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-MAN3= NetPacket.3 NetPacket::ARP.3 NetPacket::Ethernet.3 NetPacket::ICMP.3 \
- NetPacket::IGMP.3 NetPacket::IP.3 NetPacket::TCP.3 NetPacket::UDP.3
+MAN3= NetPacket::LACP.3 NetPacket::IGMP.3 NetPacket::IP.3 \
+ NetPacket::SpanningTree.3 NetPacket::LLC.3 NetPacket::ARP.3 \
+ NetPacket.3 NetPacket::UDP.3 NetPacket::Ethernet.3 \
+ NetPacket::ICMP.3 NetPacket::TCP.3
.include <bsd.port.mk>
diff -ruN /usr/ports/net/p5-NetPacket/distinfo ./distinfo
--- /usr/ports/net/p5-NetPacket/distinfo Thu Oct 18 20:56:34 2001
+++ ./distinfo Thu Jun 19 09:11:12 2003
@@ -1 +1 @@
-MD5 (NetPacket-0.03.tar.gz) = 10a7614132b43bef5e3097a405fc89ac
+MD5 (NetPacket-0.04.tar.gz) = 3bf136cd3b555d50ba4b1ce81968f695
diff -ruN /usr/ports/net/p5-NetPacket/files/patch-aa ./files/patch-aa
--- /usr/ports/net/p5-NetPacket/files/patch-aa Thu Jan 1 08:00:00 1970
+++ ./files/patch-aa Thu Jun 19 09:11:12 2003
@@ -0,0 +1,12 @@
+--- NetPacket/IP.pm Fri Jan 11 20:10:25 2002
++++ NetPacket/IP.pm.new Fri Jan 11 20:10:35 2002
+@@ -224,7 +224,7 @@
+
+ # make the entire packet
+ $packet = pack('CCnnnCCna4a4a*a*', $tmp, $self->{tos},$self->{len},
+- $self->{id}, $self->{foffset}, $self->{ttl}, $self->{proto},
++ $self->{id}, $offset, $self->{ttl}, $self->{proto},
+ $self->{cksum}, $src_ip, $dest_ip, $self->{options},
+ $self->{data});
+
+
diff -ruN /usr/ports/net/p5-NetPacket/pkg-plist ./pkg-plist
--- /usr/ports/net/p5-NetPacket/pkg-plist Sat May 19 22:02:04 2001
+++ ./pkg-plist Thu Jun 19 09:15:18 2003
@@ -1,11 +1,15 @@
-lib/perl5/site_perl/%%PERL_VER%%/NetPacket/TCP.pm
-lib/perl5/site_perl/%%PERL_VER%%/NetPacket/UDP.pm
-lib/perl5/site_perl/%%PERL_VER%%/NetPacket/IP.pm
-lib/perl5/site_perl/%%PERL_VER%%/NetPacket/ICMP.pm
-lib/perl5/site_perl/%%PERL_VER%%/NetPacket/IGMP.pm
-lib/perl5/site_perl/%%PERL_VER%%/NetPacket/Ethernet.pm
-lib/perl5/site_perl/%%PERL_VER%%/NetPacket/ARP.pm
-lib/perl5/site_perl/%%PERL_VER%%/NetPacket.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/NetPacket/.packlist
- at dirrm lib/perl5/site_perl/%%PERL_VER%%/NetPacket
- at dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/NetPacket
+%%SITE_PERL%%/NetPacket/LACP.pm
+%%SITE_PERL%%/NetPacket/IGMP.pm
+%%SITE_PERL%%/NetPacket/IP.pm
+%%SITE_PERL%%/NetPacket/SpanningTree.pm
+%%SITE_PERL%%/NetPacket/Ethernet.pm
+%%SITE_PERL%%/NetPacket/ICMP.pm
+%%SITE_PERL%%/NetPacket/ARP.pm
+%%SITE_PERL%%/NetPacket/LLC.pm
+%%SITE_PERL%%/NetPacket.pm
+%%SITE_PERL%%/NetPacket/UDP.pm
+%%SITE_PERL%%/NetPacket/IP.pm.orig
+%%SITE_PERL%%/NetPacket/TCP.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetPacket/.packlist
+ at dirrm %%SITE_PERL%%/NetPacket
+ at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetPacket
--H+4ONPRPur6+Ovig--
More information about the freebsd-ports-bugs
mailing list