summaryrefslogtreecommitdiff
path: root/chrony/Pkgfile
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2022-02-15 14:04:21 +0100
committerJuergen Daubert <jue@jue.li>2022-02-15 14:04:21 +0100
commit72263987d3d08c11da833829967301dd1a8be336 (patch)
tree1ad634b7cc6a56829a5c47c4e5b6405f9a17dba7 /chrony/Pkgfile
parent936b6daedff6d046c1ff3b7661661f50be2c9b74 (diff)
downloadopt-72263987d3d08c11da833829967301dd1a8be336.tar.gz
opt-72263987d3d08c11da833829967301dd1a8be336.tar.xz
chrony: move rundir and pidfile to /run/chrony
Diffstat (limited to 'chrony/Pkgfile')
-rw-r--r--chrony/Pkgfile10
1 files changed, 7 insertions, 3 deletions
diff --git a/chrony/Pkgfile b/chrony/Pkgfile
index db34f4770..a59044f77 100644
--- a/chrony/Pkgfile
+++ b/chrony/Pkgfile
@@ -5,19 +5,23 @@
name=chrony
version=4.2
-release=1
+release=2
source=(http://download.tuxfamily.org/$name/$name-$version.tar.gz
chronyd)
build() {
cd $name-$version
- ./configure --prefix=/usr --with-user=chrony
+ ./configure \
+ --prefix=/usr \
+ --chronyrundir=/run/chrony \
+ --with-pidfile=/run/chrony/chronyd.pid \
+ --with-user=chrony
make
make DESTDIR=$PKG install
- install -d -o chrony -g chrony -m 0750 $PKG/var/{lib,log,run}/chrony
+ install -d -o chrony -g chrony -m 0750 $PKG/var/{lib,log}/chrony
install -D -m 0755 $SRC/chronyd $PKG/etc/rc.d/chronyd
install examples/chrony.conf.example1 $PKG/etc/chrony.conf
}

Generated by cgit