commit c3a603ad22da16ab632e64f91a125ef097c0c49f Author: Juergen Daubert <jue@jue.li> Date: Fri Sep 21 16:20:19 2018 +0200 chrony: update to 3.4 diff --git a/chrony/.signature b/chrony/.signature index 363d72f5a..9f12ee93a 100644 --- a/chrony/.signature +++ b/chrony/.signature @@ -1,6 +1,6 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/e/tOP/ssUJMImaBQuxki4kyNvoZqbNdMHhP7CMfyJDi93ZWuKvISSJ6wzYSjyr6sPy2hCd8fvVcGLdd4+eIQAQ= -SHA256 (Pkgfile) = 2a32d627e9c47cc5c96e6192851ca93a7e613c391f39091974c700d414ac1228 +RWSE3ohX2g5d/WMMkwnUWps4QdhwPBjQ0jaMCri2O8r94OHQWLyBM4/f8+lQoKKhdp/eQDAU+C1CpmewE9uRLJOzHqDrvwb0wAA= +SHA256 (Pkgfile) = 5912ac1b2651fdf029a291802f45749e5836f164bf21162b646898ac078fb55e SHA256 (.footprint) = 17b868cc8d7a0d5ac0525f5eeb7b4f9159d1328d390de73569e31be01eb606f5 -SHA256 (chrony-3.3.tar.gz) = 0d1fb2d5875032f2d5a86f3770374c87ee4c941916f64171e81f7684f2a73128 -SHA256 (chronyd) = 6194c48e4d5348463ffae0ee4448f60c8550a028b672d8f570495878c737794e +SHA256 (chrony-3.4.tar.gz) = af77e47c2610a7e55c8af5b89a8aeff52d9a867dd5983d848b52d374bc0e6b9f +SHA256 (chronyd) = 17c2c49c7a5eed9ab0f3e58aa554905f64cf5c95a01d96fc0e0fef5a66241e53 diff --git a/chrony/Pkgfile b/chrony/Pkgfile index 7d40ea385..1692a3d7a 100644 --- a/chrony/Pkgfile +++ b/chrony/Pkgfile @@ -4,7 +4,7 @@ # Depends on: readline libcap name=chrony -version=3.3 +version=3.4 release=1 source=(http://download.tuxfamily.org/$name/$name-$version.tar.gz chronyd) diff --git a/chrony/chronyd b/chrony/chronyd index e6629e718..9207b9ce5 100644 --- a/chrony/chronyd +++ b/chrony/chronyd @@ -5,15 +5,14 @@ SSD=/sbin/start-stop-daemon PROG=/usr/sbin/chronyd -PID=/var/run/chronyd.pid OPTS="-r" case $1 in start) - $SSD --start --pidfile $PID --exec $PROG -- $OPTS + $SSD --start --exec $PROG -- $OPTS ;; stop) - $SSD --stop --remove-pidfile --retry 10 --pidfile $PID + $SSD --stop --retry 10 --exec $PROG ;; restart) $0 stop @@ -30,12 +29,11 @@ offline) EOF ;; status) - $SSD --status --pidfile $PID + $SSD --status --exec $PROG case $? in - 0) echo "$PROG is running with pid $(cat $PID)" ;; - 1) echo "$PROG is not running but the pid file $PID exists" ;; - 3) echo "$PROG is not running" ;; - 4) echo "Unable to determine the program status" ;; + 0) echo "$PROG is running with pid $(pidof $PROG)" ;; + 1|3) echo "$PROG is not running" ;; + 4) echo "Unable to determine the program status" ;; esac ;; *)