History log of /freebsd-9.3-release/lib/libpcap/Makefile
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 236167 28-May-2012 delphij

MFC: libpcap 1.2.1.


# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 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)


# 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 21-Mar-2009 rpaulo

Fix typo in comment.


# 190235 21-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.


# 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


# 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 27-Sep-2002 peter

Zap now-unused SHLIB_MINOR


# 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 29-Jan-2000 fenner

Upgrade to libpcap 0.5


# 50476 27-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 26-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 29-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.


# 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


# 9971 06-Aug-1995 bde

Install source files with the -c flag, not with the optional flag ${COPY}.


# 6667 23-Feb-1995 ache

Fix typo: pcap.h.h


# 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.


# 5739 20-Jan-1995 jkh

Add the Packet Capture Library from Michael Reifenberger.
Submitted by: mr