aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 f19e1bb13b09..08ea05dfa5f3 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 000000000000..c1a4d3dfefcc
--- /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 000000000000..ffb20e0dd57f
--- /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 000000000000..560b868e3f0d
--- /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 000000000000..3256553dbd83
--- /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 000000000000..59b8ffc44dec
--- /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