FreeBSD Bugzilla – Attachment 85134 Details for
Bug 121229
[patch] ports/security/vpnc incorrect .conf file search
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 852 bytes, created by
Helge Oldach
on 2008-02-29 17:30:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Helge Oldach
Created:
2008-02-29 17:30:01 UTC
Size:
852 bytes
patch
obsolete
>--- files/patch-config.c.orig 2008-02-27 22:52:01.000000000 +0100 >+++ files/patch-config.c 2008-02-29 17:43:38.000000000 +0100 >@@ -20,16 +20,17 @@ > char *realname; > > - asprintf(&realname, "%s%s%s", index(name, '/') ? "" : "/etc/vpnc/", name, add_dot_conf ? ".conf" : ""); >-+ asprintf(&realname, "%s%s%s", index(name, '/') ? "" : "%%PREFIX%%/etc/", name, add_dot_conf ? ".conf" : ""); >++ asprintf(&realname, "%s%s%s", index(name, '/') ? "" : "%%PREFIX%%/etc/vpnc/", name, add_dot_conf ? ".conf" : ""); > return realname; > } > >-@@ -757,8 +757,7 @@ >+@@ -757,8 +757,8 @@ > } > > if (!got_conffile) { > - read_config_file("/etc/vpnc/default.conf", config, 1); > - read_config_file("/etc/vpnc.conf", config, 1); >++ read_config_file("%%PREFIX%%/etc/vpnc/default.conf", config, 1); > + read_config_file("%%PREFIX%%/etc/vpnc.conf", config, 1); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 121229
: 85134