Dima Ruban
6fc32ef8ee
Use sysctl() rather than kvm_read() when getting information
...
about clock stuff from kernel.
This fixes xntpd on alpha.
1998-10-19 20:48:08 +00:00
Dag-Erling Smørgrav
55c8f48a78
The adjtime man page is in section 2, not 8.
...
PR: docs/8310
Submitted by: Amakawa Shuhei <amakawa@nebula.sf.t.u-tokyo.ac.jp>
1998-10-13 22:55:29 +00:00
Dag-Erling Smørgrav
b354705227
Remove all references to tickadj(8) from rc, rc.conf and rc.conf.5.
...
Disable building tickadj(8) by removing util from SUBDIR in the xntpd
Makefile. Note that the sources are still there and tickadj can still
be built and installed by doing:
# cd /usr/src/usr.sbin/xntpd/util
# make all install
There are enough references to tickadj in e.g. the xntpd documentation
(not to mention the sysctl variables it uses etc.) that I don't feel
up to implementing the final solution right now.
Kinda-approved-by: phk
1998-10-08 18:47:30 +00:00
Tor Egge
b45187b7cc
Don't allow longjmp into a no longer valid stack frame.
1998-09-10 02:01:06 +00:00
Peter Wemm
d1d9ad56a9
#include <arpa/inet.h> instead of rolling own prototype.
1998-06-12 14:58:03 +00:00
Bruce Evans
2be57ccd0c
Removed self-inclusion-prevention ifdef. It is unnecessary now that
...
bsd.man.mk doesn't include ${.CURDIR}/../Makefile.inc.
1998-05-01 15:39:46 +00:00
Bruce Evans
ee09b4f65e
Don't use the beforedepend target. It was a no-op here except for
...
helping bsd.dep.mk break `make -jN depend'.
1998-03-19 15:12:05 +00:00
Bruce Evans
15d0bb0b98
Use foo/bar.a' instead of
-Lfoo -lbar' for linking to static internal
...
libraries so that `ld -f' in can create correct dependencies for
yet-to-be-built libraries.
Get the default BINDIR correctly (by including ../Makefile.inc recursively.
1998-03-07 09:46:17 +00:00
Philippe Charnier
48dc1a0052
Convert to mdoc + typos.
1998-02-19 08:05:46 +00:00
Philippe Charnier
2cc11a3c27
Add rcsid. Add usage() with up to date flag list. Use err(3).
1998-01-22 07:28:26 +00:00
Philippe Charnier
a7a63eccb9
Convert to mdoc format. Document missing flags.
1998-01-22 07:26:08 +00:00
Steve Price
ff2dff3d42
Fix some minor formatting bugs.
...
PR: 5216
Submitted by: Masahiro Sekiguchi <seki@sysrap.cs.fujitsu.co.jp>
1997-12-27 18:54:23 +00:00
Alexander Langer
c62b41d9d5
YTK fix.
1997-12-22 23:00:35 +00:00
Masafumi Max NAKANE
1a17a85ecb
Typo fix.
...
PR: 4594
Submitted by: Masahiro Sekiguchi <seki@sysrap.cs.fujitsu.co.jp>
1997-09-22 10:12:47 +00:00
Masafumi Max NAKANE
7e04a60da7
Typo.
1997-09-19 16:04:19 +00:00
Wolfram Schneider
378b56378a
typo
...
PR: docs/4523
Submitted by: Takahiro Yugawa <yugawa@orleans.rim.or.jp>
1997-09-13 15:35:00 +00:00
Andrey A. Chernov
a2f6232436
Add LC_TIME=C to date
1997-06-30 10:59:25 +00:00
Peter Wemm
476602a9d0
Revert $FreeBSD$ to $Id$
1997-02-22 16:15:28 +00:00
Poul-Henning Kamp
5f2d7aa755
Add the trickery to power the "Conrad" DCF77 receiver.
1997-01-18 08:43:21 +00:00
Jordan K. Hubbard
1130b656e5
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
Bruce Evans
5d2c7b5b1f
Fixed DPADD (don't put -L in it).
1997-01-10 05:24:55 +00:00
Warner Losh
d07d447b29
Apply patch in pr 2067 to correct an uninitialized pointer dereference
...
in tickadj. Tested briefly here and it it seems to work.
Possible 2.2 candidate.
Submitted by: Don Lewis <Don.Lewis@tsc.tdk.com>
Closes PR: 2067
1996-12-17 17:21:47 +00:00
Garrett Wollman
628d2ac1b0
Fix up programs which expect <net/if.h> to include <sys/time.h> to instead
...
do it themselves. (Some of these programs actually depended on this
beyond compiling the definition of struct ifinfo!) Also fix up some
other #include messes while we're at it.
1996-12-10 17:11:53 +00:00
Adam David
5a0722857d
typo
1996-11-03 12:25:21 +00:00
Paul Traina
7903651566
Fix a YTK bug.
1996-10-20 17:55:36 +00:00
Wolfram Schneider
e83201b43a
delete doubled words, e.g.: "the the" -> "the"
1996-10-05 22:27:30 +00:00
Bruce Evans
5b963fa12e
Fixed DPADD.
1996-09-05 17:16:10 +00:00
Adam David
587a9ccb56
typo
1996-09-05 11:18:27 +00:00
Peter Wemm
53a25106cd
Use a variable to prevent multiple inclusion from duplicating CFLAGS args.
1996-08-30 03:03:21 +00:00
Poul-Henning Kamp
4b7d97414e
Make broadcast clients work.
1996-08-06 11:32:25 +00:00
Jordan K. Hubbard
cd9a2f5c28
Bring in my changes for removing the pestilent obj links (unless you
...
really want them) from /usr/src. This is the final version of the
patches, incorporating the feedback I've received from -current.
1996-06-24 04:26:21 +00:00
Thomas Gellekum
c18a55ebaa
Second attempt to correct the leap year handling.
1996-01-09 07:59:54 +00:00
Jordan K. Hubbard
59f8632ddb
Somebody stumbled over the :? here.. :-)
1996-01-09 07:41:52 +00:00
Thomas Gellekum
a8611821d7
Fix leap year calculations in parse_to_unixtime()
1996-01-08 08:45:11 +00:00
Peter Wemm
6065a0be11
This commit was generated by cvs2svn to compensate for changes in r13122,
...
which included commits to RCS files with non-trunk default branches.
1995-12-30 19:02:48 +00:00
Peter Wemm
a5b996a7ec
recording cvs-1.6 file death
1995-12-30 19:02:48 +00:00
Bruce Evans
4ca7e8ae71
Fixed the type of a signal handler.
1995-12-07 14:47:36 +00:00
Bruce Evans
f781e76a9a
Moved a test for HAVE_GETBOOTFILE to after the #include of the
...
configuration header that may define it. Fixed the resulting
warnings.
1995-12-07 14:46:07 +00:00
Bruce Evans
df4b6087db
Added missing data to a struct initializer by copying it from similar
...
initializers. This may not be correct, but the initializer shouldn't
have compiled before.
1995-12-07 14:41:22 +00:00
Andreas Schulz
758f725332
Correct the manpage for the -o flag. Formerly it was a single flag, now
...
it requires a version number for the flag. Also correct the manpage to
tell the user ntpdate now uses version 3 as default.
1995-09-03 20:09:00 +00:00
Jordan K. Hubbard
dd77c4bc54
Support for the Boeder DCF77 Receiver
...
Submitted by: Vincenzo Capuano <VCAPUANO@VMPROFS.ESOC.ESA.DE>
1995-07-21 13:04:07 +00:00
Andrey A. Chernov
dfb8a7e1eb
Add missing ../ to secure path, close PR 615
...
Submitted by: gordon@sheaky.lonestar.org
1995-07-15 00:09:30 +00:00
Rodney W. Grimes
709e8f9ae1
Remove trailing whitespace.
1995-05-30 03:57:47 +00:00
Bruce Evans
5c1bcbae24
Do what the previous log message claimed to do and don't enable DES if
...
the user doesn't have the secure sources.
1995-04-16 01:40:24 +00:00
Rodney W. Grimes
756097f16a
Bring down the old version of Makefile from the Attic and replace with this
...
bmake version of Makefile to build and install dcfd.
Submitted by: Vincenzo Capuano <VCAPUANO@vmprofs.esoc.esa.de>
1995-04-04 17:48:02 +00:00
Jordan K. Hubbard
ee0afc78a8
Patches to make this work with FreeBSD with the DCF77 Boeder Receiver.
...
This is only useful to European users (esp. Germans) as DCF77 transmits
from Frankfurt.
Submitted by: Vincenzo Capuano <VCAPUANO@VMPROFS.ESOC.ESA.DE>
1995-03-31 07:01:11 +00:00
Jordan K. Hubbard
8d0f93af56
Missing const clashes with prototype definition in ntp_stdlib.h; fixed.
1995-03-31 02:30:15 +00:00
Garrett Wollman
db041b142b
Enable DES if NOCRYPT is not set and and the user has the secure sources.
1995-03-23 19:13:04 +00:00
Jordan K. Hubbard
40851014d5
From: "Jonathan M. Bresler" <jmb@kryten.Atinc.COM>
...
in getting mirror-2.3 to work with FreeBSD, i found that timelocal.pl has
a bug. a patch is included below. this needs to be applied to both
src/gnu/usr.bin/perl/lib/timelocal.pl and
src/usr.sbin/xntpd/scripts/monitoring/timelocal.pl
Reviewed by:
Submitted by:
Obtained from:
1994-11-18 02:55:21 +00:00
Bruce Evans
2f1d65aabc
Don't build an unused array of kernel names when HAVE_GETBOOTFILE is
...
defined.
Don't use the newfangled C features to waste time building the array
at runtime when HAVE_GETBOOTFILE is not defined.
1994-11-14 07:51:11 +00:00