ports/security/openvpn-devel/files/openvpn-client.in
Matthias Andree 1a400328a7 Update openvpn-devel to 2016-52 snapshot.
Align with security/openvpn for RC script improvements, dropping the
TUNNELBLICK patch (integrated upstream) and pkg-help file (no longer
required).

Note that pkcs11* and mbedTLS currently do not mix (I randomly checked
different option sets), an issue this port shares with security/openvpn.
"checking mbedtls pkcs11 support...
configure: error: mbedtls has no pkcs11 wrapper compiled in"

PR:		215734
Submitted by:	Eric F. Crist (maintainer)
2017-01-04 14:38:59 +00:00

6 lines
210 B
Bash

#!/bin/sh
exec %%PREFIX%%/sbin/openvpn --script-security 2 \
--up %%PREFIX%%/libexec/openvpn-client.up \
--plugin openvpn-plugin-down-root.so %%PREFIX%%/libexec/openvpn-client.down \
--config "$@"