summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/Makefile1
-rw-r--r--net/p5-Net-PcapUtils/Makefile25
-rw-r--r--net/p5-Net-PcapUtils/distinfo2
-rw-r--r--net/p5-Net-PcapUtils/pkg-descr6
-rw-r--r--net/p5-Net-PcapUtils/pkg-plist5
5 files changed, 39 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 8297404..ee0ecd0 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -528,6 +528,7 @@
SUBDIR += p5-Net-ParseWhois
SUBDIR += p5-Net-Patricia
SUBDIR += p5-Net-Pcap
+ SUBDIR += p5-Net-PcapUtils
SUBDIR += p5-Net-Ping-External
SUBDIR += p5-Net-Radius
SUBDIR += p5-Net-RawIP
diff --git a/net/p5-Net-PcapUtils/Makefile b/net/p5-Net-PcapUtils/Makefile
new file mode 100644
index 0000000..ddbe6676
--- /dev/null
+++ b/net/p5-Net-PcapUtils/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: Net-PcapUtils
+# Date created: 30 September 2005
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Net-PcapUtils
+PORTVERSION= 0.01
+CATEGORIES= net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Net
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= skv@FreeBSD.org
+COMMENT= Utility routines for Net::Pcap module
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/Pcap.pm:${PORTSDIR}/net/p5-Net-Pcap
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Net::PcapUtils.3
+
+.include <bsd.port.mk>
diff --git a/net/p5-Net-PcapUtils/distinfo b/net/p5-Net-PcapUtils/distinfo
new file mode 100644
index 0000000..3422127
--- /dev/null
+++ b/net/p5-Net-PcapUtils/distinfo
@@ -0,0 +1,2 @@
+MD5 (Net-PcapUtils-0.01.tar.gz) = eeba67266dbe155b504df3c2de1d657f
+SIZE (Net-PcapUtils-0.01.tar.gz) = 4370
diff --git a/net/p5-Net-PcapUtils/pkg-descr b/net/p5-Net-PcapUtils/pkg-descr
new file mode 100644
index 0000000..a84d2a3
--- /dev/null
+++ b/net/p5-Net-PcapUtils/pkg-descr
@@ -0,0 +1,6 @@
+Net::PcapUtils is a module to sit in front of Net::Pcap in order to hide
+some of the pcap(3) initialisation by providing sensible defaults. This
+enables a programmer to easily write small, specific scripts for a
+particular purpose without having to worry about too many details.
+
+WWW: http://search.cpan.org/dist/Net-PcapUtils/
diff --git a/net/p5-Net-PcapUtils/pkg-plist b/net/p5-Net-PcapUtils/pkg-plist
new file mode 100644
index 0000000..d989b53
--- /dev/null
+++ b/net/p5-Net-PcapUtils/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/PcapUtils/.packlist
+%%SITE_PERL%%/Net/PcapUtils.pm
+@unexec rmdir %D/%%SITE_PERL%%/Net 2>/dev/null || true
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/PcapUtils
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true
OpenPOWER on IntegriCloud