notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
clockspeed Uses a hardware tick counter to compensate for deviant system clock
0.62_7 sysutils on this many watch lists=7 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.62_6Version of this port present on the latest quarterly branch.
There is no maintainer for this port.
Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2000-07-07 11:30:02
Last Update: 2024-09-30 22:13:44
Commit Hash: b559c28
People watching this port, also watch:: daemontools, zip, unzip, nmap, gnupg
License: not specified in port
WWW:
https://cr.yp.to/clockspeed.html
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!
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (21 items)
Collapse this list.
  1. bin/clockadd
  2. bin/clockspeed
  3. bin/clockview
  4. bin/sntpclock
  5. bin/taiclock
  6. bin/taiclockd
  7. share/doc/clockspeed/INSTALL
  8. share/doc/clockspeed/INSTALL-FreeBSD
  9. @mode 0755
  10. etc/clockspeed/leapsecs.dat
  11. @sample etc/rc.d/clockspeed.sh.sample
  12. share/man/man1/clockadd.1.gz
  13. share/man/man1/clockspeed.1.gz
  14. share/man/man1/clockview.1.gz
  15. share/man/man1/sntpclock.1.gz
  16. share/man/man1/taiclock.1.gz
  17. share/man/man1/taiclockd.1.gz
  18. @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
  19. @owner
  20. @group
  21. @mode
Collapse this list.
Dependency lines:
  • clockspeed>0:sysutils/clockspeed
To install the port:
cd /usr/ports/sysutils/clockspeed/ && make install clean
To add the package, run one of these commands:
  • pkg install sysutils/clockspeed
  • pkg install clockspeed
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: clockspeed
Flavors: there is no flavor information for this port.
distinfo:
SHA256 (clockspeed-0.62.tar.gz) = 43539964c4b554794b2da760d138c5975cbc850f1c8ec2ee96f5dba66e0d9eed SIZE (clockspeed-0.62.tar.gz) = 25797

Packages (timestamps in pop-ups are UTC):
clockspeed
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.62_60.62_70.62_50.62_60.62_7-0.62_5-
FreeBSD:13:quarterly0.62_60.62_60.62_50.62_60.62_60.62_50.62_50.62_5
FreeBSD:14:latest0.62_60.62_60.62_50.62_60.62_70.62_5-0.62_5
FreeBSD:14:quarterly0.62_60.62_6-0.62_60.62_60.62_50.62_50.62_5
FreeBSD:15:latest0.62_60.62_7n/a0.62_6n/a0.62_50.62_50.62_5
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. groff : textproc/groff
Library dependencies:
  1. libtai.so : devel/libtai
This port is required by:
for Run

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. sysutils/clockspeed-conf*
  2. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
===> The following configuration options are available for clockspeed-0.62_7: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings
Options name:
sysutils_clockspeed
USES:
groff
pkg-message:
For install:
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. 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!
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. http://cr.yp.to/clockspeed/
  2. http://redundancy.redundancy.org/mirror/
Collapse this list.

Number of commits found: 49

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.62_7
30 Sep 2024 22:13:44
commit hash: b559c289f7e95e25cdf904e030563ee0c7d528c1commit hash: b559c289f7e95e25cdf904e030563ee0c7d528c1commit hash: b559c289f7e95e25cdf904e030563ee0c7d528c1commit hash: b559c289f7e95e25cdf904e030563ee0c7d528c1 files touched by this commit
Brooks Davis (brooks) search for other commits by this committer
sysutils/clockspeed: include errno.h for errno

errno must be accessed by a macro from errno.h.
0.62_6
26 Feb 2024 21:40:45
commit hash: 14fcc24c54d833d4d391c6fce92b9827a314fa72commit hash: 14fcc24c54d833d4d391c6fce92b9827a314fa72commit hash: 14fcc24c54d833d4d391c6fce92b9827a314fa72commit hash: 14fcc24c54d833d4d391c6fce92b9827a314fa72 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
sysutils/clockspeed: Moved man to share/man

