diff --git a/srcpkgs/ntp/files/ntp.conf b/srcpkgs/ntp/files/ntp.conf index d8239c9937f..589141a6a35 100644 --- a/srcpkgs/ntp/files/ntp.conf +++ b/srcpkgs/ntp/files/ntp.conf @@ -14,6 +14,6 @@ restrict default nomodify nopeer restrict 127.0.0.1 # Location of drift and log files -driftfile /var/db/ntpd.drift +driftfile /var/db/ntpd/drift logfile /var/log/ntpd.log -pidfile /var/run/ntpd.pid +pidfile /run/ntpd.pid diff --git a/srcpkgs/ntp/files/ntpd.tmpfiles b/srcpkgs/ntp/files/ntpd.tmpfiles new file mode 100644 index 00000000000..7f2ff37896c --- /dev/null +++ b/srcpkgs/ntp/files/ntpd.tmpfiles @@ -0,0 +1 @@ +d /var/db/ntpd 0755 ntpd ntpd diff --git a/srcpkgs/ntp/template b/srcpkgs/ntp/template index eed5b30901d..64ec0296281 100644 --- a/srcpkgs/ntp/template +++ b/srcpkgs/ntp/template @@ -1,7 +1,7 @@ # Template file for 'ntp' pkgname=ntp version=4.2.6p5 -revision=12 +revision=13 build_style=gnu-configure configure_args="--with-crypto --enable-linuxcap --enable-ipv6 --with-lineeditlibs=readline" hostmakedepends="bison perl-HTML-Parser"