head	1.14;
access;
symbols
	netbsd-10-2-RELEASE:1.14
	netbsd-9-5-RELEASE:1.13
	netbsd-11-0-RELEASE:1.14
	netbsd-11-0-RC7:1.14
	netbsd-11-0-RC6:1.14
	netbsd-11-0-RC5:1.14
	netbsd-11-0-RC4:1.14
	netbsd-11-0-RC3:1.14
	netbsd-11-0-RC2:1.14
	netbsd-11-0-RC1:1.14
	perseant-exfatfs-base-20250801:1.14
	netbsd-11:1.14.0.10
	netbsd-11-base:1.14
	netbsd-10-1-RELEASE:1.14
	perseant-exfatfs-base-20240630:1.14
	perseant-exfatfs:1.14.0.8
	perseant-exfatfs-base:1.14
	netbsd-8-3-RELEASE:1.13
	netbsd-9-4-RELEASE:1.13
	netbsd-10-0-RELEASE:1.14
	netbsd-10-0-RC6:1.14
	netbsd-10-0-RC5:1.14
	netbsd-10-0-RC4:1.14
	netbsd-10-0-RC3:1.14
	netbsd-10-0-RC2:1.14
	netbsd-10-0-RC1:1.14
	netbsd-10:1.14.0.6
	netbsd-10-base:1.14
	netbsd-9-3-RELEASE:1.13
	cjep_sun2x-base1:1.14
	cjep_sun2x:1.14.0.4
	cjep_sun2x-base:1.14
	cjep_staticlib_x-base1:1.14
	netbsd-9-2-RELEASE:1.13
	cjep_staticlib_x:1.14.0.2
	cjep_staticlib_x-base:1.14
	netbsd-9-1-RELEASE:1.13
	phil-wifi-20200421:1.13
	phil-wifi-20200411:1.13
	is-mlppp:1.13.0.50
	is-mlppp-base:1.13
	phil-wifi-20200406:1.13
	netbsd-8-2-RELEASE:1.13
	netbsd-9-0-RELEASE:1.13
	netbsd-9-0-RC2:1.13
	netbsd-9-0-RC1:1.13
	phil-wifi-20191119:1.13
	netbsd-9:1.13.0.48
	netbsd-9-base:1.13
	phil-wifi-20190609:1.13
	netbsd-8-1-RELEASE:1.13
	netbsd-8-1-RC1:1.13
	pgoyette-compat-merge-20190127:1.13
	pgoyette-compat-20190127:1.13
	pgoyette-compat-20190118:1.13
	pgoyette-compat-1226:1.13
	pgoyette-compat-1126:1.13
	pgoyette-compat-1020:1.13
	pgoyette-compat-0930:1.13
	pgoyette-compat-0906:1.13
	netbsd-7-2-RELEASE:1.13
	pgoyette-compat-0728:1.13
	netbsd-8-0-RELEASE:1.13
	phil-wifi:1.13.0.46
	phil-wifi-base:1.13
	pgoyette-compat-0625:1.13
	netbsd-8-0-RC2:1.13
	pgoyette-compat-0521:1.13
	pgoyette-compat-0502:1.13
	pgoyette-compat-0422:1.13
	netbsd-8-0-RC1:1.13
	pgoyette-compat-0415:1.13
	pgoyette-compat-0407:1.13
	pgoyette-compat-0330:1.13
	pgoyette-compat-0322:1.13
	pgoyette-compat-0315:1.13
	netbsd-7-1-2-RELEASE:1.13
	pgoyette-compat:1.13.0.44
	pgoyette-compat-base:1.13
	netbsd-7-1-1-RELEASE:1.13
	matt-nb8-mediatek:1.13.0.42
	matt-nb8-mediatek-base:1.13
	perseant-stdc-iso10646:1.13.0.40
	perseant-stdc-iso10646-base:1.13
	netbsd-8:1.13.0.38
	netbsd-8-base:1.13
	prg-localcount2-base3:1.13
	prg-localcount2-base2:1.13
	prg-localcount2-base1:1.13
	prg-localcount2:1.13.0.36
	prg-localcount2-base:1.13
	pgoyette-localcount-20170426:1.13
	bouyer-socketcan-base1:1.13
	pgoyette-localcount-20170320:1.13
	netbsd-7-1:1.13.0.34
	netbsd-7-1-RELEASE:1.13
	netbsd-7-1-RC2:1.13
	netbsd-7-nhusb-base-20170116:1.13
	bouyer-socketcan:1.13.0.32
	bouyer-socketcan-base:1.13
	pgoyette-localcount-20170107:1.13
	netbsd-7-1-RC1:1.13
	pgoyette-localcount-20161104:1.13
	netbsd-7-0-2-RELEASE:1.13
	localcount-20160914:1.13
	netbsd-7-nhusb:1.13.0.30
	netbsd-7-nhusb-base:1.13
	pgoyette-localcount-20160806:1.13
	pgoyette-localcount-20160726:1.13
	pgoyette-localcount:1.13.0.28
	pgoyette-localcount-base:1.13
	netbsd-7-0-1-RELEASE:1.13
	netbsd-7-0:1.13.0.26
	netbsd-7-0-RELEASE:1.13
	netbsd-7-0-RC3:1.13
	netbsd-7-0-RC2:1.13
	netbsd-7-0-RC1:1.13
	netbsd-5-2-3-RELEASE:1.12
	netbsd-5-1-5-RELEASE:1.12
	netbsd-6-0-6-RELEASE:1.13
	netbsd-6-1-5-RELEASE:1.13
	netbsd-7:1.13.0.24
	netbsd-7-base:1.13
	yamt-pagecache-base9:1.13
	yamt-pagecache-tag8:1.13
	netbsd-6-1-4-RELEASE:1.13
	netbsd-6-0-5-RELEASE:1.13
	tls-earlyentropy:1.13.0.22
	tls-earlyentropy-base:1.13
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.13
	riastradh-drm2-base3:1.13
	netbsd-6-1-3-RELEASE:1.13
	netbsd-6-0-4-RELEASE:1.13
	netbsd-5-2-2-RELEASE:1.12
	netbsd-5-1-4-RELEASE:1.12
	netbsd-6-1-2-RELEASE:1.13
	netbsd-6-0-3-RELEASE:1.13
	netbsd-5-2-1-RELEASE:1.12
	netbsd-5-1-3-RELEASE:1.12
	netbsd-6-1-1-RELEASE:1.13
	riastradh-drm2-base2:1.13
	riastradh-drm2-base1:1.13
	riastradh-drm2:1.13.0.16
	riastradh-drm2-base:1.13
	netbsd-6-1:1.13.0.20
	netbsd-6-0-2-RELEASE:1.13
	netbsd-6-1-RELEASE:1.13
	netbsd-6-1-RC4:1.13
	netbsd-6-1-RC3:1.13
	agc-symver:1.13.0.18
	agc-symver-base:1.13
	netbsd-6-1-RC2:1.13
	netbsd-6-1-RC1:1.13
	yamt-pagecache-base8:1.13
	netbsd-5-2:1.12.0.50
	netbsd-6-0-1-RELEASE:1.13
	yamt-pagecache-base7:1.13
	netbsd-5-2-RELEASE:1.12
	netbsd-5-2-RC1:1.12
	matt-nb6-plus-nbase:1.13
	yamt-pagecache-base6:1.13
	netbsd-6-0:1.13.0.14
	netbsd-6-0-RELEASE:1.13
	netbsd-6-0-RC2:1.13
	tls-maxphys:1.13.0.12
	tls-maxphys-base:1.13
	matt-nb6-plus:1.13.0.10
	matt-nb6-plus-base:1.13
	netbsd-6-0-RC1:1.13
	yamt-pagecache-base5:1.13
	yamt-pagecache-base4:1.13
	netbsd-6:1.13.0.8
	netbsd-6-base:1.13
	netbsd-5-1-2-RELEASE:1.12
	netbsd-5-1-1-RELEASE:1.12
	yamt-pagecache-base3:1.13
	yamt-pagecache-base2:1.13
	yamt-pagecache:1.13.0.6
	yamt-pagecache-base:1.13
	cherry-xenmp:1.13.0.4
	cherry-xenmp-base:1.13
	bouyer-quota2-nbase:1.13
	bouyer-quota2:1.13.0.2
	bouyer-quota2-base:1.13
	matt-mips64-premerge-20101231:1.13
	matt-nb5-mips64-premerge-20101231:1.12
	matt-nb5-pq3:1.12.0.48
	matt-nb5-pq3-base:1.12
	netbsd-5-1:1.12.0.46
	netbsd-5-1-RELEASE:1.12
	netbsd-5-1-RC4:1.12
	matt-nb5-mips64-k15:1.12
	netbsd-5-1-RC3:1.12
	netbsd-5-1-RC2:1.12
	netbsd-5-1-RC1:1.12
	netbsd-5-0-2-RELEASE:1.12
	matt-nb5-mips64-premerge-20091211:1.12
	matt-premerge-20091211:1.13
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.12
	matt-nb4-mips64-k7-u2a-k9b:1.12
	matt-nb5-mips64-u1-k1-k5:1.12
	matt-nb5-mips64:1.12.0.44
	netbsd-5-0-1-RELEASE:1.12
	jym-xensuspend-nbase:1.13
	netbsd-5-0:1.12.0.42
	netbsd-5-0-RELEASE:1.12
	netbsd-5-0-RC4:1.12
	netbsd-5-0-RC3:1.12
	netbsd-5-0-RC2:1.12
	jym-xensuspend:1.12.0.40
	jym-xensuspend-base:1.13
	netbsd-5-0-RC1:1.12
	netbsd-5:1.12.0.38
	netbsd-5-base:1.12
	matt-mips64-base2:1.12
	matt-mips64:1.12.0.36
	mjf-devfs2:1.12.0.34
	mjf-devfs2-base:1.12
	netbsd-4-0-1-RELEASE:1.12
	wrstuden-revivesa-base-3:1.12
	wrstuden-revivesa-base-2:1.12
	wrstuden-fixsa-newbase:1.12
	wrstuden-revivesa-base-1:1.12
	yamt-pf42-base4:1.12
	yamt-pf42-base3:1.12
	hpcarm-cleanup-nbase:1.12
	yamt-pf42-baseX:1.12
	yamt-pf42-base2:1.12
	wrstuden-revivesa:1.12.0.32
	wrstuden-revivesa-base:1.12
	yamt-pf42:1.12.0.30
	yamt-pf42-base:1.12
	keiichi-mipv6-nbase:1.12
	keiichi-mipv6:1.12.0.28
	keiichi-mipv6-base:1.12
	matt-armv6-nbase:1.12
	matt-armv6-prevmlocking:1.12
	wrstuden-fixsa-base-1:1.12
	netbsd-4-0:1.12.0.26
	netbsd-4-0-RELEASE:1.12
	cube-autoconf:1.12.0.24
	cube-autoconf-base:1.12
	netbsd-4-0-RC5:1.12
	netbsd-4-0-RC4:1.12
	netbsd-4-0-RC3:1.12
	netbsd-4-0-RC2:1.12
	netbsd-4-0-RC1:1.12
	matt-armv6:1.12.0.22
	matt-armv6-base:1.12
	matt-mips64-base:1.12
	hpcarm-cleanup:1.12.0.20
	hpcarm-cleanup-base:1.12
	netbsd-3-1-1-RELEASE:1.12
	netbsd-3-0-3-RELEASE:1.12
	wrstuden-fixsa:1.12.0.18
	wrstuden-fixsa-base:1.12
	abandoned-netbsd-4-base:1.12
	abandoned-netbsd-4:1.12.0.12
	netbsd-3-1:1.12.0.14
	netbsd-3-1-RELEASE:1.12
	netbsd-3-0-2-RELEASE:1.12
	netbsd-3-1-RC4:1.12
	netbsd-3-1-RC3:1.12
	netbsd-3-1-RC2:1.12
	netbsd-3-1-RC1:1.12
	netbsd-4:1.12.0.16
	netbsd-4-base:1.12
	netbsd-3-0-1-RELEASE:1.12
	netbsd-3-0:1.12.0.10
	netbsd-3-0-RELEASE:1.12
	netbsd-3-0-RC6:1.12
	netbsd-3-0-RC5:1.12
	netbsd-3-0-RC4:1.12
	netbsd-3-0-RC3:1.12
	netbsd-3-0-RC2:1.12
	netbsd-3-0-RC1:1.12
	netbsd-2-0-3-RELEASE:1.12
	netbsd-2-1:1.12.0.8
	netbsd-2-1-RELEASE:1.12
	netbsd-2-1-RC6:1.12
	netbsd-2-1-RC5:1.12
	netbsd-2-1-RC4:1.12
	netbsd-2-1-RC3:1.12
	netbsd-2-1-RC2:1.12
	netbsd-2-1-RC1:1.12
	netbsd-2-0-2-RELEASE:1.12
	netbsd-3:1.12.0.6
	netbsd-3-base:1.12
	netbsd-2-0-1-RELEASE:1.12
	netbsd-2:1.12.0.4
	netbsd-2-base:1.12
	netbsd-2-0-RELEASE:1.12
	netbsd-2-0-RC5:1.12
	netbsd-2-0-RC4:1.12
	netbsd-2-0-RC3:1.12
	netbsd-2-0-RC2:1.12
	netbsd-2-0-RC1:1.12
	netbsd-2-0:1.12.0.2
	netbsd-2-0-base:1.12
	netbsd-1-6-PATCH002-RELEASE:1.10
	netbsd-1-6-PATCH002:1.10
	netbsd-1-6-PATCH002-RC4:1.10
	netbsd-1-6-PATCH002-RC3:1.10
	netbsd-1-6-PATCH002-RC2:1.10
	netbsd-1-6-PATCH002-RC1:1.10
	netbsd-1-6-PATCH001:1.10
	netbsd-1-6-PATCH001-RELEASE:1.10
	netbsd-1-6-PATCH001-RC3:1.10
	netbsd-1-6-PATCH001-RC2:1.10
	netbsd-1-6-PATCH001-RC1:1.10
	fvdl_fs64_base:1.12
	netbsd-1-6-RELEASE:1.10
	netbsd-1-6-RC3:1.10
	netbsd-1-6-RC2:1.10
	netbsd-1-6-RC1:1.10
	netbsd-1-6:1.10.0.2
	netbsd-1-6-base:1.10
	netbsd-1-5-PATCH003:1.9.8.1
	netbsd-1-5-PATCH002:1.9.8.1
	netbsd-1-5-PATCH001:1.9.8.1
	netbsd-1-5-RELEASE:1.9.8.1
	netbsd-1-5-BETA2:1.9.8.1
	netbsd-1-5-BETA:1.9.8.1
	netbsd-1-4-PATCH003:1.8
	netbsd-1-5-ALPHA2:1.9
	netbsd-1-5:1.9.0.8
	netbsd-1-5-base:1.9
	minoura-xpg4dl-base:1.9
	minoura-xpg4dl:1.9.0.6
	netbsd-1-4-PATCH002:1.8
	wrstuden-devbsize-19991221:1.9
	wrstuden-devbsize:1.9.0.4
	wrstuden-devbsize-base:1.9
	comdex-fall-1999:1.9.0.2
	comdex-fall-1999-base:1.9
	v7_6:1.1.1.2
	netbsd-1-4-PATCH001:1.8
	netbsd-1-4-RELEASE:1.8
	netbsd-1-4:1.8.0.2
	netbsd-1-4-base:1.8
	netbsd-1-3-PATCH003:1.4
	netbsd-1-3-PATCH003-CANDIDATE2:1.4
	netbsd-1-3-PATCH003-CANDIDATE1:1.4
	netbsd-1-3-PATCH003-CANDIDATE0:1.4
	netbsd-1-3-PATCH002:1.4
	netbsd-1-3-PATCH001:1.4
	netbsd-1-3-RELEASE:1.4
	netbsd-1-3-BETA:1.4
	netbsd-1-3:1.4.0.2
	netbsd-1-3-base:1.4
	v7_4:1.1.1.1
	VENEMA:1.1.1;
