diff options
author | bms <bms@FreeBSD.org> | 2003-12-11 02:32:12 +0800 |
---|---|---|
committer | bms <bms@FreeBSD.org> | 2003-12-11 02:32:12 +0800 |
commit | a704339732a0374c950a14d368d8ffeb28b9d1e7 (patch) | |
tree | c5af76285d572d4061d41a2744f99fe6da894767 /net | |
parent | e2e3a4e9af558fac81153e3f853d06363034d638 (diff) | |
download | freebsd-ports-gnome-a704339732a0374c950a14d368d8ffeb28b9d1e7.tar.gz freebsd-ports-gnome-a704339732a0374c950a14d368d8ffeb28b9d1e7.tar.zst freebsd-ports-gnome-a704339732a0374c950a14d368d8ffeb28b9d1e7.zip |
Add a port of libpcap 0.8.1. Some work is being done around tcpdump and
libpcap right now, in the areas of wireless and mesh networking. Import
this port so as not to disturb the vendor branch, and bring the bleeding
edge stuff to a wider audience.
Sponsored by: consume.net
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/libpcap/Makefile | 33 | ||||
-rw-r--r-- | net/libpcap/distinfo | 1 | ||||
-rw-r--r-- | net/libpcap/pkg-descr | 9 | ||||
-rw-r--r-- | net/libpcap/pkg-plist | 4 |
5 files changed, 48 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 7c521506cac9..761af3a57f8b 100644 --- a/net/Makefile +++ b/net/Makefile @@ -287,6 +287,7 @@ SUBDIR += libnss-mysql SUBDIR += libosip SUBDIR += libosip2 + SUBDIR += libpcap SUBDIR += librsync SUBDIR += libsmi SUBDIR += libsocket++ diff --git a/net/libpcap/Makefile b/net/libpcap/Makefile new file mode 100644 index 000000000000..8b2895edeb13 --- /dev/null +++ b/net/libpcap/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: libpcap +# Date created: 10 December 2003 +# Whom: Bruce M Simpson <bms@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= libpcap +PORTVERSION= 0.8.1 +CATEGORIES= net +MASTER_SITES= http://www.tcpdump.org/beta/ +DISTNAME= ${PORTNAME}-${PORTVERSION}-316 + +MAINTAINER= bms@FreeBSD.org +COMMENT= Ubiquitous network traffic capture library + +BUILD_DEPENDS= ${LOCALBASE}/bin/bison:${PORTSDIR}/devel/bison + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +MAN3= pcap.3 + +GNU_CONFIGURE= yes + +.if !defined(WITHOUT_IPV6) +CONFIGURE_ARGS+= --enable-ipv6 +.endif + +.if !defined(WITH_DAG) +CONFIGURE_ARGS+= --without-dag +.endif + +.include <bsd.port.mk> diff --git a/net/libpcap/distinfo b/net/libpcap/distinfo new file mode 100644 index 000000000000..419564f4b861 --- /dev/null +++ b/net/libpcap/distinfo @@ -0,0 +1 @@ +MD5 (libpcap-0.8.1-316.tar.gz) = ab8f17ca785b9e0272f98010dc16e13b diff --git a/net/libpcap/pkg-descr b/net/libpcap/pkg-descr new file mode 100644 index 000000000000..1002712f7cb6 --- /dev/null +++ b/net/libpcap/pkg-descr @@ -0,0 +1,9 @@ +libpcap is a ubiquitous network traffic capture library used by a wide +variety of BSD, Linux and UN*X applications. + +Whilst FreeBSD has a vendor branch import of libpcap in its source tree, +the purpose of the port is to provide a means of offering additional, +bleeding-edge features which might not make it into the tree. + +Bruce +bms@FreeBSD.org diff --git a/net/libpcap/pkg-plist b/net/libpcap/pkg-plist new file mode 100644 index 000000000000..209925c86e06 --- /dev/null +++ b/net/libpcap/pkg-plist @@ -0,0 +1,4 @@ +lib/libpcap.a +include/pcap.h +include/pcap-namedb.h +include/pcap-bpf.h |