summaryrefslogtreecommitdiff
path: root/net/p5-Net-Packet
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2005-08-13 08:11:17 +0000
committeradrianp <adrianp@pkgsrc.org>2005-08-13 08:11:17 +0000
commitb2b2b75ac1b402e2d19e9594647b47ab7f5a1ee5 (patch)
tree4ce2c28b5023d58fa0e26b3fdd897ace0256d895 /net/p5-Net-Packet
parent1936d21d3dea8e44f8ac1a30d3d39db7a7ac4638 (diff)
downloadpkgsrc-b2b2b75ac1b402e2d19e9594647b47ab7f5a1ee5.tar.gz
This module is a unified framework to craft, send and receive packets at
layers 2, 3, 4 and 7. Basically, you forge each layer of a frame (Net::Packet::IPv4 for layer 3, Net::Packet::TCP for layer 4 ; for example), and pack all of this into a Net::Packet::Frame object. Then, you can send the frame to the network, and receive it easily, since the response is automatically searched for and matched against the request.
Diffstat (limited to 'net/p5-Net-Packet')
-rw-r--r--net/p5-Net-Packet/DESCR8
-rw-r--r--net/p5-Net-Packet/Makefile25
-rw-r--r--net/p5-Net-Packet/PLIST1
-rw-r--r--net/p5-Net-Packet/distinfo5
4 files changed, 39 insertions, 0 deletions
diff --git a/net/p5-Net-Packet/DESCR b/net/p5-Net-Packet/DESCR
new file mode 100644
index 00000000000..9643c3842c6
--- /dev/null
+++ b/net/p5-Net-Packet/DESCR
@@ -0,0 +1,8 @@
+This module is a unified framework to craft, send and receive packets at
+layers 2, 3, 4 and 7.
+
+Basically, you forge each layer of a frame (Net::Packet::IPv4 for layer 3,
+Net::Packet::TCP for layer 4 ; for example), and pack all of this into a
+Net::Packet::Frame object. Then, you can send the frame to the network, and
+receive it easily, since the response is automatically searched for and
+matched against the request.
diff --git a/net/p5-Net-Packet/Makefile b/net/p5-Net-Packet/Makefile
new file mode 100644
index 00000000000..0dee717d0af
--- /dev/null
+++ b/net/p5-Net-Packet/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/08/13 08:11:17 adrianp Exp $
+
+DISTNAME= Net-Packet-2.04
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= net perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/}
+
+MAINTAINER= adrianp@NetBSD.org
+COMMENT= Modules to assemble/disassemble network packets
+
+DEPENDS+= p5-Net-Pcap>0.04:../../net/p5-Net-Pcap
+DEPENDS+= p5-IO-Interface-[0-9]*:../../net/p5-IO-Interface
+DEPENDS+= p5-Socket6-[0-9]*:../../net/p5-Socket6
+DEPENDS+= p5-Time-HiRes-[0-9]*:../../time/p5-Time-HiRes
+DEPENDS+= p5-Net-IPv6Addr-[0-9]*:../../net/p5-Net-IPv6Addr
+DEPENDS+= p5-Class-Gomor-Hash-[0-9]*:../../devel/p5-Class-Gomor-Hash
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+BUILDLINK_DEPENDS.libpcap+= libpcap>=0.9.3nb2
+
+PERL5_PACKLIST= auto/Net/Packet/.packlist
+
+.include "../../net/libpcap/buildlink3.mk"
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/p5-Net-Packet/PLIST b/net/p5-Net-Packet/PLIST
new file mode 100644
index 00000000000..1191bc82326
--- /dev/null
+++ b/net/p5-Net-Packet/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/08/13 08:11:17 adrianp Exp $
diff --git a/net/p5-Net-Packet/distinfo b/net/p5-Net-Packet/distinfo
new file mode 100644
index 00000000000..30d0ba31154
--- /dev/null
+++ b/net/p5-Net-Packet/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/08/13 08:11:17 adrianp Exp $
+
+SHA1 (Net-Packet-2.04.tar.gz) = 38bdcf453d4e7665dea98414d6ece2b1a4a4e0ca
+RMD160 (Net-Packet-2.04.tar.gz) = c5bb9638a7e926733d8381cfee3db7e23f1bcf1a
+Size (Net-Packet-2.04.tar.gz) = 50984 bytes