aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorjpaetzel <jpaetzel@FreeBSD.org>2010-08-05 00:02:48 +0800
committerjpaetzel <jpaetzel@FreeBSD.org>2010-08-05 00:02:48 +0800
commitada4e698f93bd5da61540583767afc4a65476338 (patch)
tree1e064da9f3f85cf737903a12522bc739f19d1c6e /security
parentd39721c86f9f2edde31260d601aab447d9471187 (diff)
downloadfreebsd-ports-gnome-ada4e698f93bd5da61540583767afc4a65476338.tar.gz
freebsd-ports-gnome-ada4e698f93bd5da61540583767afc4a65476338.tar.zst
freebsd-ports-gnome-ada4e698f93bd5da61540583767afc4a65476338.zip
Update to latest weekly snapshot.
Add softrestart command to rc script. PR: ports/149272 Submitted by: Eric F Crist <ecrist@secure-computing.net>
Diffstat (limited to 'security')
-rw-r--r--security/openvpn-devel/Makefile2
-rw-r--r--security/openvpn-devel/distinfo6
-rw-r--r--security/openvpn-devel/files/openvpn.sh.in12
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"