[arch-commits] CVS update of extra/daemons/ntp (PKGBUILD ntp-client.conf ntpd)

Paul Mattal paul at archlinux.org
Mon Dec 31 04:11:20 UTC 2007


    Date: Sunday, December 30, 2007 @ 23:11:20
  Author: paul
    Path: /home/cvs-extra/extra/daemons/ntp

Modified: PKGBUILD (1.22 -> 1.23) ntp-client.conf (1.1 -> 1.2)
          ntpd (1.3 -> 1.4)

upgpkg: ntp 4.2.4p4-4
added variable NTPD_ARGS for args to ntpd, closing #7997


-----------------+
 PKGBUILD        |    9 ++++-----
 ntp-client.conf |    3 +++
 ntpd            |    3 ++-
 3 files changed, 9 insertions(+), 6 deletions(-)


Index: extra/daemons/ntp/PKGBUILD
diff -u extra/daemons/ntp/PKGBUILD:1.22 extra/daemons/ntp/PKGBUILD:1.23
--- extra/daemons/ntp/PKGBUILD:1.22	Fri Oct 26 12:56:52 2007
+++ extra/daemons/ntp/PKGBUILD	Sun Dec 30 23:11:20 2007
@@ -1,9 +1,8 @@
-# $Id: PKGBUILD,v 1.22 2007/10/26 16:56:52 pierre Exp $
+# $Id: PKGBUILD,v 1.23 2007/12/31 04:11:20 paul Exp $
 # Maintainer: dorphell <dorphell at archlinux.org>
 pkgname=ntp
 pkgver=4.2.4p4
-pkgrel=3
-force=y
+pkgrel=4
 pkgdesc="NTP (Network Time Protocol) tries to keep servers in sync"
 arch=(i686 x86_64)
 license=('custom')
@@ -15,8 +14,8 @@
 md5sums=('fcb32a01e1ae3f9ed5bac86b12c7a1cc'
          'd3a5a6185ef5ed71d2fa8e06598fc28f'
          '5bd3924f5720b97837969ec4ec4d5e09'
-         '3c97eec93eba408b0311a14d48634d2c'
-         'b1a1798b9cd1907d65a7fc794294d6ce'
+         'c7f50632b69bd4f32cf052d0b1848463'
+         '46118a8ec2c4f5bbfafd730af21b7c03'
          '140855352baeb89da0c6c1c475c18b57')
 options=('!emptydirs')
 
Index: extra/daemons/ntp/ntp-client.conf
diff -u extra/daemons/ntp/ntp-client.conf:1.1 extra/daemons/ntp/ntp-client.conf:1.2
--- extra/daemons/ntp/ntp-client.conf:1.1	Tue Mar 28 12:44:42 2006
+++ extra/daemons/ntp/ntp-client.conf	Sun Dec 30 23:11:20 2007
@@ -6,3 +6,6 @@
 
 # timeout for the ntp-client
 NTPCLIENT_TIMEOUT=10
+
+# arguments passed to ntpd when started
+NTPD_ARGS="-g"
Index: extra/daemons/ntp/ntpd
diff -u extra/daemons/ntp/ntpd:1.3 extra/daemons/ntp/ntpd:1.4
--- extra/daemons/ntp/ntpd:1.3	Sat Dec  3 01:13:17 2005
+++ extra/daemons/ntp/ntpd	Sun Dec 30 23:11:20 2007
@@ -2,13 +2,14 @@
 
 . /etc/rc.conf
 . /etc/rc.d/functions
+. /etc/conf.d/ntp-client.conf
 
 PID=`pidof -o %PPID /usr/bin/ntpd`
 case "$1" in
   start)
     stat_busy "Starting NTP Daemon"
     if [ -z "$PID" ]; then 
-       /usr/bin/ntpd -g &
+       /usr/bin/ntpd $NTPD_ARGS &
     fi
     if [ ! -z "$PID" -o $? -gt 0 ]; then
       stat_fail




More information about the arch-commits mailing list