head	1.11;
access;
symbols
	netbsd-10-2-RELEASE:1.11
	netbsd-9-5-RELEASE:1.11
	netbsd-11-0-RELEASE:1.11
	netbsd-11-0-RC7:1.11
	netbsd-11-0-RC6:1.11
	netbsd-11-0-RC5:1.11
	netbsd-11-0-RC4:1.11
	netbsd-11-0-RC3:1.11
	netbsd-11-0-RC2:1.11
	netbsd-11-0-RC1:1.11
	perseant-exfatfs-base-20250801:1.11
	netbsd-11:1.11.0.90
	netbsd-11-base:1.11
	netbsd-10-1-RELEASE:1.11
	perseant-exfatfs-base-20240630:1.11
	perseant-exfatfs:1.11.0.88
	perseant-exfatfs-base:1.11
	netbsd-8-3-RELEASE:1.11
	netbsd-9-4-RELEASE:1.11
	netbsd-10-0-RELEASE:1.11
	netbsd-10-0-RC6:1.11
	netbsd-10-0-RC5:1.11
	netbsd-10-0-RC4:1.11
	netbsd-10-0-RC3:1.11
	netbsd-10-0-RC2:1.11
	netbsd-10-0-RC1:1.11
	netbsd-10:1.11.0.86
	netbsd-10-base:1.11
	netbsd-9-3-RELEASE:1.11
	cjep_sun2x-base1:1.11
	cjep_sun2x:1.11.0.84
	cjep_sun2x-base:1.11
	cjep_staticlib_x-base1:1.11
	netbsd-9-2-RELEASE:1.11
	cjep_staticlib_x:1.11.0.82
	cjep_staticlib_x-base:1.11
	netbsd-9-1-RELEASE:1.11
	phil-wifi-20200421:1.11
	phil-wifi-20200411:1.11
	is-mlppp:1.11.0.80
	is-mlppp-base:1.11
	phil-wifi-20200406:1.11
	netbsd-8-2-RELEASE:1.11
	netbsd-9-0-RELEASE:1.11
	netbsd-9-0-RC2:1.11
	netbsd-9-0-RC1:1.11
	phil-wifi-20191119:1.11
	netbsd-9:1.11.0.78
	netbsd-9-base:1.11
	phil-wifi-20190609:1.11
	netbsd-8-1-RELEASE:1.11
	netbsd-8-1-RC1:1.11
	pgoyette-compat-merge-20190127:1.11
	pgoyette-compat-20190127:1.11
	pgoyette-compat-20190118:1.11
	pgoyette-compat-1226:1.11
	pgoyette-compat-1126:1.11
	pgoyette-compat-1020:1.11
	pgoyette-compat-0930:1.11
	pgoyette-compat-0906:1.11
	netbsd-7-2-RELEASE:1.11
	pgoyette-compat-0728:1.11
	netbsd-8-0-RELEASE:1.11
	phil-wifi:1.11.0.76
	phil-wifi-base:1.11
	pgoyette-compat-0625:1.11
	netbsd-8-0-RC2:1.11
	pgoyette-compat-0521:1.11
	pgoyette-compat-0502:1.11
	pgoyette-compat-0422:1.11
	netbsd-8-0-RC1:1.11
	pgoyette-compat-0415:1.11
	pgoyette-compat-0407:1.11
	pgoyette-compat-0330:1.11
	pgoyette-compat-0322:1.11
	pgoyette-compat-0315:1.11
	netbsd-7-1-2-RELEASE:1.11
	pgoyette-compat:1.11.0.74
	pgoyette-compat-base:1.11
	netbsd-7-1-1-RELEASE:1.11
	matt-nb8-mediatek:1.11.0.72
	matt-nb8-mediatek-base:1.11
	perseant-stdc-iso10646:1.11.0.70
	perseant-stdc-iso10646-base:1.11
	netbsd-8:1.11.0.68
	netbsd-8-base:1.11
	prg-localcount2-base3:1.11
	prg-localcount2-base2:1.11
	prg-localcount2-base1:1.11
	prg-localcount2:1.11.0.66
	prg-localcount2-base:1.11
	pgoyette-localcount-20170426:1.11
	bouyer-socketcan-base1:1.11
	pgoyette-localcount-20170320:1.11
	netbsd-7-1:1.11.0.64
	netbsd-7-1-RELEASE:1.11
	netbsd-7-1-RC2:1.11
	netbsd-7-nhusb-base-20170116:1.11
	bouyer-socketcan:1.11.0.62
	bouyer-socketcan-base:1.11
	pgoyette-localcount-20170107:1.11
	netbsd-7-1-RC1:1.11
	pgoyette-localcount-20161104:1.11
	netbsd-7-0-2-RELEASE:1.11
	localcount-20160914:1.11
	netbsd-7-nhusb:1.11.0.60
	netbsd-7-nhusb-base:1.11
	pgoyette-localcount-20160806:1.11
	pgoyette-localcount-20160726:1.11
	pgoyette-localcount:1.11.0.58
	pgoyette-localcount-base:1.11
	netbsd-7-0-1-RELEASE:1.11
	netbsd-7-0:1.11.0.56
	netbsd-7-0-RELEASE:1.11
	netbsd-7-0-RC3:1.11
	netbsd-7-0-RC2:1.11
	netbsd-7-0-RC1:1.11
	netbsd-5-2-3-RELEASE:1.11
	netbsd-5-1-5-RELEASE:1.11
	netbsd-6-0-6-RELEASE:1.11
	netbsd-6-1-5-RELEASE:1.11
	netbsd-7:1.11.0.54
	netbsd-7-base:1.11
	yamt-pagecache-base9:1.11
	yamt-pagecache-tag8:1.11
	netbsd-6-1-4-RELEASE:1.11
	netbsd-6-0-5-RELEASE:1.11
	tls-earlyentropy:1.11.0.52
	tls-earlyentropy-base:1.11
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.11
	riastradh-drm2-base3:1.11
	netbsd-6-1-3-RELEASE:1.11
	netbsd-6-0-4-RELEASE:1.11
	netbsd-5-2-2-RELEASE:1.11
	netbsd-5-1-4-RELEASE:1.11
	netbsd-6-1-2-RELEASE:1.11
	netbsd-6-0-3-RELEASE:1.11
	netbsd-5-2-1-RELEASE:1.11
	netbsd-5-1-3-RELEASE:1.11
	netbsd-6-1-1-RELEASE:1.11
	riastradh-drm2-base2:1.11
	riastradh-drm2-base1:1.11
	riastradh-drm2:1.11.0.46
	riastradh-drm2-base:1.11
	netbsd-6-1:1.11.0.50
	netbsd-6-0-2-RELEASE:1.11
	netbsd-6-1-RELEASE:1.11
	netbsd-6-1-RC4:1.11
	netbsd-6-1-RC3:1.11
	agc-symver:1.11.0.48
	agc-symver-base:1.11
	netbsd-6-1-RC2:1.11
	netbsd-6-1-RC1:1.11
	yamt-pagecache-base8:1.11
	netbsd-5-2:1.11.0.44
	netbsd-6-0-1-RELEASE:1.11
	yamt-pagecache-base7:1.11
	netbsd-5-2-RELEASE:1.11
	netbsd-5-2-RC1:1.11
	matt-nb6-plus-nbase:1.11
	yamt-pagecache-base6:1.11
	netbsd-6-0:1.11.0.42
	netbsd-6-0-RELEASE:1.11
	netbsd-6-0-RC2:1.11
	tls-maxphys:1.11.0.40
	tls-maxphys-base:1.11
	matt-nb6-plus:1.11.0.38
	matt-nb6-plus-base:1.11
	netbsd-6-0-RC1:1.11
	yamt-pagecache-base5:1.11
	yamt-pagecache-base4:1.11
	netbsd-6:1.11.0.36
	netbsd-6-base:1.11
	netbsd-5-1-2-RELEASE:1.11
	netbsd-5-1-1-RELEASE:1.11
	yamt-pagecache-base3:1.11
	yamt-pagecache-base2:1.11
	yamt-pagecache:1.11.0.34
	yamt-pagecache-base:1.11
	cherry-xenmp:1.11.0.32
	cherry-xenmp-base:1.11
	bouyer-quota2-nbase:1.11
	bouyer-quota2:1.11.0.30
	bouyer-quota2-base:1.11
	matt-mips64-premerge-20101231:1.11
	matt-nb5-mips64-premerge-20101231:1.11
	matt-nb5-pq3:1.11.0.28
	matt-nb5-pq3-base:1.11
	netbsd-5-1:1.11.0.26
	netbsd-5-1-RELEASE:1.11
	netbsd-5-1-RC4:1.11
	matt-nb5-mips64-k15:1.11
	netbsd-5-1-RC3:1.11
	netbsd-5-1-RC2:1.11
	netbsd-5-1-RC1:1.11
	netbsd-5-0-2-RELEASE:1.11
	matt-nb5-mips64-premerge-20091211:1.11
	matt-premerge-20091211:1.11
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.11
	matt-nb4-mips64-k7-u2a-k9b:1.11
	matt-nb5-mips64-u1-k1-k5:1.11
	matt-nb5-mips64:1.11.0.24
	netbsd-5-0-1-RELEASE:1.11
	jym-xensuspend-nbase:1.11
	netbsd-5-0:1.11.0.22
	netbsd-5-0-RELEASE:1.11
	netbsd-5-0-RC4:1.11
	netbsd-5-0-RC3:1.11
	netbsd-5-0-RC2:1.11
	jym-xensuspend:1.11.0.20
	jym-xensuspend-base:1.11
	netbsd-5-0-RC1:1.11
	netbsd-5:1.11.0.18
	netbsd-5-base:1.11
	matt-mips64-base2:1.11
	matt-mips64:1.11.0.16
	mjf-devfs2:1.11.0.14
	mjf-devfs2-base:1.11
	netbsd-4-0-1-RELEASE:1.9
	wrstuden-revivesa-base-3:1.11
	wrstuden-revivesa-base-2:1.11
	wrstuden-fixsa-newbase:1.9
	wrstuden-revivesa-base-1:1.11
	yamt-pf42-base4:1.11
	yamt-pf42-base3:1.11
	hpcarm-cleanup-nbase:1.11
	yamt-pf42-baseX:1.11
	yamt-pf42-base2:1.11
	wrstuden-revivesa:1.11.0.12
	wrstuden-revivesa-base:1.11
	yamt-pf42:1.11.0.10
	yamt-pf42-base:1.11
	keiichi-mipv6-nbase:1.11
	keiichi-mipv6:1.11.0.8
	keiichi-mipv6-base:1.11
	matt-armv6-nbase:1.11
	matt-armv6-prevmlocking:1.11
	wrstuden-fixsa-base-1:1.9
	netbsd-4-0:1.9.0.34
	netbsd-4-0-RELEASE:1.9
	cube-autoconf:1.11.0.6
	cube-autoconf-base:1.11
	netbsd-4-0-RC5:1.9
	netbsd-4-0-RC4:1.9
	netbsd-4-0-RC3:1.9
	netbsd-4-0-RC2:1.9
	netbsd-4-0-RC1:1.9
	matt-armv6:1.11.0.4
	matt-armv6-base:1.11
	matt-mips64-base:1.11
	hpcarm-cleanup:1.11.0.2
	hpcarm-cleanup-base:1.11
	netbsd-3-1-1-RELEASE:1.9
	netbsd-3-0-3-RELEASE:1.9
	wrstuden-fixsa:1.9.0.32
	wrstuden-fixsa-base:1.9
	abandoned-netbsd-4-base:1.9
	abandoned-netbsd-4:1.9.0.26
	netbsd-3-1:1.9.0.28
	netbsd-3-1-RELEASE:1.9
	netbsd-3-0-2-RELEASE:1.9
	netbsd-3-1-RC4:1.9
	netbsd-3-1-RC3:1.9
	netbsd-3-1-RC2:1.9
	netbsd-3-1-RC1:1.9
	netbsd-4:1.9.0.30
	netbsd-4-base:1.9
	netbsd-3-0-1-RELEASE:1.9
	netbsd-3-0:1.9.0.24
	netbsd-3-0-RELEASE:1.9
	netbsd-3-0-RC6:1.9
	netbsd-3-0-RC5:1.9
	netbsd-3-0-RC4:1.9
	netbsd-3-0-RC3:1.9
	netbsd-3-0-RC2:1.9
	netbsd-3-0-RC1:1.9
	netbsd-2-0-3-RELEASE:1.9
	netbsd-2-1:1.9.0.22
	netbsd-2-1-RELEASE:1.9
	netbsd-2-1-RC6:1.9
	netbsd-2-1-RC5:1.9
	netbsd-2-1-RC4:1.9
	netbsd-2-1-RC3:1.9
	netbsd-2-1-RC2:1.9
	netbsd-2-1-RC1:1.9
	netbsd-2-0-2-RELEASE:1.9
	netbsd-3:1.9.0.20
	netbsd-3-base:1.9
	netbsd-2-0-1-RELEASE:1.9
	netbsd-2:1.9.0.18
	netbsd-2-base:1.9
	netbsd-2-0-RELEASE:1.9
	netbsd-2-0-RC5:1.9
	netbsd-2-0-RC4:1.9
	netbsd-2-0-RC3:1.9
	netbsd-2-0-RC2:1.9
	netbsd-2-0-RC1:1.9
	netbsd-2-0:1.9.0.16
	netbsd-2-0-base:1.9
	netbsd-1-6-PATCH002-RELEASE:1.9
	netbsd-1-6-PATCH002:1.9
	netbsd-1-6-PATCH002-RC4:1.9
	netbsd-1-6-PATCH002-RC3:1.9
	netbsd-1-6-PATCH002-RC2:1.9
	netbsd-1-6-PATCH002-RC1:1.9
	netbsd-1-6-PATCH001:1.9
	netbsd-1-6-PATCH001-RELEASE:1.9
	netbsd-1-6-PATCH001-RC3:1.9
	netbsd-1-6-PATCH001-RC2:1.9
	netbsd-1-6-PATCH001-RC1:1.9
	fvdl_fs64_base:1.9
	netbsd-1-6-RELEASE:1.9
	netbsd-1-6-RC3:1.9
	netbsd-1-6-RC2:1.9
	netbsd-1-6-RC1:1.9
	netbsd-1-6:1.9.0.14
	netbsd-1-6-base:1.9
	netbsd-1-5-PATCH003:1.9
	netbsd-1-5-PATCH002:1.9
	netbsd-1-5-PATCH001:1.9
	netbsd-1-5-RELEASE:1.9
	netbsd-1-5-BETA2:1.9
	netbsd-1-5-BETA:1.9
	netbsd-1-4-PATCH003:1.9
	netbsd-1-5-ALPHA2:1.9
	netbsd-1-5:1.9.0.12
	netbsd-1-5-base:1.9
	minoura-xpg4dl-base:1.9
	minoura-xpg4dl:1.9.0.10
	netbsd-1-4-PATCH002:1.9
	wrstuden-devbsize-19991221:1.9
	wrstuden-devbsize:1.9.0.8
	wrstuden-devbsize-base:1.9
	comdex-fall-1999:1.9.0.6
	comdex-fall-1999-base:1.9
	netbsd-1-4-PATCH001:1.9
	netbsd-1-4-RELEASE:1.9
	netbsd-1-4:1.9.0.4
	netbsd-1-4-base:1.9
	netbsd-1-3-PATCH003:1.9
	netbsd-1-3-PATCH003-CANDIDATE2:1.9
	netbsd-1-3-PATCH003-CANDIDATE1:1.9
	netbsd-1-3-PATCH003-CANDIDATE0:1.9
	netbsd-1-3-PATCH002:1.9
	netbsd-1-3-PATCH001:1.9
	netbsd-1-3-RELEASE:1.9
	netbsd-1-3-BETA:1.9
	netbsd-1-3:1.9.0.2
	netbsd-1-3-base:1.9
	lite-2:1.1.1.2
	CSRG:1.1.1
	netbsd-1-2-PATCH001:1.5
	netbsd-1-2-RELEASE:1.5
	netbsd-1-2-BETA:1.5
	netbsd-1-2:1.5.0.6
	netbsd-1-2-base:1.5
	netbsd-1-1-PATCH001:1.5
	netbsd-1-1-RELEASE:1.5
	netbsd-1-1:1.5.0.2
	netbsd-1-1-base:1.5
	netbsd-1-0-PATCH06:1.4
	netbsd-1-0-PATCH05:1.4
	netbsd-1-0-PATCH04:1.4
	netbsd-1-0-PATCH03:1.4
	netbsd-1-0-PATCH02:1.4
	netbsd-1-0-PATCH1:1.4
	netbsd-1-0-PATCH0:1.4
	netbsd-1-0-RELEASE:1.4
	netbsd-1-0:1.4.0.2
	netbsd-1-0-base:1.4
	netbsd-0-9-RELEASE:1.2
	netbsd-0-9-BETA:1.2
	netbsd-0-9-ALPHA2:1.2
	netbsd-0-9-ALPHA:1.2
	netbsd-0-9:1.2.0.2
	netbsd-0-9-base:1.2
	netbsd-0-8:1.2
	netbsd-alpha-1:1.2
	patchkit-0-2-2:1.1.1.1
	WFJ-386bsd-01:1.1.1.1
	WFJ-920714:1.1.1;
