pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/p5-Net-Packet This module is a unified framework t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/76e51215a7b2
branches:  trunk
changeset: 498131:76e51215a7b2
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Sat Aug 13 08:11:17 2005 +0000

description:
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:

 net/p5-Net-Packet/DESCR    |   8 ++++++++
 net/p5-Net-Packet/Makefile |  25 +++++++++++++++++++++++++
 net/p5-Net-Packet/PLIST    |   1 +
 net/p5-Net-Packet/distinfo |   5 +++++
 4 files changed, 39 insertions(+), 0 deletions(-)

diffs (55 lines):

diff -r 407a9413dca0 -r 76e51215a7b2 net/p5-Net-Packet/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/p5-Net-Packet/DESCR   Sat Aug 13 08:11:17 2005 +0000
@@ -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 -r 407a9413dca0 -r 76e51215a7b2 net/p5-Net-Packet/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/p5-Net-Packet/Makefile        Sat Aug 13 08:11:17 2005 +0000
@@ -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@localhost
+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 -r 407a9413dca0 -r 76e51215a7b2 net/p5-Net-Packet/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/p5-Net-Packet/PLIST   Sat Aug 13 08:11:17 2005 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/08/13 08:11:17 adrianp Exp $
diff -r 407a9413dca0 -r 76e51215a7b2 net/p5-Net-Packet/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/p5-Net-Packet/distinfo        Sat Aug 13 08:11:17 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index