2006-02-24 23:53:41 +01:00
|
|
|
# $NetBSD: Makefile,v 1.33 2006/02/24 22:53:41 drochner Exp $
|
1999-04-07 14:54:16 +02:00
|
|
|
|
2005-12-08 07:32:30 +01:00
|
|
|
DISTNAME= libpcap-0.9.4
|
2006-02-24 23:53:41 +01:00
|
|
|
PKGREVISION= 1
|
2001-10-18 17:20:01 +02:00
|
|
|
SVR4_PKGNAME= lpcap
|
1999-05-24 22:39:35 +02:00
|
|
|
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/
|
1999-04-07 14:54:16 +02:00
|
|
|
|
2004-10-05 20:56:33 +02:00
|
|
|
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/
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= System-independent interface for user-level packet capture
|
1999-04-07 14:54:16 +02:00
|
|
|
|
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
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= bison gm4 lex
|
2005-08-10 15:48:22 +02:00
|
|
|
USE_LIBTOOL= yes
|
1999-04-07 14:54:16 +02:00
|
|
|
|
2001-08-24 13:13:36 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2005-09-06 05:26:14 +02:00
|
|
|
.if exists(/usr/include/netinet/ip6.h)
|
2002-02-13 16:25:16 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
2001-08-24 13:13:36 +02:00
|
|
|
.endif
|
|
|
|
|
2005-08-13 09:04:59 +02:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/pcap-int.h ${PREFIX}/include
|
|
|
|
|
1999-04-07 14:54:16 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|