diff options
author | tron <tron> | 2001-01-13 23:04:37 +0000 |
---|---|---|
committer | tron <tron> | 2001-01-13 23:04:37 +0000 |
commit | cda495b1ad65cd604e6a511331b41f193f368a71 (patch) | |
tree | 3e7f6fb1a96880b10042cf878f8ea59cb0f725a3 /net | |
parent | 3186f3b1a670c2e6f9eac2edc4b065fe3d8a6977 (diff) | |
download | pkgsrc-cda495b1ad65cd604e6a511331b41f193f368a71.tar.gz |
Update "libpcap" package to version 0.6.1. Changes since version 0.5:
- New Linux libpcap implementation, which, in 2.2 and later
kernels, uses PF_PACKET sockets and supports kernel packet
filtering (if compiled into the kernel), and supports the "any"
device for capturing on all interfaces. Cleans up promiscuous
mode better on pre-2.2 kernels, and has various other fixes
(handles 2.4 ARPHRD_IEEE802_TR, handles ISDN devices better,
doesn't show duplicate packets on loopback interface, etc.).
- Fixed HP-UX libpcap implementation to correctly get the PPA for
an interface, to allow interfaces to be opened by interface name.
- libpcap savefiles have system-independent link-layer type values
in the header, rather than sometimes platform-dependent DLT_
values, to make it easier to exchange capture files between
different OSes.
- Non-standard capture files produced by some Linux tcpdumps, e.g.
the one from Red Hat Linux 6.2 and later, can now be read.
- Updated autoconf stock files.
- Filter expressions can filter on VLAN IDs and various OSI
protocols, and work on Token Ring (with non-source-routed
packets).
- "pcap_open_dead()" added to allow compiling filter expressions
to pcap code without opening a capture device or capture file.
- Header files fixed to allow use in C++ programs.
- Removed dependancy on native headers for packet layout.
Removed Linux specific headers that were shipped.
- Security fixes: Strcpy replaced with strlcpy, sprintf replaced
with snprintf.
- Fixed bug that could cause subsequent "pcap_compile()"s to fail
erroneously after one compile failed.
- Assorted other bug fixes.
- README.aix and README.linux files added to describe
platform-specific issues.
- "getifaddrs()" rather than SIOCGIFCONF used, if available.
Diffstat (limited to 'net')
-rw-r--r-- | net/libpcap/Makefile | 19 | ||||
-rw-r--r-- | net/libpcap/files/md5 | 4 | ||||
-rw-r--r-- | net/libpcap/pkg/PLIST | 3 |
3 files changed, 12 insertions, 14 deletions
diff --git a/net/libpcap/Makefile b/net/libpcap/Makefile index 874895eae4b..8449b471bb9 100644 --- a/net/libpcap/Makefile +++ b/net/libpcap/Makefile @@ -1,20 +1,17 @@ -# $NetBSD: Makefile,v 1.4 2000/12/05 15:47:23 veego Exp $ -# +# $NetBSD: Makefile,v 1.5 2001/01/13 23:04:37 tron Exp $ -DISTNAME= libpcap-0.4 +DISTNAME= libpcap-0.6.1 CATEGORIES= net -MASTER_SITES= ftp://ftp.ee.lbl.gov/ -EXTRACT_SUFX= .tar.Z +MASTER_SITES= http://www.tcpdump.org/release/ -MAINTAINER= packages@netbsd.org +MAINTAINER= tron@netbsd.org +HOMEPAGE= http://www.tcpdump.org/ -GNU_CONFIGURE= yes +BUILD_DEPENDS+= bison:../../devel/bison +BUILD_DEPENDS+= flex:../../devel/flex ONLY_FOR_PLATFORM= SunOS-*-* # in NetBSD base system -INSTALL_TARGET= install install-incl install-man - -pre-install: - -${MKDIR} ${LOCALBASE}/include/net +GNU_CONFIGURE= yes .include "../../mk/bsd.pkg.mk" diff --git a/net/libpcap/files/md5 b/net/libpcap/files/md5 index 99fb0ffbd24..1a44ad81db7 100644 --- a/net/libpcap/files/md5 +++ b/net/libpcap/files/md5 @@ -1,3 +1,3 @@ -$NetBSD: md5,v 1.1.1.1 1999/04/07 12:54:16 agc Exp $ +$NetBSD: md5,v 1.2 2001/01/13 23:04:42 tron Exp $ -MD5 (libpcap-0.4.tar.Z) = 3e0025a24218d327b152075c70a578e9 +MD5 (libpcap-0.6.1.tar.gz) = 9e79abace0c9776e2f90514638ef37e6 diff --git a/net/libpcap/pkg/PLIST b/net/libpcap/pkg/PLIST index deb10eede79..5ed69843001 100644 --- a/net/libpcap/pkg/PLIST +++ b/net/libpcap/pkg/PLIST @@ -1,6 +1,7 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 1999/04/07 12:54:17 agc Exp $ +@comment $NetBSD: PLIST,v 1.2 2001/01/13 23:04:42 tron Exp $ lib/libpcap.a include/pcap.h include/pcap-namedb.h include/net/bpf.h man/man3/pcap.3 +@dirrm include/net |