Commit graph

46 commits

Author SHA1 Message Date
adrianp
72c2343bda libpcap dymanically generates man page sections based on the OS. For SunOS
MAN_MISC_INFO and MAN_FILE_FORMATS are in different sections to others so
account for this with some PLIST magic.
PKGREVISION++
2008-11-16 15:10:10 +00:00
abs
2b4cdbaf65 Alternate fix to DESTDIR issue - use INSTALLATION_DIRS= 2008-11-07 11:51:10 +00:00
abs
64b33520d9 Fix install with USE_DESTDIR set. Bump pkgrevision 2008-11-04 21:01:51 +00:00
adam
4be811407c Changes 1.0.0:
* Compile with IPv6 support by default
* Compile with large file support on by default
* Add pcap-config script, which deals with -I/-L flags for compiling
* DLT: Add IPMB
* DLT: Add LAPD
* DLT: Add AX25 (AX.25 w/KISS header)
* DLT: Add JUNIPER_ST
* 802.15.4 support
* Variable length 802.11 header support
* X2E data type support
* SITA ACN Interface support - see README.sita
* Support for zerocopy BPF on platforms that support it
* Better support for dealing with VLAN tagging/stripping on Linux
* Fix dynamic library support on OSX
2008-10-30 08:12:34 +00:00
heinz
7ba683d8f4 The package supports installation to DESTDIR. 2008-02-29 00:38:12 +00:00
tron
d73cd46a60 Make the work around which deals with the missing include file
"/usr/include/net/if_pflog.h" a hack. The good news is that NetBSD 4.0
will ship with this include file which fixes the real problem.
2007-10-14 22:49:43 +00:00
tron
68120f1d07 Pretend that "configure" didn't find "net/pfvar.h" if "net/if_pflog.h"
isn't installed, too. This fixes build problems under NetBSD 4.0_RC1
reported in PR pkg/37111.
2007-10-13 22:14:15 +00:00
adam
ca829d40b7 Changes 0.9.8:
* Change build process to put public libpcap headers into pcap subir
* DLT: Add value for IPMI IPMB packets
* DLT: Add value for u10 Networks boards
* Require <net/pfvar.h> for pf definitions - allows reading of pflog formatted
  libpcap files on an OS other than where the file was generated
2007-10-11 21:37:57 +00:00
adam
1f61b85130 Fix for PR#37066 2007-10-08 20:38:17 +00:00
taca
9e49fd6cc7 Update libpcap to 0.9.7.
libpcap

Wed.	July 23, 2007.  mcr@xelerance.com.  Summary for 0.9.7 libpcap release

	FIXED version file to be 0.9.7 instead of 0.9.5.
	added flags/configuration for cloning bpf device.
	added DLT_MTP2_WITH_PHDR support (PPI)
        "fix" the "memory leak" in icode_to_fcode() -- documentation bug
        Various link-layer types, with a pseudo-header, for SITA http://www.sita.aero/
	introduces support for the DAG ERF type TYPE_COLOR_MC_HDLC_POS.
	Basic BPF filtering support for DLT_MTP2_WITH_PHDR is also added.
        check for IPv4 and IPv6, even for DLT_RAW
	add support for DLT_JUNIPER_ISM
  	Pick up changes from NetBSD: many from tron, christos, drochner
	Allocate DLT_ for 802.15.4 without any header munging, for Mikko Saarnivala.
	Header for 802.16 MAC Common Part Sublayer plus a radiotap radio header

Wed.	April 25, 2007. ken@xelerance.com.  Summary for 0.9.6 libpcap release

	Put the public libpcap headers into a pcap subdirectory in both the
	 source directory and the target include directory, and have include
	 files at the top-level directory to include those headers, for
	 backwards compatibility.
	Add Bluetooth support
	Add USB capturing support on Linux
	Add support for the binary USB sniffing interface in Linux
	Add support for new FreeBSD BIOCSDIRECTION ioctl
	Add additional filter operations for 802.11 frame types
	Add support for filtering on MTP2 frame types
	Propagate some changes from the main branch, so the x.9 branch has
	 all the DLT_ and LINKTYPE_ values that the main branch does
	Reserved a DLT_ and SAVEFILE_ value for PPI (Per Packet Info)
	 encapsulated packets
	Add LINKTYPE_ for IEEE 802.15.4, with address fields padded as done
	 by Linux drivers
	Add LINKTYPE_ value corresponding to DLT_IEEE802_16_MAC_CPS.
	Add DLT for IEEE 802.16 (WiMAX) MAC Common Part Sublayer
	Add DLT for Bluetooth HCI UART transport layer
	When building a shared library, build with "-fPIC" on Linux to support x86_64
	Link with "$(CC) -shared" rather than "ld -shared" when building a
	 ".so" shared library
	Add support for autoconf 2.60
	Fixes to discard unread packets when changing filters
	Changes to handle name changes in the DAG library resulting from
	 switching to libtool.
	Add support for new DAG ERF types.
        Add an explicit "-ldag" when building the shared library, so the DAG
	 library dependency is explicit.
	Mac OSX fixes for dealing with "wlt" devices
	Fixes in add_or_find_if() & pcap_findalldevs() to optimize generating
	 device lists
	Fixed a bug in pcap_open_live(). The return value of PacketSetHwFilter
	 was not checked.
