ntp: fix previous.

This commit is contained in:
Juan RP 2012-08-21 20:15:21 +02:00
parent bb234a71f8
commit c711705fa8

View file

@ -1,7 +1,7 @@
# Template file for 'ntp'
pkgname=ntp
version=4.2.6p5
revision=4
revision=5
build_style=gnu-configure
configure_args="--enable-linuxcap"
makedepends="readline-devel openssl-devel libcap-devel"
@ -23,8 +23,6 @@ systemd_services="ntpd.service on"
post_install() {
vinstall ${FILESDIR}/ntpd.service 644 usr/lib/systemd/system
vinstall ${FILESDIR}/ntpd.service 644 \
usr/lib/systemd/ntp-units.d 60-ntpd.list
vinstall ${FILESDIR}/ntp.conf 644 etc
vinstall ${FILESDIR}/ntpd.logrotate 644 etc/logrotate.d ntpd
@ -32,4 +30,8 @@ post_install() {
vmkdir usr/share/doc/ntp
vcopy html usr/share/doc/ntp
vcopy conf usr/share/ntp
# For systemd-timedated.
vmkdir usr/lib/systemd/ntp-units.d
echo "ntpd.service" > ${DESTDIR}/usr/lib/systemd/ntp-units.d/60-ntp.list
}