summaryrefslogtreecommitdiff
path: root/extra/ntp
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-03 02:14:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-03 02:14:34 -0700
commite191a289464c21aafe7478065ea7ed3ddda0766f (patch)
tree33e61960f3a6260338d4d696605b4ddee3014804 /extra/ntp
parentf7cd2a0a073da2373cd3f3c8e31515dd0b83b645 (diff)
Sat Aug 3 02:13:05 PDT 2013
Diffstat (limited to 'extra/ntp')
-rw-r--r--extra/ntp/PKGBUILD8
-rw-r--r--extra/ntp/ntpd.service1
-rwxr-xr-xextra/ntp/ntpdate29
-rw-r--r--extra/ntp/ntpdate.service1
4 files changed, 4 insertions, 35 deletions
diff --git a/extra/ntp/PKGBUILD b/extra/ntp/PKGBUILD
index 2c93a076c..4259a905c 100644
--- a/extra/ntp/PKGBUILD
+++ b/extra/ntp/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 190827 2013-07-18 07:23:31Z bisson $
+# $Id: PKGBUILD 191962 2013-08-02 03:24:15Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: kevin <kevin@archlinux.org>
pkgname=ntp
pkgver=4.2.6.p5
_realver=4.2.6p5
-pkgrel=15
+pkgrel=17
pkgdesc='Network Time Protocol reference implementation'
url='http://www.ntp.org/'
license=('custom')
@@ -19,8 +19,8 @@ source=("http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-${_realver}.tar.gz"
'ntpdate.service')
sha1sums=('4a5353a4791b6f4315a66c28d504ec6c7926b192'
'd3496dbeb7d531dd6ab071dbce3262c3c9618d8b'
- 'ffbabfaab90f1ba4dc769c84fbbfe89c5c01ee95'
- '0cb9dbd285e2e8ac51ff47dee08af69e12a09855'
+ 'ff8370719f003f184563b7d6068c03086678482f'
+ 'e1c48cba549b7d21501aadf513926e463884c090'
)
install=install
diff --git a/extra/ntp/ntpd.service b/extra/ntp/ntpd.service
index 4e3290858..45239877f 100644
--- a/extra/ntp/ntpd.service
+++ b/extra/ntp/ntpd.service
@@ -6,7 +6,6 @@ After=network.target nss-lookup.target
Type=forking
PrivateTmp=true
ExecStart=/usr/bin/ntpd -g -u ntp:ntp
-ControlGroup=cpu:/
Restart=always
[Install]
diff --git a/extra/ntp/ntpdate b/extra/ntp/ntpdate
deleted file mode 100755
index a8e746785..000000000
--- a/extra/ntp/ntpdate
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/ntpd.conf
-
-case "$1" in
- start)
- stat_busy "Starting NTP Client"
- if /usr/bin/ntpd -q ${NTP_CLIENT_OPTION} &>/dev/null; then
- add_daemon ntpdate
- stat_done
- else
- stat_fail
- exit 1
- fi
- ;;
- stop)
- stat_busy "Stopping NTP Client"
- rm_daemon ntpdate
- stat_done
- ;;
- restart)
- $0 stop
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
diff --git a/extra/ntp/ntpdate.service b/extra/ntp/ntpdate.service
index 82d72d8b6..094dd42c8 100644
--- a/extra/ntp/ntpdate.service
+++ b/extra/ntp/ntpdate.service
@@ -6,7 +6,6 @@ After=network.target nss-lookup.target
Type=oneshot
PrivateTmp=true
ExecStart=/usr/bin/ntpd -q -g -u ntp:ntp
-ControlGroup=cpu:/
[Install]
WantedBy=multi-user.target