ntp: fix previous.
This commit is contained in:
parent
bb234a71f8
commit
c711705fa8
1 changed files with 5 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'ntp'
|
# Template file for 'ntp'
|
||||||
pkgname=ntp
|
pkgname=ntp
|
||||||
version=4.2.6p5
|
version=4.2.6p5
|
||||||
revision=4
|
revision=5
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-linuxcap"
|
configure_args="--enable-linuxcap"
|
||||||
makedepends="readline-devel openssl-devel libcap-devel"
|
makedepends="readline-devel openssl-devel libcap-devel"
|
||||||
|
@ -23,8 +23,6 @@ systemd_services="ntpd.service on"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall ${FILESDIR}/ntpd.service 644 usr/lib/systemd/system
|
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}/ntp.conf 644 etc
|
||||||
vinstall ${FILESDIR}/ntpd.logrotate 644 etc/logrotate.d ntpd
|
vinstall ${FILESDIR}/ntpd.logrotate 644 etc/logrotate.d ntpd
|
||||||
|
|
||||||
|
@ -32,4 +30,8 @@ post_install() {
|
||||||
vmkdir usr/share/doc/ntp
|
vmkdir usr/share/doc/ntp
|
||||||
vcopy html usr/share/doc/ntp
|
vcopy html usr/share/doc/ntp
|
||||||
vcopy conf usr/share/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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue