aboutsummaryrefslogtreecommitdiff
path: root/net/p5-Net-Frame
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2007-01-09 01:55:40 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2007-01-09 01:55:40 +0000
commiteda4325c572f458ddd4e436793519809f1ff3da5 (patch)
treec346bec12909e22e811e0b1703245139723169b7 /net/p5-Net-Frame
parent8ae475f6a8b17b9d6ece5545393bff0f13f8b3b1 (diff)
downloadports-eda4325c572f458ddd4e436793519809f1ff3da5.tar.gz
ports-eda4325c572f458ddd4e436793519809f1ff3da5.zip
Notes
Diffstat (limited to 'net/p5-Net-Frame')
-rw-r--r--net/p5-Net-Frame/Makefile43
-rw-r--r--net/p5-Net-Frame/distinfo3
-rw-r--r--net/p5-Net-Frame/pkg-descr14
-rw-r--r--net/p5-Net-Frame/pkg-plist17
4 files changed, 77 insertions, 0 deletions
diff --git a/net/p5-Net-Frame/Makefile b/net/p5-Net-Frame/Makefile
new file mode 100644
index 000000000000..b4c4fe4053ea
--- /dev/null
+++ b/net/p5-Net-Frame/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: Net-Frame
+# Date created: 08 Jan 2007
+# Whom: Cheng-Lung Sung <clsung@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Net-Frame
+PORTVERSION= 1.03
+CATEGORIES= net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Net
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= clsung@FreeBSD.org
+COMMENT= Base framework for frame crafting
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Bit/Vector.pm:${PORTSDIR}/math/p5-Bit-Vector \
+ ${SITE_PERL}/${PERL_ARCH}/Socket6.pm:${PORTSDIR}/net/p5-Socket6 \
+ ${SITE_PERL}/Net/IPv6Addr.pm:${PORTSDIR}/net-mgmt/p5-Net-IPv6Addr \
+ p5-Class-Gomor>=1.00:${PORTSDIR}/devel/p5-Class-Gomor
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Net::Frame.3 Net::Frame::Layer.3 \
+ Net::Frame::Layer::ARP.3 \
+ Net::Frame::Layer::ETH.3 \
+ Net::Frame::Layer::IPv4.3 \
+ Net::Frame::Layer::NULL.3 \
+ Net::Frame::Layer::PPP.3 \
+ Net::Frame::Layer::RAW.3 \
+ Net::Frame::Layer::SLL.3 \
+ Net::Frame::Layer::TCP.3 \
+ Net::Frame::Layer::UDP.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE= requires perl 5.6.x or later. Install lang/perl5.8 then try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net/p5-Net-Frame/distinfo b/net/p5-Net-Frame/distinfo
new file mode 100644
index 000000000000..1912c73d70aa
--- /dev/null
+++ b/net/p5-Net-Frame/distinfo
@@ -0,0 +1,3 @@
+MD5 (Net-Frame-1.03.tar.gz) = 19b639eed0c8c44c06b19614a7696766
+SHA256 (Net-Frame-1.03.tar.gz) = 57292fb9c322b18b05d496026c8c587a78a16d546a70fcc36d2a362c318eadc4
+SIZE (Net-Frame-1.03.tar.gz) = 19601
diff --git a/net/p5-Net-Frame/pkg-descr b/net/p5-Net-Frame/pkg-descr
new file mode 100644
index 000000000000..f84e0df01167
--- /dev/null
+++ b/net/p5-Net-Frame/pkg-descr
@@ -0,0 +1,14 @@
+Net::Frame is a fork of Net::Packet. The goal here was to greatly
+simplify the use of the frame crafting framework. Net::Packet does
+many things undercover, and it was difficult to document all the thingies.
+
+Also, Net::Packet may suffer from unease of use, because frames were
+assembled using layers stored in L2, L3, L4 and L7 attributes. Net::Frame
+removes all this, and is splitted in different modules, for those who only
+want to use part of the framework, and not whole framework.
+
+Finally, anyone can create a layer, and put it on his CPAN space, because
+of the modularity Net::Frame offers. For an example,
+see Net::Frame::Layer::ICMPv4 on my CPAN space.
+
+WWW: http://search.cpan.org/dist/Net-Frame/
diff --git a/net/p5-Net-Frame/pkg-plist b/net/p5-Net-Frame/pkg-plist
new file mode 100644
index 000000000000..0fc0cf5c107e
--- /dev/null
+++ b/net/p5-Net-Frame/pkg-plist
@@ -0,0 +1,17 @@
+%%SITE_PERL%%/Net/Frame.pm
+%%SITE_PERL%%/Net/Frame/Layer.pm
+%%SITE_PERL%%/Net/Frame/Layer/ARP.pm
+%%SITE_PERL%%/Net/Frame/Layer/ETH.pm
+%%SITE_PERL%%/Net/Frame/Layer/IPv4.pm
+%%SITE_PERL%%/Net/Frame/Layer/NULL.pm
+%%SITE_PERL%%/Net/Frame/Layer/PPP.pm
+%%SITE_PERL%%/Net/Frame/Layer/RAW.pm
+%%SITE_PERL%%/Net/Frame/Layer/SLL.pm
+%%SITE_PERL%%/Net/Frame/Layer/TCP.pm
+%%SITE_PERL%%/Net/Frame/Layer/UDP.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Frame/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Frame
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
+@dirrm %%SITE_PERL%%/Net/Frame/Layer
+@dirrmtry %%SITE_PERL%%/Net/Frame
+@dirrmtry %%SITE_PERL%%/Net