aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/clockspeed/pkg-message
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-05-25 22:58:06 +0800
committerlioux <lioux@FreeBSD.org>2001-05-25 22:58:06 +0800
commitbe89ac25c8bd98c3833e140ea3fa72bed852187d (patch)
treed808b2ff331eb63b96e51a59ccc412c1acb54c4a /sysutils/clockspeed/pkg-message
parent3cd2d276df89bbb0fe945ef7fb70fdc2179e8f57 (diff)
downloadfreebsd-ports-gnome-be89ac25c8bd98c3833e140ea3fa72bed852187d.tar.gz
freebsd-ports-gnome-be89ac25c8bd98c3833e140ea3fa72bed852187d.tar.zst
freebsd-ports-gnome-be89ac25c8bd98c3833e140ea3fa72bed852187d.zip
1) Install leapsecs.dat (leapseconds support)
2) Add PKGMESSAGE with additional FreeBSD specific installation information 3) Install sample startup script 4) Bump PORTREVISION due to (1) PR: 27617 Submitted by: Vivek Khera <khera@kciLink.com>
Diffstat (limited to 'sysutils/clockspeed/pkg-message')
-rw-r--r--sysutils/clockspeed/pkg-message45
1 files changed, 45 insertions, 0 deletions
diff --git a/sysutils/clockspeed/pkg-message b/sysutils/clockspeed/pkg-message
new file mode 100644
index 000000000000..5a6f932bf952
--- /dev/null
+++ b/sysutils/clockspeed/pkg-message
@@ -0,0 +1,45 @@
+ ATTENTIONATTENTION:
+
+Please make sure that you read /usr/local/share/doc/clockspeed/INSTALL.
+It contains important information about testing and configuring
+clockspeed, and finally installing it in your system.
+
+Clockspeed uses the libtai library, check /usr/ports/devel/libtai
+for more details. TAI time measure is off 22 seconds from UTC time
+measure. Therefore, your system time will show a 22 secs difference
+from your time source after you've installed this port.
+
+To fix this, you could follow this simple recipe created with
+PR ports/27617.
+
+1) killall clockspeed (you can't have it running)
+2) sntpclock IP.OF.NTP.SERVER | clockadd
+3) enable/start clockspeed :
+ % cp /usr/local/etc/rc.d/clockspeed.sh.sample \
+ /usr/local/etc/rc.d/clockspeed.sh
+ # enable clockspeed to automagically start next
+ # time you reboot. do this after testing everything
+ % /usr/local/etc/rc.d/clockspeed.sh start
+ # start clockspeed now
+4) sntpclock IP.OF.NTP.SERVER > /usr/local/etc/clockspeed/adjust
+5) cd /usr/src/share/zoneinfo
+6) make -DLEAPSECONDS clean all install ; make clean
+
+Step 5 and 6 build support in your system for leapseconds handling.
+Take a note about this since you might forget later to disable it
+if you remove this port. To disable it, simply re-do step 6 without
+-DLEAPSECONDS.
+Step 6 should not break anything but you can disable it anytime
+as per last paragraph if you think something unusual has happened
+to your system.
+
+7) /stand/sysinstall -> configure -> time zone (choose the correct
+ time zone for your system)
+8) sntpclock IP.OF.NTP.SERVER | clockview
+
+Check how close is your clock before and after now. Should be
+within milliseconds.
+
+Do not forget to add a cron(8) job with step 4 to periodically
+adjust clockspeed's drift rate. Once a week should be more than
+adequate.