[arch-commits] Commit in ntp/repos (20 files)
Gaetan Bisson
bisson at nymeria.archlinux.org
Sat Jan 11 16:49:37 UTC 2014
Date: Saturday, January 11, 2014 @ 17:49:37
Author: bisson
Revision: 203483
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
ntp/repos/extra-i686/PKGBUILD
(from rev 203482, ntp/trunk/PKGBUILD)
ntp/repos/extra-i686/install
(from rev 203482, ntp/trunk/install)
ntp/repos/extra-i686/ntp.conf
(from rev 203482, ntp/trunk/ntp.conf)
ntp/repos/extra-i686/ntpd.service
(from rev 203482, ntp/trunk/ntpd.service)
ntp/repos/extra-i686/ntpdate.service
(from rev 203482, ntp/trunk/ntpdate.service)
ntp/repos/extra-x86_64/PKGBUILD
(from rev 203482, ntp/trunk/PKGBUILD)
ntp/repos/extra-x86_64/install
(from rev 203482, ntp/trunk/install)
ntp/repos/extra-x86_64/ntp.conf
(from rev 203482, ntp/trunk/ntp.conf)
ntp/repos/extra-x86_64/ntpd.service
(from rev 203482, ntp/trunk/ntpd.service)
ntp/repos/extra-x86_64/ntpdate.service
(from rev 203482, ntp/trunk/ntpdate.service)
Deleted:
ntp/repos/extra-i686/PKGBUILD
ntp/repos/extra-i686/install
ntp/repos/extra-i686/ntp.conf
ntp/repos/extra-i686/ntpd.service
ntp/repos/extra-i686/ntpdate.service
ntp/repos/extra-x86_64/PKGBUILD
ntp/repos/extra-x86_64/install
ntp/repos/extra-x86_64/ntp.conf
ntp/repos/extra-x86_64/ntpd.service
ntp/repos/extra-x86_64/ntpdate.service
------------------------------+
/PKGBUILD | 120 +++++++++++++++++++++++++++++++++++++++++
/install | 74 +++++++++++++++++++++++++
/ntp.conf | 38 ++++++++++++
/ntpd.service | 26 ++++++++
/ntpdate.service | 22 +++++++
extra-i686/PKGBUILD | 60 --------------------
extra-i686/install | 37 ------------
extra-i686/ntp.conf | 19 ------
extra-i686/ntpd.service | 12 ----
extra-i686/ntpdate.service | 11 ---
extra-x86_64/PKGBUILD | 60 --------------------
extra-x86_64/install | 37 ------------
extra-x86_64/ntp.conf | 19 ------
extra-x86_64/ntpd.service | 12 ----
extra-x86_64/ntpdate.service | 11 ---
15 files changed, 280 insertions(+), 278 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2014-01-11 16:48:38 UTC (rev 203482)
+++ extra-i686/PKGBUILD 2014-01-11 16:49:37 UTC (rev 203483)
@@ -1,60 +0,0 @@
-# $Id$
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: kevin <kevin at archlinux.org>
-
-pkgname=ntp
-pkgver=4.2.6.p5
-_realver=4.2.6p5
-pkgrel=17
-pkgdesc='Network Time Protocol reference implementation'
-url='http://www.ntp.org/'
-license=('custom')
-arch=('i686' 'x86_64')
-makedepends=('perl-html-parser')
-depends=('openssl' 'libcap' 'libedit')
-backup=('etc/ntp.conf')
-source=("http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${_realver}.tar.gz"
- 'ntp.conf'
- 'ntpd.service'
- 'ntpdate.service')
-sha1sums=('4a5353a4791b6f4315a66c28d504ec6c7926b192'
- 'd3496dbeb7d531dd6ab071dbce3262c3c9618d8b'
- 'ff8370719f003f184563b7d6068c03086678482f'
- 'e1c48cba549b7d21501aadf513926e463884c090'
-)
-
-install=install
-
-build() {
- cd "${srcdir}/${pkgname}-${_realver}"
-
- ./configure \
- --prefix=/usr \
- --mandir=/usr/share/man \
- --enable-linuxcaps \
- --enable-ntp-signd \
-
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${_realver}"
-
- make DESTDIR="${pkgdir}" install
-
- rmdir "${pkgdir}"/usr/{lib,sbin}
- install -d -o 87 "${pkgdir}"/var/lib/ntp
- install -Dm644 ../ntp.conf "${pkgdir}"/etc/ntp.conf
- install -Dm644 ../ntpd.service "${pkgdir}"/usr/lib/systemd/system/ntpd.service
- install -Dm644 ../ntpdate.service "${pkgdir}"/usr/lib/systemd/system/ntpdate.service
- install -Dm644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-
- cd html
- ../scripts/html2man
- install -d "${pkgdir}"/usr/share/man
- mv man/man* "${pkgdir}"/usr/share/man
- mv "${pkgdir}/usr/share/man/man8/ntpd.8" "${pkgdir}/usr/share/man/man8/ntp-ntpd.8" # we should ditch openntpd
-
- install -dm755 "${pkgdir}/usr/lib/systemd/ntp-units.d"
- echo 'ntpd.service' > "${pkgdir}/usr/lib/systemd/ntp-units.d/${pkgname}.list"
-}
Copied: ntp/repos/extra-i686/PKGBUILD (from rev 203482, ntp/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2014-01-11 16:49:37 UTC (rev 203483)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: kevin <kevin at archlinux.org>
+
+pkgname=ntp
+pkgver=4.2.6.p5
+_realver=4.2.6p5
+pkgrel=18
+pkgdesc='Network Time Protocol reference implementation'
+url='http://www.ntp.org/'
+license=('custom')
+arch=('i686' 'x86_64')
+makedepends=('perl-html-parser')
+depends=('openssl' 'libcap' 'libedit')
+backup=('etc/ntp.conf')
+source=("http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${_realver}.tar.gz"
+ 'ntp.conf'
+ 'ntpd.service'
+ 'ntpdate.service')
+sha1sums=('4a5353a4791b6f4315a66c28d504ec6c7926b192'
+ 'd3496dbeb7d531dd6ab071dbce3262c3c9618d8b'
+ 'dd24216e8333e12d5080965696602591c72537b1'
+ 'e1c48cba549b7d21501aadf513926e463884c090'
+)
+
+install=install
+
+build() {
+ cd "${srcdir}/${pkgname}-${_realver}"
+
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --enable-linuxcaps \
+ --enable-ntp-signd \
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${_realver}"
+
+ make DESTDIR="${pkgdir}" install
+
+ rmdir "${pkgdir}"/usr/{lib,sbin}
+ install -d -o 87 "${pkgdir}"/var/lib/ntp
+ install -Dm644 ../ntp.conf "${pkgdir}"/etc/ntp.conf
+ install -Dm644 ../ntpd.service "${pkgdir}"/usr/lib/systemd/system/ntpd.service
+ install -Dm644 ../ntpdate.service "${pkgdir}"/usr/lib/systemd/system/ntpdate.service
+ install -Dm644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+ cd html
+ ../scripts/html2man
+ install -d "${pkgdir}"/usr/share/man
+ mv man/man* "${pkgdir}"/usr/share/man
+ mv "${pkgdir}/usr/share/man/man8/ntpd.8" "${pkgdir}/usr/share/man/man8/ntp-ntpd.8" # we should ditch openntpd
+
+ install -dm755 "${pkgdir}/usr/lib/systemd/ntp-units.d"
+ echo 'ntpd.service' > "${pkgdir}/usr/lib/systemd/ntp-units.d/${pkgname}.list"
+}
Deleted: extra-i686/install
===================================================================
--- extra-i686/install 2014-01-11 16:48:38 UTC (rev 203482)
+++ extra-i686/install 2014-01-11 16:49:37 UTC (rev 203483)
@@ -1,37 +0,0 @@
-post_install() {
- getent group ntp &>/dev/null || groupadd -g 87 ntp >/dev/null
- getent passwd ntp &>/dev/null || useradd -u 87 -g ntp -d /var/lib/ntp -c 'Network Time Protocol' -s /bin/false ntp >/dev/null
- true
-}
-
-post_upgrade() {
- if [[ $(vercmp $2 4.2.6.p3) -le 0 ]]; then
- cat <<EOF
-
-==> The file /etc/conf.d/ntp-client.conf has been renamed /etc/conf.d/ntpd.conf
-==> If you made changes to the former, please update the latter.
-
-EOF
- fi
- if [[ $(vercmp $2 4.2.6.p5-1) -le 0 ]]; then
- cat <<EOF
-
-==> The PID file /var/run/ntpd.pid has been renamed /run/ntpd.pid
-==> and the new rc.d script only takes the latter into account.
-==> To stop your old ntpd process, please kill it manually.
-
-EOF
- fi
- if [[ $(vercmp $2 4.2.6.p5-3) -le 0 ]]; then
- post_install
- fi
- if [[ $(vercmp $2 4.2.6.p5-5) -le 0 ]]; then
- chown -R ntp /var/lib/ntp
- fi
-}
-
-post_remove() {
- getent passwd ntp &>/dev/null && userdel ntp >/dev/null
- getent group ntp &>/dev/null && groupdel ntp >/dev/null
- true
-}
Copied: ntp/repos/extra-i686/install (from rev 203482, ntp/trunk/install)
===================================================================
--- extra-i686/install (rev 0)
+++ extra-i686/install 2014-01-11 16:49:37 UTC (rev 203483)
@@ -0,0 +1,37 @@
+post_install() {
+ getent group ntp &>/dev/null || groupadd -g 87 ntp >/dev/null
+ getent passwd ntp &>/dev/null || useradd -u 87 -g ntp -d /var/lib/ntp -c 'Network Time Protocol' -s /bin/false ntp >/dev/null
+ true
+}
+
+post_upgrade() {
+ if [[ $(vercmp $2 4.2.6.p3) -le 0 ]]; then
+ cat <<EOF
+
+==> The file /etc/conf.d/ntp-client.conf has been renamed /etc/conf.d/ntpd.conf
+==> If you made changes to the former, please update the latter.
+
+EOF
+ fi
+ if [[ $(vercmp $2 4.2.6.p5-1) -le 0 ]]; then
+ cat <<EOF
+
+==> The PID file /var/run/ntpd.pid has been renamed /run/ntpd.pid
+==> and the new rc.d script only takes the latter into account.
+==> To stop your old ntpd process, please kill it manually.
+
+EOF
+ fi
+ if [[ $(vercmp $2 4.2.6.p5-3) -le 0 ]]; then
+ post_install
+ fi
+ if [[ $(vercmp $2 4.2.6.p5-5) -le 0 ]]; then
+ chown -R ntp /var/lib/ntp
+ fi
+}
+
+post_remove() {
+ getent passwd ntp &>/dev/null && userdel ntp >/dev/null
+ getent group ntp &>/dev/null && groupdel ntp >/dev/null
+ true
+}
Deleted: extra-i686/ntp.conf
===================================================================
--- extra-i686/ntp.conf 2014-01-11 16:48:38 UTC (rev 203482)
+++ extra-i686/ntp.conf 2014-01-11 16:49:37 UTC (rev 203483)
@@ -1,19 +0,0 @@
-# With the default settings below, ntpd will only synchronize your clock.
-#
-# For details, see:
-# - the ntp.conf man page
-# - http://support.ntp.org/bin/view/Support/GettingStarted
-# - https://wiki.archlinux.org/index.php/Network_Time_Protocol_daemon
-
-# Associate to public NTP pool servers; see http://www.pool.ntp.org/
-server 0.pool.ntp.org
-server 1.pool.ntp.org
-server 2.pool.ntp.org
-
-# Only allow read-only access from localhost
-restrict default noquery nopeer
-restrict 127.0.0.1
-restrict ::1
-
-# Location of drift file
-driftfile /var/lib/ntp/ntp.drift
Copied: ntp/repos/extra-i686/ntp.conf (from rev 203482, ntp/trunk/ntp.conf)
===================================================================
--- extra-i686/ntp.conf (rev 0)
+++ extra-i686/ntp.conf 2014-01-11 16:49:37 UTC (rev 203483)
@@ -0,0 +1,19 @@
+# With the default settings below, ntpd will only synchronize your clock.
+#
+# For details, see:
+# - the ntp.conf man page
+# - http://support.ntp.org/bin/view/Support/GettingStarted
+# - https://wiki.archlinux.org/index.php/Network_Time_Protocol_daemon
+
+# Associate to public NTP pool servers; see http://www.pool.ntp.org/
+server 0.pool.ntp.org
+server 1.pool.ntp.org
+server 2.pool.ntp.org
+
+# Only allow read-only access from localhost
+restrict default noquery nopeer
+restrict 127.0.0.1
+restrict ::1
+
+# Location of drift file
+driftfile /var/lib/ntp/ntp.drift
Deleted: extra-i686/ntpd.service
===================================================================
--- extra-i686/ntpd.service 2014-01-11 16:48:38 UTC (rev 203482)
+++ extra-i686/ntpd.service 2014-01-11 16:49:37 UTC (rev 203483)
@@ -1,12 +0,0 @@
-[Unit]
-Description=Network Time Service
-After=network.target nss-lookup.target
-
-[Service]
-Type=forking
-PrivateTmp=true
-ExecStart=/usr/bin/ntpd -g -u ntp:ntp
-Restart=always
-
-[Install]
-WantedBy=multi-user.target
Copied: ntp/repos/extra-i686/ntpd.service (from rev 203482, ntp/trunk/ntpd.service)
===================================================================
--- extra-i686/ntpd.service (rev 0)
+++ extra-i686/ntpd.service 2014-01-11 16:49:37 UTC (rev 203483)
@@ -0,0 +1,13 @@
+[Unit]
+Description=Network Time Service
+After=network.target nss-lookup.target
+
+[Service]
+Type=forking
+PrivateTmp=true
+PIDFile=/run/ntpd.pid
+ExecStart=/usr/bin/ntpd -g -u ntp:ntp -p /run/ntpd.pid
+Restart=always
+
+[Install]
+WantedBy=multi-user.target
Deleted: extra-i686/ntpdate.service
===================================================================
--- extra-i686/ntpdate.service 2014-01-11 16:48:38 UTC (rev 203482)
+++ extra-i686/ntpdate.service 2014-01-11 16:49:37 UTC (rev 203483)
@@ -1,11 +0,0 @@
-[Unit]
-Description=One-Shot Network Time Service
-After=network.target nss-lookup.target
-
-[Service]
-Type=oneshot
-PrivateTmp=true
-ExecStart=/usr/bin/ntpd -q -g -u ntp:ntp
-
-[Install]
-WantedBy=multi-user.target
Copied: ntp/repos/extra-i686/ntpdate.service (from rev 203482, ntp/trunk/ntpdate.service)
===================================================================
--- extra-i686/ntpdate.service (rev 0)
+++ extra-i686/ntpdate.service 2014-01-11 16:49:37 UTC (rev 203483)
@@ -0,0 +1,11 @@
+[Unit]
+Description=One-Shot Network Time Service
+After=network.target nss-lookup.target
+
+[Service]
+Type=oneshot
+PrivateTmp=true
+ExecStart=/usr/bin/ntpd -q -g -u ntp:ntp
+
+[Install]
+WantedBy=multi-user.target
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2014-01-11 16:48:38 UTC (rev 203482)
+++ extra-x86_64/PKGBUILD 2014-01-11 16:49:37 UTC (rev 203483)
@@ -1,60 +0,0 @@
-# $Id$
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: kevin <kevin at archlinux.org>
-
-pkgname=ntp
-pkgver=4.2.6.p5
-_realver=4.2.6p5
-pkgrel=17
-pkgdesc='Network Time Protocol reference implementation'
-url='http://www.ntp.org/'
-license=('custom')
-arch=('i686' 'x86_64')
-makedepends=('perl-html-parser')
-depends=('openssl' 'libcap' 'libedit')
-backup=('etc/ntp.conf')
-source=("http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${_realver}.tar.gz"
- 'ntp.conf'
- 'ntpd.service'
- 'ntpdate.service')
-sha1sums=('4a5353a4791b6f4315a66c28d504ec6c7926b192'
- 'd3496dbeb7d531dd6ab071dbce3262c3c9618d8b'
- 'ff8370719f003f184563b7d6068c03086678482f'
- 'e1c48cba549b7d21501aadf513926e463884c090'
-)
-
-install=install
-
-build() {
- cd "${srcdir}/${pkgname}-${_realver}"
-
- ./configure \
- --prefix=/usr \
- --mandir=/usr/share/man \
- --enable-linuxcaps \
- --enable-ntp-signd \
-
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${_realver}"
-
- make DESTDIR="${pkgdir}" install
-
- rmdir "${pkgdir}"/usr/{lib,sbin}
- install -d -o 87 "${pkgdir}"/var/lib/ntp
- install -Dm644 ../ntp.conf "${pkgdir}"/etc/ntp.conf
- install -Dm644 ../ntpd.service "${pkgdir}"/usr/lib/systemd/system/ntpd.service
- install -Dm644 ../ntpdate.service "${pkgdir}"/usr/lib/systemd/system/ntpdate.service
- install -Dm644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-
- cd html
- ../scripts/html2man
- install -d "${pkgdir}"/usr/share/man
- mv man/man* "${pkgdir}"/usr/share/man
- mv "${pkgdir}/usr/share/man/man8/ntpd.8" "${pkgdir}/usr/share/man/man8/ntp-ntpd.8" # we should ditch openntpd
-
- install -dm755 "${pkgdir}/usr/lib/systemd/ntp-units.d"
- echo 'ntpd.service' > "${pkgdir}/usr/lib/systemd/ntp-units.d/${pkgname}.list"
-}
Copied: ntp/repos/extra-x86_64/PKGBUILD (from rev 203482, ntp/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2014-01-11 16:49:37 UTC (rev 203483)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: kevin <kevin at archlinux.org>
+
+pkgname=ntp
+pkgver=4.2.6.p5
+_realver=4.2.6p5
+pkgrel=18
+pkgdesc='Network Time Protocol reference implementation'
+url='http://www.ntp.org/'
+license=('custom')
+arch=('i686' 'x86_64')
+makedepends=('perl-html-parser')
+depends=('openssl' 'libcap' 'libedit')
+backup=('etc/ntp.conf')
+source=("http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${_realver}.tar.gz"
+ 'ntp.conf'
+ 'ntpd.service'
+ 'ntpdate.service')
+sha1sums=('4a5353a4791b6f4315a66c28d504ec6c7926b192'
+ 'd3496dbeb7d531dd6ab071dbce3262c3c9618d8b'
+ 'dd24216e8333e12d5080965696602591c72537b1'
+ 'e1c48cba549b7d21501aadf513926e463884c090'
+)
+
+install=install
+
+build() {
+ cd "${srcdir}/${pkgname}-${_realver}"
+
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --enable-linuxcaps \
+ --enable-ntp-signd \
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${_realver}"
+
+ make DESTDIR="${pkgdir}" install
+
+ rmdir "${pkgdir}"/usr/{lib,sbin}
+ install -d -o 87 "${pkgdir}"/var/lib/ntp
+ install -Dm644 ../ntp.conf "${pkgdir}"/etc/ntp.conf
+ install -Dm644 ../ntpd.service "${pkgdir}"/usr/lib/systemd/system/ntpd.service
+ install -Dm644 ../ntpdate.service "${pkgdir}"/usr/lib/systemd/system/ntpdate.service
+ install -Dm644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+ cd html
+ ../scripts/html2man
+ install -d "${pkgdir}"/usr/share/man
+ mv man/man* "${pkgdir}"/usr/share/man
+ mv "${pkgdir}/usr/share/man/man8/ntpd.8" "${pkgdir}/usr/share/man/man8/ntp-ntpd.8" # we should ditch openntpd
+
+ install -dm755 "${pkgdir}/usr/lib/systemd/ntp-units.d"
+ echo 'ntpd.service' > "${pkgdir}/usr/lib/systemd/ntp-units.d/${pkgname}.list"
+}
Deleted: extra-x86_64/install
===================================================================
--- extra-x86_64/install 2014-01-11 16:48:38 UTC (rev 203482)
+++ extra-x86_64/install 2014-01-11 16:49:37 UTC (rev 203483)
@@ -1,37 +0,0 @@
-post_install() {
- getent group ntp &>/dev/null || groupadd -g 87 ntp >/dev/null
- getent passwd ntp &>/dev/null || useradd -u 87 -g ntp -d /var/lib/ntp -c 'Network Time Protocol' -s /bin/false ntp >/dev/null
- true
-}
-
-post_upgrade() {
- if [[ $(vercmp $2 4.2.6.p3) -le 0 ]]; then
- cat <<EOF
-
-==> The file /etc/conf.d/ntp-client.conf has been renamed /etc/conf.d/ntpd.conf
-==> If you made changes to the former, please update the latter.
-
-EOF
- fi
- if [[ $(vercmp $2 4.2.6.p5-1) -le 0 ]]; then
- cat <<EOF
-
-==> The PID file /var/run/ntpd.pid has been renamed /run/ntpd.pid
-==> and the new rc.d script only takes the latter into account.
-==> To stop your old ntpd process, please kill it manually.
-
-EOF
- fi
- if [[ $(vercmp $2 4.2.6.p5-3) -le 0 ]]; then
- post_install
- fi
- if [[ $(vercmp $2 4.2.6.p5-5) -le 0 ]]; then
- chown -R ntp /var/lib/ntp
- fi
-}
-
-post_remove() {
- getent passwd ntp &>/dev/null && userdel ntp >/dev/null
- getent group ntp &>/dev/null && groupdel ntp >/dev/null
- true
-}
Copied: ntp/repos/extra-x86_64/install (from rev 203482, ntp/trunk/install)
===================================================================
--- extra-x86_64/install (rev 0)
+++ extra-x86_64/install 2014-01-11 16:49:37 UTC (rev 203483)
@@ -0,0 +1,37 @@
+post_install() {
+ getent group ntp &>/dev/null || groupadd -g 87 ntp >/dev/null
+ getent passwd ntp &>/dev/null || useradd -u 87 -g ntp -d /var/lib/ntp -c 'Network Time Protocol' -s /bin/false ntp >/dev/null
+ true
+}
+
+post_upgrade() {
+ if [[ $(vercmp $2 4.2.6.p3) -le 0 ]]; then
+ cat <<EOF
+
+==> The file /etc/conf.d/ntp-client.conf has been renamed /etc/conf.d/ntpd.conf
+==> If you made changes to the former, please update the latter.
+
+EOF
+ fi
+ if [[ $(vercmp $2 4.2.6.p5-1) -le 0 ]]; then
+ cat <<EOF
+
+==> The PID file /var/run/ntpd.pid has been renamed /run/ntpd.pid
+==> and the new rc.d script only takes the latter into account.
+==> To stop your old ntpd process, please kill it manually.
+
+EOF
+ fi
+ if [[ $(vercmp $2 4.2.6.p5-3) -le 0 ]]; then
+ post_install
+ fi
+ if [[ $(vercmp $2 4.2.6.p5-5) -le 0 ]]; then
+ chown -R ntp /var/lib/ntp
+ fi
+}
+
+post_remove() {
+ getent passwd ntp &>/dev/null && userdel ntp >/dev/null
+ getent group ntp &>/dev/null && groupdel ntp >/dev/null
+ true
+}
Deleted: extra-x86_64/ntp.conf
===================================================================
--- extra-x86_64/ntp.conf 2014-01-11 16:48:38 UTC (rev 203482)
+++ extra-x86_64/ntp.conf 2014-01-11 16:49:37 UTC (rev 203483)
@@ -1,19 +0,0 @@
-# With the default settings below, ntpd will only synchronize your clock.
-#
-# For details, see:
-# - the ntp.conf man page
-# - http://support.ntp.org/bin/view/Support/GettingStarted
-# - https://wiki.archlinux.org/index.php/Network_Time_Protocol_daemon
-
-# Associate to public NTP pool servers; see http://www.pool.ntp.org/
-server 0.pool.ntp.org
-server 1.pool.ntp.org
-server 2.pool.ntp.org
-
-# Only allow read-only access from localhost
-restrict default noquery nopeer
-restrict 127.0.0.1
-restrict ::1
-
-# Location of drift file
-driftfile /var/lib/ntp/ntp.drift
Copied: ntp/repos/extra-x86_64/ntp.conf (from rev 203482, ntp/trunk/ntp.conf)
===================================================================
--- extra-x86_64/ntp.conf (rev 0)
+++ extra-x86_64/ntp.conf 2014-01-11 16:49:37 UTC (rev 203483)
@@ -0,0 +1,19 @@
+# With the default settings below, ntpd will only synchronize your clock.
+#
+# For details, see:
+# - the ntp.conf man page
+# - http://support.ntp.org/bin/view/Support/GettingStarted
+# - https://wiki.archlinux.org/index.php/Network_Time_Protocol_daemon
+
+# Associate to public NTP pool servers; see http://www.pool.ntp.org/
+server 0.pool.ntp.org
+server 1.pool.ntp.org
+server 2.pool.ntp.org
+
+# Only allow read-only access from localhost
+restrict default noquery nopeer
+restrict 127.0.0.1
+restrict ::1
+
+# Location of drift file
+driftfile /var/lib/ntp/ntp.drift
Deleted: extra-x86_64/ntpd.service
===================================================================
--- extra-x86_64/ntpd.service 2014-01-11 16:48:38 UTC (rev 203482)
+++ extra-x86_64/ntpd.service 2014-01-11 16:49:37 UTC (rev 203483)
@@ -1,12 +0,0 @@
-[Unit]
-Description=Network Time Service
-After=network.target nss-lookup.target
-
-[Service]
-Type=forking
-PrivateTmp=true
-ExecStart=/usr/bin/ntpd -g -u ntp:ntp
-Restart=always
-
-[Install]
-WantedBy=multi-user.target
Copied: ntp/repos/extra-x86_64/ntpd.service (from rev 203482, ntp/trunk/ntpd.service)
===================================================================
--- extra-x86_64/ntpd.service (rev 0)
+++ extra-x86_64/ntpd.service 2014-01-11 16:49:37 UTC (rev 203483)
@@ -0,0 +1,13 @@
+[Unit]
+Description=Network Time Service
+After=network.target nss-lookup.target
+
+[Service]
+Type=forking
+PrivateTmp=true
+PIDFile=/run/ntpd.pid
+ExecStart=/usr/bin/ntpd -g -u ntp:ntp -p /run/ntpd.pid
+Restart=always
+
+[Install]
+WantedBy=multi-user.target
Deleted: extra-x86_64/ntpdate.service
===================================================================
--- extra-x86_64/ntpdate.service 2014-01-11 16:48:38 UTC (rev 203482)
+++ extra-x86_64/ntpdate.service 2014-01-11 16:49:37 UTC (rev 203483)
@@ -1,11 +0,0 @@
-[Unit]
-Description=One-Shot Network Time Service
-After=network.target nss-lookup.target
-
-[Service]
-Type=oneshot
-PrivateTmp=true
-ExecStart=/usr/bin/ntpd -q -g -u ntp:ntp
-
-[Install]
-WantedBy=multi-user.target
Copied: ntp/repos/extra-x86_64/ntpdate.service (from rev 203482, ntp/trunk/ntpdate.service)
===================================================================
--- extra-x86_64/ntpdate.service (rev 0)
+++ extra-x86_64/ntpdate.service 2014-01-11 16:49:37 UTC (rev 203483)
@@ -0,0 +1,11 @@
+[Unit]
+Description=One-Shot Network Time Service
+After=network.target nss-lookup.target
+
+[Service]
+Type=oneshot
+PrivateTmp=true
+ExecStart=/usr/bin/ntpd -q -g -u ntp:ntp
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list