mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
A C library for creating IP packets.
PR: 9901 Submitted by: Peter Shipley <shipley@dis.org>
This commit is contained in:
parent
946cd53ba8
commit
253c687d8f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=18620
44
net/libnet/Makefile
Normal file
44
net/libnet/Makefile
Normal file
@ -0,0 +1,44 @@
|
||||
# Ports collection makefile for: libnet
|
||||
# Version required: 0.9
|
||||
# Date created: Sun Feb 3, 1999
|
||||
# Whom: shipley@dis.org
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
DISTNAME= libnet-0.99a
|
||||
PKGNAME= libnet-0.9.2
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.packetfactory.net/libnet/dist/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= shipley@dis.org
|
||||
|
||||
MAN3= libnet.3
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
#NOPROFILE= true
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.if ${OSVERSION} <= 300000
|
||||
BROKEN= does not build
|
||||
.endif
|
||||
|
||||
WRKSRC= ${WRKDIR}/Libnet-0.99a
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${PREFIX}/share/doc/libnet
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/PORTS ${PREFIX}/share/doc/libnet
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/README ${PREFIX}/share/doc/libnet
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/README.asn.1 ${PREFIX}/share/doc/libnet
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/README.bpf ${PREFIX}/share/doc/libnet
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/README.examples ${PREFIX}/share/doc/libnet
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/README.linux ${PREFIX}/share/doc/libnet
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/README.rawsockets ${PREFIX}/share/doc/libnet
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/README.stubs ${PREFIX}/share/doc/libnet
|
||||
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
1
net/libnet/distinfo
Normal file
1
net/libnet/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (libnet-0.99a.tgz) = c7c9068e9ff7291af9ac7f84531e6a4f
|
11
net/libnet/files/patch-aa
Normal file
11
net/libnet/files/patch-aa
Normal file
@ -0,0 +1,11 @@
|
||||
--- configure.orig Fri Apr 16 12:43:19 1999
|
||||
+++ configure Fri May 7 15:57:21 1999
|
||||
@@ -1519,7 +1519,7 @@
|
||||
EOF
|
||||
|
||||
MAN_PREFIX="$prefix/man/man3/"
|
||||
- LIB_PREFIX="$prefix/lib/aout"
|
||||
+ LIB_PREFIX="$prefix/lib/"
|
||||
INC_PREFIX="$prefix/include/"
|
||||
BIN_PREFIX="$prefix/bin/"
|
||||
ln -sf FreeBSD support/bpf-lkm/etherspoof
|
11
net/libnet/files/patch-ab
Normal file
11
net/libnet/files/patch-ab
Normal file
@ -0,0 +1,11 @@
|
||||
--- Makefile.in.orig Fri May 7 16:02:05 1999
|
||||
+++ Makefile.in Fri May 7 16:02:15 1999
|
||||
@@ -65,7 +65,7 @@
|
||||
$(ENSUREDIR) $(DESTDIR)@MAN_PREFIX@ 755
|
||||
$(ENSUREDIR) $(DESTDIR)@BIN_PREFIX@ 755
|
||||
$(INSTALL) -c -m 0644 $(LIB) $(DESTDIR)@LIB_PREFIX@
|
||||
- $(LN) -sf $(DESTDIR)@LIB_PREFIX@$(LIBNET).a $(DESTDIR)@LIB_PREFIX@$(LIBPWRITE)
|
||||
+# $(LN) -sf $(DESTDIR)@LIB_PREFIX@$(LIBNET).a $(DESTDIR)@LIB_PREFIX@$(LIBPWRITE)
|
||||
$(INSTALL) -c -m 0644 $(INCLUDE) $(DESTDIR)@INC_PREFIX@
|
||||
$(INSTALL) -c -m 0644 $(INCLUDE-H) $(DESTDIR)@INC_PREFIX@
|
||||
$(INSTALL) -c -m 0644 $(INCLUDE-ASN) $(DESTDIR)@INC_PREFIX@
|
1
net/libnet/pkg-comment
Normal file
1
net/libnet/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A C library to for IP packet creation
|
18
net/libnet/pkg-descr
Normal file
18
net/libnet/pkg-descr
Normal file
@ -0,0 +1,18 @@
|
||||
Libnet A C library for portable packet creation
|
||||
|
||||
domains of sockets and protocols.
|
||||
|
||||
A C library for portable packet creation
|
||||
|
||||
Included are also simple example test programs
|
||||
|
||||
|
||||
Libnet is a collection of routines to help with the construction
|
||||
and handling of network packets. It provides a portable framework
|
||||
for low-level network packet writing and handling.
|
||||
|
||||
Libnet features portable packet creation interfaces at the IP layer
|
||||
and link layer, as well as a host of supplementary and complementary
|
||||
functionality.
|
||||
|
||||
See http://www.infonexus.com/~daemon9/Projects/Libnet/ for more info
|
13
net/libnet/pkg-plist
Normal file
13
net/libnet/pkg-plist
Normal file
@ -0,0 +1,13 @@
|
||||
include/libnet.h
|
||||
include/libnet-headers.h
|
||||
include/libnet-asn1.h
|
||||
lib/libnet.a
|
||||
share/doc/libnet/PORTS
|
||||
share/doc/libnet/README
|
||||
share/doc/libnet/README.asn.1
|
||||
share/doc/libnet/README.bpf
|
||||
share/doc/libnet/README.examples
|
||||
share/doc/libnet/README.linux
|
||||
share/doc/libnet/README.rawsockets
|
||||
share/doc/libnet/README.stubs
|
||||
@dirrm share/doc/libnet
|
44
net/libnet10/Makefile
Normal file
44
net/libnet10/Makefile
Normal file
@ -0,0 +1,44 @@
|
||||
# Ports collection makefile for: libnet
|
||||
# Version required: 0.9
|
||||
# Date created: Sun Feb 3, 1999
|
||||
# Whom: shipley@dis.org
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
DISTNAME= libnet-0.99a
|
||||
PKGNAME= libnet-0.9.2
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.packetfactory.net/libnet/dist/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= shipley@dis.org
|
||||
|
||||
MAN3= libnet.3
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
#NOPROFILE= true
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.if ${OSVERSION} <= 300000
|
||||
BROKEN= does not build
|
||||
.endif
|
||||
|
||||
WRKSRC= ${WRKDIR}/Libnet-0.99a
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${PREFIX}/share/doc/libnet
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/PORTS ${PREFIX}/share/doc/libnet
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/README ${PREFIX}/share/doc/libnet
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/README.asn.1 ${PREFIX}/share/doc/libnet
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/README.bpf ${PREFIX}/share/doc/libnet
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/README.examples ${PREFIX}/share/doc/libnet
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/README.linux ${PREFIX}/share/doc/libnet
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/README.rawsockets ${PREFIX}/share/doc/libnet
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/README.stubs ${PREFIX}/share/doc/libnet
|
||||
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
1
net/libnet10/distinfo
Normal file
1
net/libnet10/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (libnet-0.99a.tgz) = c7c9068e9ff7291af9ac7f84531e6a4f
|
11
net/libnet10/files/patch-aa
Normal file
11
net/libnet10/files/patch-aa
Normal file
@ -0,0 +1,11 @@
|
||||
--- configure.orig Fri Apr 16 12:43:19 1999
|
||||
+++ configure Fri May 7 15:57:21 1999
|
||||
@@ -1519,7 +1519,7 @@
|
||||
EOF
|
||||
|
||||
MAN_PREFIX="$prefix/man/man3/"
|
||||
- LIB_PREFIX="$prefix/lib/aout"
|
||||
+ LIB_PREFIX="$prefix/lib/"
|
||||
INC_PREFIX="$prefix/include/"
|
||||
BIN_PREFIX="$prefix/bin/"
|
||||
ln -sf FreeBSD support/bpf-lkm/etherspoof
|
11
net/libnet10/files/patch-ab
Normal file
11
net/libnet10/files/patch-ab
Normal file
@ -0,0 +1,11 @@
|
||||
--- Makefile.in.orig Fri May 7 16:02:05 1999
|
||||
+++ Makefile.in Fri May 7 16:02:15 1999
|
||||
@@ -65,7 +65,7 @@
|
||||
$(ENSUREDIR) $(DESTDIR)@MAN_PREFIX@ 755
|
||||
$(ENSUREDIR) $(DESTDIR)@BIN_PREFIX@ 755
|
||||
$(INSTALL) -c -m 0644 $(LIB) $(DESTDIR)@LIB_PREFIX@
|
||||
- $(LN) -sf $(DESTDIR)@LIB_PREFIX@$(LIBNET).a $(DESTDIR)@LIB_PREFIX@$(LIBPWRITE)
|
||||
+# $(LN) -sf $(DESTDIR)@LIB_PREFIX@$(LIBNET).a $(DESTDIR)@LIB_PREFIX@$(LIBPWRITE)
|
||||
$(INSTALL) -c -m 0644 $(INCLUDE) $(DESTDIR)@INC_PREFIX@
|
||||
$(INSTALL) -c -m 0644 $(INCLUDE-H) $(DESTDIR)@INC_PREFIX@
|
||||
$(INSTALL) -c -m 0644 $(INCLUDE-ASN) $(DESTDIR)@INC_PREFIX@
|
1
net/libnet10/pkg-comment
Normal file
1
net/libnet10/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A C library to for IP packet creation
|
18
net/libnet10/pkg-descr
Normal file
18
net/libnet10/pkg-descr
Normal file
@ -0,0 +1,18 @@
|
||||
Libnet A C library for portable packet creation
|
||||
|
||||
domains of sockets and protocols.
|
||||
|
||||
A C library for portable packet creation
|
||||
|
||||
Included are also simple example test programs
|
||||
|
||||
|
||||
Libnet is a collection of routines to help with the construction
|
||||
and handling of network packets. It provides a portable framework
|
||||
for low-level network packet writing and handling.
|
||||
|
||||
Libnet features portable packet creation interfaces at the IP layer
|
||||
and link layer, as well as a host of supplementary and complementary
|
||||
functionality.
|
||||
|
||||
See http://www.infonexus.com/~daemon9/Projects/Libnet/ for more info
|
13
net/libnet10/pkg-plist
Normal file
13
net/libnet10/pkg-plist
Normal file
@ -0,0 +1,13 @@
|
||||
include/libnet.h
|
||||
include/libnet-headers.h
|
||||
include/libnet-asn1.h
|
||||
lib/libnet.a
|
||||
share/doc/libnet/PORTS
|
||||
share/doc/libnet/README
|
||||
share/doc/libnet/README.asn.1
|
||||
share/doc/libnet/README.bpf
|
||||
share/doc/libnet/README.examples
|
||||
share/doc/libnet/README.linux
|
||||
share/doc/libnet/README.rawsockets
|
||||
share/doc/libnet/README.stubs
|
||||
@dirrm share/doc/libnet
|
Loading…
Reference in New Issue
Block a user