diff --git a/net/libnet/Makefile b/net/libnet/Makefile new file mode 100644 index 00000000000..64c2edd5647 --- /dev/null +++ b/net/libnet/Makefile @@ -0,0 +1,25 @@ +# OpenBSD makefile for: libnet +# Version required: 0.10a +# Date created: 1998-Jan-16 +# Whom: dugsong@OpenBSD.ORG +# +# $OpenBSD: Makefile,v 1.1.1.1 1999/02/25 17:02:34 dugsong Exp $ +# + +PKGNAME= libnet-0.10a +DISTNAME= libnet + +CATEGORIES= net + +MASTER_SITES= http://www.infonexus.com/~daemon9/Projects/Libnet/ + +MAINTAINER= dugsong@monkey.org + +GNU_CONFIGURE= yes + +WRKSRC= ${WRKDIR}/Libnet + +post-extract: + @chmod 755 ${WRKDIR}/Libnet/src/CVS + +.include diff --git a/net/libnet/files/md5 b/net/libnet/files/md5 new file mode 100644 index 00000000000..0ffa2bea487 --- /dev/null +++ b/net/libnet/files/md5 @@ -0,0 +1 @@ +MD5 (libnet.tar.gz) = a0f506dee74d464db87dd4558c3e286a diff --git a/net/libnet/patches/patch-aa b/net/libnet/patches/patch-aa new file mode 100644 index 00000000000..483ac6b2c2f --- /dev/null +++ b/net/libnet/patches/patch-aa @@ -0,0 +1,46 @@ +*** Makefile.in~ Thu Feb 25 11:13:47 1999 +--- Makefile.in Thu Feb 25 11:20:41 1999 +*************** +*** 9,15 **** + # Disabled: Doesn't. + # default: disabled. + DEFINES += #-D__DEBUG +! prefix = @prefix@ + srcdir = @srcdir@ + + LIBNET = libnet +--- 9,15 ---- + # Disabled: Doesn't. + # default: disabled. + DEFINES += #-D__DEBUG +! PREFIX = @prefix@ + srcdir = @srcdir@ + + LIBNET = libnet +*************** +*** 55,68 **** + @(cd test/ethernet; make all) + + install: libnet +! $(ENSUREDIR) $(DESTDIR)$(prefix) 755 +! $(ENSUREDIR) $(DESTDIR)@LIB_PREFIX@ 755 +! $(ENSUREDIR) $(DESTDIR)@INC_PREFIX@ 755 +! $(ENSUREDIR) $(DESTDIR)@MAN_PREFIX@ 755 +! $(INSTALL) -c -m 0644 $(LIB) $(DESTDIR)@LIB_PREFIX@ +! $(INSTALL) -c -m 0644 $(INCLUDE) $(DESTDIR)@INC_PREFIX@ +! $(INSTALL) -c -m 0644 $(INCLUDE-H) $(DESTDIR)@INC_PREFIX@ +! $(INSTALL) -c -m 0644 $(MAN) $(DESTDIR)@MAN_PREFIX@ + + clean: + rm -f *.core src/*.o $(LIB) +--- 55,64 ---- + @(cd test/ethernet; make all) + + install: libnet +! $(INSTALL) -c -m 0644 $(LIB) $(PREFIX)/lib +! $(INSTALL) -c -m 0644 $(INCLUDE) $(PREFIX)/include +! $(INSTALL) -c -m 0644 $(INCLUDE-H) $(PREFIX)/include +! $(INSTALL) -c -m 0644 $(MAN) $(PREFIX)/man/man3 + + clean: + rm -f *.core src/*.o $(LIB) diff --git a/net/libnet/pkg/COMMENT b/net/libnet/pkg/COMMENT new file mode 100644 index 00000000000..bf07fbb4c27 --- /dev/null +++ b/net/libnet/pkg/COMMENT @@ -0,0 +1 @@ +Raw IP packet construction library. diff --git a/net/libnet/pkg/DESCR b/net/libnet/pkg/DESCR new file mode 100644 index 00000000000..bf07fbb4c27 --- /dev/null +++ b/net/libnet/pkg/DESCR @@ -0,0 +1 @@ +Raw IP packet construction library. diff --git a/net/libnet/pkg/PLIST b/net/libnet/pkg/PLIST new file mode 100644 index 00000000000..47c694928ce --- /dev/null +++ b/net/libnet/pkg/PLIST @@ -0,0 +1,4 @@ +lib/libnet.a +include/libnet.h +include/libnet-headers.h +man/man3/libnet.3