diff options
-rw-r--r-- | net/p5-Net-Write/DESCR | 11 | ||||
-rw-r--r-- | net/p5-Net-Write/Makefile | 21 | ||||
-rw-r--r-- | net/p5-Net-Write/PLIST | 1 | ||||
-rw-r--r-- | net/p5-Net-Write/distinfo | 5 |
4 files changed, 38 insertions, 0 deletions
diff --git a/net/p5-Net-Write/DESCR b/net/p5-Net-Write/DESCR new file mode 100644 index 00000000000..5296a57c0af --- /dev/null +++ b/net/p5-Net-Write/DESCR @@ -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 --git a/net/p5-Net-Write/Makefile b/net/p5-Net-Write/Makefile new file mode 100644 index 00000000000..bd2768c4748 --- /dev/null +++ b/net/p5-Net-Write/Makefile @@ -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 +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 --git a/net/p5-Net-Write/PLIST b/net/p5-Net-Write/PLIST new file mode 100644 index 00000000000..b137ad2b4e5 --- /dev/null +++ b/net/p5-Net-Write/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/01/03 14:09:28 adrianp Exp $ diff --git a/net/p5-Net-Write/distinfo b/net/p5-Net-Write/distinfo new file mode 100644 index 00000000000..9bc957a12cc --- /dev/null +++ b/net/p5-Net-Write/distinfo @@ -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 |