mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-14 11:03:49 +02:00
chrony: update to 2.1.
This commit is contained in:
parent
b07adbe35f
commit
ac7e38e644
2 changed files with 4 additions and 20 deletions
|
@ -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'
|
# Template file for 'chrony'
|
||||||
pkgname=chrony
|
pkgname=chrony
|
||||||
version=2.0
|
version=2.1
|
||||||
revision=2
|
revision=1
|
||||||
build_pie=yes
|
build_pie=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
build_options="systemd"
|
configure_args="--without-nss"
|
||||||
configure_args="--sbindir=/usr/bin --without-nss"
|
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libtomcrypt-devel libcap-devel libedit-devel"
|
makedepends="libtomcrypt-devel libcap-devel libedit-devel"
|
||||||
conf_files="/etc/chrony.conf"
|
conf_files="/etc/chrony.conf"
|
||||||
|
@ -19,17 +18,10 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="http://chrony.tuxfamily.org/"
|
homepage="http://chrony.tuxfamily.org/"
|
||||||
distfiles="http://download.tuxfamily.org/chrony/$pkgname-$version.tar.gz"
|
distfiles="http://download.tuxfamily.org/chrony/$pkgname-$version.tar.gz"
|
||||||
checksum=f4da5f5071e77314b49281c48c35a03d07d76cbc7ec19e787b4414a86023b68b
|
checksum=72da3f3c442693e6130d4d5f8c7dcfbe9908b4b3b79afbb2c70360c7919fcd5d
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vconf ${FILESDIR}/chrony.conf
|
vconf ${FILESDIR}/chrony.conf
|
||||||
vsv chronyd
|
vsv chronyd
|
||||||
rm -rf ${DESTDIR}/usr/share/doc
|
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…
Add table
Reference in a new issue