aboutsummaryrefslogtreecommitdiffstats
path: root/net/chrony
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2015-05-24 02:59:11 +0800
committerpi <pi@FreeBSD.org>2015-05-24 02:59:11 +0800
commit3e10440823b320f1bfb9ce1b37fd5572b9ecf17b (patch)
tree9d0645e5fa24fac0afc1014cf21e53668722e4a9 /net/chrony
parentd55d715af248650e6ad61b73363e00271ac33eb4 (diff)
downloadfreebsd-ports-gnome-3e10440823b320f1bfb9ce1b37fd5572b9ecf17b.tar.gz
freebsd-ports-gnome-3e10440823b320f1bfb9ce1b37fd5572b9ecf17b.tar.zst
freebsd-ports-gnome-3e10440823b320f1bfb9ce1b37fd5572b9ecf17b.zip
net/chrony: 1.31 -> 1.31.1
- Update to 1.31.1 to resolve CVE-2015-1799, CVE-2015-1821, and CVE-2015-1822 - Regenerate patches with `make makepatch` to quiet portlint - Strip binaries PR: 199508 Submitted by: Jason Unovitch <jason.unovitch@gmail.com> Approved by: masaki@club.kyutech.ac.jp (maintainer timeout)
Diffstat (limited to 'net/chrony')
-rw-r--r--net/chrony/Makefile6
-rw-r--r--net/chrony/distinfo4
-rw-r--r--net/chrony/files/patch-examples-chrony.conf.example6
-rw-r--r--net/chrony/files/patch-examples-chrony.conf.example22
4 files changed, 11 insertions, 7 deletions
diff --git a/net/chrony/Makefile b/net/chrony/Makefile
index 91f3211f2863..9c28722904e0 100644
--- a/net/chrony/Makefile
+++ b/net/chrony/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= chrony
-PORTVERSION= 1.31
+PORTVERSION= 1.31.1
CATEGORIES= net
MASTER_SITES= http://download.tuxfamily.org/chrony/
@@ -34,6 +34,10 @@ 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
diff --git a/net/chrony/distinfo b/net/chrony/distinfo
index 9284a65d545f..08faec048a07 100644
--- a/net/chrony/distinfo
+++ b/net/chrony/distinfo
@@ -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
diff --git a/net/chrony/files/patch-examples-chrony.conf.example b/net/chrony/files/patch-examples-chrony.conf.example
index e2a7c21f36b0..3a21e0c09206 100644
--- a/net/chrony/files/patch-examples-chrony.conf.example
+++ b/net/chrony/files/patch-examples-chrony.conf.example
@@ -1,4 +1,4 @@
---- 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
@@ -23,7 +23,7 @@
# 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.
@@ -32,7 +32,7 @@
#######################################################################
### 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.
diff --git a/net/chrony/files/patch-examples-chrony.conf.example2 b/net/chrony/files/patch-examples-chrony.conf.example2
index c7ec6af9426f..c7f3cced3ed9 100644
--- a/net/chrony/files/patch-examples-chrony.conf.example2
+++ b/net/chrony/files/patch-examples-chrony.conf.example2
@@ -1,4 +1,4 @@
---- 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.