aboutsummaryrefslogtreecommitdiff
path: root/lib/libpcap
Commit message (Collapse)AuthorAgeFilesLines
* libpcap: Fix dependency definitions for libpcapMark Johnston2025-12-031-0/+1
| | | | | | | | | | | Commit 35dd53a9e132 ("librdmacm/libibverbs: Statically bound libbnxtre.so.1 to rping") causes a build failure, since src.libnames.mk declares a depencency on libbnxtre.so, but the libpcap Makefile and prebuild lib dependencies were not updated accordingly. Fix the declarations. Fixes: 35dd53a9e132 ("librdmacm/libibverbs: Statically bound libbnxtre.so.1 to rping") Reviewed by: ssaxena Differential Revision: https://reviews.freebsd.org/D54048
* packages: Install development manpages in the -dev packageLexi Winter2025-10-261-6/+7
| | | | | | | | | | | | | | | | | | | | | Add a new per-group SUBPACKAGE option to bsd.man.mk. When MANSPLITPKG is enabled, this is forced to "-man", otherwise it defaults to empty but can be overridden by the caller. Use this in bsd.lib.mk to install library manpages in the -dev package instead of the base package. This is nearly always preferable, since library manpages are usually in section 2 or 3 and are only relevant to people with development packages installed. For manpages which should be installed in the base package even for libraries, add a new MANNODEV group in bsd.lib.mk. Update existing Makefiles to use this where appropriate. MFC after: 3 days Discussed with: olce Reviewed by: olce Sponsored by: https://www.patreon.com/bsdivy Differential Revision: https://reviews.freebsd.org/D52832
* libpcap: Add changes missed in update to 1.10.5Joseph Mingrone2024-09-142-3/+2
| | | | | Fixes: afdbf109c6 (libpcap: Update to 1.10.5) Sponsored by: The FreeBSD Foundation
* dirdeps: Fix libpcap Makefile.depend.optionsKa Ho Ng2023-11-172-2/+1
| | | | | | | | | | This prevents libpcap's Makefile.depend from flip-flopping when OFED is enabled. Sponsored by : Juniper Networks, Inc. MFC after: 7 days Reviewed by: sjg Differential Revision: https://reviews.freebsd.org/D42649
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-163-3/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Remove $FreeBSD$: one-line .c comment patternWarner Losh2023-08-161-1/+0
| | | | Remove /^/[*/]\s*\$FreeBSD\$.*\n/
* libpcap: Update PACKAGE_VERSION definition to 1.10.4Joseph Mingrone2023-05-291-1/+1
| | | | | | | Reviewed by: kp Fixes: 6f9cba8f8b5e (libpcap: Update to 1.10.3) Fixes: dd744a896be3 (libpcap: Update to 1.10.4) Sponsored by: The FreeBSD Foundation
* libpcap: Update PACKAGE_STRING to 1.10.4Joseph Mingrone2023-05-271-1/+1
| | | | | | | | Reviewed by: emaste Fixes: 6f9cba8f8b5e (libpcap: Update to 1.10.3) Fixes: dd744a896be3 (libpcap: Update to 1.10.4) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D40295
* libpcap: Update to 1.10.3Joseph Mingrone2023-03-311-3/+8
| | | | | | | | | | | | | | Local changes: - In contrib/libpcap/pcap/bpf.h, do not include pcap/dlt.h. Our system net/dlt.h is pulled in from net/bpf.h. - sys/net/dlt.h: Incorporate changes from libpcap 1.10.3. - lib/libpcap/Makefile: Update for libpcap 1.10.3. Changelog: https://git.tcpdump.org/libpcap/blob/95691ebe7564afa3faa5c6ba0dbd17e351be455a:/CHANGES Reviewed by: emaste Obtained from: https://www.tcpdump.org/release/libpcap-1.10.3.tar.gz Sponsored by: The FreeBSD Foundation
* MFV r353141 (by phillip):Cy Schubert2019-12-212-4/+6
| | | | | | | | | Update libpcap from 1.9.0 to 1.9.1. MFC after: 2 weeks Notes: svn path=/head/; revision=355988
* Install missing pcap(3) manual pages and add missing manpageHans Petter Selasky2019-12-161-3/+12
| | | | | | | | | | | | section substitutions. Submitted by: Martin Beran <martin@mber.cz> PR: 237893 MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=355800
* Update Makefile.depend filesSimon J. Gerraty2019-12-111-1/+1
| | | | | | | | | | | | | Update a bunch of Makefile.depend files as a result of adding Makefile.depend.options files Reviewed by: bdrewery MFC after: 1 week Sponsored by: Juniper Networks Differential Revision: https://reviews.freebsd.org/D22494 Notes: svn path=/head/; revision=355617
* Add Makefile.depend.optionsSimon J. Gerraty2019-12-111-0/+8
| | | | | | | | | | | | | | | | | | | | Leaf directories that have dependencies impacted by options need a Makefile.depend.options file to avoid churn in Makefile.depend DIRDEPS for cases such as OPENSSL, TCP_WRAPPERS etc can be set in local.dirdeps-options.mk which can add to those set in Makefile.depend.options See share/mk/dirdeps-options.mk Reviewed by: bdrewery MFC after: 1 week Sponsored by: Juniper Networks Differential Revision: https://reviews.freebsd.org/D22469 Notes: svn path=/head/; revision=355616
* pkgbase: Create a FreeBSD-utilities package and make it the default oneEmmanuel Vadot2019-09-051-1/+0
| | | | | | | | | | | | | The default package use to be FreeBSD-runtime but it should only contain binaries and libs enough to boot to single user and repair the system, it is also very handy to have a package that can be tranform to a small mfsroot. So create a new package named FreeBSD-utilities and make it the default one. Also move a few binaries and lib into this package when it make sense. Reviewed by: bapt, gjb Differential Revision: https://reviews.freebsd.org/D21506 Notes: svn path=/head/; revision=351858
* Remove redundant header file from source list in libpcap.Hans Petter Selasky2018-05-301-1/+0
| | | | | | | | MFC after: 3 weeks Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=334376
* MFV r333789: libpcap 1.9.0 (pre-release)Hans Petter Selasky2018-05-283-434/+93
| | | | | | | | MFC after: 1 month Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=334277
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Stop installing pcap-int.h, which is the internal interface for libpcap.Xin LI2017-03-071-1/+1
| | | | | | | | Reference: https://github.com/the-tcpdump-group/libpcap/issues/560 PR: 217221 Notes: svn path=/head/; revision=314863
* Remove compatibility with old libpcap.Xin LI2017-03-061-40/+3
| | | | | | | Differential Revision: https://reviews.freebsd.org/D9606 Notes: svn path=/head/; revision=314769
* MFV r313676: libpcap 1.8.1Xin LI2017-02-133-30/+38
| | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=313695
* Use SRCTOP-relative paths to other directories instead of .CURDIR-relative onesEnji Cooper2017-01-201-1/+1
| | | | | | | | | | This implifies pathing in make/displayed output MFC after: 3 weeks Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=312490
* libpcap: replace comma with semicolon when pertinent.Pedro F. Giffuni2016-08-091-1/+1
| | | | | | | | | | | | | Uses of commas instead of a semicolons can easily go undetected. The comma can serve as a statement separator but this shouldn't be abused when statements are meant to be standalone. Detected with devel/coccinelle following a hint from DragonFlyBSD. MFC after: 1 month Notes: svn path=/head/; revision=303893
* MFHGlen Barber2016-03-021-15/+0
|\ | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=296318
| * DIRDEPS_BUILD: Regenerate without local dependencies.Bryan Drewery2016-02-241-15/+0
| | | | | | | | | | | | | | | | | | | | | | These are no longer needed after the recent 'beforebuild: depend' changes and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports skipping 'make depend'. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295989
* | First pass through library packaging.Glen Barber2016-02-041-0/+1
|/ | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295278
* META MODE: Don't create .meta files when symlinking sources into the obj ↵Bryan Drewery2015-11-251-3/+2
| | | | | | | | | | | | | | directory. Tracking these leads to situations where meta mode will consider the file to be out of date if /bin/sh or /bin/ln are newer than the source file. There's no reason for meta mode to do this as make is already handling the rebuild dependency fine. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291320
* META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host.Bryan Drewery2015-11-251-1/+0
| | | | | | | | | | | This both avoids some dependencies on xinstall.host and allows bootstrapping on older releases to work due to lack of at least 'install -l' support. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291307
* Revert r284417 it is not necessary anymoreBaptiste Daroussin2015-06-151-1/+1
| | | | Notes: svn path=/head/; revision=284421
* Enforce overwritting SHLIBDIRBaptiste Daroussin2015-06-151-1/+1
| | | | | | | | | | | | Since METAMODE has been added, sys.mk loads bsd.mkopt.mk which ends load loading bsd.own.mk which then defines SHLIBDIR before all the Makefile.inc everywhere. This makes /lib being populated again. Reported by: many Notes: svn path=/head/; revision=284417
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+36
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+1
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-272-5/+22
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Merge from head@274682Simon J. Gerraty2014-11-193-0/+287
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=274683
| * | Updated dependenciesSimon J. Gerraty2014-05-161-1/+1
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * | Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * | Merge from headSimon J. Gerraty2014-05-081-1/+1
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265720
| * \ \ Merge from headSimon J. Gerraty2013-09-051-4/+16
| |\ \ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=255263
| * | | | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | | | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | | | Updated/new Makefile.dependSimon J. Gerraty2012-11-081-0/+3
| | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242788
| * | | | Sync from headSimon J. Gerraty2012-11-041-1/+7
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242545
| * | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | | | MFV r276759: libpcap 1.6.2.Xin LI2015-01-062-5/+22
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=276768
* | | | | Add netmap support to libpcap. Tcpdump and other native pcap application can nowLuigi Rizzo2014-10-063-0/+287
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | run directly on netmap ports using netmap:foo or valeXX:YY device names. Modifications to existing code are small and trivial, the netmap-specific code is all in a new file. Please be aware that in netmap mode the physical interface is disconnected from the host stack, so libpcap will steal the traffic not just make a copy. For the full version of the code (including linux and autotools support) see https://code.google.com/p/netmap-libpcap/ MFC after: 3 days Notes: svn path=/head/; revision=272659
* | | | Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-061-1/+1
| |_|/ |/| | | | | | | | | | | | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* | | MFV: libpcap 1.4.0.Xin LI2013-05-301-4/+16
| |/ |/| | | | | | | | | | | MFC after: 4 weeks Notes: svn path=/head/; revision=251129
* | MFV: libpcap 1.3.0.Xin LI2012-10-051-1/+7
|/ | | | | | | MFC after: 4 weeks Notes: svn path=/head/; revision=241231
* Merge from vendor branch: update libpcap to 1.2.1.Xin LI2012-05-142-4/+39
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=235426
* Bump shared libraries version numbers in preparation for 9.0.Konstantin Belousov2011-08-281-1/+1
| | | | | | | | | | | This time, only libraries which ABI has been changed compared to stable/8, are bumped. ABI analysis done by: Gleb Kurtsou Approved by: re (kensmith) Notes: svn path=/head/; revision=225227
* Regenerate our lib/libpcap/config.h for libpcap 1.1.1.Dimitry Andric2010-10-291-26/+56
| | | | Notes: svn path=/head/; revision=214539