void-packages/srcpkgs/chrony/template
Paper 5293a0a4b0 chrony: update to 4.1.
chrony needs only one crypto library to be available, and that can be
nettle. Since chrony also depends on gnutls, which itself depends on
nettle, it isn't necessary to drag any other library into the package.
libtomcrypt already wasn't being linked against, but it wasn't necessary
in makedepends at all.

Closes: #30977 [via git-merge-pr]
2021-05-21 01:27:32 -03:00

37 lines
1.2 KiB
Bash

# Template file for 'chrony'
# When Updating: Please confirm the upstream config still refers to make_dirs
pkgname=chrony
version=4.1
revision=1
build_style=gnu-configure
configure_args="--without-nss --enable-scfilter
--with-sendmail=/usr/bin/sendmail"
hostmakedepends="pkg-config"
makedepends="libcap-devel libedit-devel libseccomp-devel nettle-devel gnutls-devel"
conf_files="/etc/chrony.conf"
short_desc="Versatile implementation of the Network Time Protocol (NTP)"
maintainer="Anthony Iliopoulos <ailiop@altatus.com>"
license="GPL-2.0-only"
homepage="https://chrony.tuxfamily.org/"
changelog="https://chrony.tuxfamily.org/news.html"
distfiles="https://download.tuxfamily.org/chrony/${pkgname}-${version}.tar.gz"
checksum=ed76f2d3f9347ac6221a91ad4bd553dd0565ac188cd7490d0801d08f7171164c
system_accounts="chrony"
chrony_homedir="/var/lib/chrony"
make_dirs="
/var/log/chrony 0755 chrony chrony
/var/lib/chrony 0755 chrony chrony"
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 examples/chrony.conf.example1 chrony.conf
vsconf examples/chrony.conf.example2
vsconf examples/chrony.conf.example3
vsv chronyd
}