mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
ntp: update to 4.2.8p3.
This commit is contained in:
parent
38fceffa5a
commit
9b481af713
4 changed files with 3 additions and 38 deletions
|
@ -1,11 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Network Time Service
|
|
||||||
After=network.target nss-lookup.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
PrivateTmp=true
|
|
||||||
ExecStart=/usr/bin/ntpd -n -g -u ntpd:ntpd
|
|
||||||
Restart=always
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
|
@ -1 +0,0 @@
|
||||||
d /var/db/ntpd 0755 ntpd ntpd
|
|
|
@ -1,12 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=One-Shot Network Time Service
|
|
||||||
After=network.target nss-lookup.target
|
|
||||||
Before=ntpd.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=oneshot
|
|
||||||
PrivateTmp=true
|
|
||||||
ExecStart=/usr/bin/ntpd -q -g -u ntpd:ntpd
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'ntp'
|
# Template file for 'ntp'
|
||||||
pkgname=ntp
|
pkgname=ntp
|
||||||
version=4.2.8p2
|
version=4.2.8p3
|
||||||
revision=2
|
revision=1
|
||||||
build_pie=yes
|
build_pie=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-crypto --enable-linuxcap --enable-ipv6 --enable-ntp-signd
|
configure_args="--with-crypto --enable-linuxcap --enable-ipv6 --enable-ntp-signd
|
||||||
|
@ -13,7 +13,7 @@ license="BSD"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://www.ntp.org/"
|
homepage="http://www.ntp.org/"
|
||||||
distfiles="http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-${version}.tar.gz"
|
distfiles="http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-${version}.tar.gz"
|
||||||
checksum=0d69bc0e95caad43ea04fdad410e756bae1a71e67b1c2bd799b76b55e04c9b31
|
checksum=818ca4f2ed6ca845b1c5ec43f5e6ad905eaa0fc0aab2d509ed6b962a37fbf38f
|
||||||
|
|
||||||
make_dirs="/var/db/ntpd 0755 ntpd ntpd"
|
make_dirs="/var/db/ntpd 0755 ntpd ntpd"
|
||||||
conf_files="/etc/ntp.conf"
|
conf_files="/etc/ntp.conf"
|
||||||
|
@ -21,19 +21,8 @@ system_accounts="ntpd"
|
||||||
ntpd_homedir="/var/db/ntpd"
|
ntpd_homedir="/var/db/ntpd"
|
||||||
provides="ntp-daemon-0_1"
|
provides="ntp-daemon-0_1"
|
||||||
replaces="ntp-daemon>=0"
|
replaces="ntp-daemon>=0"
|
||||||
build_options="systemd"
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
if [ "$build_option_systemd" ]; then
|
|
||||||
# ntpd service
|
|
||||||
vinstall ${FILESDIR}/ntpd.tmpfiles 644 usr/lib/tmpfiles.d ntpd.conf
|
|
||||||
vinstall ${FILESDIR}/ntpd.service 644 usr/lib/systemd/system
|
|
||||||
# ntpdate service
|
|
||||||
vinstall ${FILESDIR}/ntpdate.service 644 usr/lib/systemd/system
|
|
||||||
# For systemd-timedated.
|
|
||||||
vmkdir usr/lib/systemd/ntp-units.d
|
|
||||||
echo "ntpd.service" > ${DESTDIR}/usr/lib/systemd/ntp-units.d/60-ntp.list
|
|
||||||
fi
|
|
||||||
vconf ${FILESDIR}/ntp.conf
|
vconf ${FILESDIR}/ntp.conf
|
||||||
vsv ntpd
|
vsv ntpd
|
||||||
rm -r ${DESTDIR}/usr/share/doc
|
rm -r ${DESTDIR}/usr/share/doc
|
||||||
|
|
Loading…
Add table
Reference in a new issue