locks; strict;
comment	@# @;


1.14
date	2021.03.07.15.09.12;	author christos;	state Exp;
branches;
next	1.13;
commitid	Tu9t2FRGehDbaoKC;

1.13
date	2009.04.22.15.23.08;	author lukem;	state Exp;
branches;
next	1.12;

1.12
date	2002.09.18.03.54.37;	author lukem;	state Exp;
branches
	1.12.40.1;
next	1.11;

1.11
date	2002.05.24.09.57.25;	author tron;	state Exp;
branches;
next	1.10;

1.10
date	2000.10.11.20.23.57;	author is;	state Exp;
branches;
next	1.9;

1.9
date	99.08.27.16.07.23;	author itojun;	state Exp;
branches
	1.9.8.1;
next	1.8;

1.8
date	99.02.15.04.00.14;	author hubertf;	state Exp;
branches;
next	1.7;

1.7
date	99.01.18.18.01.26;	author christos;	state Exp;
branches;
next	1.6;

1.6
date	98.03.05.18.03.35;	author christos;	state Exp;
branches;
next	1.5;

1.5
date	98.01.09.08.11.47;	author perry;	state Exp;
branches;
next	1.4;

1.4
date	97.10.18.06.43.00;	author lukem;	state Exp;
branches;
next	1.3;

1.3
date	97.10.11.21.41.34;	author christos;	state Exp;
branches;
next	1.2;

1.2
date	97.03.24.22.03.01;	author christos;	state Exp;
branches;
next	1.1;

1.1
date	97.01.11.02.06.52;	author cjs;	state Exp;
branches
	1.1.1.1;
next	;

1.12.40.1
date	2009.05.13.19.20.41;	author jym;	state Exp;
branches;
next	;

1.9.8.1
date	2000.10.17.19.50.31;	author tv;	state Exp;
branches;
next	;

1.1.1.1
date	97.01.11.02.06.52;	author cjs;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	99.08.27.15.16.17;	author itojun;	state Exp;
branches;
next	;


desc
@@


1.14
log
@Add blocklist support to libwrap which enables all programs using libwrap
to block access from hosts we deny. (libwrap support from Greg A. Woods)
@
text
@#	$NetBSD: Makefile,v 1.13 2009/04/22 15:23:08 lukem Exp $

WARNS?=	1	# XXX: many issues in lib/libwrap to address first

.include <bsd.own.mk>

PROG=	tcpdchk
SRCS=	tcpdchk.c fakelog.c inetcf.c scaffold.c percent_m.c
MAN=	tcpdchk.8
LDADD=	-lwrap -lblocklist 
DPADD=	${LIBWRAP} ${LIBBLOCKLIST} 

