Commit Graph

109 Commits

Author SHA1 Message Date
kardel 142d831562 Merge ntp 4.2.4p8 2009-12-08 21:52:05 +00:00
joerg 45354b5b39 Expand [= prog-name =] in man pages. 2009-10-15 01:28:10 +00:00
joerg cb83818524 Fix markup. 2009-10-15 00:59:01 +00:00
kardel 4a186c8fa5 resolve import ntp-4-2-4p7 2009-06-13 12:02:07 +00:00
lukem d877c4c3c0 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)
2009-04-22 15:23:01 +00:00
kardel 300f8f3036 merge ntp 4.2.4p6 2009-01-08 20:09:03 +00:00
kardel 1f18cb938c resolve ntp 4.2.4p5 import 2008-08-23 09:10:31 +00:00
kardel fbcf7d7188 make mkver fetch the date information from src/usr.sbin/ntp/importdate
in order to achieve consistent version strings across all builds
2008-07-16 20:53:56 +00:00
perry d44cd616e7 Don't include build date information in the binaries any more.
Also don't include "build iteration" information.

Part of the effort to make builds from bit-identical sources result in
bit-identical binaries.
2008-07-15 18:28:10 +00:00
lukem 66176dfdff Rename MKPRIVATELIB to LIBISPRIVATE, to make it clearer that this is
a variable that is used by in-tree Makefiles to control behaviour.
(MKsomevar variables are generally intended to be controlled by the end-user)
2008-05-03 14:48:30 +00:00
yamt 0b6f963133 .htm -> .html 2007-12-15 17:49:14 +00:00
kardel cf3eceb66e track 4.2.4p2 import 2007-06-24 16:56:48 +00:00
tls 4147a3c54a Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry.  RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros.  Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default.  Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
2007-05-28 12:06:17 +00:00
kardel 54a07e0f01 PR/25482
reinstate NTP html pages (sans gif's/img tags).
The important man pages are now generated by autogen and
thus match again the code again.
2007-01-20 16:50:29 +00:00
kardel 85272e875d use emalloc.c from the distribution for ntpd - default efuns don't make sense in daemons
reverts effect of usr.sbin/ntp/libntp/Makefile:1.9 for ntpd - restoring syslog functionality

discussed with christos@
2007-01-13 19:27:50 +00:00
kardel dbbbd5d806 import NTP 4.2.4 2007-01-06 19:45:21 +00:00
christos 1b75c508c8 Programs that had their own efuns, use libutil's now. 2006-08-26 18:15:37 +00:00
kardel e4dbee883d remove HAVE_GCC4 specialties with the merge of 4.2.2p2 2006-07-29 08:18:36 +00:00
kardel 0f50a38490 merge 4.2.2p2 2006-07-29 08:17:02 +00:00
drochner d02011e188 set NTP_KEYSDIR to "/etc/ntp" so that the crypto/autokey/leapseconds stuff
works as before
2006-06-23 16:58:58 +00:00
he 255c2c88af We don't have the <ieeefp.h> header if we're compiling for vax, so
add an ifdef around HAVE_IEEEFP_H.
2006-06-14 20:30:56 +00:00
kardel 8704ff927b import and integrate NTP 4.2.2 2006-06-11 19:34:07 +00:00
kardel d3390a5a9b merge timecounter branch 2006-06-07 20:59:28 +00:00
drochner 46e4eb1dd0 NetBSD has now "struct timespec" in ntptimeval 2006-05-29 10:04:13 +00:00
tron 203b156add Include "bsd.own.mk" to get the definition of "HAVE_GCC". 2006-05-11 10:32:37 +00:00
mrg c90e965e45 only do the previous for GCC4 2006-05-11 07:15:17 +00:00
mrg fde08302e9 use -Wno-pointer-sign and -fno-strict-aliasing for now. 2006-05-11 07:13:24 +00:00
simonb 5cfbf7bf76 Use MKPRIVATELIB instead of NOLINKLIB/NOMAN/NOPIC/NOLINT. 2006-02-25 12:04:23 +00:00
he 2243c46578 After christos relaxed the tty handling code, we no longer need to
set a tty as a controlling tty in order to use F_SETOWN on it, so
comment out USE_FSETOWNCTTY.
2005-07-17 12:46:51 +00:00
christos 192c2eccf6 Add -lcrypt where -lcrypto is specified. 2005-03-09 03:11:22 +00:00
lukem a390dfa659 Only #define WANT_IPV6 if ${USE_INET6} != "no".
(Otherwise #define ISC_PLATFORM_NEEDIN6ADDRANY.)
2005-01-10 03:03:28 +00:00
fredb 6ff51429b0 Make this a shell script (invoking awk), rather than an awk script, to
make the option parsing work as expected. Patch submitted by Geoff Wing
in PR pkg/25553, which this closes.
2004-06-07 18:48:29 +00:00
lukem 041ddd7062 Fix dependency for .version.
Noted by Geoff Wing in [bin/24244]
2004-01-27 02:17:46 +00:00
lukem f64aa6de5c Only build ntp-keygen if ${MKCRYPTO}!="no".
(There appears to be partial support in the ntp-keygen sources
for compiling without -DOPENSSL, but it's not functional).
2004-01-04 00:06:34 +00:00
lukem 5e982c6b1f Only define OPENSSL and use -lcrypto if ${MKCRYPTO}!="no" 2004-01-04 00:04:52 +00:00
fredb 040043b21a Back out last, in favor of adding a trailing dot to "localhost", as
discussed on current-users.
2003-12-29 00:44:05 +00:00
wiz 97129337d3 Immediately return from dhost() if host is localhost, to
avoid a warning from host(1).
From Nicolas Joly in PR 23897.
2003-12-27 00:58:35 +00:00
wiz 8bdfbd91ec Fix typo ($stratum -> stratum), from Nicolas Joly in PR 23891. 2003-12-26 17:43:02 +00:00
wiz 92c9805148 server is an Ar, not a Fl. From Nicolas Joly in PR 23890. 2003-12-26 16:52:18 +00:00
fredb fd7b604de5 Fix my email address. 2003-12-05 21:24:10 +00:00
drochner 3b1892c380 remove orphaned files 2003-12-05 12:15:49 +00:00
drochner 43f2108cfd update the reachover build tree for ntp-4.2.0:
-adjust for new libs, programs and source files
-replace generated config.h and mkver
-add Frederick Bruckman's awk implementation of "ntptrace" as a
 replacement for the perl program in the original tree
2003-12-04 16:41:56 +00:00
fredb cb7d2f351e Use ".Fl" consistently for option flags, and mdoc-ify the rest of that
paragraph, while we're in there. (There's still a long way to go...)
2003-10-25 12:32:55 +00:00
fredb 87d27207dc Clean up the flags section,
and note the existence of
.Fl d
Closes
PR misc/23254.
2003-10-25 12:27:08 +00:00
lukem 130ab7336b Rework how MAKEVERBOSE operates:
*	Don't bother prefixing commands with a line of  ${_MKCMD}\
	and instead rely upon "make -s".  This is less intrusive on
	all the Makefiles than the former.  Idea from David Laight.

    *	Rename the variables use to print messages.  The scheme now is:
	    _MKMSG_FOO		Run  _MKMSG 'foo'
	    _MKTARGET_FOO	Run  _MKMSG_FOO ${.TARGET}
	From discussion with Alistair Crooks.
2003-10-21 10:01:19 +00:00
lukem a414e34de5 support MAKEVERBOSE and use ${HOST_SH} 2003-10-19 06:11:38 +00:00
itojun 380bdb8dbb avoid mandoc warning 2003-07-04 07:54:47 +00:00
wiz 5eaf7230fd Quote some punctuation (XXX: take care on next import...). 2003-06-30 10:39:28 +00:00
thorpej 8a1fcff86a MKSHARE -> MKDOC 2003-04-18 18:33:22 +00:00
wiz 0de6cf8c45 Some typo fixes from Igor Sobrado in PR 20743. Sent back to the ntp
people.
2003-03-31 09:27:52 +00:00