0f64e52705
CAN-2005-2531, CAN-2005-2532, CAN-2005-2533, CAN-2005-2534 - Drop old init script and add a modern rcNG script in its place, requested by Matthias Grimm and Dirk Gouders (although the script below is one I, Matthias Andree, wrote). It can automatically load tun/tap drivers. - move pkg-message to files/pkg-message.in, revise it, list it in SUB_FILES to expand ${PREFIX}. - print pkg-message after installation from port - switch to official "make check" as smoke-test, rather than wiring our own. - prefer LZO2 in most situations, as OpenVPN will pick up LZO2 rather than LZO1 if both are installed. PR: ports/85109 Submitted by: maintainer Approved by: portmgr (krion)
18 lines
1.1 KiB
Text
18 lines
1.1 KiB
Text
### ------------------------------------------------------------------------
|
|
### The OpenVPN port, since v2.0.1, uses rcNG to start OpenVPN.
|
|
### Edit /etc/rc.conf to start OpenVPN automatically at system startup.
|
|
### See %%PREFIX%%/etc/rc.d/openvpn.sh for details.
|
|
### ------------------------------------------------------------------------
|
|
### To get OpenVPN 2.0 to talk with the 1.5/1.6 versions, you may need to
|
|
### edit the 1.X configuration file by adding these lines:
|
|
### tun-mtu 1500
|
|
### tun-mtu-extra 32
|
|
### mssfix 1450
|
|
### key-method 2 <- this key-method line only for TLS setups
|
|
### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
### WARNING: THE DEFAULT PORT HAS CHANGED AND IS NOW 1194!
|
|
### OpenVPN 1.6 and older used 5000 rather than 1194 as their default
|
|
### port, so add the proper port options to your configuration file!
|
|
### ------------------------------------------------------------------------
|
|
### For further compatibility, see <http://openvpn.net/relnotes.html>
|
|
### ------------------------------------------------------------------------
|