32 lines
1,017 B
Bash
32 lines
1,017 B
Bash
# Template file for 'chrony'
|
|
pkgname=chrony
|
|
version=3.0
|
|
revision=1
|
|
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="Versatile implementation of the Network Time Protocol (NTP)"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="https://chrony.tuxfamily.org/"
|
|
distfiles="https://download.tuxfamily.org/chrony/${pkgname}-${version}.tar.gz"
|
|
checksum=a0387b91a20f047856a56d6541a1cf920c91b53b32f74c123bcb70f1a5d2cd6d
|
|
|
|
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
|
|
}
|