diff options
Diffstat (limited to 'security/openvpn-devel')
-rw-r--r-- | security/openvpn-devel/Makefile | 2 | ||||
-rw-r--r-- | security/openvpn-devel/distinfo | 6 | ||||
-rw-r--r-- | security/openvpn-devel/files/openvpn.sh.in | 12 |
3 files changed, 14 insertions, 6 deletions
diff --git a/security/openvpn-devel/Makefile b/security/openvpn-devel/Makefile index 22675cac6f31..1c4bb7a8744f 100644 --- a/security/openvpn-devel/Makefile +++ b/security/openvpn-devel/Makefile @@ -6,7 +6,7 @@ # PORTNAME= openvpn -DISTVERSION= 201029 +DISTVERSION= 201031 CATEGORIES= security net MASTER_SITES= ftp://ftp.secure-computing.net/pub/FreeBSD/ports/openvpn-devel/ \ ftp://ftp2.secure-computing.net/pub/FreeBSD/ports/openvpn-devel/ diff --git a/security/openvpn-devel/distinfo b/security/openvpn-devel/distinfo index 87e1d61f2118..b9e872b40174 100644 --- a/security/openvpn-devel/distinfo +++ b/security/openvpn-devel/distinfo @@ -1,3 +1,3 @@ -MD5 (openvpn-201029.tar.gz) = f5f48c98b3158c2f4ad0c45dba0d8481 -SHA256 (openvpn-201029.tar.gz) = 0cc8d8a967f8f2ccd1704da05f898b2e1f561598d70a1ee33dafa67e249fc523 -SIZE (openvpn-201029.tar.gz) = 1029884 +MD5 (openvpn-201031.tar.gz) = 986bdb317ced5b9fbfb7a3e3497adae3 +SHA256 (openvpn-201031.tar.gz) = 95feb1acadf804993070f13c652fe701af20b6d470703aa02e7e26fe9bfb690d +SIZE (openvpn-201031.tar.gz) = 1031688 diff --git a/security/openvpn-devel/files/openvpn.sh.in b/security/openvpn-devel/files/openvpn.sh.in index 050984cdef9c..8fa3bace8823 100644 --- a/security/openvpn-devel/files/openvpn.sh.in +++ b/security/openvpn-devel/files/openvpn.sh.in @@ -97,8 +97,16 @@ stop_postcmd() rm -f "$pidfile" || warn "Could not remove $pidfile." } -# support SIGHUP to reparse configuration file -extra_commands="reload" +softrestart() +{ + sig_reload=USR1 run_rc_command reload + exit $? +} + +# reload: support SIGHUP to reparse configuration file +# softrestart: support SIGUSR1 to reconnect without privileges +extra_commands="reload softrestart" +softrestart_cmd="softrestart" # pidfile pidfile="/var/run/${name}.pid" |