CPPFLAGS+= -I${NETBSDSRCDIR}/lib/libwrap -DSYS_ERRLIST_DEFINED

.include "${NETBSDSRCDIR}/lib/libwrap/Makefile.cflags"

.include <bsd.prog.mk>
@


1.13
log
@Enable WARNS=4 by default, except for:
	cpuctl  dumplfs  hprop  ipf  iprop-log  kadmin  kcm  kdc  kdigest
	kimpersonate  kstash  ktutil  makefs  ndbootd  ntp  pppd  quot
	racoon  racoonctl  rtadvd  sntp  sup  tcpdchk  tcpdmatch  tcpdump
	traceroute  traceroute6  user  veriexecgen  wsmoused  zic
(Mostly third-party applications)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2002/09/18 03:54:37 lukem Exp $
d10 2
a11 2
LDADD=	-lwrap
DPADD=	${LIBWRAP}
@


1.12
log
@use NETBSDSRCDIR as appropriate
@
text
@d1 3
a3 1
#	$NetBSD: Makefile,v 1.11 2002/05/24 09:57:25 tron Exp $
@


1.12.40.1
log
@Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
@
text
@d1 1
a1 3
#	$NetBSD: Makefile,v 1.13 2009/04/22 15:23:08 lukem Exp $

WARNS?=	1	# XXX: many issues in lib/libwrap to address first
@


