summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-02-05 02:34:44 +0000
committeredwin <edwin@FreeBSD.org>2003-02-05 02:34:44 +0000
commitf13e1fadea4580d45710960a784d35be8bbaa4a9 (patch)
tree2f4e69d7eaac815bb03d2ad01432c7c8ada7d905
parentd76597cea2d597b541334ef4012b8a95dfed1d52 (diff)
downloadFreeBSD-ports-f13e1fadea4580d45710960a784d35be8bbaa4a9.zip
FreeBSD-ports-f13e1fadea4580d45710960a784d35be8bbaa4a9.tar.gz
New port: net/p5-Net-Divert
This perl modules helps manipulation of IP packets via divert(4) sockets. PR: ports/47867 Submitted by: Nicolas Jombart <ecu@ipv42.net>
-rw-r--r--net/Makefile1
-rw-r--r--net/p5-Net-Divert/Makefile22
-rw-r--r--net/p5-Net-Divert/distinfo1
-rw-r--r--net/p5-Net-Divert/pkg-comment1
-rw-r--r--net/p5-Net-Divert/pkg-descr5
-rw-r--r--net/p5-Net-Divert/pkg-plist6
6 files changed, 36 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index f19e1bb..08ea05d 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -387,6 +387,7 @@
SUBDIR += p5-Net-DNS-ZoneFile
SUBDIR += p5-Net-Daemon
SUBDIR += p5-Net-Dict
+ SUBDIR += p5-Net-Divert
SUBDIR += p5-Net-Finger
SUBDIR += p5-Net-Google
SUBDIR += p5-Net-ICQ2000
diff --git a/net/p5-Net-Divert/Makefile b/net/p5-Net-Divert/Makefile
new file mode 100644
index 0000000..c1a4d3d
--- /dev/null
+++ b/net/p5-Net-Divert/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: p5-Net-Divert
+# Date created: January 30, 2003
+# Whom: Nicolas Jombart
+#
+# $FreeBSD$
+
+PORTNAME= Net-Divert
+PORTVERSION= 0.01
+CATEGORIES= net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Net
+PKGNAMEPREFIX= p5-
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= ecu@ipv42.net
+
+PERL_CONFIGURE= yes
+
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= Net::Divert.3
+
+.include <bsd.port.mk>
diff --git a/net/p5-Net-Divert/distinfo b/net/p5-Net-Divert/distinfo
new file mode 100644
index 0000000..ffb20e0
--- /dev/null
+++ b/net/p5-Net-Divert/distinfo
@@ -0,0 +1 @@
+MD5 (Net-Divert-0.01.tgz) = 06a1efd15a486112eb7f58fd5d5a21ad
diff --git a/net/p5-Net-Divert/pkg-comment b/net/p5-Net-Divert/pkg-comment
new file mode 100644
index 0000000..560b868
--- /dev/null
+++ b/net/p5-Net-Divert/pkg-comment
@@ -0,0 +1 @@
+A module to deal with divert(4) sockets
diff --git a/net/p5-Net-Divert/pkg-descr b/net/p5-Net-Divert/pkg-descr
new file mode 100644
index 0000000..3256553
--- /dev/null
+++ b/net/p5-Net-Divert/pkg-descr
@@ -0,0 +1,5 @@
+The Net::Divert module facilitates the use of divert
+sockets for packet alteration on FreeBSD and MacOSX.
+
+This module allows you to create a divert socket and then
+just supply a function that will deal with the incoming packets.
diff --git a/net/p5-Net-Divert/pkg-plist b/net/p5-Net-Divert/pkg-plist
new file mode 100644
index 0000000..59b8ffc
--- /dev/null
+++ b/net/p5-Net-Divert/pkg-plist
@@ -0,0 +1,6 @@
+lib/perl5/site_perl/%%PERL_VER%%/Net/Divert.pm
+lib/perl5/site_perl/%%PERL_VER%%/auto/Net/Divert/autosplit.ix
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/Divert/.packlist
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/Divert
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/auto/Net/Divert
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/auto/Net 2>/dev/null || true
OpenPOWER on IntegriCloud