summaryrefslogtreecommitdiff
path: root/net/libpcap
AgeCommit message (Collapse)AuthorFilesLines
2008-02-29The package supports installation to DESTDIR.heinz1-2/+3
2007-10-14Make the work around which deals with the missing include filetron2-9/+16
"/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-13Pretend that "configure" didn't find "net/pfvar.h" if "net/if_pflog.h"tron1-1/+9
isn't installed, too. This fixes build problems under NetBSD 4.0_RC1 reported in PR pkg/37111.
2007-10-11Changes 0.9.8:adam2-6/+6
* 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-08Fix for PR#37066adam3-21/+34
2007-08-02Update libpcap to 0.9.7.taca5-82/+6
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-02-22Whitespace cleanup, courtesy of pkglint.wiz1-2/+2
Patch provided by Sergey Svishchev in private mail.
2007-01-03Update to 3.9.5adrianp2-7/+6
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
2006-12-12Replace mk/bsd.prefs.mk includes with bsd.fast.prefs.mk includes.joerg1-2/+2
The redundant parsing of bsd.prefs.mk is mostly avoided now and parse time e.g. for x11/kdebase3 gets reduced by up to 10%.
2006-12-06use libtool version of LIBOBJSschwarz2-11/+18
2006-07-08Change the format of BUILDLINK_ORDER to contain depth information as well,jlam1-2/+2
and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto
2006-07-08Track information in a new variable BUILDLINK_ORDER that informs usjlam1-1/+2
of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
2006-04-06Over 1200 files touched but no revisions bumped :)reed2-4/+4
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2006-03-30Avoid extra stat() calls by not repeatedly checking whether a filejlam1-3/+3
exists on the disk -- we can just check whether a variable defined by find-files.mk is "__nonexistent__" or not.
2006-03-04Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where nojlam1-2/+2
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-02-27assume that the OS provided libpcap 0.9.x supplies shared libraries,drochner1-2/+2
so make it equivalent to pkgsrc version 0.9.3nb1 (it does so on Debian, and will do on NetBSD; if it doesn't hold on _your_OS_, we'll need conditionals)
2006-02-27recognize libpcap>=0.9.3drochner1-2/+8
2006-02-24use unsigned ints in filter, to avoid possible portability problemsdrochner2-1/+15
with bit shifts, this is part of PR lib/16518 by yamt (which is filed against base NetBSD sources, but anyway)
2006-02-24import from the NetBSD tree: use the cloning /dev/bpf on NetBSDdrochner3-2/+52
if _PATH_BPF is defined bump PKGREVISION
2005-12-21Remove obsolete patch hanginground from the 0.9.3 to 0.9.4 updateadrianp1-7/+0
2005-12-08Update libpcap to 0.9.4.uebayasi2-8/+6
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-10-23Apply patch-aa to correct file.wiz2-7/+7
2005-10-22Fix included version string. Addresses part of PR 31423 by Zafer Aydogan.wiz4-7/+15
Bump PKGREVISION.
2005-09-06Enable IPv6 for all platforms that have /usr/include/netinet/ip6.h,jlam1-5/+3
not just on Solaris, Linux, and NetBSD. Bump the PKGREVISION to 3.
2005-08-13Add include/pcap-int.h which is needed by some programsadrianp2-3/+7
Bump to nb2
2005-08-10libtoolize, to get a shared librarydrochner4-4/+104
bump PKGREVISION
2005-08-05update to 0.9.3drochner2-6/+6
changes: Minor bug fixes, compilation failure fixes for windows.
2005-07-13update to 0.9.1drochner4-24/+20
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-06-05sort.salo1-3/+3
2005-06-01Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.jlam1-48/+73
Several changes are involved since they are all interrelated. These changes affect about 1000 files. The first major change is rewriting bsd.builtin.mk as well as all of the builtin.mk files to follow the new example in bsd.builtin.mk. The loop to include all of the builtin.mk files needed by the package is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk is now included by each of the individual builtin.mk files and provides some common logic for all of the builtin.mk files. Currently, this includes the computation for whether the native or pkgsrc version of the package is preferred. This causes USE_BUILTIN.* to be correctly set when one builtin.mk file includes another. The second major change is teach the builtin.mk files to consider files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most of the builtin.mk files test for the presence of built-in software by checking for the existence of certain files, e.g. <pthread.h>, and we now assume that if that file is under ${LOCALBASE}, then it must be from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The exceptions to this new check are the X11 distribution packages, which are handled specially as noted below. The third major change is providing builtin.mk and version.mk files for each of the X11 distribution packages in pkgsrc. The builtin.mk file can detect whether the native X11 distribution is the same as the one provided by pkgsrc, and the version.mk file computes the version of the X11 distribution package, whether it's built-in or not. The fourth major change is that the buildlink3.mk files for X11 packages that install parts which are part of X11 distribution packages, e.g. Xpm, Xcursor, etc., now use imake to query the X11 distribution for whether the software is already provided by the X11 distribution. This is more accurate than grepping for a symbol name in the imake config files. Using imake required sprinkling various builtin-imake.mk helper files into pkgsrc directories. These files are used as input to imake since imake can't use stdin for that purpose. The fifth major change is in how packages note that they use X11. Instead of setting USE_X11, package Makefiles should now include x11.buildlink3.mk instead. This causes the X11 package buildlink3 and builtin logic to be executed at the correct place for buildlink3.mk and builtin.mk files that previously set USE_X11, and fixes packages that relied on buildlink3.mk files to implicitly note that X11 is needed. Package buildlink3.mk should also include x11.buildlink3.mk when linking against the package libraries requires also linking against the X11 libraries. Where it was obvious, redundant inclusions of x11.buildlink3.mk have been removed.
2005-05-30Make this build on Darwin 8.1.0.yyamano2-1/+15
2005-05-22Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:jlam1-2/+2
USE_GNU_TOOLS -> USE_TOOLS awk -> gawk m4 -> gm4 make -> gmake sed -> gsed yacc -> bison
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-03-12Mark as NOT_FOR_PLATFORM Interix.tv1-1/+3
2005-02-24Add RMD160 digests.agc1-1/+2
2005-01-26Add EXTRACT_ELEMENTS to prevent blowup on first extract due to malformedtv1-1/+4
pathnames in the tarball.
2005-01-12Lower dependency requirement to 0.5.0, required for some pkgs onxtraeme1-2/+2
NetBSD with old libpcap.
2005-01-11Use this builtin.mk from pkgsrc-wip, which works for all platformsxtraeme1-45/+44
and detects a lot of more versions, thanks to Peter Postma.
2005-01-11typo, thanks peter.xtraeme1-2/+2
2005-01-11Always matching 0.8.3 if FreeBSD >= 5.3xtraeme1-2/+2
2005-01-11FreeBSD >= 5.3 uses libpcap-0.8.3, older versions are using 0.7.x.xtraeme1-3/+5
2005-01-11libpcap was updated to 0.8.3 in NetBSD-2.99.9 (more or less), so matchxtraeme1-3/+3
NetBSD<=2.99.8 as 0.7.2, also match future NetBSD versions as 0.8.3.
2005-01-11this should be 0.7.2 not 0.7xtraeme1-2/+2
2005-01-11Better checking of libpcap versions, based in heimdal/builtin.mk.xtraeme1-4/+60
for now we are assumming that: _LIBPCAP_VERSIONS= 0.8.3 0.7.2 _LIBPCAP_0.8.3= NetBSD-2.99.9* NetBSD-2.99.1[0-9]* _LIBPCAP_0.7= NetBSD-1.[56]* NetBSD-2.0* Users of other platforms should update this list eventually.
2004-10-05Add m4 as a required GNU tool to fix current build problems.adrianp1-2/+2
2004-10-05Remove me as maintainer of this package because I don't use it anymore.tron1-2/+2
2004-09-28update to libpcap 0.8.3. changes include:mrg4-9/+9
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-23Use BUILDLINK_LDFLAGS.libpcap instead of LDFLAGS.jlam1-4/+4
2004-06-27on Solaris, binaries that use libpcap.a always need -lnsl and -lsocketgrant1-1/+11
for the socket functions.
2004-06-08Enable IPv6 support in Linuxmartti1-2/+2