Raw IP packet construction library

This commit is contained in:
dugsong 1999-02-25 17:02:34 +00:00
parent d98c804b2e
commit 461ccea306
6 changed files with 78 additions and 0 deletions

25
net/libnet/Makefile Normal file
View File

@ -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 <bsd.port.mk>

1
net/libnet/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (libnet.tar.gz) = a0f506dee74d464db87dd4558c3e286a

View File

@ -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)

1
net/libnet/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
Raw IP packet construction library.

1
net/libnet/pkg/DESCR Normal file
View File

@ -0,0 +1 @@
Raw IP packet construction library.

4
net/libnet/pkg/PLIST Normal file
View File

@ -0,0 +1,4 @@
lib/libnet.a
include/libnet.h
include/libnet-headers.h
man/man3/libnet.3