From a997a544db94714a138d2ab81bc9feee420209ea Mon Sep 17 00:00:00 2001 From: steve Date: Sun, 9 May 1999 01:16:35 +0000 Subject: A C library for creating IP packets. PR: 9901 Submitted by: Peter Shipley --- net/libnet10/Makefile | 44 ++++++++++++++++++++++++++++++++++++++++++++ net/libnet10/distinfo | 1 + net/libnet10/files/patch-aa | 11 +++++++++++ net/libnet10/files/patch-ab | 11 +++++++++++ net/libnet10/pkg-comment | 1 + net/libnet10/pkg-descr | 18 ++++++++++++++++++ net/libnet10/pkg-plist | 13 +++++++++++++ 7 files changed, 99 insertions(+) create mode 100644 net/libnet10/Makefile create mode 100644 net/libnet10/distinfo create mode 100644 net/libnet10/files/patch-aa create mode 100644 net/libnet10/files/patch-ab create mode 100644 net/libnet10/pkg-comment create mode 100644 net/libnet10/pkg-descr create mode 100644 net/libnet10/pkg-plist (limited to 'net/libnet10') 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 +.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 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 -- cgit