2007-08-02 15:15:20 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
adrianp
c674d6b47e Update to 3.9.5
Fix compiling on AIX (, at end of ENUM)
Updated list of DNS RR typecodes
Use local Ethernet defs on WIN32
Add support for Frame-Relay ARP
Fixes for compiling under MSVC++
Add support for parsing Juniper .pcap files
Add support for FRF.16 Multilink Frame-Relay (DLT_MFR)
Rework the OSPFv3 printer
Fix printing for 4.4BSD/NetBSD NFS Filehandles
Add support for Cisco style NLPID encapsulation
Add cisco prop. eigrp related, extended communities
Add support for BGP signaled VPLS
Cleanup the bootp printer
Add support for PPP over Frame-Relay
Add some bounds checking to the IP options code, and clean up
the options output a bit.
Add additional modp groups to ISAKMP printer
Add support for Address-Withdraw and Label-Withdraw Msgs
Add support for the BFD Discriminator TLV
Fixes for 64bit compiling
Add support for PIMv2 checksum verification
Add support for further dissection of the IPCP Compression Option
Add support for Cisco's proposed VQP protocol
Add basic support for keyed authentication TCP option
Lots of minor cosmetic changes to output printers
2007-01-03 13:34:55 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
drochner
fa0f29757f import from the NetBSD tree: use the cloning /dev/bpf on NetBSD
if _PATH_BPF is defined
bump PKGREVISION
2006-02-24 22:53:41 +00:00
uebayasi
06fea9f693 Update libpcap to 0.9.4.
From CHANGES:

Mon. 	September 5, 2005.  ken@xelerance.com. Summary for 0.9.4 libpcap release

	Support for radiotap on Linux (Mike Kershaw)
	Fixes for HP-UX
	Support for additional Juniper link-layer types
	Fixes for filters on MPLS-encapsulated packets
	"vlan" filter fixed
	"pppoed" and "pppoes" filters added; the latter modifies later
	parts of the filter expression to look at the PPP headers and
	headers in the PPP payload
2005-12-08 06:32:30 +00:00
wiz
3c4a3d31a4 Fix included version string. Addresses part of PR 31423 by Zafer Aydogan.
Bump PKGREVISION.
2005-10-22 14:14:42 +00:00
jlam
57fabbbd45 Enable IPv6 for all platforms that have /usr/include/netinet/ip6.h,
not just on Solaris, Linux, and NetBSD.  Bump the PKGREVISION to 3.
2005-09-06 03:26:14 +00:00
adrianp
37578e8456 Add include/pcap-int.h which is needed by some programs
Bump to nb2
2005-08-13 07:04:59 +00:00
drochner
0313d10b32 libtoolize, to get a shared library
bump PKGREVISION
2005-08-10 13:48:22 +00:00
drochner
bbf528655e update to 0.9.3
changes: Minor bug fixes, compilation failure fixes for windows.
2005-08-05 16:24:50 +00:00
drochner
4323568256 update to 0.9.1
changes:
        Fixes for compiling on nearly every platform,
	including improved 64bit support
	MSDOS Support
	Add support for sending packets
	OpenBSD pf format support
	IrDA capture (Linux only)

appearently filtering in ieee802_11_radio packets works now
pkgsrc: enabled IPv6 for NetBSD too
2005-07-13 14:31:49 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
tv
07f8b4d35a Mark as NOT_FOR_PLATFORM Interix. 2005-03-12 05:24:50 +00:00
tv
e523b7a93f Add EXTRACT_ELEMENTS to prevent blowup on first extract due to malformed
pathnames in the tarball.
2005-01-26 17:39:55 +00:00
adrianp
4ae9b37297 Add m4 as a required GNU tool to fix current build problems. 2004-10-05 19:00:57 +00:00
tron
8b0ea80904 Remove me as maintainer of this package because I don't use it anymore. 2004-10-05 18:56:33 +00:00
mrg
9ae4aead59 update to libpcap 0.8.3. changes include:
Tue.   March 30, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.3 release

        Fixed minor problem in gencode.c that would appear on 64-bit
        platforms.
        Version number is now sane.

