pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/p5-Net-Write Net::Write provides a portable interf...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/79ed0ae0db39
branches:  trunk
changeset: 523196:79ed0ae0db39
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Wed Jan 03 14:09:28 2007 +0000

description:
Net::Write provides a portable interface to open a network interface, and be
able to write raw data directly to the network. It juste provides three methods
when a Net::Write object has been created for an interface: open, send, close.

It is possible to open a network interface to send frames at layer 2 (you craft
a frame from link layer), or at layer 3 (you craft a frame from network layer),
or at layer 4 (you craft a frame from transport layer).

NOTE: not all operating systems support all layer opening. Currently, Windows
only supports opening and sending at layer 2. Other Unix systems should be able
to open and send at all layers.

diffstat:

 net/p5-Net-Write/DESCR    |  11 +++++++++++
 net/p5-Net-Write/Makefile |  21 +++++++++++++++++++++
 net/p5-Net-Write/PLIST    |   1 +
 net/p5-Net-Write/distinfo |   5 +++++
 4 files changed, 38 insertions(+), 0 deletions(-)

diffs (54 lines):

diff -r c39a1965d8f9 -r 79ed0ae0db39 net/p5-Net-Write/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/p5-Net-Write/DESCR    Wed Jan 03 14:09:28 2007 +0000
@@ -0,0 +1,11 @@
+Net::Write provides a portable interface to open a network interface, and be
+able to write raw data directly to the network. It juste provides three methods
+when a Net::Write object has been created for an interface: open, send, close.
+
+It is possible to open a network interface to send frames at layer 2 (you craft
+a frame from link layer), or at layer 3 (you craft a frame from network layer),
+or at layer 4 (you craft a frame from transport layer).
+
+NOTE: not all operating systems support all layer opening. Currently, Windows
+only supports opening and sending at layer 2. Other Unix systems should be able
+to open and send at all layers.
diff -r c39a1965d8f9 -r 79ed0ae0db39 net/p5-Net-Write/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/p5-Net-Write/Makefile Wed Jan 03 14:09:28 2007 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/01/03 14:09:28 adrianp Exp $
+#
+
+DISTNAME=      Net-Write-1.00
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    net
+MASTER_SITES=  http://search.cpan.org/CPAN/authors/id/G/GO/GOMOR/
+
+MAINTAINER=    adrianp%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/CPAN/authors/id/G/GO/GOMOR/
+COMMENT=       Portable interface to open and send raw data to network
+
+DEPENDS+=      p5-Class-Gomor-[0-9]*:../../devel/p5-Class-Gomor
+DEPENDS+=      p5-Net-Pcap>=0.12:../../net/p5-Net-Pcap
+DEPENDS+=      p5-Socket6-[0-9]*:../../net/p5-Socket6
+
+PERL5_PACKLIST=        auto/Net/Write/.packlist
+USE_LANGUAGES= # none
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c39a1965d8f9 -r 79ed0ae0db39 net/p5-Net-Write/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/p5-Net-Write/PLIST    Wed Jan 03 14:09:28 2007 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/01/03 14:09:28 adrianp Exp $
diff -r c39a1965d8f9 -r 79ed0ae0db39 net/p5-Net-Write/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/p5-Net-Write/distinfo Wed Jan 03 14:09:28 2007 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/01/03 14:09:28 adrianp Exp $
+
+SHA1 (Net-Write-1.00.tar.gz) = 4362f4016b1a6302a5eb3befbff4cc27d95af56c
+RMD160 (Net-Write-1.00.tar.gz) = 9fc612edeaa1c7489b6aeb2a96cbc972d897492d
+Size (Net-Write-1.00.tar.gz) = 7962 bytes



Home | Main Index | Thread Index | Old Index