aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2007-01-09 09:55:40 +0800
committerclsung <clsung@FreeBSD.org>2007-01-09 09:55:40 +0800
commit6e3def5f2dc6d10bb5550dd9d14679f9bff28f10 (patch)
tree5c48382215a1d23addf07a7bd6e8e9fc5ffe4e57 /net
parent8da35664931c2756d1061d00cc232112c654df71 (diff)
downloadfreebsd-ports-gnome-6e3def5f2dc6d10bb5550dd9d14679f9bff28f10.tar.gz
freebsd-ports-gnome-6e3def5f2dc6d10bb5550dd9d14679f9bff28f10.tar.zst
freebsd-ports-gnome-6e3def5f2dc6d10bb5550dd9d14679f9bff28f10.zip
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/
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-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
5 files changed, 78 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 5667a9eb761f..dc94202d43c8 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -447,6 +447,7 @@
SUBDIR += p5-Net-FS-Gmail
SUBDIR += p5-Net-FTP-File
SUBDIR += p5-Net-Finger
+ SUBDIR += p5-Net-Frame
SUBDIR += p5-Net-Gnats
SUBDIR += p5-Net-Google
SUBDIR += p5-Net-Google-Calendar
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