]> Zhao Yanbai Git Server - minix.git/commit
Importing usr.sbin/rdate 76/476/2
authorThomas Cort <tcort@minix3.org>
Sat, 6 Apr 2013 12:47:10 +0000 (12:47 +0000)
committerLionel Sambuc <lionel@minix3.org>
Mon, 8 Apr 2013 06:37:04 +0000 (08:37 +0200)
commit8357e3a442072484075cb29b36b5c73715e7ee73
treecfe6660b3e9776c2e415208ccf7768dffb4f0834
parent0f487a702b54d45d02733532c68ee7137e3c6caf
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
commands/Makefile
commands/rdate/Makefile [deleted file]
commands/rdate/rdate.c [deleted file]
distrib/sets/lists/minix/mi
man/man8/Makefile
man/man8/rdate.8 [deleted file]
releasetools/nbsd_ports
usr.sbin/Makefile
usr.sbin/rdate/Makefile [new file with mode: 0644]
usr.sbin/rdate/rdate.8 [new file with mode: 0644]
usr.sbin/rdate/rdate.c [new file with mode: 0644]