void-packages/srcpkgs/chrony/template
Enno Boland 4397eff20a Revert "chrony: no alias to /etc/sv/ntpd."
This reverts commit bf9b11555f.

xtraeme explained that it's a bad idea due to various base packages.
2016-04-04 07:53:27 +02:00

32 lines
1,007 B
Bash

# Template file for 'chrony'
pkgname=chrony
version=2.3
revision=3
build_style=gnu-configure
configure_args="--without-nss --enable-scfilter --with-sendmail=/usr/bin/sendmail"
hostmakedepends="pkg-config"
makedepends="libtomcrypt-devel libcap-devel libedit-devel libseccomp-devel"
conf_files="/etc/chrony.conf"
system_accounts="chrony"
chrony_homedir="/var/db/chrony"
make_dirs="
/var/log/chrony 0755 chrony chrony
/var/db/chrony 0755 chrony chrony"
short_desc="Sets your computer's clock from time servers on the Net"
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=58bffb523012fb0fa87cc0d94d6e36de9689fe9556519cbd0d1ba254af92ccb2
provides="ntp-daemon-0_1"
alternatives="
ntpd:ntpd:/usr/bin/chronyd
ntpd:ntpd.8:/usr/share/man/man8/chronyd.8
ntpd:ntpd:/etc/sv/chronyd"
post_install() {
vconf ${FILESDIR}/chrony.conf
vsv chronyd
rm -rf ${DESTDIR}/usr/share/doc
}