chrony: update to 2.1.
This commit is contained in:
parent
b07adbe35f
commit
ac7e38e644
@ -1,8 +0,0 @@
|
||||
[Unit]
|
||||
Description=Chrony Network Time Daemon
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/chronyd -n -u chrony
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,11 +1,10 @@
|
||||
# Template file for 'chrony'
|
||||
pkgname=chrony
|
||||
version=2.0
|
||||
revision=2
|
||||
version=2.1
|
||||
revision=1
|
||||
build_pie=yes
|
||||
build_style=gnu-configure
|
||||
build_options="systemd"
|
||||
configure_args="--sbindir=/usr/bin --without-nss"
|
||||
configure_args="--without-nss"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libtomcrypt-devel libcap-devel libedit-devel"
|
||||
conf_files="/etc/chrony.conf"
|
||||
@ -19,17 +18,10 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
license="GPL-2"
|
||||
homepage="http://chrony.tuxfamily.org/"
|
||||
distfiles="http://download.tuxfamily.org/chrony/$pkgname-$version.tar.gz"
|
||||
checksum=f4da5f5071e77314b49281c48c35a03d07d76cbc7ec19e787b4414a86023b68b
|
||||
checksum=72da3f3c442693e6130d4d5f8c7dcfbe9908b4b3b79afbb2c70360c7919fcd5d
|
||||
|
||||
post_install() {
|
||||
vconf ${FILESDIR}/chrony.conf
|
||||
vsv chronyd
|
||||
rm -rf ${DESTDIR}/usr/share/doc
|
||||
|
||||
if [ "$build_option_systemd" ]; then
|
||||
vinstall ${FILESDIR}/chrony.service 644 usr/lib/systemd/system
|
||||
# for systemd-timedated.
|
||||
vmkdir usr/lib/systemd/ntp-units.d
|
||||
echo "chrony.service" > ${DESTDIR}/usr/lib/systemd/ntp-units.d/50-chrony.list
|
||||
fi
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user