1.11
log
@Fix build problem caused by recent changes to "libwrap".
@
text
@d1 3
a3 1
#	$NetBSD: Makefile,v 1.10 2000/10/11 20:23:57 is Exp $
d11 1
a11 1
CPPFLAGS+= -I${.CURDIR}/../../lib/libwrap -DSYS_ERRLIST_DEFINED
d13 1
a13 1
.include "${.CURDIR}/../../lib/libwrap/Makefile.cflags"
@


1.10
log
@More format string cleanups by sommerfeld.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 1999/08/27 16:07:23 itojun Exp $
d9 1
a9 1
CPPFLAGS+= -I${.CURDIR}/../../lib/libwrap
@


1.9
log
@conflict resolution after tcp_wrappers upgrade to 7.6.
@
text
@d1 1
a1 1
#	$NetBSD$
a13 2

CFLAGS=
@


1.9.8.1
log
@Pullup usr.sbin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2000/10/11 20:23:57 is Exp $
d14 2
@


1.8
log
@fix RCS ID
@
text
@d14 2
@


1.7
log
@PR/6835: Greg A. Woods: Various problems with tcpdchk
	- fakelog.c contains extra va_arg
	- fix netgroup const problem and remove WARNS flag from Makefile
	- use CFLAGS from libwrap