locks; strict;
comment	@# @;


1.11
date	2007.01.27.17.57.45;	author cbiere;	state Exp;
branches;
next	1.10;

1.10
date	2007.01.25.23.25.20;	author cbiere;	state Exp;
branches;
next	1.9;

1.9
date	97.10.17.14.19.54;	author lukem;	state Exp;
branches;
next	1.8;

1.8
date	97.10.17.08.57.03;	author mrg;	state Exp;
branches;
next	1.7;

1.7
date	97.05.08.21.12.47;	author gwr;	state Exp;
branches;
next	1.6;

1.6
date	97.05.06.20.46.41;	author gwr;	state Exp;
branches;
next	1.5;

1.5
date	94.12.22.11.44.31;	author cgd;	state Exp;
branches;
next	1.4;

1.4
date	93.11.03.11.08.15;	author cgd;	state Exp;
branches;
next	1.3;

1.3
date	93.07.30.20.50.37;	author mycroft;	state Exp;
branches;
next	1.2;

1.2
date	93.03.23.03.50.32;	author cgd;	state Exp;
branches;
next	1.1;

1.1
date	93.03.21.09.45.37;	author cgd;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	93.03.21.09.45.37;	author cgd;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	93.06.06.21.10.00;	author mrg;	state Exp;
branches;
next	;


