diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2016-02-04 16:54:19 +0200 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2016-02-04 20:33:15 +0200 |
commit | 36ee58fa6648d520a12d03b0bdaaabf4d8b256e0 (patch) | |
tree | dce9607f95a6452420bc2d9c96880d3d35197658 /main/chrony/APKBUILD | |
parent | 7db4897688971191356b8bdf723995a0e745e675 (diff) | |
download | aports-36ee58fa6648d520a12d03b0bdaaabf4d8b256e0.tar.bz2 aports-36ee58fa6648d520a12d03b0bdaaabf4d8b256e0.tar.xz |
main/chrony: log directory permissions
Diffstat (limited to 'main/chrony/APKBUILD')
-rw-r--r-- | main/chrony/APKBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/main/chrony/APKBUILD b/main/chrony/APKBUILD index b00c1ad8d0..9d20f6c3b0 100644 --- a/main/chrony/APKBUILD +++ b/main/chrony/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=chrony pkgver=2.2.1 -pkgrel=0 +pkgrel=1 _ver=${pkgver/_/-} pkgdesc="NTP client and server programs" url="http://chrony.tuxfamily.org/" @@ -68,8 +68,9 @@ package() { install -Dm755 "$srcdir"/chronyd.initd "$pkgdir"/etc/init.d/chronyd install -Dm644 "$srcdir"/chronyd.confd "$pkgdir"/etc/conf.d/chronyd + install -dm2750 -g wheel "$pkgdir"/var/log/chrony + mkdir -p "$pkgdir"/var/lib/chrony \ - "$pkgdir"/var/log/chrony \ "$pkgdir"/etc/chrony # chrony.drift must be writable by chrony user |