ports/opt (2.6): [notify] chrony: update to 1.24

crux at crux.nu crux at crux.nu
Fri Feb 5 19:16:30 UTC 2010


commit d5cafde0c1a0388dc7aaafbf09db214e8e525dfe
Author: Juergen Daubert <jue at jue.li>
Date:   Fri Feb 5 20:06:27 2010 +0100

    [notify] chrony: update to 1.24
    
    Security fixes, see http://chrony.tuxfamily.org/News.html,
    but many other improvements as well. Highly recommended ;)

diff --git a/chrony/.footprint b/chrony/.footprint
index ea3c92b..339e248 100644
--- a/chrony/.footprint
+++ b/chrony/.footprint
@@ -5,17 +5,17 @@ drwxr-xr-x	root/root	etc/rc.d/
 -rwxr-xr-x	root/root	etc/rc.d/chronyd
 drwxr-xr-x	root/root	usr/
 drwxr-xr-x	root/root	usr/bin/
--r-xr-xr-x	root/root	usr/bin/chronyc
+-rwxr-xr-x	root/root	usr/bin/chronyc
 drwxr-xr-x	root/root	usr/man/
 drwxr-xr-x	root/root	usr/man/man1/
--r--r--r--	root/root	usr/man/man1/chrony.1.gz
--r--r--r--	root/root	usr/man/man1/chronyc.1.gz
+-rw-r--r--	root/root	usr/man/man1/chrony.1.gz
+-rw-r--r--	root/root	usr/man/man1/chronyc.1.gz
 drwxr-xr-x	root/root	usr/man/man5/
--r--r--r--	root/root	usr/man/man5/chrony.conf.5.gz
+-rw-r--r--	root/root	usr/man/man5/chrony.conf.5.gz
 drwxr-xr-x	root/root	usr/man/man8/
--r--r--r--	root/root	usr/man/man8/chronyd.8.gz
+-rw-r--r--	root/root	usr/man/man8/chronyd.8.gz
 drwxr-xr-x	root/root	usr/sbin/
--r-xr-xr-x	root/root	usr/sbin/chronyd
+-rwxr-xr-x	root/root	usr/sbin/chronyd
 drwxr-xr-x	root/root	var/
 drwxr-xr-x	root/root	var/lib/
 drwxr-xr-x	root/root	var/lib/chrony/
diff --git a/chrony/.md5sum b/chrony/.md5sum
index 2c98107..a3aa1fc 100644
--- a/chrony/.md5sum
+++ b/chrony/.md5sum
@@ -1,4 +1,4 @@
-ffce77695e55d8efda19ab0b78309c23  chrony-1.23.tar.gz
-3c53b2da1757f0c9de704b841adda511  chrony.conf
+8849e95428f43c5ab2692a2812653e65  chrony-1.24.tar.gz
+4dff89484fe7b6d6397a9501c7ae51ed  chrony.conf
 ec43dcf700698a7d2891a1f8504b5e22  chrony.keys
 ef4b4ca7c250397656d81a329faf60d2  chronyd
diff --git a/chrony/Pkgfile b/chrony/Pkgfile
index 3db5341..b92b46d 100644
--- a/chrony/Pkgfile
+++ b/chrony/Pkgfile
@@ -1,23 +1,23 @@
 # Description: Network time protocol client/server
 # URL:         http://chrony.tuxfamily.org/
 # Maintainer:  Juergen Daubert, juergen dot daubert at t-online dot de
-# Depends on:  ncurses, readline
+# Depends on:  ncurses readline libcap
 
 name=chrony
-version=1.23
+version=1.24
 release=1
 source=(http://download.tuxfamily.org/$name/$name-$version.tar.gz
-        chronyd chrony.conf chrony.keys) 
+        chronyd chrony.conf chrony.keys)
 
 build () {
     cd $name-$version
-    ./configure --prefix=/usr
+    ./configure --prefix=/usr --mandir=/usr/man
     make
     make DESTDIR=$PKG install
 
-    rm -r $PKG/usr/doc
+    rm -r $PKG/usr/share
 
-    install -d $PKG/var/{lib,log}/chrony 
+    install -d $PKG/var/{lib,log}/chrony
     install -D -m 755 $SRC/chronyd $PKG/etc/rc.d/chronyd
     install -m 600 $SRC/chrony.* $PKG/etc
 }
diff --git a/chrony/chrony.conf b/chrony/chrony.conf
index 597ce9e..35bdc48 100644
--- a/chrony/chrony.conf
+++ b/chrony/chrony.conf
@@ -4,13 +4,18 @@
 
 # Change this to some puplic NTP server of your 
 # country, or the server of your local network
-server ntp1.ptb.de minpoll 10 auto_offline
-server ntp1.fau.de minpoll 10 auto_offline
- 
+! server ntp1.ptb.de auto_offline
+! server ntp1.fau.de auto_offline
+server pool.ntp.org
+
 maxupdateskew 100
 commandkey 1
 dumponexit
 log measurements statistics tracking
+
+# Keep the hardware clock on UTC
+! rtconutc
+
 allow 192.168.0/24
 cmdallow 192.168.0/24
 cmdallow 127.0.0.1



More information about the CRUX mailing list