summaryrefslogtreecommitdiff
path: root/net/libpcap
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2002-02-13 15:25:16 +0000
committerseb <seb@pkgsrc.org>2002-02-13 15:25:16 +0000
commitb068c91e6760b57d5a17e6776a15f67c40cd32d9 (patch)
tree404bcfeac584ca4d65517fc6182bbb4c564a1d63 /net/libpcap
parentfbdaa30c392b370c39fb69d1d0b5bf7c6bba856a (diff)
downloadpkgsrc-b068c91e6760b57d5a17e6776a15f67c40cd32d9.tar.gz
Update libpcap to version 0.7.1.
Enable IPv6 support if /usr/include/netinet/ip6.h exists. I did not find a way to have a changes summary for version 0.6.2. Summary for 0.7 release: - Added pcap_findalldevs() call to get list of interfaces in a MI way. - pcap_stats() has been documented as to what its counters mean on each platform.
Diffstat (limited to 'net/libpcap')
-rw-r--r--net/libpcap/Makefile7
-rw-r--r--net/libpcap/buildlink.mk4
-rw-r--r--net/libpcap/distinfo6
3 files changed, 10 insertions, 7 deletions
diff --git a/net/libpcap/Makefile b/net/libpcap/Makefile
index 4667b66c724..20cf51f706e 100644
--- a/net/libpcap/Makefile
+++ b/net/libpcap/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2001/10/18 15:20:30 veego Exp $
+# $NetBSD: Makefile,v 1.11 2002/02/13 15:25:16 seb Exp $
-DISTNAME= libpcap-0.6.1
+DISTNAME= libpcap-0.7.1
SVR4_PKGNAME= lpcap
CATEGORIES= net
MASTER_SITES= http://www.tcpdump.org/release/
@@ -18,6 +18,9 @@ GNU_CONFIGURE= yes
.if ${OPSYS} == "SunOS"
BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
BUILD_DEPENDS+= flex-[0-9]*:../../devel/flex
+. if exists(/usr/include/netinet/ip6.h)
+CONFIGURE_ARGS+= --enable-ipv6
+. endif
.endif
.include "../../mk/bsd.pkg.mk"
diff --git a/net/libpcap/buildlink.mk b/net/libpcap/buildlink.mk
index 6a2a1741d73..dca65a03e0c 100644
--- a/net/libpcap/buildlink.mk
+++ b/net/libpcap/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.2 2001/09/06 13:22:19 zuntum Exp $
+# $NetBSD: buildlink.mk,v 1.3 2002/02/13 15:25:16 seb Exp $
#
# This Makefile fragment is included by packages that use libpcap.
#
@@ -17,7 +17,7 @@ LIBPCAP_BUILDLINK_MK= # defined
.include "../../mk/bsd.buildlink.mk"
-BUILDLINK_DEPENDS.libpcap?= libpcap>=0.6.1
+BUILDLINK_DEPENDS.libpcap?= libpcap>=0.7.1
.if exists(/usr/include/pcap.h)
_NEED_LIBPCAP= NO
diff --git a/net/libpcap/distinfo b/net/libpcap/distinfo
index 77ef1e01450..d725ba5bac9 100644
--- a/net/libpcap/distinfo
+++ b/net/libpcap/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2001/04/21 11:23:21 wiz Exp $
+$NetBSD: distinfo,v 1.3 2002/02/13 15:25:16 seb Exp $
-SHA1 (libpcap-0.6.1.tar.gz) = 0b1f7290ba9859141c6dbe836c91b20c159210b8
-Size (libpcap-0.6.1.tar.gz) = 170681 bytes
+SHA1 (libpcap-0.7.1.tar.gz) = 15a12314d709a5d0e7b1e4e52e3fd4698d3468ca
+Size (libpcap-0.7.1.tar.gz) = 197653 bytes