Go to file
Thomas Cort 8357e3a442 Importing usr.sbin/rdate
Import the NetBSD rdate command and remove the Minix rdate command.
The default behaviour for both is the same. The NetBSD version adds
options to just display the time, adjust the time using adjtime(),
and set the time without printing the time.

Porting Notes:
 - Compiles cleanly out of the box without any warnings
 - Path changes from /usr/bin/rdate to /usr/sbin/rdate
 - checked pkgsrc for any usages of rdate (none found)
 - checked src for any usages of rdate (none found)

Testing:
 - all command line options work (tested with time.nist.gov server)
 - Native and cross build OK

Change-Id: I613449763891a896527f337999c006a970c3924c
2013-04-08 08:37:04 +02:00
benchmarks Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
bin Importing bin/ksh 2013-03-14 11:33:10 +01:00
commands Importing usr.sbin/rdate 2013-04-08 08:37:04 +02:00
common __aeabi_ldivmod: fix sign logic 2013-02-11 21:37:10 +01:00
dist/nvi Termcap update, replacing elvis by nvi. 2013-01-24 07:44:38 +01:00
distrib Importing usr.sbin/rdate 2013-04-08 08:37:04 +02:00
docs Importing bin/ksh 2013-03-14 11:33:10 +01:00
drivers libc: add clock_getres()/clock_gettime() system calls. 2013-04-04 15:04:53 +02:00
etc etcfiles: Improve the "install" message 2013-04-07 00:38:00 +02:00
external Reduce differences in libgcc Makefiles for ARM 2013-03-08 09:41:49 +01:00
gnu/dist Toolchain upgrade and portability improvements. 2012-11-15 16:07:29 +01:00
include libc: add clock_settime() system call. 2013-04-04 15:04:54 +02:00
kernel libc: add adjtime() system call. 2013-04-04 15:04:54 +02:00
lib libc: add adjtime() system call. 2013-04-04 15:04:54 +02:00
libexec Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
man Importing usr.sbin/rdate 2013-04-08 08:37:04 +02:00
releasetools Importing usr.sbin/rdate 2013-04-08 08:37:04 +02:00
sbin Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
servers inet: silence message about exceptions 2013-04-04 15:06:18 +02:00
share some etc fixes 2013-04-04 12:50:12 +00:00
sys Remove obsolete warning in sys/sys/sysctl header 2013-04-05 13:24:18 +02:00
test libc: add adjtime() system call. 2013-04-04 15:04:54 +02:00
tools Removing forgotten, useless, renegade defines 2013-02-27 10:54:04 +01:00
usr.bin Importing usr.bin/ftp 2013-04-05 19:02:06 +00:00
usr.sbin Importing usr.sbin/rdate 2013-04-08 08:37:04 +02:00
.gitignore gitignore: ignore some more generated files 2012-12-06 13:29:20 +00:00
.gitreview misc:Add gerrit code review support. 2013-01-16 09:44:16 +01:00
build.sh Reverting back to default value of MKARZERO 2013-01-17 10:03:58 +01:00
LICENSE Fix parameter parsing in cut 2010-01-21 10:16:05 +00:00
Makefile some etc fixes 2013-04-04 12:50:12 +00:00