summaryrefslogtreecommitdiffstats
path: root/net/p5-NetPacket
diff options
context:
space:
mode:
authorfoxfair <foxfair@FreeBSD.org>2003-06-21 06:23:40 +0000
committerfoxfair <foxfair@FreeBSD.org>2003-06-21 06:23:40 +0000
commit3f739ed930307668251b7cdbb82a6d841cdc31d7 (patch)
tree2b43ad920f041dc9d193eed9d34bd9b04af90403 /net/p5-NetPacket
parent24e43e9e49180b0e83612219c55e1e490079818d (diff)
downloadFreeBSD-ports-3f739ed930307668251b7cdbb82a6d841cdc31d7.zip
FreeBSD-ports-3f739ed930307668251b7cdbb82a6d841cdc31d7.tar.gz
PR:
Submitted by: Reviewed by: Approved by: Obtained from: MFC after: Update p5-NetPacket to 0.04 [1], and add one patch to fix a bug of calculating IP checksum [2]. Reviewed by: maintainer [1] PR: 53486 (maintainer update) [2] PR: 52956 Submitted by: Lars Eggert <larse@nik.isi.edu> Since NetPacket 0.04 has the same problem as previous version, we intend to leave the bugfix in the patch list.
Diffstat (limited to 'net/p5-NetPacket')
-rw-r--r--net/p5-NetPacket/Makefile8
-rw-r--r--net/p5-NetPacket/distinfo2
-rw-r--r--net/p5-NetPacket/files/patch-aa12
-rw-r--r--net/p5-NetPacket/pkg-plist26
4 files changed, 33 insertions, 15 deletions
diff --git a/net/p5-NetPacket/Makefile b/net/p5-NetPacket/Makefile
index a321568..c79b7a9 100644
--- a/net/p5-NetPacket/Makefile
+++ b/net/p5-NetPacket/Makefile
@@ -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 @@ COMMENT= Modules to assemble/disassemble network packets at the protocol level
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 --git a/net/p5-NetPacket/distinfo b/net/p5-NetPacket/distinfo
index 398f664..152f7fc 100644
--- a/net/p5-NetPacket/distinfo
+++ b/net/p5-NetPacket/distinfo
@@ -1 +1 @@
-MD5 (NetPacket-0.03.tar.gz) = 10a7614132b43bef5e3097a405fc89ac
+MD5 (NetPacket-0.04.tar.gz) = 3bf136cd3b555d50ba4b1ce81968f695
diff --git a/net/p5-NetPacket/files/patch-aa b/net/p5-NetPacket/files/patch-aa
new file mode 100644
index 0000000..ffc62c4
--- /dev/null
+++ b/net/p5-NetPacket/files/patch-aa
@@ -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 --git a/net/p5-NetPacket/pkg-plist b/net/p5-NetPacket/pkg-plist
index 8ab2fee..bdd8822 100644
--- a/net/p5-NetPacket/pkg-plist
+++ b/net/p5-NetPacket/pkg-plist
@@ -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
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/NetPacket
-@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
+@dirrm %%SITE_PERL%%/NetPacket
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/NetPacket
OpenPOWER on IntegriCloud