mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
- Add p5-Net-Packet 2.03, a framework to easily send and receive frames from
layer 2 to layer 7. PR: ports/77095 Submitted by: GomoR <gomor@enslaved.homeunix.org>
This commit is contained in:
parent
c9adf29fa4
commit
59aeb02070
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=131344
@ -485,6 +485,7 @@
|
||||
SUBDIR += p5-Net-MSN
|
||||
SUBDIR += p5-Net-MovableType
|
||||
SUBDIR += p5-Net-OSCAR
|
||||
SUBDIR += p5-Net-Packet
|
||||
SUBDIR += p5-Net-ParseWhois
|
||||
SUBDIR += p5-Net-Patricia
|
||||
SUBDIR += p5-Net-Pcap
|
||||
|
58
net/p5-Net-Packet/Makefile
Normal file
58
net/p5-Net-Packet/Makefile
Normal file
@ -0,0 +1,58 @@
|
||||
# New ports collection makefile for: Net-Packet
|
||||
# Date created: 01 Feb 2005
|
||||
# Whom: GomoR <netpkt@gomor.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Net-Packet
|
||||
PORTVERSION= 2.03
|
||||
CATEGORIES= net perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
|
||||
http://www.gomor.org/netpkt/
|
||||
MASTER_SITE_SUBDIR= Net
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= netpkt@gomor.org
|
||||
COMMENT= A framework to easily send and receive frames from layer 2 to layer 7
|
||||
|
||||
BUILD_DEPENDS= ${SITE_PERL}/Class/Gomor/Hash.pm:${PORTSDIR}/devel/p5-Class-Gomor-Hash \
|
||||
${SITE_PERL}/${PERL_ARCH}/IO/Interface.pm:${PORTSDIR}/net/p5-IO-Interface \
|
||||
${SITE_PERL}/Net/IPv6Addr.pm:${PORTSDIR}/net-mgmt/p5-Net-IPv6Addr \
|
||||
${SITE_PERL}/${PERL_ARCH}/Net/Pcap.pm:${PORTSDIR}/net/p5-Net-Pcap \
|
||||
${SITE_PERL}/${PERL_ARCH}/Socket6.pm:${PORTSDIR}/net/p5-Socket6 \
|
||||
${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
ONLY_FOR_ARCHS= i386
|
||||
|
||||
MAN3= Net::Packet.3 \
|
||||
Net::Packet::ARP.3 \
|
||||
Net::Packet::Consts.3 \
|
||||
Net::Packet::Desc.3 \
|
||||
Net::Packet::DescL2.3 \
|
||||
Net::Packet::DescL3.3 \
|
||||
Net::Packet::DescL4.3 \
|
||||
Net::Packet::Dump.3 \
|
||||
Net::Packet::ETH.3 \
|
||||
Net::Packet::Env.3 \
|
||||
Net::Packet::Frame.3 \
|
||||
Net::Packet::ICMPv4.3 \
|
||||
Net::Packet::IPv4.3 \
|
||||
Net::Packet::IPv6.3 \
|
||||
Net::Packet::Layer.3 \
|
||||
Net::Packet::Layer2.3 \
|
||||
Net::Packet::Layer3.3 \
|
||||
Net::Packet::Layer4.3 \
|
||||
Net::Packet::Layer7.3 \
|
||||
Net::Packet::NULL.3 \
|
||||
Net::Packet::RAW.3 \
|
||||
Net::Packet::SLL.3 \
|
||||
Net::Packet::TCP.3 \
|
||||
Net::Packet::UDP.3 \
|
||||
Net::Packet::Utils.3 \
|
||||
Net::Packet::VLAN.3 \
|
||||
Net::Pkt.3
|
||||
|
||||
.include <bsd.port.mk>
|
2
net/p5-Net-Packet/distinfo
Normal file
2
net/p5-Net-Packet/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (Net-Packet-2.03.tar.gz) = 4af49a8b8c293d47fa3abf3bed3cd008
|
||||
SIZE (Net-Packet-2.03.tar.gz) = 50976
|
13
net/p5-Net-Packet/pkg-descr
Normal file
13
net/p5-Net-Packet/pkg-descr
Normal file
@ -0,0 +1,13 @@
|
||||
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.
|
||||
|
||||
WWW: http://search.cpan.org/~gomor/
|
||||
|
||||
- GomoR
|
||||
netpkt@gomor.org
|
35
net/p5-Net-Packet/pkg-plist
Normal file
35
net/p5-Net-Packet/pkg-plist
Normal file
@ -0,0 +1,35 @@
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Net/Packet.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Net/Packet/ARP.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Net/Packet/Consts.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Net/Packet/Desc.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Net/Packet/DescL2.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Net/Packet/DescL3.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Net/Packet/DescL4.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Net/Packet/Dump.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Net/Packet/ETH.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Net/Packet/Env.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Net/Packet/Frame.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Net/Packet/ICMPv4.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Net/Packet/IPv4.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Net/Packet/IPv6.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Net/Packet/Layer.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Net/Packet/Layer2.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Net/Packet/Layer3.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Net/Packet/Layer4.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Net/Packet/Layer7.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Net/Packet/NULL.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Net/Packet/RAW.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Net/Packet/SLL.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Net/Packet/TCP.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Net/Packet/UDP.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Net/Packet/Utils.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Net/Packet/VLAN.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Net/Pkt.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Packet/.packlist
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Packet/Packet.bs
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Packet/Packet.so
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Packet/autosplit.ix
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Net/Packet
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Packet
|
||||
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Net 2>/dev/null || true
|
||||
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true
|
Loading…
Reference in New Issue
Block a user