ntp: change location of drift file to /var/db/ntpd to fix EPERM issues.

This commit is contained in:
Juan RP 2013-12-09 13:19:46 +01:00
parent 67e3c293e4
commit 8dc5a449ac
3 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -0,0 +1 @@
d /var/db/ntpd 0755 ntpd ntpd

View file

@ -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"