sysutils/clockspeed 0.62_7 FreeBSD
Uses a hardware tick counter to compensate for deviant system clock
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Categories
- sysutils
- Package size
- 23.3 KiB, 82.3 KiB installed
Description
clockspeed uses a hardware tick counter to compensate for a persistently fast or slow system clock. Given a few time measurements from a reliable source, it computes and then eliminates the clock skew.
sntpclock checks another system's NTP clock, and prints the results in a format suitable for input to clockspeed. sntpclock is the simplest available NTP/SNTP client.
taiclock and taiclockd form an even simpler alternative to SNTP. They are suitable for precise time synchronization over a local area network, without the hassles and potential security problems of an NTP server.
This version of clockspeed can use the Pentium RDTSC tick counter or the Solaris gethrtime() nanosecond counter.
A port to non-i386 platforms was done using the clock_gettime(2) function. Since this is somewhat experimental, there might be some tiny precision differences from the i386 platform versions. You have been warned!
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | sysutils/clockspeed | 0.62_7 |
| DragonFly | sysutils/clockspeed | 0.62_6 |
Install
Binary package:
pkg install clockspeed
From the ports tree:
cd /usr/ports/sysutils/clockspeed/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= clockspeed>0:sysutils/clockspeed
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.62_7 | 0.62_7 | 0.62_5 | 0.62_7 | 0.62_7 |
| FreeBSD:14:quarterly | 0.62_7 | 0.62_7 | n/a | 0.62_7 | 0.62_7 |
| FreeBSD:15:latest | 0.62_7 | 0.62_7 | n/a | 0.62_7 | 0.62_7 |
| FreeBSD:15:quarterly | 0.62_7 | 0.62_7 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.62_7 | 0.62_7 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Library 1
libtai.so: devel/libtai
The full lists below include those, and their dependencies in turn.
Build dependencies 8
Run dependencies 1
No port depends on this one.
Configuration
Options name: sysutils_clockspeed
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
- USES
- groff
- Service scripts
- none
Message after installing
Files
Manual pages 6
- clockadd(1)
- clockspeed(1)
- clockview(1)
- sntpclock(1)
- taiclock(1)
- taiclockd(1)
pkg-plist 18
- bin/clockadd
- bin/clockspeed
- bin/clockview
- bin/sntpclock
- bin/taiclock
- bin/taiclockd
- share/doc/clockspeed/INSTALL
- share/doc/clockspeed/INSTALL-FreeBSD
- @mode 0755
- etc/clockspeed/leapsecs.dat
- @sample etc/rc.d/clockspeed.sh.sample
- share/man/man1/clockadd.1.gz
- share/man/man1/clockspeed.1.gz
- share/man/man1/clockview.1.gz
- share/man/man1/sntpclock.1.gz
- share/man/man1/taiclock.1.gz
- share/man/man1/taiclockd.1.gz
- @postunexec echo "If you are permanently removing this port, you should do a ``rm -Rf ${PKG_PREFIX}/etc/clockspeed`` to remove any configuration files left." | fmt
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| clockspeed-0.62.tar.gz | 25797 | 43539964c4b554794b2da760d138c5975cbc850f1c8ec2ee96f5dba66e0d9eed |
Master sites 2
- http://cr.yp.to/clockspeed/
- http://redundancy.redundancy.org/mirror/
Commit history 0
No commits in the history this site was built from.