Approved by:    portmgr (blanket)
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
0.62_5
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.62_5
20 Jul 2022 14:23:05
commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
sysutils: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  <jsmith@resonatingmedia.com>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Landwehr <aaron@snaphat.com>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Adrian Chadd
  *  Adrian Chadd <adrian@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Alan Eldridge <alane@FreeBSD.org>
  *  Alan Eldridge <alane@geeksrus.net>
  *  Aldis Berjoza <aldis@bsdroot.lv>
  *  Alex Deiter <alex.deiter@gmail.com>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.62_5
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.62_5
14 Aug 2019 12:16:13
Revision:508909Original commit files touched by this commit
mat search for other commits by this committer
Convert to UCL & cleanup pkg-message (categories s)
0.62_5
28 May 2017 21:18:04
Revision:441925Original commit files touched by this commit
antoine search for other commits by this committer
Register dependency on groff

PR:		213725
0.62_5
18 Jul 2016 16:41:20
Revision:418715Original commit files touched by this commit
mat search for other commits by this committer
Don't echo in post-install, use pkg-message.  Also, don't "fix"
pkg-message in post-install, use SUB_FILES/SUB_LIST.

Sponsored by:	Absolight
0.62_5
19 May 2016 11:09:14
Revision:415503Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Fix trailing whitespace in pkg-messages

Approved by:	portmgr blanket
0.62_5
01 Apr 2016 14:25:18
Revision:412349Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.

With hat:	portmgr
Sponsored by:	Absolight
0.62_5
03 Sep 2015 13:11:41
Revision:395955Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Add missing OPTIONS_DEFINE=DOCS
- Fix installation commands
- Switch to options helpers
0.62_5
27 May 2015 23:22:19
Revision:387689Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Drop @dirrm* from plist
0.62_5
29 Jul 2014 14:12:47
Revision:363324Original commit files touched by this commit
feld search for other commits by this committer
Support STAGE

I don't use this software but I'm sure someone out there does.
0.62_5
14 Jul 2014 18:42:04
Revision:361812Original commit files touched by this commit
bapt search for other commits by this committer
Modernize LIB_DEPENDS

With hat:	portmgr
0.62_5
06 Jul 2014 15:52:25
Revision:360930Original commit files touched by this commit
bapt search for other commits by this committer
Resetting maintainership on ports that have not been staged and without any
pending PR (related to stage)

With hat:	portmgr
0.62_5
20 Sep 2013 23:06:00
Revision:327772Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
sysutils)
0.62_5
01 Feb 2013 15:22:08
Revision:311384Original commit files touched by this commit
ak search for other commits by this committer
- Add mime-type property for binary files in the ports tree

Approved by: portmgr (bapt)
0.62_5
19 Mar 2011 12:38:54
Original commit files touched by this commit
miwi search for other commits by this committer
- Get Rid MD5 support
0.62_5
27 Jul 2008 22:14:16
Original commit files touched by this commit
lx search for other commits by this committer
And bump portrevision.
0.62_4
27 Jul 2008 22:13:47
Original commit files touched by this commit
lx search for other commits by this committer
Update to an even more current leapsecs.dat.

Created as per:
http://article.gmane.org/gmane.comp.lib.libtai/322/match=leapsecs

Submitted by:   clemens fischer
0.62_4
26 Jul 2008 21:11:13
Original commit files touched by this commit
lx search for other commits by this committer
Update leapsecs.dat to be the most current from
http://cr.yp.to/libtai.html. Do not use the one
installed by devel/libtai.

Submitted by:   clemens fischer
0.62_3
16 Jun 2008 02:29:59
Original commit files touched by this commit
lx search for other commits by this committer
Take maintainership.
0.62_3
16 Jun 2008 01:25:26
Original commit files touched by this commit
lioux search for other commits by this committer
Drop maintainership.
0.62_3
22 Mar 2007 17:02:35
Original commit files touched by this commit
rafan search for other commits by this committer
- Move stuffs that are after post.mk to appropriate places
- Use DOCSDIR

