This is a port of OpenBSD's rdate(8) utility to OS/2: rdate(8) sets the system's date from a remote host.
The only required thing is the EMX 0.9d Fix4 runtime.
I've packed the standard binary ZIP into an unixish file system structure (see the proposed UnixOS2 filesystem hierarchy). If you already have such a hierarchy, just unzip the binary ZIP into your %UNIXROOT% root directory.
Hint: a list of public timeservers (NTP) on the internet from which rdate can query the time (use "-n" parameter for (S)NTP) can be found at here.
The source not only includes rdate but also the timezone compiler zic(8). If you want to compile rdate, any recent GCC for OS/2 should work. After unzipping the sources, just call "make -f Makefile.os2" to compile and "make -f Makefile.os2 install-files" to install the executables and create the timezone information files.
The "-a" switch of rdate (adjust system time not at once but by slowing down/speeding up the clock for some time) is not supported by OS/2 and has therefore been removed.
I'm not aware of any bugs in my ports of rdate and zic. But my tests on zic were very limited: I just saw that it produced something that rdate would use.
All parts of OpenBSD have a BSD-style licence. More information can be found on OpenBSD's website: http://www.openbsd.org/policy.html.
| © 2003-2005, Tobias Hürlimann <tobias@tobiashuerlimann.de>. My PGP key can be found here. | Impressum (German) |