Mon.   March 29, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.2 release

        updates for autoconf 2.5
        fixes for ppp interfaces for freebsd 4.1
        pcap gencode can generate code for 802.11, IEEE1394, and pflog.

Wed.   November 12, 2003. mcr@sandelman.ottawa.on.ca. Summary for 0.8 release

        added pcap_findalldevs()
        Win32 patches from NetGroup, Politecnico di Torino (Italy)
        OpenBSD pf, DLT_PFLOG added
        Many changes to ATM support.
        lookup pcap_lookupnet()
        Added DLT_ARCNET_LINUX, DLT_ENC, DLT_IEEE802_11_RADIO, DLT_SUNATM,
                DLT_IP_OVER_FC, DLT_FRELAY, others.
        Sigh.  More AIX wonderfulness.
        Document updates.
        Changes to API: pcap_next_ex(), pcap_breakloop(), pcap_dump_flush(),
                        pcap_list_datalinks(), pcap_set_datalink(),
                        pcap_lib_version(), pcap_datalink_val_to_name(),
                        pcap_datalink_name_to_val(), new error returns.
2004-09-28 08:24:42 +00:00
martti
c0b56782d7 Enable IPv6 support in Linux 2004-06-08 19:04:37 +00:00
minskim
0c9ad815f5 Enable pkgviews installation. 2004-04-08 18:08:52 +00:00
reed
205ab3cc57 Use USE_GNU_TOOLS for lex and yacc instead of just using BUILD_DEPENDS
for SunOS only. Okayed by maintainer, tron@.

(Also this checks for SunOS and /usr/include/netinet/ip6.h for IPv6
support, maybe the OPSYS check can be removed; but this is not
changed in this patch.)
2004-03-11 20:50:07 +00:00
minskim
c082f90b7a bl3ify 2004-02-18 18:44:37 +00:00
jlam
6ea83c6e37 Trivially convert to use buildlink2. 2003-10-06 07:45:06 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
wiz
68c4d1014f Update to 0.7.2, enable on NetBSD (builds fine).
Changes:
Support link types that use 802.2 always, never, and sometimes.
Don't decrease the size of the BPF buffer from the default.
Support frame relay.
Handle 32-bit timestamps in DLPI, and pass the right buffer size.
Handle Linux systems with modern kernel but without
SOL_PACKET in the userland headers.
Linux support for ARPHRD_RAWHDLC.
Handle 32-bit timestamps in snoop.
Support eg (Octane/O2xxx/O3xxx Gigabit) devices.
Add new reserved DLT types.
2003-03-25 10:51:13 +00:00
seb
b068c91e67 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.
2002-02-13 15:25:16 +00:00
veego
63ad910dee SVR4 packages have a limit of 9 chars for a package name.
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
2001-10-18 15:20:01 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
abs
4ecfcad72d Work under Linux 2001-08-24 11:13:36 +00:00
hubertf
e32afb6fea Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@netbsd.org>
2001-03-27 03:19:43 +00:00
wiz
a13ea108bb Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:52:59 +00:00
tron
0023e07141 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-13 23:04:37 +00:00
veego
1fed4735ce Fix the INSTALL_TARGET line so it actually does a install which installs
the libpcap.a.
2000-12-05 15:47:23 +00:00
agc
46fb8db2a2 For packages that are in the NetBSD base system, but needed for
Solaris, narrow down the platforms, and use specific inclusion rather
than disclusion:  mark them as ONLY_FOR_PLATFORM=SunOS-*-*, rather
than NOT_FOR_PLATFORM=NetBSD-*-*.
1999-07-02 08:46:51 +00:00
tv
5c60ed5794 Change {ONLY,NOT}_FOR_{ARCH,OPSYS} format to {ONLY,NOT}_FOR_PLATFORM
pattern match format.  Minor pkglint along the way.
1999-05-24 20:39:35 +00:00
agc
cebd46845d Initial import of libpcap-0.4 (only for Solaris), a library providing a
system-independent interface for user-level packet capture.
1999-04-07 12:54:16 +00:00