desc
@@


1.11
log
@ * timedc is no longer setuid-root and is only usable by root due to the
   use of a raw socket for ICMP; thus there is also no need to differ
   between privileged and unprivileged commands.
 * Switch to user "nobody" after allocating the raw socket.
 * Close all file descriptors above 2 (just in case).
@
text
@#	$NetBSD: Makefile,v 1.10 2007/01/25 23:25:20 cbiere Exp $
#	from: @@(#)Makefile	5.4 (Berkeley) 5/11/93

PROG=	timedc
SRCS=	cmds.c cmdtab.c timedc.c byteorder.c measure.c cksum.c tspname.c
MAN=	timedc.8
.PATH:	${.CURDIR}/../timed

.include <bsd.prog.mk>
@


1.10
log
@ * Modified in_cksum() so it can handle unaligned data.
 * Replaced most strlcpy() with set_tsp_name() and get_tsp_name() because
   strlcpy() could potentially run out-of-bounds and doesn't zero out
   unused buffer space.
 * Replaced bcopy/bzero() with memcpy/memset().
 * Fixed potential alignment/aliasing issues in measure().
 * Replace u_short/u_long with uint16_t/uint32_t/in_addr_t where appropriate.
 * Renamed sin to addr because sin is a reserved identifier.
 * Use bindresvport() instead of looping over bind(); rresvport() returns
   a SOCK_STREAM socket not SOCK_DGRAM.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 1997/10/17 14:19:54 lukem Exp $
