Commit 9b310a13 authored by Seblu's avatar Seblu
Browse files

bump ntpdate


git-svn-id: https://seblu.net/s/archpkg@136 02741741-5192-46b8-8916-7152b19231d9
parent e7772def
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>
pkgname=ntpdate
pkgver=4.2.6p3
pkgver=4.2.6p4
pkgrel=1
pkgdesc='Client for the network time protocol'
arch=('i686' 'x86_64')
@@ -13,9 +13,9 @@ source=("http://archive.ntp.org/ntp4/ntp-4.2/ntp-${pkgver}.tar.gz"
        'ntpdate.conf'
        'ntpdate.rc')
options=('!emptydirs')
md5sums=('59876a9009b098ff59767ee45a88ebd2'
md5sums=('1447121a07b49361677ffda4f6e29527'
         'c7f50632b69bd4f32cf052d0b1848463'
         '76ac18cf6f2d8a34d499143931d68ec4')
         'c832772fb60cc5276563f08a73064ac1')

build() {
  # configure ntp
+3 −3
Original line number Diff line number Diff line
@@ -6,8 +6,8 @@

case "$1" in
  start)
    stat_busy "Starting NTP Client"
    /usr/bin/ntpdate $NTP_CLIENT_OPTION -t $NTPCLIENT_TIMEOUT $NTP_CLIENT_SERVER &> /dev/null
    stat_busy 'Starting NTP Client'
    /usr/bin/ntpdate $NTP_CLIENT_OPTION -t $NTPCLIENT_TIMEOUT $NTP_CLIENT_SERVER </dev/null &>/dev/null
    if [[  $? -gt 0 ]]; then
      stat_fail
    else
@@ -16,7 +16,7 @@ case "$1" in
    fi
    ;;
  stop)
    stat_busy "Stopping NTP Client"
    stat_busy 'Stopping NTP Client'
    rm_daemon ntpdate
    stat_done
    ;;