From ffd3cfaebd6a8f94e9d6c1de9b3c4b4205271e22 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 10 Nov 2011 11:20:04 +0100 Subject: [PATCH] chrony: update for new systemd_services arg, use make_dirs. --- srcpkgs/chrony/INSTALL | 7 ------- srcpkgs/chrony/template | 7 +++++-- 2 files changed, 5 insertions(+), 9 deletions(-) delete mode 100644 srcpkgs/chrony/INSTALL diff --git a/srcpkgs/chrony/INSTALL b/srcpkgs/chrony/INSTALL deleted file mode 100644 index 66c5dbef4f5..00000000000 --- a/srcpkgs/chrony/INSTALL +++ /dev/null @@ -1,7 +0,0 @@ -case ${ACTION} in -post) - [ ! -d var/log/chrony ] && mkdir -p var/log/chrony - [ ! -d var/db/chrony ] && mkdir -p var/db/chrony - chown chrony:chrony var/log/chrony var/db/chrony - ;; -esac diff --git a/srcpkgs/chrony/template b/srcpkgs/chrony/template index 68022ac7727..97024f3fc4c 100644 --- a/srcpkgs/chrony/template +++ b/srcpkgs/chrony/template @@ -1,7 +1,7 @@ # Template file for 'chrony' pkgname=chrony version=1.26 -revision=4 +revision=5 homepage="http://chrony.tuxfamily.org/" distfiles="http://download.tuxfamily.org/chrony/$pkgname-$version.tar.gz" build_style=gnu-configure @@ -22,8 +22,11 @@ long_desc=" daemon, add or delete servers etc whilst the daemon is running." system_accounts="chrony" -systemd_services="chrony.service" +systemd_services="chrony.service on" conf_files="/etc/chrony.conf" +make_dirs=" +/var/log/chrony 0755 chrony chrony +/var/db/chrony 0755 chrony chrony" Add_dependency run glibc Add_dependency run libcap