aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2006-05-19 03:41:17 +0800
committererwin <erwin@FreeBSD.org>2006-05-19 03:41:17 +0800
commit97af473423854b90b6d174273ccb0db71aad8b03 (patch)
treef90dcb3bd21a106bd7da9224e552cf6068e09786 /net
parente6ce1872e7654563e115a93f3c090dd427548314 (diff)
downloadfreebsd-ports-gnome-97af473423854b90b6d174273ccb0db71aad8b03.tar.gz
freebsd-ports-gnome-97af473423854b90b6d174273ccb0db71aad8b03.tar.zst
freebsd-ports-gnome-97af473423854b90b6d174273ccb0db71aad8b03.zip
Net::Write provides a portable interface to open a network interface, and be
able to write raw data directly to the network. Authors: Patrice Auffret <netpkt@gomor.org> WWW: http://search.cpan.org/dist/Net-Write PR: ports/97427 Submitted by: Christopher Boumenot <boumenot@gmail.com>
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/p5-Net-Write/Makefile32
-rw-r--r--net/p5-Net-Write/distinfo3
-rw-r--r--net/p5-Net-Write/pkg-descr5
-rw-r--r--net/p5-Net-Write/pkg-plist12
5 files changed, 53 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 3abc023d3ce3..4191f1e2f0fe 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -454,6 +454,7 @@
SUBDIR += p5-Net-Whois
SUBDIR += p5-Net-Whois-RIPE
SUBDIR += p5-Net-Whois-Raw
+ SUBDIR += p5-Net-Write
SUBDIR += p5-Net-XWhois
SUBDIR += p5-Net-Z3950
SUBDIR += p5-Net-Z3950-SimpleServer
diff --git a/net/p5-Net-Write/Makefile b/net/p5-Net-Write/Makefile
new file mode 100644
index 000000000000..af180e9676c3
--- /dev/null
+++ b/net/p5-Net-Write/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: Class-Gomor
+# Date created: 17 May 2006
+# Whom: Christopher Boumenot <boumenot@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Net-Write
+PORTVERSION= 0.82
+CATEGORIES= net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Net
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= boumenot@gmail.com
+COMMENT= An interface to open and send raw frames to the network
+
+PERL_CONFIGURE= yes
+
+MAN3= Net::Write.3 \
+ Net::Write::Layer.3 \
+ Net::Write::Layer2.3 \
+ Net::Write::Layer3.3 \
+ Net::Write::Layer4.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE=Needs perl 5.6.1 or higher, install lang/perl5.6 and try again.
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net/p5-Net-Write/distinfo b/net/p5-Net-Write/distinfo
new file mode 100644
index 000000000000..220198389451
--- /dev/null
+++ b/net/p5-Net-Write/distinfo
@@ -0,0 +1,3 @@
+MD5 (Net-Write-0.82.tar.gz) = 0ea747d4aa4276bbc36f8acd6727af3e
+SHA256 (Net-Write-0.82.tar.gz) = c9683cffe0fc9d2147a1081f25293b42b0f21713f505f394df1b20f0e1e08939
+SIZE (Net-Write-0.82.tar.gz) = 9808
diff --git a/net/p5-Net-Write/pkg-descr b/net/p5-Net-Write/pkg-descr
new file mode 100644
index 000000000000..a42704a3c702
--- /dev/null
+++ b/net/p5-Net-Write/pkg-descr
@@ -0,0 +1,5 @@
+Net::Write provides a portable interface to open a network interface, and be
+able to write raw data directly to the network.
+
+Authors: Patrice Auffret <netpkt@gomor.org>
+WWW: http://search.cpan.org/dist/Net-Write
diff --git a/net/p5-Net-Write/pkg-plist b/net/p5-Net-Write/pkg-plist
new file mode 100644
index 000000000000..ec16432f2fc1
--- /dev/null
+++ b/net/p5-Net-Write/pkg-plist
@@ -0,0 +1,12 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/Net/Write.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Net/Write/Layer.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Net/Write/Layer2.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Net/Write/Layer3.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Net/Write/Layer4.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Write/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Write/Write.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Write/Write.so
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Write
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Net/Write
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Net