diff --git a/srcpkgs/ntp/files/ntpd/log/run b/srcpkgs/ntp/files/ntpd/log/run new file mode 100755 index 00000000000..b36c4dafa40 --- /dev/null +++ b/srcpkgs/ntp/files/ntpd/log/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec logger -p daemon.notice diff --git a/srcpkgs/ntp/files/ntpd/run b/srcpkgs/ntp/files/ntpd/run new file mode 100755 index 00000000000..772b123a726 --- /dev/null +++ b/srcpkgs/ntp/files/ntpd/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec ntpd -g -u ntpd:ntpd -n diff --git a/srcpkgs/ntp/template b/srcpkgs/ntp/template index 9a62c401db6..49a0bc4acbf 100644 --- a/srcpkgs/ntp/template +++ b/srcpkgs/ntp/template @@ -1,7 +1,7 @@ # Template file for 'ntp' pkgname=ntp version=4.2.7p476 -revision=2 +revision=3 wrksrc="ntp-dev-${version}" build_style=gnu-configure configure_args="--with-crypto --enable-linuxcap --enable-ipv6 @@ -20,8 +20,7 @@ conf_files="/etc/ntp.conf" system_accounts="ntpd" ntpd_homedir="/var/db/ntpd" provides="ntp-daemon-0_1" -replaces="ntp-daemon>=0" - +replaces="runit-void<20141013_2 ntp-daemon>=0" build_options="systemd" post_install() { @@ -36,6 +35,7 @@ post_install() { echo "ntpd.service" > ${DESTDIR}/usr/lib/systemd/ntp-units.d/60-ntp.list fi vconf ${FILESDIR}/ntp.conf + vsv ntpd rm -r ${DESTDIR}/usr/share/doc }