Subject: CVS commit: pkgsrc
To: None <source-changes@netbsd.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 01/14/2001 01:04:44
Module Name:	pkgsrc
Committed By:	tron
Date:		Sat Jan 13 23:04:42 UTC 2001

Modified Files:
	pkgsrc/net/libpcap: Makefile
	pkgsrc/net/libpcap/files: md5
	pkgsrc/net/libpcap/pkg: PLIST

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 pkgsrc/net/libpcap/Makefile
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/net/libpcap/files/md5
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/net/libpcap/pkg/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.