Index: head/net/chrony/Makefile =================================================================== --- head/net/chrony/Makefile (revision 387179) +++ head/net/chrony/Makefile (revision 387180) @@ -1,42 +1,46 @@ # Created by: Masaki TAGAWA # $FreeBSD$ PORTNAME= chrony -PORTVERSION= 1.31 +PORTVERSION= 1.31.1 CATEGORIES= net MASTER_SITES= http://download.tuxfamily.org/chrony/ MAINTAINER= masaki@club.kyutech.ac.jp COMMENT= System clock synchronization client and server LICENSE= GPLv2 # XXX: should theoretically work on others, but at least on PowerPC it dies # with ``Could not open any NTP socket'' message on startup :( ONLY_FOR_ARCHS= i386 amd64 USES= cpe gmake makeinfo readline CPE_VENDOR= tuxfamily HAS_CONFIGURE= yes CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc --mandir=${MANPREFIX}/man \ --datarootdir=${DATADIR} --docdir=${DOCSDIR} USE_RC_SUBR= chronyd PORTDOCS= COPYING README chrony.txt # XXX: there are also other potentially useful options worth looking into: # --without-nss Don't use NSS even if it is available # --without-tomcrypt Don't use libtomcrypt even if it is available # --disable-pps Disable PPS API support OPTIONS_DEFINE= IPV6 OPTIONS_DEFAULT= IPV6 IPV6_CATEGORIES= ipv6 IPV6_CONFIGURE_OFF= --disable-ipv6 + +post-stage: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/chronyc + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/chronyd post-install: .for f in chrony.conf.example chrony.conf.example2 chrony.keys.example ${INSTALL_DATA} ${WRKSRC}/examples/${f} ${STAGEDIR}${PREFIX}/etc .endfor .include Index: head/net/chrony/distinfo =================================================================== --- head/net/chrony/distinfo (revision 387179) +++ head/net/chrony/distinfo (revision 387180) @@ -1,2 +1,2 @@ -SHA256 (chrony-1.31.tar.gz) = a35e1cae46ecbe14af2023bb47a72a03d79591b2ff65f0072b3400153224996d -SIZE (chrony-1.31.tar.gz) = 395742 +SHA256 (chrony-1.31.1.tar.gz) = 0ba9f4b58e20b2eaae921eb8c798108ef72d8ea6fdcc7eb0167b56690d212348 +SIZE (chrony-1.31.1.tar.gz) = 395797 Index: head/net/chrony/files/patch-examples-chrony.conf.example =================================================================== --- head/net/chrony/files/patch-examples-chrony.conf.example (revision 387179) +++ head/net/chrony/files/patch-examples-chrony.conf.example (revision 387180) @@ -1,45 +1,45 @@ ---- examples/chrony.conf.example.orig 2014-01-31 20:12:59 +0800 +--- examples/chrony.conf.example.orig 2015-04-07 14:35:16 UTC +++ examples/chrony.conf.example @@ -42,6 +42,13 @@ # Failing that, there are a lot of public NTP servers. There is a list # you can access at http://support.ntp.org/bin/view/Servers/WebHome or # you can use servers from the pool.ntp.org project. +# +# The option `iburst' is used for faster initial synchronization. + +server 0.freebsd.pool.ntp.org iburst +server 1.freebsd.pool.ntp.org iburst +server 2.freebsd.pool.ntp.org iburst +#server 3.freebsd.pool.ntp.org iburst ! server 0.pool.ntp.org iburst ! server 1.pool.ntp.org iburst @@ -98,7 +105,7 @@ driftfile /var/lib/chrony/drift # exchanges between cooperating machines.) Again, this option is # assumed by default. -keyfile /etc/chrony.keys +keyfile /usr/local/etc/chrony.keys # Tell chronyd which numbered key in the file is used as the password # for chronyc. (You can pick any integer up to 2**32-1. '1' is just a -@@ -129,7 +136,7 @@ commandkey 1 +@@ -132,7 +139,7 @@ generatecommandkey # still running and bail out. If you want to change the path to the PID # file, uncomment this line and edit it. The default path is shown. -! pidfile /var/run/chronyd.pid +pidfile /var/run/chronyd.pid ####################################################################### ### INITIAL CLOCK CORRECTION -@@ -152,8 +159,8 @@ commandkey 1 +@@ -155,8 +162,8 @@ generatecommandkey # produce some graphs of your system's timekeeping performance, or you # need help in debugging a problem. -! logdir /var/log/chrony -! log measurements statistics tracking +logdir /var/log/chrony +log measurements statistics tracking # If you have real time clock support enabled (see below), you might want # this line instead: Index: head/net/chrony/files/patch-examples-chrony.conf.example2 =================================================================== --- head/net/chrony/files/patch-examples-chrony.conf.example2 (revision 387179) +++ head/net/chrony/files/patch-examples-chrony.conf.example2 (revision 387180) @@ -1,33 +1,33 @@ ---- examples/chrony.conf.example2.orig 2014-01-31 20:12:59 +0800 +--- examples/chrony.conf.example2.orig 2015-04-07 14:35:16 UTC +++ examples/chrony.conf.example2 @@ -1,9 +1,17 @@ # Use public servers from the pool.ntp.org project. # Please consider joining the pool (http://www.pool.ntp.org/join.html). -server 0.pool.ntp.org iburst -server 1.pool.ntp.org iburst -server 2.pool.ntp.org iburst -server 3.pool.ntp.org iburst +# +# The option `iburst' is used for faster initial synchronization. +# +server 0.freebsd.pool.ntp.org iburst +server 1.freebsd.pool.ntp.org iburst +server 2.freebsd.pool.ntp.org iburst +#server 3.freebsd.pool.ntp.org iburst + +#server 0.pool.ntp.org iburst +#server 1.pool.ntp.org iburst +#server 2.pool.ntp.org iburst +#server 3.pool.ntp.org iburst # Ignore stratum in source selection. stratumweight 0 @@ -28,7 +36,7 @@ bindcmdaddress ::1 # Serve time even if not synchronized to any NTP server. #local stratum 10 -keyfile /etc/chrony.keys +keyfile /usr/local/etc/chrony.keys # Specify the key used as password for chronyc. commandkey 1