ports/opt (3.5): stunnel: adjust rc-script for latest start-stop-daemon
commit 1fa352368cde5da09ba5d53aec2298f7fa0cc30d Author: Juergen Daubert <jue@jue.li> Date: Sun Mar 31 13:25:01 2019 +0200 stunnel: adjust rc-script for latest start-stop-daemon diff --git a/stunnel/.signature b/stunnel/.signature index 1c06d5e87..e9a003a79 100644 --- a/stunnel/.signature +++ b/stunnel/.signature @@ -1,7 +1,7 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/cR6tYjAoBwDZUn9nsJn7M1j2WeEhjEBCC1qrAvKlkY36XAyQyPKVul2gtT6nbkrWDRBCjVuh8wXir3IvnO4NwY= -SHA256 (Pkgfile) = 4b4193271042da8af18cd5ef2e070b37eabcc3b5e5ca374cacba8499057ec823 +RWSE3ohX2g5d/bO6gzFb+cTkv8qvWszcDyDmvig65X2EeNNTu9akQQD9CdN4Nn55FK2VKIETbRMAgDbzKHcbGBMZJAeBH8m6PAg= +SHA256 (Pkgfile) = 62a5c51bdab7cf769bd8d8d60f00bfa3521d4f817457f9b5679901d84dfb5e32 SHA256 (.footprint) = f83e6abdfdb94cb68ef512ba0ef5d19a1e180887f2cf7c92d2916af0ec7b1e51 SHA256 (stunnel-5.50.tar.gz) = 951d92502908b852a297bd9308568f7c36598670b84286d3e05d4a3a550c0149 SHA256 (stunnel.conf) = ef09041fd68530a6029826678eb22db30a80d8a77308ee361b12aa466f7daa28 -SHA256 (stunnel) = 23cba7fd8f9dd71988cf2b12d52a8b994e740b4386c5c094d7e95ed3dd7d3fb1 +SHA256 (stunnel) = c6e5c2bcfd87b709bbc24b5c24a603b43bc9440e125eeaf283a11daadc78cbd7 diff --git a/stunnel/Pkgfile b/stunnel/Pkgfile index 003b5db91..47173dac0 100644 --- a/stunnel/Pkgfile +++ b/stunnel/Pkgfile @@ -5,7 +5,7 @@ name=stunnel version=5.50 -release=1 +release=2 source=(https://www.stunnel.org/downloads/$name-$version.tar.gz \ $name.conf $name) diff --git a/stunnel/stunnel b/stunnel/stunnel index 5ba6ec0dc..f731c8f5b 100644 --- a/stunnel/stunnel +++ b/stunnel/stunnel @@ -5,6 +5,7 @@ SSD=/sbin/start-stop-daemon PROG=/usr/sbin/stunnel +NAME=stunnel PID=/var/run/stunnel/stunnel.pid CFG=/etc/stunnel.conf @@ -19,14 +20,14 @@ start) $SSD --start --pidfile $PID --exec $PROG -- $CFG ;; stop) - $SSD --stop --retry 10 --pidfile $PID + $SSD --stop --retry 10 --name $NAME --pidfile $PID ;; restart) $0 stop $0 start ;; status) - $SSD --status --pidfile $PID + $SSD --status --name $NAME --pidfile $PID case $? in 0) echo "$PROG is running with pid $(cat $PID)" ;; 1) echo "$PROG is not running but the pid file $PID exists" ;;
participants (1)
-
crux@crux.nu