@
text
@d1 1
a1 1
#	$Netbsd$
@


1.6
log
@Remove WARNS=0
@
text
@d1 1
a1 2
#	$NetBSD: Makefile,v 1.5 1998/01/09 08:11:47 perry Exp $
#
d10 2
a11 5
CPPFLAGS+=-DFACILITY=LOG_AUTHPRIV -DSEVERITY=LOG_INFO -DPARANOID
CPPFLAGS+=-DREAL_DAEMON_DIR=\"/usr/libexec\" -DHOSTS_ACCESS -DDAEMON_UMASK=022
CPPFLAGS+=-DRFC931_TIMEOUT=10 -DALWAYS_HOSTNAME -DSYS_ERRLIST_DEFINED
CPPFLAGS+=-DHOSTS_ALLOW=\"/etc/hosts.allow\" -DHOSTS_DENY=\"/etc/hosts.deny\"
CPPFLAGS+=-DPROCESS_OPTIONS
@


1.5
log
@RCS Id Police.
@
text
@d1 1
a1 1
#	$NetBSD$
a3 1
WARNS?=	0
@


1.4
log
@enable WARNS=1 by default, but disable in unclean 3rd party code
@
text
@d1 2
a2 1
#	$Netbsd$
@


1.3
log
@Cleanup for WARNS = 1
- add prototypes
- comment out rfc931(); it conflicts with the one in -lwrap and is not needed
  anyway.
- remove unused variables
- add NetBSD rcsids.
@
text
@d3 1
a3 1
WARNS?=	1
@


1.2
log
@Makefile cleanups
@
text
@d3 1
d10 6
a15 7
CFLAGS+= -I${.CURDIR}/../../lib/libwrap

CFLAGS+=-DFACILITY=LOG_AUTHPRIV -DSEVERITY=LOG_INFO -DPARANOID
CFLAGS+=-DREAL_DAEMON_DIR=\"/usr/libexec\" -DHOSTS_ACCESS -DDAEMON_UMASK=022
CFLAGS+=-DRFC931_TIMEOUT=10 -DALWAYS_HOSTNAME -DSYS_ERRLIST_DEFINED
CFLAGS+=-DHOSTS_ALLOW=\"/etc/hosts.allow\" -DHOSTS_DENY=\"/etc/hosts.deny\"
CFLAGS+=-DPROCESS_OPTIONS
@


1.1
log
@Initial revision
@
text
@d7 1
@


1.1.1.1
log
@Import from tcd_wrappers_7.4.
@
text
@@


1.1.1.2
log
@libwrap from tcp_wrappers 7.6
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 1999/02/15 04:00:14 hubertf Exp $
d6 1
a6 2
LDADD=	-L/usr/home/itojun/NetBSD2/src/lib/libwrap -lwrap
DPADD=	${LIBWRAP}
d8 1
a8 1
CPPFLAGS+= -I${.CURDIR}/../../lib/libwrap
d10 5
a14 1
.include "${.CURDIR}/../../lib/libwrap/Makefile.cflags"
a16 2

CFLAGS=
@

