Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Feb 1999 18:39:11 -0800 (PST)
From:      shipley@dis.org
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/9901: New port net/libnet
Message-ID:  <199902040239.SAA11870@dipshit.dis.org>

next in thread | raw e-mail | index | archive | help

>Number:         9901
>Category:       ports
>Synopsis:       New port net/libnet
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb  3 18:40:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Peter Shipley
>Release:        FreeBSD 3.0-RELEASE i386
>Organization:
KPMG
>Environment:

	FreeBSD systems in a networked envioment

>Description:



	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.


	See  http://www.infonexus.com/~daemon9/Projects/Libnet/ for more info

>How-To-Repeat:

	

>Fix:
	


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	Libnet
#	Libnet/CVS
#	Libnet/CVS/Root
#	Libnet/CVS/Repository
#	Libnet/CVS/Entries
#	Libnet/files
#	Libnet/files/CVS
#	Libnet/files/CVS/Root
#	Libnet/files/CVS/Repository
#	Libnet/files/CVS/Entries
#	Libnet/files/md5
#	Libnet/patches
#	Libnet/patches/CVS
#	Libnet/patches/CVS/Root
#	Libnet/patches/CVS/Repository
#	Libnet/patches/CVS/Entries
#	Libnet/patches/patch-aa
#	Libnet/patches/patch-ab
#	Libnet/patches/patch-ac
#	Libnet/pkg
#	Libnet/pkg/CVS
#	Libnet/pkg/CVS/Root
#	Libnet/pkg/CVS/Repository
#	Libnet/pkg/CVS/Entries
#	Libnet/pkg/COMMENT
#	Libnet/pkg/DESCR
#	Libnet/pkg/PLIST
#	Libnet/Makefile
#
echo c - Libnet
mkdir -p Libnet > /dev/null 2>&1
echo c - Libnet/CVS
mkdir -p Libnet/CVS > /dev/null 2>&1
echo x - Libnet/CVS/Root
sed 's/^X//' >Libnet/CVS/Root << 'END-of-Libnet/CVS/Root'
X/home/ncvs
END-of-Libnet/CVS/Root
echo x - Libnet/CVS/Repository
sed 's/^X//' >Libnet/CVS/Repository << 'END-of-Libnet/CVS/Repository'
X/home/ncvs/ports/net/libnet
END-of-Libnet/CVS/Repository
echo x - Libnet/CVS/Entries
sed 's/^X//' >Libnet/CVS/Entries << 'END-of-Libnet/CVS/Entries'
X/Makefile/1.4/Sat Oct 10 03:23:40 1998//
XD/files////
XD/patches////
XD/pkg////
END-of-Libnet/CVS/Entries
echo c - Libnet/files
mkdir -p Libnet/files > /dev/null 2>&1
echo c - Libnet/files/CVS
mkdir -p Libnet/files/CVS > /dev/null 2>&1
echo x - Libnet/files/CVS/Root
sed 's/^X//' >Libnet/files/CVS/Root << 'END-of-Libnet/files/CVS/Root'
X/home/ncvs
END-of-Libnet/files/CVS/Root
echo x - Libnet/files/CVS/Repository
sed 's/^X//' >Libnet/files/CVS/Repository << 'END-of-Libnet/files/CVS/Repository'
X/home/ncvs/ports/net/libnet/files
END-of-Libnet/files/CVS/Repository
echo x - Libnet/files/CVS/Entries
sed 's/^X//' >Libnet/files/CVS/Entries << 'END-of-Libnet/files/CVS/Entries'
X/md5/1.1.1.1/Fri Feb  7 23:54:06 1997//
XD
END-of-Libnet/files/CVS/Entries
echo x - Libnet/files/md5
sed 's/^X//' >Libnet/files/md5 << 'END-of-Libnet/files/md5'
XMD5 (libnet-0.9.tgz) = 3fd5b3e919516191e01aa1927dd53d28
END-of-Libnet/files/md5
echo c - Libnet/patches
mkdir -p Libnet/patches > /dev/null 2>&1
echo c - Libnet/patches/CVS
mkdir -p Libnet/patches/CVS > /dev/null 2>&1
echo x - Libnet/patches/CVS/Root
sed 's/^X//' >Libnet/patches/CVS/Root << 'END-of-Libnet/patches/CVS/Root'
X/home/ncvs
END-of-Libnet/patches/CVS/Root
echo x - Libnet/patches/CVS/Repository
sed 's/^X//' >Libnet/patches/CVS/Repository << 'END-of-Libnet/patches/CVS/Repository'
X/home/ncvs/ports/net/libnet/patches
END-of-Libnet/patches/CVS/Repository
echo x - Libnet/patches/CVS/Entries
sed 's/^X//' >Libnet/patches/CVS/Entries << 'END-of-Libnet/patches/CVS/Entries'
XD
END-of-Libnet/patches/CVS/Entries
echo x - Libnet/patches/patch-aa
sed 's/^X//' >Libnet/patches/patch-aa << 'END-of-Libnet/patches/patch-aa'
X*** configure.old	Tue Jan 12 17:01:25 1999
X--- configure.in	Tue Jan 12 17:01:55 1999
X***************
X*** 127,134 ****
X  *freebsd*)
X          AC_DEFINE(BSDISH_OS)
X          AC_DEFINE(BSD_BYTE_SWAP)
X! 	MAN_PREFIX='/usr/man/man3/'
X! 	LIB_PREFIX='/usr/lib/aout'
X  	ln -sf FreeBSD support/bpf-lkm/etherspoof
X          ;;
X  
X--- 127,134 ----
X  *freebsd*)
X          AC_DEFINE(BSDISH_OS)
X          AC_DEFINE(BSD_BYTE_SWAP)
X! 	MAN_PREFIX='/usr/local/man/man3/'
X! 	LIB_PREFIX='/usr/local/lib/
X  	ln -sf FreeBSD support/bpf-lkm/etherspoof
X          ;;
X  
END-of-Libnet/patches/patch-aa
echo x - Libnet/patches/patch-ab
sed 's/^X//' >Libnet/patches/patch-ab << 'END-of-Libnet/patches/patch-ab'
X*** Makefile.old	Tue Jan 12 17:27:31 1999
X--- Makefile.in	Tue Jan 12 17:27:45 1999
X***************
X*** 49,55 ****
X  
X  install: libnet
X  	$(INSTALL) -c -m 0644 $(LIB) 		@LIB_PREFIX@
X! 	$(INSTALL) -c -m 0644 $(INCLUDE) 	/usr/include/
X  	$(INSTALL) -c -m 0644 $(MAN) 		@MAN_PREFIX@
X  
X  clean:
X--- 49,55 ----
X  
X  install: libnet
X  	$(INSTALL) -c -m 0644 $(LIB) 		@LIB_PREFIX@
X! 	$(INSTALL) -c -m 0644 $(INCLUDE) 	/usr/local/include/
X  	$(INSTALL) -c -m 0644 $(MAN) 		@MAN_PREFIX@
X  
X  clean:
END-of-Libnet/patches/patch-ab
echo x - Libnet/patches/patch-ac
sed 's/^X//' >Libnet/patches/patch-ac << 'END-of-Libnet/patches/patch-ac'
X*** configure.old	Tue Jan 12 17:59:20 1999
X--- configure	Tue Jan 12 17:59:47 1999
X***************
X*** 1208,1215 ****
X  #define BSD_BYTE_SWAP 1
X  EOF
X  
X! 	MAN_PREFIX='/usr/man/man3/'
X! 	LIB_PREFIX='/usr/lib/aout'
X  	ln -sf FreeBSD support/bpf-lkm/etherspoof
X          ;;
X  
X--- 1208,1215 ----
X  #define BSD_BYTE_SWAP 1
X  EOF
X  
X! 	MAN_PREFIX='/usr/local/man/man3/'
X! 	LIB_PREFIX='/usr/local/lib/'
X  	ln -sf FreeBSD support/bpf-lkm/etherspoof
X          ;;
X  
END-of-Libnet/patches/patch-ac
echo c - Libnet/pkg
mkdir -p Libnet/pkg > /dev/null 2>&1
echo c - Libnet/pkg/CVS
mkdir -p Libnet/pkg/CVS > /dev/null 2>&1
echo x - Libnet/pkg/CVS/Root
sed 's/^X//' >Libnet/pkg/CVS/Root << 'END-of-Libnet/pkg/CVS/Root'
X/home/ncvs
END-of-Libnet/pkg/CVS/Root
echo x - Libnet/pkg/CVS/Repository
sed 's/^X//' >Libnet/pkg/CVS/Repository << 'END-of-Libnet/pkg/CVS/Repository'
X/home/ncvs/ports/net/libsocket++/pkg
END-of-Libnet/pkg/CVS/Repository
echo x - Libnet/pkg/CVS/Entries
sed 's/^X//' >Libnet/pkg/CVS/Entries << 'END-of-Libnet/pkg/CVS/Entries'
X/COMMENT/1.1.1.1/Fri Feb  7 23:54:07 1997//
X/DESCR/1.1.1.1/Fri Feb  7 23:54:07 1997//
X/PLIST/1.3/Sat Oct 10 03:23:44 1998//
XD
END-of-Libnet/pkg/CVS/Entries
echo x - Libnet/pkg/COMMENT
sed 's/^X//' >Libnet/pkg/COMMENT << 'END-of-Libnet/pkg/COMMENT'
XA C library to for IP packet creation
END-of-Libnet/pkg/COMMENT
echo x - Libnet/pkg/DESCR
sed 's/^X//' >Libnet/pkg/DESCR << 'END-of-Libnet/pkg/DESCR'
XLibnet  A C library for portable packet creation 
X
Xdomains of sockets and protocols.
X
XA C library for portable packet creation 
X
XIncluded are also simple example test programs
X
X
XLibnet is a collection of routines to help with the construction
Xand handling of network packets. It provides a portable framework
Xfor low-level network packet writing and handling.
X
XLibnet features portable packet creation interfaces at the IP layer
Xand link layer, as well as a host of supplementary and complementary
Xfunctionality.
X
XSee  http://www.infonexus.com/~daemon9/Projects/Libnet/ for more info
END-of-Libnet/pkg/DESCR
echo x - Libnet/pkg/PLIST
sed 's/^X//' >Libnet/pkg/PLIST << 'END-of-Libnet/pkg/PLIST'
Xlib/libnet.a
X@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib
X@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
Xinclude/libnet.h
Xman/man3/libnet.3
Xshare/doc/libnet/CHANGES
Xshare/doc/libnet/PORTS
Xshare/doc/libnet/README
Xshare/doc/libnet/README.bpf
X@dirrm share/doc/libnet
END-of-Libnet/pkg/PLIST
echo x - Libnet/Makefile
sed 's/^X//' >Libnet/Makefile << 'END-of-Libnet/Makefile'
X# Ports collection makefile for:  libnet
X# Version required:     	  0.9
X# Date created:			  Sun Feb 3, 1999
X# Whom:                 	shipley@dis.org
X#
X# $Id$
X#
X#DISTDIR=	/var/tmp/	# for debuging
X
XDISTNAME=	libnet-0.9
XPKGNAME=	libnet-0.9.2
XCATEGORIES=     net
XMASTER_SITES=	http://www.infonexus.com/~daemon9/Projects/Libnet/ \
X		ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	shipley@dis.org
X
XMAN=		libnet.3
X
XGNU_CONFIGURE=	yes
X
X#NOPROFILE=	true
X
XOSVERSION!=     sysctl -n kern.osreldate
X.if ${OSVERSION} <= 300000
XBROKEN=         does not build
X.endif
X
XWRKSRC=         ${WRKDIR}/Libnet
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${PREFIX}/share/doc/libnet
X	${INSTALL_MAN} ${WRKSRC}/doc/CHANGES ${PREFIX}/share/doc/libnet
X	${INSTALL_MAN} ${WRKSRC}/doc/README ${PREFIX}/share/doc/libnet
X	${INSTALL_MAN} ${WRKSRC}/doc/PORTS ${PREFIX}/share/doc/libnet
X	${INSTALL_MAN} ${WRKSRC}/doc/README.bpf ${PREFIX}/share/doc/libnet
X.endif
X
X.include <bsd.port.mk>
END-of-Libnet/Makefile
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902040239.SAA11870>