ports/net/chrony/files/patch-examples_chrony.conf.example2
Rodrigo Osorio cc3c5867f4 Makes the NSS dependency explicit, and perform cleanup
Bump PORTREVISION

Before this patch if nss is installed when crony is built, there's a silent lib
dependency on nss, and if nss is subsequently uninstalled chrony breaks.

NSS is now turned on by default adding support for a number of more modern
hashing algorithms than md5.

Cleanup:
 - --infodir is not a valid configure option (since 2.3 I think)
 - USES=localbase instead of LDFLAGS
 - add explicit --without-tomcrypt [1]
 - add support for passing chronyd_flags to chronyd in rc.d script
 - fix some hard-coded /usr/local in examples

PR:		217691
Submitted by:	John Hein <z7dr6ut7gs@snkmail.com>
Approved by:	Yonas Yanfa <yonas@fizk.net> (maintainer)
2017-11-18 22:41:34 +00:00

23 lines
772 B
Text

--- 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.
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
-pool pool.ntp.org iburst
+pool 0.freebsd.pool.ntp.org iburst
# Record the rate at which the system clock gains/losses time.
-driftfile /var/lib/chrony/drift
+driftfile /var/db/chrony/drift
# 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 %%PREFIX%%/etc/chrony.keys
# Specify directory for log files.
logdir /var/log/chrony