From 46db0f160a6b926e715a162924ad05a8d75a5ce4 Mon Sep 17 00:00:00 2001 From: Peter Bui Date: Fri, 17 Nov 2017 12:47:40 -0500 Subject: [PATCH] chrony: modify example config so it works out of the box (#9289) The previous configuration allowed chrony to work without modifying the configuration. This restores that functionality while still using the upstream configuration file. --- srcpkgs/chrony/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/chrony/template b/srcpkgs/chrony/template index f9edd00f8a..2176c5d51d 100644 --- a/srcpkgs/chrony/template +++ b/srcpkgs/chrony/template @@ -2,7 +2,7 @@ # When Updating: Please confirm the upstream config still refers to make_dirs pkgname=chrony version=3.2 -revision=4 +revision=5 build_style=gnu-configure configure_args="--without-nss --enable-scfilter --with-sendmail=/usr/bin/sendmail" hostmakedepends="pkg-config" @@ -28,6 +28,9 @@ alternatives=" post_install() { vconf examples/chrony.conf.example3 chrony.conf + # Modify default configuration so it works out-of-the-box + sed -e 's,! pool pool.ntp.org iburst,pool pool.ntp.org iburst,' -i ${DESTDIR}/etc/chrony.conf + sed -e 's,! rtcfile /var/lib/chrony/rtc,rtcfile /var/lib/chrony/rtc,' -i ${DESTDIR}/etc/chrony.conf vsconf examples/chrony.conf.example1 vsconf examples/chrony.conf.example2 vsv chronyd