mirror of
https://git.freebsd.org/ports.git
synced 2025-06-29 16:40:31 -04:00
- Update PORTVERSION and distinfo checksum (0.11.7) - Regenerate some patches to apply cleanly - Remove MAKE_JOBS_UNSAFE=yes Changelog: http://lists.infradead.org/pipermail/openconnect-devel/2017-February/004204.html
56 lines
2.6 KiB
Modula-2
56 lines
2.6 KiB
Modula-2
--- src/ocserv-args.def.orig 2017-01-29 14:33:24 UTC
|
|
+++ src/ocserv-args.def
|
|
@@ -75,7 +75,7 @@ doc-section = {
|
|
ds-format = 'texi';
|
|
ds-text = <<-_EOT_
|
|
@subheading ocserv's configuration file format
|
|
-By default, if no other file is specified, ocserv looks for its configuration file at @file{/etc/ocserv/ocserv.conf}.
|
|
+By default, if no other file is specified, ocserv looks for its configuration file at @file{/usr/local/etc/ocserv/conf}.
|
|
An example configuration file follows.
|
|
|
|
@example
|
|
@@ -98,7 +98,7 @@ An example configuration file follows.
|
|
# This enabled PAM authentication of the user. The gid-min option is used
|
|
# by auto-select-group option, in order to select the minimum valid group ID.
|
|
#
|
|
-# plain[passwd=/etc/ocserv/ocpasswd,otp=/etc/ocserv/users.otp]
|
|
+# plain[passwd=/usr/local/etc/ocserv/ocpasswd,otp=/usr/local/etc/ocserv/users.otp]
|
|
# The plain option requires specifying a password file which contains
|
|
# entries of the following format.
|
|
# "username:groupname1,groupname2:encoded-password"
|
|
@@ -129,7 +129,7 @@ An example configuration file follows.
|
|
#auth = "certificate"
|
|
#auth = "pam"
|
|
#auth = "pam[gid-min=1000]"
|
|
-#auth = "plain[passwd=/etc/ocserv/ocpasswd]"
|
|
+#auth = "plain[passwd=/usr/local/etc/ocserv/ocpasswd]"
|
|
#auth = "radius[config=/etc/radiusclient/radiusclient.conf,groupconfig=true]"
|
|
|
|
# Specify alternative authentication methods that are sufficient
|
|
@@ -493,7 +493,7 @@ rekey-method = ssl
|
|
use-occtl = true
|
|
|
|
# PID file. It can be overridden in the command line.
|
|
-pid-file = /var/run/ocserv.pid
|
|
+pid-file = /var/run/ocserv/pid
|
|
|
|
# Set the protocol-defined priority (SO_PRIORITY) for packets to
|
|
# be sent. That is a number from 0 to 6 with 0 being the lowest
|
|
@@ -669,13 +669,13 @@ no-route = 192.168.5.0/255.255.255.0
|
|
# Also explicit addresses, are only allowed when they are odd. In that
|
|
# case the next even address will be used as the remote address (in PtP).
|
|
|
|
-#config-per-user = /etc/ocserv/config-per-user/
|
|
-#config-per-group = /etc/ocserv/config-per-group/
|
|
+#config-per-user = /usr/local/etc/ocserv/config-per-user/
|
|
+#config-per-group = /usr/local/etc/ocserv/config-per-group/
|
|
|
|
# When config-per-xxx is specified and there is no group or user that
|
|
# matches, then utilize the following configuration.
|
|
-#default-user-config = /etc/ocserv/defaults/user.conf
|
|
-#default-group-config = /etc/ocserv/defaults/group.conf
|
|
+#default-user-config = /usr/local/etc/ocserv/defaults/user.conf
|
|
+#default-group-config = /usr/local/etc/ocserv/defaults/group.conf
|
|
|
|
# The system command to use to setup a route. %{R} will be replaced with the
|
|
# route/mask, %{RI} with the route in CIDR format, and %{D} with the (tun) device.
|