PR:             ports/109335
Submitted by:   rafan
Approved by:    maintainer timeout (1 month)
0.62_3
13 May 2006 04:15:53
Original commit files touched by this commit
edwin search for other commits by this committer
Remove USE_REINPLACE from all categories starting with S
0.62_3
23 Dec 2005 20:23:23
Original commit files touched by this commit
lioux search for other commits by this committer
o Update the leap seconds table according to
  http://hpiers.obspm.fr/eoppc/bul/bulc/bulletinc.dat. There is a
  leap seconds at the end of 2005.
o Obtain the fresh and updated leap seconds table from devel/libtai
  port.
o Bump PORTREVISION

PR:             89948
Submitted by:   Frank W. Josellis <frank@dynamical-systems.org>,
                markzero <mark@darklogik.org>
Obtained from:  http://hpiers.obspm.fr/eoppc/bul/bulc/bulletinc.dat
0.62_2
11 Nov 2005 06:06:17
Original commit files touched by this commit
lioux search for other commits by this committer
Add SHA256 checksum
0.62_2
25 Dec 2004 11:43:58
Original commit files touched by this commit
lioux search for other commits by this committer
Remove deprecated USE_SIZE
0.62_2
08 Feb 2004 01:14:05
Original commit files touched by this commit
lioux search for other commits by this committer
USE_SIZEify
0.62_2
14 May 2003 01:51:52
Original commit files touched by this commit
lioux search for other commits by this committer
Fix build on alpha: remove extraneous ')' parentheses in patch
0.62_2
23 Feb 2003 19:58:35
Original commit files touched by this commit
lioux search for other commits by this committer
De-pkg-comment
0.62_2
07 Feb 2003 15:43:57
Original commit files touched by this commit
lioux search for other commits by this committer
Sanitize MASTER_SITES

Submitted by:   fenner's distfiles survey
0.62_2
02 Jan 2003 05:46:09
Original commit files touched by this commit
lioux search for other commits by this committer
o Remove ONLY_FOR_ARCHS limitation by adding timing support other
  than RDTSC registers from Pentium. After a reminder by Garrett
  Wollman <wollman@FreeBSD.org> [1] that FreeBSD has a gethrtime()
  similar function, added experimental support for FreeBSD
  clock_gettime(2) which should work in all FreeBSD supported ARCHes

o Add notes in both DESCR and PKGMESSAGE that there might be precision
  differences since this is experimental code

Reviewed by:    portmgr (silence/no objections)
Submitted by:   wollman [1]
0.62_2
18 Dec 2002 18:45:26
Original commit files touched by this commit
lioux search for other commits by this committer
Mark as ONLY_FOR_ARCHS i386 since it requires either a pentium
hardware tick counter or an equivalent Solaris gethrtime() syscall.
This should be investigated further. FreeBSD might have an equivalent
syscall.

Submitted by:   bento
0.62_2
04 Nov 2002 22:57:37
Original commit files touched by this commit
edwin search for other commits by this committer
Half of these ones missed yesterday while converting to USE_REINPLACE.
The other half needs perl to build.

Noticed on bento and others (full mailbox :-)
0.62_2
20 Sep 2002 14:38:47
Original commit files touched by this commit
lioux search for other commits by this committer
Sanitize MASTER_SITES

Submitted by:   fenner's distfile survey
0.62_2
08 Jul 2002 01:34:45
Original commit files touched by this commit
lioux search for other commits by this committer
Sanitize MASTER_SITES
29 Jan 2002 11:58:52
commit hash: fp1.24106@dev.null.freshports.orgcommit hash: fp1.24106@dev.null.freshports.orgcommit hash: fp1.24106@dev.null.freshports.orgcommit hash: fp1.24106@dev.null.freshports.org files touched by this commit
knu search for other commits by this committer
Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;   the ECHO
macro is set to "echo" by default, but it is set to "true" if   make(1) is
invoked with the -s option while ECHO_CMD is always set to   the echo command.  
 
