diff --git a/srcpkgs/chrony/files/chrony.service b/srcpkgs/chrony/files/chrony.service deleted file mode 100644 index 292c52377ae..00000000000 --- a/srcpkgs/chrony/files/chrony.service +++ /dev/null @@ -1,8 +0,0 @@ -[Unit] -Description=Chrony Network Time Daemon - -[Service] -ExecStart=/usr/sbin/chronyd -n -u chrony - -[Install] -WantedBy=multi-user.target diff --git a/srcpkgs/chrony/template b/srcpkgs/chrony/template index bea3224fe57..94f7f572851 100644 --- a/srcpkgs/chrony/template +++ b/srcpkgs/chrony/template @@ -1,11 +1,10 @@ # Template file for 'chrony' pkgname=chrony -version=2.0 -revision=2 +version=2.1 +revision=1 build_pie=yes build_style=gnu-configure -build_options="systemd" -configure_args="--sbindir=/usr/bin --without-nss" +configure_args="--without-nss" hostmakedepends="pkg-config" makedepends="libtomcrypt-devel libcap-devel libedit-devel" conf_files="/etc/chrony.conf" @@ -19,17 +18,10 @@ maintainer="Juan RP " license="GPL-2" homepage="http://chrony.tuxfamily.org/" distfiles="http://download.tuxfamily.org/chrony/$pkgname-$version.tar.gz" -checksum=f4da5f5071e77314b49281c48c35a03d07d76cbc7ec19e787b4414a86023b68b +checksum=72da3f3c442693e6130d4d5f8c7dcfbe9908b4b3b79afbb2c70360c7919fcd5d post_install() { vconf ${FILESDIR}/chrony.conf vsv chronyd 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 }