Commit Graph

30 Commits

Author SHA1 Message Date
peter
e226894fa0 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
bde
53bd4cfaed Fixed CLEANFILES. 1998-12-27 15:04:33 +00:00
fenner
50c98c5688 Bump minor version number and add version.c to update to version 0.4
PR:		bin/7877
1998-09-15 19:34:01 +00:00
ache
2c07fa1d39 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
1998-08-18 10:29:37 +00:00
bde
151aaf93dd Simplified by using new yacc rules. 1998-05-08 06:43:07 +00:00
peter
2d890c23b7 Also install pcap-int.h so things can call pcap_compile on arbitary
expressions (eg: in pppd)
1997-10-10 11:55:42 +00:00
jkh
068b44c29a 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>
1997-10-05 09:40:24 +00:00
fenner
a467537771 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
1997-05-27 00:08:01 +00:00
peter
3447762204 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
jkh
9c0cd3f9df 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.
1997-01-14 07:20:47 +00:00
wollman
91a3102d69 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.
1997-01-05 18:25:53 +00:00
peter
43aa2d3fd5 cmp -s || install -c ==> install -C, use .for loop for includes 1996-08-30 01:59:46 +00:00
pst
bc3f9f59ca Uniquely name the distribution directory variable so that it can be overridden
for multiple packages at the same time.
1996-08-21 16:50:15 +00:00
pst
4002d7efaf Bump shared library number to 2.1 1996-08-20 05:43:51 +00:00
pst
dc08a99b09 Grab libpcap sources out of contrib_libpcap module 1996-08-19 21:01:37 +00:00
peter
86de65594b Define ETHER_SERVICE, since we have one. ie: use getetherxxx() instead
of parsing /etc/ethers manually. This allows it to read NIS.
1996-08-19 14:23:50 +00:00
jkh
a3b50e31fd General -Wall warning cleanup, part I.
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
1996-07-12 18:57:58 +00:00
phk
2741893871 backout yacc changes 1996-06-02 17:10:13 +00:00
phk
14f47646ea yacc rule change. 1996-05-30 23:01:04 +00:00
wosch
5c15c67589 `mv'' -> `mv -f''
``rm'' -> ``rm -f''
so mv/rm may not ask for confirmation if you are not root
1996-05-07 23:19:49 +00:00
bde
eb9b68bf24 Fixed incomplete or wrong lists of prerequisite #includes related to
<sys/types.h>.
1996-05-01 01:45:23 +00:00
bde
c681abc576 Install source files with the -c flag, not with the optional flag ${COPY}. 1995-08-06 12:37:41 +00:00
ache
2c7f69725f Fix handling NULL-encapsulated interfaces (lo & tun)
Reviewed by: wollman
Submitted by: dvv@sprint.net
1995-06-22 16:56:00 +00:00
rgrimes
1c444a9f7e Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
ache
d0859fe265 Fix typo: pcap.h.h 1995-02-23 18:47:06 +00:00
phk
e47076c1c0 Quench a warning and fix some duplicity by using the official strerror
routine, instead of rolling our own.
1995-02-23 06:55:14 +00:00
olah
9d247228f7 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)
1995-02-21 10:46:34 +00:00
jkh
39b2be4f05 This commit was generated by cvs2svn to compensate for changes in r5739,
which included commits to RCS files with non-trunk default branches.
1995-01-20 04:13:07 +00:00
jkh
92a97f198b Add the Packet Capture Library from Michael Reifenberger.
Submitted by:	mr
1995-01-20 04:13:07 +00:00
jkh
8e4f208589 Add the Packet Capture Library from Michael Reifenberger.
Submitted by:	mr
1995-01-20 04:13:07 +00:00