pkgsrc/net/libpcap/Makefile

31 lines
711 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.33 2006/02/24 22:53:41 drochner Exp $
DISTNAME= libpcap-0.9.4
PKGREVISION= 1
SVR4_PKGNAME= lpcap
CATEGORIES= net
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.
2001-01-14 00:04:37 +01:00
MASTER_SITES= http://www.tcpdump.org/release/
MAINTAINER= tech-pkg@NetBSD.org
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.
2001-01-14 00:04:37 +01:00
HOMEPAGE= http://www.tcpdump.org/
COMMENT= System-independent interface for user-level packet capture
2005-03-12 06:24:50 +01:00
NOT_FOR_PLATFORM+= Interix-*-* # no raw interface access
2004-04-08 20:08:52 +02:00
PKG_INSTALLATION_TYPES= overwrite pkgviews
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.
2001-01-14 00:04:37 +01:00
GNU_CONFIGURE= yes
USE_TOOLS+= bison gm4 lex
USE_LIBTOOL= yes
2001-08-24 13:13:36 +02:00
.include "../../mk/bsd.prefs.mk"
.if exists(/usr/include/netinet/ip6.h)
CONFIGURE_ARGS+= --enable-ipv6
2001-08-24 13:13:36 +02:00
.endif
post-install:
${INSTALL_DATA} ${WRKSRC}/pcap-int.h ${PREFIX}/include
.include "../../mk/bsd.pkg.mk"