ports/142825: [update] net/p5-Net-Packet: Update to 3.27
Sofian Brabez
sbrabez at gmail.com
Thu Jan 14 10:50:04 UTC 2010
>Number: 142825
>Category: ports
>Synopsis: [update] net/p5-Net-Packet: Update to 3.27
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Jan 14 10:50:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Sofian Brabez
>Release: FreeBSD 7.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD freebsd.ifr.lan 7.2-STABLE FreeBSD 7.2-STABLE #2: Thu Nov 19 01:59:45 CET 2009
>Description:
- Update to 3.27
- Respect NOPORTEXAMPLES
Port maintainer (netpkt at gomor.org) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- p5-Net-Packet-3.27.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net/p5-Net-Packet/Makefile /tmp/p5-Net-Packet/Makefile
--- /usr/ports/net/p5-Net-Packet/Makefile 2009-03-12 17:44:46.000000000 +0100
+++ /tmp/p5-Net-Packet/Makefile 2010-01-14 11:47:07.000000000 +0100
@@ -6,7 +6,7 @@
#
PORTNAME= Net-Packet
-DISTVERSION= 3.26
+DISTVERSION= 3.27
CATEGORIES= net perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -26,6 +26,7 @@
RUN_DEPENDS:= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
+EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
MAN3= Net::Packet.3 Net::Packet::ARP.3 Net::Packet::CDP.3 Net::Packet::CDP::Address.3 \
Net::Packet::CDP::Type.3 Net::Packet::CDP::TypeAddresses.3 Net::Packet::CDP::TypeCapabilities.3 \
@@ -39,4 +40,10 @@
Net::Packet::SLL.3 Net::Packet::STP.3 Net::Packet::TCP.3 Net::Packet::UDP.3 Net::Packet::Utils.3 \
Net::Packet::VLAN.3
+.if !defined(NOPORTEXAMPLES)
+post-install:
+ ${MKDIR} ${EXAMPLESDIR}
+ (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
+.endif
+
.include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/net/p5-Net-Packet/distinfo /tmp/p5-Net-Packet/distinfo
--- /usr/ports/net/p5-Net-Packet/distinfo 2009-03-12 17:44:46.000000000 +0100
+++ /tmp/p5-Net-Packet/distinfo 2010-01-14 11:41:33.000000000 +0100
@@ -1,3 +1,3 @@
-MD5 (Net-Packet-3.26.tar.gz) = 19f7fb5b5b5eb509e44a2a6e189fc2c9
-SHA256 (Net-Packet-3.26.tar.gz) = a719e50746b2646a5a757dadb4f5a9249291f92df5673327116fee185f575b86
-SIZE (Net-Packet-3.26.tar.gz) = 69085
+MD5 (Net-Packet-3.27.tar.gz) = 1f1d0b19b043d47dd30d21d5cf02e1e7
+SHA256 (Net-Packet-3.27.tar.gz) = f8e0754f1ce5acf0f8122d25aa5f60d942e9c6e845d39a4f00fb7b20523b2871
+SIZE (Net-Packet-3.27.tar.gz) = 68831
diff -ruN --exclude=CVS /usr/ports/net/p5-Net-Packet/pkg-plist /tmp/p5-Net-Packet/pkg-plist
--- /usr/ports/net/p5-Net-Packet/pkg-plist 2006-11-18 16:40:13.000000000 +0100
+++ /tmp/p5-Net-Packet/pkg-plist 2010-01-14 11:41:29.000000000 +0100
@@ -45,3 +45,25 @@
@dirrmtry %%SITE_PERL%%/Net
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Packet
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/arp-reply.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/arp-request.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/arp-scan.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/chaos-query.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/d3-syn-send.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/d4-syn-send.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp-dest-unreach.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp-echo.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp-information.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp-mask.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp-redirect.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp-timestamp.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ip6-syn-send.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ipv4-flags.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/read-pcap.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sniffer.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/syn-scan.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/syn-send.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/udp-send.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vlan-craft.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vlan-support.pl
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
--- p5-Net-Packet-3.27.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list