a6 2
BINOWN=	root
BINMODE=4555
@


1.9
log
@WARNSify
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 1997/10/17 08:57:03 mrg Exp $
d5 1
a5 1
SRCS=	cmds.c cmdtab.c timedc.c byteorder.c measure.c cksum.c
@


1.8
log
@merge lite-2
@
text
@d1 1
a1 1
#	$NetBSD$
a10 1
.include "../../Makefile.inc"
@


1.7
log
@Back out the .PATH.c changes.  The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
@
text
@d1 2
a2 1
#	@@(#)Makefile	5.4 (Berkeley) 5/11/93
@


1.6
log
@Use .PATH.c: ...
@
text
@d8 1
a8 1
.PATH.c: ${.CURDIR}/../timed
@


1.5
log
@specify man pages the new way.
@
text
@d8 1
a8 1
.PATH:	${.CURDIR}/../timed
@


1.4
log
@update timed to the latest version, as supplied and ported by
<Vernon Schryver> vjs@@calcite.rhyolite.com.
@
text
@d5 1
a5 1
MAN8=	timedc.0
@


1.3
log
@Add RCS identifiers.
@
text
@d1 1
a1 2
#	from: @@(#)Makefile	5.2 (Berkeley) 5/11/90
#	$Id: $
d4 1
a4 1
SRCS=	cmds.c cmdtab.c timedc.c byteorder.c measure.c cksum.${MACHINE}.c
d8 1
a8 1
.PATH:	${.CURDIR}/../timed ${.CURDIR}/../timed/obj
@


1.2
log
@adjusted to take into acct. changes to ../timed/Makefile, which
resolved the cksum.i386.c problem.
@
text
@d1 2
a2 1
#	@@(#)Makefile	5.2 (Berkeley) 5/11/90
@


1.1
log
@Initial revision
@
text
@d8 1
a8 1
.PATH:	${.CURDIR}/../timed
@


1.1.1.1
log
@initial import of 386bsd-0.1 sources
@
text
@@


1.1.1.2
log
@4.4BSD-Lite2
@
text
@d1 1
a1 1
#	@@(#)Makefile	8.1 (Berkeley) 6/6/93
d4 1
a4 1
SRCS=	cmds.c cmdtab.c timedc.c byteorder.c measure.c cksum.c
@