25 May 2001 15:58:06
commit hash: fp1.14140@dev.null.freshports.orgcommit hash: fp1.14140@dev.null.freshports.orgcommit hash: fp1.14140@dev.null.freshports.orgcommit hash: fp1.14140@dev.null.freshports.org files touched by this commit
lioux search for other commits by this committer
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)    
22 Feb 2001 17:22:39
commit hash: fp1.9863@dev.null.freshports.orgcommit hash: fp1.9863@dev.null.freshports.orgcommit hash: fp1.9863@dev.null.freshports.orgcommit hash: fp1.9863@dev.null.freshports.org files touched by this commit
lioux search for other commits by this committer
Add new MASTER_SITES    
20 Jan 2001 00:39:56
commit hash: fp1.8629@dev.null.freshports.orgcommit hash: fp1.8629@dev.null.freshports.orgcommit hash: fp1.8629@dev.null.freshports.orgcommit hash: fp1.8629@dev.null.freshports.org files touched by this commit
will search for other commits by this committer
Hopefully finish syncing with bsd.port.mk rev 1.361 - use bsd.port.mk   defined
PORTDOCS PLIST_SUB.    
16 Jan 2001 19:08:46
commit hash: fp1.8537@dev.null.freshports.orgcommit hash: fp1.8537@dev.null.freshports.orgcommit hash: fp1.8537@dev.null.freshports.orgcommit hash: fp1.8537@dev.null.freshports.org files touched by this commit
will search for other commits by this committer
Update to sync with bsd.port.mk rev 1.361 - use PORTDOCS that is now in  
bsd.port.mk, for easy removal of documentation.  I left alone one port -  
japanese/elisa8x8 (or something like that), because it appeared to have   some
rather weird way of doing PORTDOCS substitution.    
16 Jan 2001 17:33:20
commit hash: fp1.8531@dev.null.freshports.orgcommit hash: fp1.8531@dev.null.freshports.orgcommit hash: fp1.8531@dev.null.freshports.orgcommit hash: fp1.8531@dev.null.freshports.org files touched by this commit
sobomax search for other commits by this committer
Massive style enforcement - use ^I instead of spaces for variables identation.  
 
20 Nov 2000 14:48:56
commit hash: fp1.6565@dev.null.freshports.orgcommit hash: fp1.6565@dev.null.freshports.orgcommit hash: fp1.6565@dev.null.freshports.orgcommit hash: fp1.6565@dev.null.freshports.org files touched by this commit
lioux search for other commits by this committer
Submitted by: sobomax    
20 Nov 2000 11:16:01
commit hash: fp1.6559@dev.null.freshports.orgcommit hash: fp1.6559@dev.null.freshports.orgcommit hash: fp1.6559@dev.null.freshports.orgcommit hash: fp1.6559@dev.null.freshports.org files touched by this commit
lioux search for other commits by this committer
Submitted by: Jos Backus <josb@cncdsl.com>    
08 Oct 2000 07:23:57
commit hash: fp1.4823@dev.null.freshports.orgcommit hash: fp1.4823@dev.null.freshports.orgcommit hash: fp1.4823@dev.null.freshports.orgcommit hash: fp1.4823@dev.null.freshports.org files touched by this commit
asami search for other commits by this committer
Convert category sysutils to new layout.  
03 Oct 2000 06:12:50
commit hash: fp1.4560@dev.null.freshports.orgcommit hash: fp1.4560@dev.null.freshports.orgcommit hash: fp1.4560@dev.null.freshports.orgcommit hash: fp1.4560@dev.null.freshports.org files touched by this commit
lioux search for other commits by this committer
Maintainer is now a committer, update email accordingly    
07 Jul 2000 15:30:02
commit hash: fp1.1647@dev.null.freshports.orgcommit hash: fp1.1647@dev.null.freshports.orgcommit hash: fp1.1647@dev.null.freshports.orgcommit hash: fp1.1647@dev.null.freshports.org files touched by this commit
sobomax search for other commits by this committer
Add clockspeed - a program which uses a hardware tick counter to compensate  
for a persistently fast or slow system clock. It also could be used to  
synchronize time across LAN or WAN.    

Number of commits found: 49