chrony: Fix dir name mismatch in upstream config

This commit is contained in:
Toyam Cox 2017-11-16 09:30:54 -05:00
parent b817856147
commit f74b6889a9
2 changed files with 5 additions and 4 deletions

View file

@ -1,6 +1,6 @@
case ${ACTION} in case ${ACTION} in
purge) purge)
[ -d var/log/chrony ] && rm -rf var/log/chrony [ -d var/log/chrony ] && rm -rf var/log/chrony
[ -d var/db/chrony ] && rm -rf var/db/chrony [ -d var/lib/chrony ] && rm -rf var/lib/chrony
;; ;;
esac esac

View file

@ -1,17 +1,18 @@
# Template file for 'chrony' # Template file for 'chrony'
# When Updating: Please confirm the upstream config still refers to make_dirs
pkgname=chrony pkgname=chrony
version=3.2 version=3.2
revision=3 revision=4
build_style=gnu-configure build_style=gnu-configure
configure_args="--without-nss --enable-scfilter --with-sendmail=/usr/bin/sendmail" configure_args="--without-nss --enable-scfilter --with-sendmail=/usr/bin/sendmail"
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="libtomcrypt-devel libcap-devel libedit-devel libseccomp-devel" makedepends="libtomcrypt-devel libcap-devel libedit-devel libseccomp-devel"
conf_files="/etc/chrony.conf" conf_files="/etc/chrony.conf"
system_accounts="chrony" system_accounts="chrony"
chrony_homedir="/var/db/chrony" chrony_homedir="/var/lib/chrony"
make_dirs=" make_dirs="
/var/log/chrony 0755 chrony chrony /var/log/chrony 0755 chrony chrony
/var/db/chrony 0755 chrony chrony" /var/lib/chrony 0755 chrony chrony"
short_desc="Versatile implementation of the Network Time Protocol (NTP)" short_desc="Versatile implementation of the Network Time Protocol (NTP)"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2" license="GPL-2"