diff options
author | hiramatsu <hiramatsu@pkgsrc.org> | 2012-01-25 09:21:13 +0000 |
---|---|---|
committer | hiramatsu <hiramatsu@pkgsrc.org> | 2012-01-25 09:21:13 +0000 |
commit | bf71eca60f315a5d6b4b61b369c2235902538b6f (patch) | |
tree | ff9a6ea8e6ab4c09ea3ec5862e13da70c5528f9b /net/p5-Net-Frame | |
parent | 421480bc17ce30c20c6d4b8e31394d45c11f3c34 (diff) | |
download | pkgsrc-bf71eca60f315a5d6b4b61b369c2235902538b6f.tar.gz |
Import Net::Frame into net/p5-Net-Frame. This package is provided in
PR pkg/45720.
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.
Net::Frame does ship with basic layers, to start playing.
Diffstat (limited to 'net/p5-Net-Frame')
-rw-r--r-- | net/p5-Net-Frame/DESCR | 14 | ||||
-rw-r--r-- | net/p5-Net-Frame/Makefile | 25 | ||||
-rw-r--r-- | net/p5-Net-Frame/distinfo | 5 |
3 files changed, 44 insertions, 0 deletions
diff --git a/net/p5-Net-Frame/DESCR b/net/p5-Net-Frame/DESCR new file mode 100644 index 00000000000..49a725fda99 --- /dev/null +++ b/net/p5-Net-Frame/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. + +Net::Frame does ship with basic layers, to start playing. diff --git a/net/p5-Net-Frame/Makefile b/net/p5-Net-Frame/Makefile new file mode 100644 index 00000000000..ec642817c2b --- /dev/null +++ b/net/p5-Net-Frame/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1.1.1 2012/01/25 09:21:13 hiramatsu Exp $ + +DISTNAME= Net-Frame-1.07 +PKGNAME= p5-${DISTNAME} +CATEGORIES= net perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/} + +MAINTAINER= pkgsrc-users@NetBSD.org +COMMENT= The base framework for frame crafting +HOMEPAGE= http://search.cpan.org/dist/Net-Frame/ +LICENSE= artistic + +DEPENDS+= p5-Class-Gomor>=1.0:../../devel/p5-Class-Gomor +DEPENDS+= p5-Socket6-[0-9]*:../../net/p5-Socket6 +DEPENDS+= p5-Net-IPv6Addr-[0-9]*:../../net/p5-Net-IPv6Addr +DEPENDS+= p5-Bit-Vector-[0-9]*:../../devel/p5-Bit-Vector +SUPERSEDES+= p5-Net-Packet-[0-9]* + +PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir + +PERL5_PACKLIST= auto/Net/Frame/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/p5-Net-Frame/distinfo b/net/p5-Net-Frame/distinfo new file mode 100644 index 00000000000..107fa6b5643 --- /dev/null +++ b/net/p5-Net-Frame/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2012/01/25 09:21:13 hiramatsu Exp $ + +SHA1 (Net-Frame-1.07.tar.gz) = 075076ffb46a340e260e156b744c6a300616bcf1 +RMD160 (Net-Frame-1.07.tar.gz) = a0d7fd61336821d05071fb9a7713ff7ee225b350 +Size (Net-Frame-1.07.tar.gz) = 20870 bytes |