aboutsummaryrefslogtreecommitdiff
path: root/net/libnet10
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-05-09 01:16:35 +0000
committerSteve Price <steve@FreeBSD.org>1999-05-09 01:16:35 +0000
commit253c687d8f6c5aaa8641906aec378c2e8e05d0df (patch)
treee8a2134daeb45fc516dd0fdae291bb2a96432d94 /net/libnet10
parent946cd53ba8539a211f7981e2a86a03117bd35807 (diff)
downloadports-253c687d8f6c5aaa8641906aec378c2e8e05d0df.tar.gz
ports-253c687d8f6c5aaa8641906aec378c2e8e05d0df.zip
Notes
Diffstat (limited to 'net/libnet10')
-rw-r--r--net/libnet10/Makefile44
-rw-r--r--net/libnet10/distinfo1
-rw-r--r--net/libnet10/files/patch-aa11
-rw-r--r--net/libnet10/files/patch-ab11
-rw-r--r--net/libnet10/pkg-comment1
-rw-r--r--net/libnet10/pkg-descr18
-rw-r--r--net/libnet10/pkg-plist13
7 files changed, 99 insertions, 0 deletions
diff --git a/net/libnet10/Makefile b/net/libnet10/Makefile
new file mode 100644
index 000000000000..2e643d91800b
--- /dev/null
+++ b/net/libnet10/Makefile
@@ -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>
diff --git a/net/libnet10/distinfo b/net/libnet10/distinfo
new file mode 100644
index 000000000000..574196a24ab7
--- /dev/null
+++ b/net/libnet10/distinfo
@@ -0,0 +1 @@
+MD5 (libnet-0.99a.tgz) = c7c9068e9ff7291af9ac7f84531e6a4f
diff --git a/net/libnet10/files/patch-aa b/net/libnet10/files/patch-aa
new file mode 100644
index 000000000000..9f184138bed3
--- /dev/null
+++ b/net/libnet10/files/patch-aa
@@ -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
diff --git a/net/libnet10/files/patch-ab b/net/libnet10/files/patch-ab
new file mode 100644
index 000000000000..24cb0d15a8d3
--- /dev/null
+++ b/net/libnet10/files/patch-ab
@@ -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@
diff --git a/net/libnet10/pkg-comment b/net/libnet10/pkg-comment
new file mode 100644
index 000000000000..cdf1a10950cb
--- /dev/null
+++ b/net/libnet10/pkg-comment
@@ -0,0 +1 @@
+A C library to for IP packet creation
diff --git a/net/libnet10/pkg-descr b/net/libnet10/pkg-descr
new file mode 100644
index 000000000000..5346df1360c8
--- /dev/null
+++ b/net/libnet10/pkg-descr
@@ -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
diff --git a/net/libnet10/pkg-plist b/net/libnet10/pkg-plist
new file mode 100644
index 000000000000..545ef0f44f3d
--- /dev/null
+++ b/net/libnet10/pkg-plist
@@ -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