mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
chrony: update to 3.5.
This commit is contained in:
parent
9abc2c1829
commit
03e25300cb
2 changed files with 8 additions and 18 deletions
|
@ -1,10 +0,0 @@
|
||||||
--- test/unit/test.c
|
|
||||||
+++ test/unit/test.c
|
|
||||||
@@ -22,6 +22,7 @@
|
|
||||||
#include <sysincl.h>
|
|
||||||
#include <logging.h>
|
|
||||||
#include <localp.h>
|
|
||||||
+#include <sys/param.h> /* for MIN */
|
|
||||||
|
|
||||||
#include "test.h"
|
|
||||||
|
|
|
@ -1,22 +1,22 @@
|
||||||
# Template file for 'chrony'
|
# Template file for 'chrony'
|
||||||
# When Updating: Please confirm the upstream config still refers to make_dirs
|
# When Updating: Please confirm the upstream config still refers to make_dirs
|
||||||
pkgname=chrony
|
pkgname=chrony
|
||||||
version=3.4
|
version=3.5
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--without-nss --enable-scfilter
|
configure_args="--without-nss --enable-scfilter
|
||||||
--with-sendmail=/usr/bin/sendmail"
|
--with-sendmail=/usr/bin/sendmail"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libcap-devel libedit-devel libseccomp-devel libtomcrypt-devel"
|
makedepends="libcap-devel libedit-devel libseccomp-devel libtomcrypt-devel"
|
||||||
conf_files="/etc/chrony.conf"
|
conf_files="/etc/chrony.conf"
|
||||||
system_accounts="chrony"
|
|
||||||
chrony_homedir="/var/lib/chrony"
|
|
||||||
short_desc="Versatile implementation of the Network Time Protocol (NTP)"
|
short_desc="Versatile implementation of the Network Time Protocol (NTP)"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
||||||
license="GPL-2.0-only"
|
license="GPL-2.0-only"
|
||||||
homepage="https://chrony.tuxfamily.org/"
|
homepage="https://chrony.tuxfamily.org/"
|
||||||
distfiles="https://download.tuxfamily.org/chrony/${pkgname}-${version}.tar.gz"
|
distfiles="https://download.tuxfamily.org/chrony/${pkgname}-${version}.tar.gz"
|
||||||
checksum=af77e47c2610a7e55c8af5b89a8aeff52d9a867dd5983d848b52d374bc0e6b9f
|
checksum=4e02795b1260a4ec51e6ace84149036305cc9fc340e65edb9f8452aa611339b5
|
||||||
|
system_accounts="chrony"
|
||||||
|
chrony_homedir="/var/lib/chrony"
|
||||||
|
|
||||||
make_dirs="
|
make_dirs="
|
||||||
/var/log/chrony 0755 chrony chrony
|
/var/log/chrony 0755 chrony chrony
|
||||||
|
@ -31,9 +31,9 @@ alternatives="
|
||||||
post_install() {
|
post_install() {
|
||||||
vconf examples/chrony.conf.example3 chrony.conf
|
vconf examples/chrony.conf.example3 chrony.conf
|
||||||
# Modify default configuration so it works out-of-the-box
|
# Modify default configuration so it works out-of-the-box
|
||||||
sed -e 's,! pool pool.ntp.org iburst,pool pool.ntp.org iburst,' -i ${DESTDIR}/etc/chrony.conf
|
vsed -e 's,! pool pool.ntp.org iburst,pool pool.ntp.org iburst,' -i ${DESTDIR}/etc/chrony.conf
|
||||||
sed -e 's,! rtcfile /var/lib/chrony/rtc,rtcfile /var/lib/chrony/rtc,' -i ${DESTDIR}/etc/chrony.conf
|
vsed -e 's,! rtcfile /var/lib/chrony/rtc,rtcfile /var/lib/chrony/rtc,' -i ${DESTDIR}/etc/chrony.conf
|
||||||
sed -e 's,! makestep 1.0 3,makestep 1.0 3,' -i ${DESTDIR}/etc/chrony.conf
|
vsed -e 's,! makestep 1.0 3,makestep 1.0 3,' -i ${DESTDIR}/etc/chrony.conf
|
||||||
vsconf examples/chrony.conf.example1
|
vsconf examples/chrony.conf.example1
|
||||||
vsconf examples/chrony.conf.example2
|
vsconf examples/chrony.conf.example2
|
||||||
vsv chronyd
|
vsv chronyd
|
||||||
|
|
Loading…
Add table
Reference in a new issue