Commit Graph

103 Commits

Author SHA1 Message Date
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
wiz dc0174806b millisecond with two is. From Igor Sobrado in PR 20742, and sent back to
the ntp people.
2003-03-31 09:27:15 +00:00
wiz 5ef9540a69 hexadecimal, not hexidecimal. 2003-03-16 21:55:14 +00:00
wiz 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
wiz 299ca8dc8b Sync with dist spelling fixes. 2002-12-21 12:40:49 +00:00
wiz 34574e798b outgoing with a final g, not t; from Adrian Mrva. 2002-12-21 12:32:24 +00:00
heinz c624907cf7 fix small typo 2002-10-06 17:13:24 +00:00