svn commit: r435517 - in head/net/chrony: . files
Wen Heping
wen at FreeBSD.org
Mon Mar 6 06:53:40 UTC 2017
Author: wen
Date: Mon Mar 6 06:53:38 2017
New Revision: 435517
URL: https://svnweb.freebsd.org/changeset/ports/435517
Log:
- Update to 3.1
PR: 217573
Submitted by: yonas at fizk.net(maintainer)
Added:
head/net/chrony/files/patch-util.c (contents, props changed)
Modified:
head/net/chrony/Makefile
head/net/chrony/distinfo
head/net/chrony/files/patch-examples_chrony.conf.example1
head/net/chrony/files/patch-examples_chrony.conf.example2
head/net/chrony/files/patch-examples_chrony.conf.example3
Modified: head/net/chrony/Makefile
==============================================================================
--- head/net/chrony/Makefile Mon Mar 6 06:28:59 2017 (r435516)
+++ head/net/chrony/Makefile Mon Mar 6 06:53:38 2017 (r435517)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= chrony
-PORTVERSION= 3.0
+PORTVERSION= 3.1
CATEGORIES= net
MASTER_SITES= http://download.tuxfamily.org/chrony/
@@ -42,8 +42,6 @@ OPTIONS_DEFINE= IPV6
IPV6_CATEGORIES= ipv6
IPV6_CONFIGURE_OFF= --disable-ipv6
-BROKEN_aarch64= Fails to compile: invalid operands to binary expression (double and double)
-
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/chronyc
${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/chronyd
Modified: head/net/chrony/distinfo
==============================================================================
--- head/net/chrony/distinfo Mon Mar 6 06:28:59 2017 (r435516)
+++ head/net/chrony/distinfo Mon Mar 6 06:53:38 2017 (r435517)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1484669147
-SHA256 (chrony-3.0.tar.gz) = a0387b91a20f047856a56d6541a1cf920c91b53b32f74c123bcb70f1a5d2cd6d
-SIZE (chrony-3.0.tar.gz) = 421433
+TIMESTAMP = 1488375273
+SHA256 (chrony-3.1.tar.gz) = 9d9107dcdb7768a03dc129d33b2a7a25f1eea2f5620bc85eb00cfea07c1b6075
+SIZE (chrony-3.1.tar.gz) = 424109
Modified: head/net/chrony/files/patch-examples_chrony.conf.example1
==============================================================================
--- head/net/chrony/files/patch-examples_chrony.conf.example1 Mon Mar 6 06:28:59 2017 (r435516)
+++ head/net/chrony/files/patch-examples_chrony.conf.example1 Mon Mar 6 06:53:38 2017 (r435517)
@@ -1,4 +1,4 @@
---- examples/chrony.conf.example1.orig 2015-10-19 09:18:37 UTC
+--- examples/chrony.conf.example1.orig 2017-01-31 10:22:11 UTC
+++ examples/chrony.conf.example1
@@ -1,8 +1,8 @@
# Use public NTP servers from the pool.ntp.org project.
@@ -9,5 +9,5 @@
-driftfile /var/lib/chrony/drift
+driftfile /var/db/chrony/drift
- # In first three updates step the system clock instead of slew
- # if the adjustment is larger than 1 second.
+ # Allow the system clock to be stepped in the first three updates
+ # if its offset is larger than 1 second.
Modified: head/net/chrony/files/patch-examples_chrony.conf.example2
==============================================================================
--- head/net/chrony/files/patch-examples_chrony.conf.example2 Mon Mar 6 06:28:59 2017 (r435516)
+++ head/net/chrony/files/patch-examples_chrony.conf.example2 Mon Mar 6 06:53:38 2017 (r435517)
@@ -1,4 +1,4 @@
---- examples/chrony.conf.example2.orig 2015-10-19 09:18:37 UTC
+--- examples/chrony.conf.example2.orig 2017-01-31 10:22:11 UTC
+++ examples/chrony.conf.example2
@@ -1,9 +1,9 @@
# Use public servers from the pool.ntp.org project.
@@ -10,14 +10,14 @@
-driftfile /var/lib/chrony/drift
+driftfile /var/db/chrony/drift
- # In first three updates step the system clock instead of slew
- # if the adjustment is larger than 1 second.
-@@ -19,7 +19,7 @@ rtcsync
+ # Allow the system clock to be stepped in the first three updates
+ # if its offset is larger than 1 second.
+@@ -26,7 +26,7 @@ rtcsync
#local stratum 10
# Specify file containing keys for NTP authentication.
-#keyfile /etc/chrony.keys
+#keyfile /usr/local/etc/chrony.keys
- # Disable logging of client accesses.
- noclientlog
+ # Specify directory for log files.
+ logdir /var/log/chrony
Modified: head/net/chrony/files/patch-examples_chrony.conf.example3
==============================================================================
--- head/net/chrony/files/patch-examples_chrony.conf.example3 Mon Mar 6 06:28:59 2017 (r435516)
+++ head/net/chrony/files/patch-examples_chrony.conf.example3 Mon Mar 6 06:53:38 2017 (r435517)
@@ -1,4 +1,4 @@
---- examples/chrony.conf.example3.orig 2015-10-19 09:18:37 UTC
+--- examples/chrony.conf.example3.orig 2017-01-31 10:22:11 UTC
+++ examples/chrony.conf.example3
@@ -1,7 +1,7 @@
#######################################################################
@@ -9,7 +9,7 @@
# want to enable. The more obscure options are not included. Refer
# to the documentation for these.
#
-@@ -47,7 +47,9 @@
+@@ -31,7 +31,9 @@
! server bar.example.net iburst
! server baz.example.net iburst
@@ -18,18 +18,9 @@
+# a workstation with a full-time internet connection:
+pool 0.freebsd.pool.ntp.org iburst
- # However, for dial-up use you probably want these instead. The word
- # 'offline' means that the server is not visible at boot time. Use
-@@ -58,7 +60,7 @@
- ! server bar.example.net offline
- ! server baz.example.net offline
-
--! pool pool.ntp.org offline
-+! pool 0.freebsd.pool.ntp.org offline
-
- # You may want to specify NTP 'peers' instead. If you run a network
- # with a lot of computers and want several computers running chrony to
-@@ -93,12 +95,12 @@
+ #######################################################################
+ ### AVOIDING POTENTIALLY BOGUS CHANGES TO YOUR CLOCK
+@@ -65,12 +67,12 @@
# immediately so that it doesn't gain or lose any more time. You
# generally want this, so it is uncommented.
@@ -44,7 +35,7 @@
# chronyd can save the measurement history for the servers to files when
# it it exits. This is useful in 2 situations:
-@@ -116,7 +118,7 @@ driftfile /var/lib/chrony/drift
+@@ -88,7 +90,7 @@ driftfile /var/lib/chrony/drift
# Enable these two options to use this.
! dumponexit
@@ -53,7 +44,7 @@
# chronyd writes its process ID to a file. If you try to start a second
# copy of chronyd, it will detect that the process named in the file is
-@@ -145,6 +147,10 @@ driftfile /var/lib/chrony/drift
+@@ -117,6 +119,10 @@ driftfile /var/lib/chrony/drift
# only need this if you really enjoy looking at the logs, you want to
# produce some graphs of your system's timekeeping performance, or you
# need help in debugging a problem.
@@ -64,7 +55,7 @@
! logdir /var/log/chrony
! log measurements statistics tracking
-@@ -259,7 +265,7 @@ driftfile /var/lib/chrony/drift
+@@ -253,7 +259,7 @@ driftfile /var/lib/chrony/drift
# You need to have 'enhanced RTC support' compiled into your Linux
# kernel. (Note, these options apply only to Linux.)
Added: head/net/chrony/files/patch-util.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/chrony/files/patch-util.c Mon Mar 6 06:53:38 2017 (r435517)
@@ -0,0 +1,11 @@
+--- util.c.orig 2017-01-31 10:22:11 UTC
++++ util.c
+@@ -738,7 +738,7 @@ UTI_TimespecToNtp64(struct timespec *src
+ hi = lo = 0;
+ } else {
+ hi = htonl(sec + JAN_1970);
+- lo = htonl(NSEC_PER_NTP64 * nsec);
++ lo = htonl((uint32_t)(NSEC_PER_NTP64 * nsec));
+
+ /* Add the fuzz */
+ if (fuzz) {
More information about the svn-ports-head
mailing list