356341 |
04-Jan-2020 |
cy |
MFC r355988-r355990
r355988: MFV r353141 (by phillip):
Update libpcap from 1.9.0 to 1.9.1.
r355989: MFV r353143 (phillip):
Update tcpdump from 4.9.2 to 4.9.3.
r355990: MFV r355890:
Fix libpcap issue #893: check for invalid IPv4 addresses.
This fixes errors such as:
tcpdump -i lagg0 net 999.999.999.999
This was originally discovered on a Red Hat 7.7 server and verified to also be a bug on FreeBSD.
Obtained from: https://github.com/the-tcpdump-group/libpcap/commit/ \ 07070918d5e81a515315b395f334e52589fe0fb Fixed by: https://github.com/guyharris |
356071 |
25-Dec-2019 |
hselasky |
MFC r355800: Install missing pcap(3) manual pages and add missing manpage section substitutions.
Submitted by: Martin Beran <martin@mber.cz> PR: 237893 Sponsored by: Mellanox Technologies |
335640 |
25-Jun-2018 |
hselasky |
MFC r334277, r334376, r334378 and r334418:
MFV r333789: libpcap 1.9.0 (pre-release)
- Update local copy of dlt.h with new DLT types.
Sponsored by: Mellanox Technologies |
319279 |
31-May-2017 |
delphij |
MFC r313695, r313760, r314769, r314863, r314865, r316125
r313695: MFV r313676: libpcap 1.8.1
r313760: MFV r313759: license change for a few headers (4 clause BSD to 3 clause BSD).
X-MFC-with: r313695
r314769: Remove compatibility with old libpcap.
Differential Revision: https://reviews.freebsd.org/D9606
r314863: Stop installing pcap-int.h, which is the internal interface for libpcap.
Reference: https://github.com/the-tcpdump-group/libpcap/issues/560 PR: 217221
r314865: Bump __FreeBSD_version for removal of pcap-int.h.
PR: 217221
r316125: MFV r316124: Fix build when WITHOUT_INET6.
Reported by: Randy Westlund <rwestlun gmail com> |
313538 |
10-Feb-2017 |
ngie |
MFC r312452-r312512:
r312452-r312512:
- Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
This simplifies pathing in make/displayed output
- Use .CURDIR:H instead of .CURDIR to simplify pathing in output, etc |
305618 |
08-Sep-2016 |
pfg |
MFC r303893, r303894: misc replacements of comma with semicolon when pertinent.
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. |
302408 |
08-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
298107 |
16-Apr-2016 |
gjb |
Merge the projects/release-pkg branch to head.
This allows packaging the base system with pkg(8), including but not limited to providing the ability to provide upstream binary update possibilities for non-tier-1 architectures.
This merge is a requirement of the 11.0-RELEASE, and as such, thank you to everyone that has tested the project branch.
Documentation in build(7) etc. is still somewhat sparse, but updates to those parts will follow.
Sponsored by: The FreeBSD Foundation
|
295989 |
24-Feb-2016 |
bdrewery |
DIRDEPS_BUILD: Regenerate without local dependencies.
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
|
291320 |
25-Nov-2015 |
bdrewery |
META MODE: Don't create .meta files when symlinking sources into the obj 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
|
291307 |
25-Nov-2015 |
bdrewery |
META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host.
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
|
284421 |
15-Jun-2015 |
bapt |
Revert r284417 it is not necessary anymore
|
284417 |
15-Jun-2015 |
bapt |
Enforce overwritting SHLIBDIR
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
|
284345 |
13-Jun-2015 |
sjg |
Add META_MODE support.
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
|
276768 |
06-Jan-2015 |
delphij |
MFV r276759: libpcap 1.6.2.
MFC after: 1 month
|
272659 |
06-Oct-2014 |
luigi |
Add netmap support to libpcap. Tcpdump and other native pcap application can now 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
|
265420 |
06-May-2014 |
imp |
Use src.opts.mk in preference to bsd.own.mk except where we need stuff from the latter.
|
251129 |
30-May-2013 |
delphij |
MFV: libpcap 1.4.0.
MFC after: 4 weeks
|
241231 |
05-Oct-2012 |
delphij |
MFV: libpcap 1.3.0.
MFC after: 4 weeks
|
235426 |
14-May-2012 |
delphij |
Merge from vendor branch: update libpcap to 1.2.1.
MFC after: 2 weeks
|
225227 |
28-Aug-2011 |
kib |
Bump shared libraries version numbers in preparation for 9.0. 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)
|
214539 |
29-Oct-2010 |
dim |
Regenerate our lib/libpcap/config.h for libpcap 1.1.1.
|
214529 |
29-Oct-2010 |
rpaulo |
add pcap-common.c.
Submitted by: dim
|
214519 |
29-Oct-2010 |
rpaulo |
Update for libpcap-1.1.1.
|
201381 |
02-Jan-2010 |
ed |
Build lib/ with WARNS=6 by default.
Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and lower it when needed.
I'm setting WARNS?=0 for secure/. It seems secure/ includes the Makefile.inc provided by lib/. I'm not going to touch that directory. Most of the code there is contributed anyway.
|
195767 |
19-Jul-2009 |
kensmith |
Bump the version of all non-symbol-versioned shared libraries in preparation for 8.0-RELEASE. Add the previous version of those libraries to ObsoleteFiles.inc and bump __FreeBSD_Version.
Reviewed by: kib Approved by: re (rwatson)
|
190236 |
22-Mar-2009 |
rpaulo |
Fix typo in comment.
|
190235 |
22-Mar-2009 |
rpaulo |
Install the new headers.
|
190226 |
21-Mar-2009 |
rpaulo |
Support files for new libpcap 1.0.0. Includes a shlib bump.
|
182368 |
28-Aug-2008 |
pjd |
Add links to all libpcap functions.
|
181690 |
13-Aug-2008 |
ed |
Change bpf(4) to use the cdevpriv API.
Right now the bpf(4) driver uses the cloning API to generate /dev/bpf%u. When an application such as tcpdump needs a BPF, it opens /dev/bpf0, /dev/bpf1, etc. until it opens the first available device node. We used this approach, because our devfs implementation didn't allow per-descriptor data.
Now that we can, make it use devfs_get_cdevpriv() to obtain the private data. To remain compatible with the existing implementation, add a symlink from /dev/bpf0 to /dev/bpf. I've already changed libpcap to compile with HAVE_CLONING_BPF, which makes it use /dev/bpf. There may be other applications in the base system (dhclient) that use the loop to obtain a valid bpf.
Discussed on: src-committers Approved by: csjp
|
172681 |
16-Oct-2007 |
mlaier |
Update for libpcap 0.9.8 import
|
169807 |
21-May-2007 |
deischen |
Bump library versions in preparation for 7.0.
Ok'd by: kan
|
157707 |
13-Apr-2006 |
ru |
Place shared libpcap library under /lib, currently needed by /sbin/ipf and /sbin/pflogd.
OK'ed by: mlaier
|
156813 |
17-Mar-2006 |
ru |
Reimplementation of world/kernel build options. For details, see:
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html
The src.conf(5) manpage is to follow in a few days.
Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
|
146922 |
03-Jun-2005 |
ume |
bump SHLIB_MAJOR as libpcap refers getnetbyname(3).
Noticed by: ru
|
146772 |
29-May-2005 |
sam |
update for import of v0.9.1-096
|
139115 |
21-Dec-2004 |
ru |
NOINET6 -> NO_INET6
|
136027 |
01-Oct-2004 |
kensmith |
Bump the library version numbers for the following libraries:
/lib/{libm,libreadline} /usr/lib/{libhistory,libopie,libpcap}
in preparation for doing the same thing to RELENG_5. HUGE amounts of help for determining what to bump provided by kris.
Discussed on: freebsd-current Approved by: re (not required for commit but something like this should be)
|
127667 |
31-Mar-2004 |
bms |
Merge of libpcap 0.8.3 from tcpdump.org.
|
122029 |
04-Nov-2003 |
green |
* Modify libpcap to work a bit better with our 802.11 code. This means tcpdump -y ieee802_11 will work in the basic senses, including the code compilation for filters (where you may specify "link[]" to refer to parts of the 802.11 header, as well as treat it like a normal Ethernet header). Previously, it was just too far off to do anything useful for us. * While I'm here, fix some compile problems that will result from lex and yacc namespace polution when linking with -lpcap. The namespace is now "pcapyy*" instead of "yy*", and it tests fine with world and some external applications that may or may not use "yy*".
|
104073 |
28-Sep-2002 |
peter |
Zap now-unused SHLIB_MINOR
|
98529 |
21-Jun-2002 |
fenner |
Update for libpcap 0.7.1
|
96462 |
12-May-2002 |
ru |
Added new bsd.incs.mk which handles installing of header files via INCS. Implemented INCSLINKS (equivalent to SYMLINKS) to handle symlinking include files. Allow for multiple groups of include files to be installed, with the powerful INCSGROUPS knob. Documentation to follow.
Added standard `includes' and `incsinstall' targets, use them in Makefile.inc1. Headers from the following makefiles were not installed before (during `includes' in Makefile.inc1):
kerberos5/lib/libtelnet/Makefile lib/libbz2/Makefile lib/libdevinfo/Makefile lib/libform/Makefile lib/libisc/Makefile lib/libmenu/Makefile lib/libmilter/Makefile lib/libpanel/Makefile
Replaced all `beforeinstall' targets for installing includes with the INCS stuff.
Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS, and for compatibility with NetBSD. Similarly for INCOWN, INCGRP, and INCMODE.
Consistently use INCLUDEDIR instead of /usr/include.
gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes were only lightly tested due to the missing contrib/libstdc++-v3. I fully tested the pre-WIP_GCC31 version of this patch with the contrib/libstdc++.295 stuff.
These changes have been tested on i386 with the -DNO_WERROR "make world" and "make release".
|
80767 |
31-Jul-2001 |
fenner |
Update our bpf.h with tcpdump.org's new DLT_ types. Use our bpf.h instead of tcpdump.org's to build libpcap.
|
75125 |
03-Apr-2001 |
bde |
Fixed world breakage in previous commit (config.h was inaccessible except in the unusual case where ${.OBJDIR} == ${.CURDIR}).
Fixed nearby style bugs (the DEFS variable had rotted to be just an obfuscation).
|
75111 |
03-Apr-2001 |
fenner |
Update for libpcap 0.6.2
|
74870 |
27-Mar-2001 |
ru |
MAN[1-9] -> MAN.
|
59266 |
15-Apr-2000 |
steve |
Don't try to compile in INET6 support when NOINET6 is defined.
|
56892 |
30-Jan-2000 |
fenner |
Upgrade to libpcap 0.5
|
50476 |
28-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
42087 |
27-Dec-1998 |
bde |
Fixed CLEANFILES.
|
39295 |
15-Sep-1998 |
fenner |
Bump minor version number and add version.c to update to version 0.4
PR: bin/7877
|
38424 |
18-Aug-1998 |
ache |
do not include private copy of bpf.h - it leads to dangerous mismatch of kernel/user bpf interface - include updated /sys/net/bpf.h instead
|
35840 |
08-May-1998 |
bde |
Simplified by using new yacc rules.
|
30269 |
10-Oct-1997 |
peter |
Also install pcap-int.h so things can call pcap_compile on arbitary expressions (eg: in pppd)
|
30113 |
05-Oct-1997 |
jkh |
Changes to support full make parallelism (-j<n>) in the world target. Reviewed by: <many different folks> Submitted by: Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>
|
26179 |
27-May-1997 |
fenner |
Bump minor version number. Add -I${PCAP_DISTDIR}/bpf to CFLAGS since our <net/bpf.h> is out of date. Remove -Wall and -Dlint. DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 \ -DHAVE_SOCKADDR_SA_LEN=1 -DLBL_ALIGN=1
CFLAGS+=-I. -Dyylval=pcap_lval ${DEFS}
SHLIB_MAJOR=2 SHLIB_MINOR=2
# # Magic to grab sources out of src/contrib # PCAP_DISTDIR?=${.CURDIR}/../../contrib/libpcap CFLAGS+=-I${PCAP_DISTDIR} -I${PCAP_DISTDIR}/lbl -I${PCAP_DISTDIR}/bpf .PATH: ${PCAP_DISTDIR} .PATH: ${PCAP_DISTDIR}/bpf/net
beforeinstall: .for i in pcap.h pcap-namedb.h ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${PCAP_DISTDIR}/$i \ ${DESTDIR}/usr/include .endfor
tokdefs.h grammar.c: grammar.y ${YACC} ${YACCFLAGS} -d ${PCAP_DISTDIR}/grammar.y mv y.tab.c grammar.c mv y.tab.h tok/home/ncvs/CVSROOT/commitcheck
|
22993 |
22-Feb-1997 |
peter |
Revert $FreeBSD$ to $Id$
|
21673 |
14-Jan-1997 |
jkh |
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
|
21345 |
05-Jan-1997 |
wollman |
Fix Makefile so that dependencies are actually right this time. It is almost always the wrong thing to put .y and .l files directly into the SRCS.
|
17933 |
30-Aug-1996 |
peter |
cmp -s || install -c ==> install -C, use .for loop for includes
|
17743 |
21-Aug-1996 |
pst |
Uniquely name the distribution directory variable so that it can be overridden for multiple packages at the same time.
|
17700 |
20-Aug-1996 |
pst |
Bump shared library number to 2.1
|
17686 |
19-Aug-1996 |
pst |
Grab libpcap sources out of contrib_libpcap module
|
17666 |
19-Aug-1996 |
peter |
Define ETHER_SERVICE, since we have one. ie: use getetherxxx() instead of parsing /etc/ethers manually. This allows it to read NIS.
|
17141 |
12-Jul-1996 |
jkh |
General -Wall warning cleanup, part I. Submitted-By: Kent Vander Velden <graphix@iastate.edu>
|
16072 |
02-Jun-1996 |
phk |
backout yacc changes
|
16019 |
30-May-1996 |
phk |
yacc rule change.
|
15679 |
07-May-1996 |
wosch |
``mv'' -> ``mv -f'' ``rm'' -> ``rm -f'' so mv/rm may not ask for confirmation if you are not root
|
15489 |
01-May-1996 |
bde |
Fixed incomplete or wrong lists of prerequisite #includes related to <sys/types.h>.
|
9971 |
06-Aug-1995 |
bde |
Install source files with the -c flag, not with the optional flag ${COPY}.
|
9284 |
22-Jun-1995 |
ache |
Fix handling NULL-encapsulated interfaces (lo & tun) Reviewed by: wollman Submitted by: dvv@sprint.net
|
8870 |
30-May-1995 |
rgrimes |
Remove trailing whitespace.
|
6667 |
23-Feb-1995 |
ache |
Fix typo: pcap.h.h
|
6660 |
23-Feb-1995 |
phk |
Quench a warning and fix some duplicity by using the official strerror routine, instead of rolling our own.
|
6600 |
21-Feb-1995 |
olah |
Fix bogus Makefile which resulted in incompatible shared and static libs.
Reviewed by: Michael Reifenberger <root@rz-wb.fh-sw.de>, roberto@blaise.ibp.fr (Ollivier ROBERT)
|
5740 |
20-Jan-1995 |
jkh |
This commit was generated by cvs2svn to compensate for changes in r5739, which included commits to RCS files with non-trunk default branches.
|