This program gives you raw access to the kernel time variables. For a machine connected to the Internet, or equipped with a precision oscillator or radio clock, the best way to keep the system clock correct is with ntpd. However, for a standalone or intermittently connected machine, you may use adjtimex instead to at least correct for systematic drift. adjtimex can optionally adjust the system clock using the CMOS clock as a reference, and can log times for long-term estimation of drift rates.
Created attachment 4251 [details] adjtimex-1.13.ebuild
Bouncing back to bug-wranglers due to time constraints.
Created attachment 16505 [details] adjtimex-1.15.1.ebuild
fixed in CVS, wrote my own ebuild instead. uses a lot more of the debian stuff in a useful way.