aboutsummaryrefslogtreecommitdiffstats
path: root/security/openvpn-devel
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-08-11 05:52:04 +0800
committermiwi <miwi@FreeBSD.org>2008-08-11 05:52:04 +0800
commit4c34ccda75a9e9131c3716f7ab958955775b7613 (patch)
treef965e793e8a75bac13328f0739b3d299b197bc09 /security/openvpn-devel
parent8f36af12679664be89c73c53ed4f4c8a04a47254 (diff)
downloadfreebsd-ports-graphics-4c34ccda75a9e9131c3716f7ab958955775b7613.tar.gz
freebsd-ports-graphics-4c34ccda75a9e9131c3716f7ab958955775b7613.tar.zst
freebsd-ports-graphics-4c34ccda75a9e9131c3716f7ab958955775b7613.zip
- Add missing patch (forgot in previous commit)
Diffstat (limited to 'security/openvpn-devel')
-rw-r--r--security/openvpn-devel/files/patch-update-t_cltsrv23
1 files changed, 23 insertions, 0 deletions
diff --git a/security/openvpn-devel/files/patch-update-t_cltsrv b/security/openvpn-devel/files/patch-update-t_cltsrv
new file mode 100644
index 00000000000..d3828fd7488
--- /dev/null
+++ b/security/openvpn-devel/files/patch-update-t_cltsrv
@@ -0,0 +1,23 @@
+--- ./t_cltsrv.sh.orig 2008-08-07 23:14:55.000000000 +0200
++++ ./t_cltsrv.sh 2008-08-07 23:53:27.000000000 +0200
+@@ -38,11 +38,13 @@
+ fi
+ ;;
+ esac
++downscript="${srcdir}/t_cltsrv-down.sh"
++test -x $downscript || chmod +x $downscript || { echo >&2 "$downscript is not executable, failing." ; exit 1 ; }
+ echo "the following test will take about two minutes..." >&2
+ set +e
+ (
+-./openvpn --cd "${srcdir}" ${addopts} --down 'echo "srv:${signal}" >&3 ; : #' --tls-exit --ping-exit 180 --config sample-config-files/loopback-server &
+-./openvpn --cd "${srcdir}" ${addopts} --down 'echo "clt:${signal}" >&3 ; : #' --tls-exit --ping-exit 180 --config sample-config-files/loopback-client
++./openvpn --script-security 2 --cd "${srcdir}" ${addopts} --setenv role srv --down "$downscript" --tls-exit --ping-exit 180 --config sample-config-files/loopback-server &
++./openvpn --script-security 2 --cd "${srcdir}" ${addopts} --setenv role clt --down "$downscript" --tls-exit --ping-exit 180 --config sample-config-files/loopback-client
+ ) 3>log.$$.signal >log.$$ 2>&1
+ e1=$?
+ wait $!
+--- ./t_cltsrv-down.sh.orig 2008-08-07 23:24:40.000000000 +0200
++++ ./t_cltsrv-down.sh 2008-08-07 23:28:40.000000000 +0200
+@@ -0,0 +1,2 @@
++#! /bin/sh
++echo "${role}:${signal}" >&3