mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
c48c1b5658
PR: 192177 Submitted by: truckman Approved by: maintainer (timeout)
31 lines
991 B
C
31 lines
991 B
C
--- src/conf.c.orig 2014-08-07 23:37:03.000000000 -0700
|
|
+++ src/conf.c 2014-08-14 11:47:27.000000000 -0700
|
|
@@ -89,23 +89,23 @@
|
|
case CERTIFICATE:
|
|
setting = config_lookup(&configuration, "certificate");
|
|
if (!setting)
|
|
- return "/etc/umurmur/certificate.crt";
|
|
+ return "%%PREFIX%%/etc/umurmur/certificate.crt";
|
|
else {
|
|
if ((strsetting = config_setting_get_string(setting)) != NULL)
|
|
return strsetting;
|
|
else
|
|
- return "/etc/umurmur/certificate.crt";
|
|
+ return "%%PREFIX%%/etc/umurmur/certificate.crt";
|
|
}
|
|
break;
|
|
case KEY:
|
|
setting = config_lookup(&configuration, "private_key");
|
|
if (!setting)
|
|
- return "/etc/umurmur/private_key.key";
|
|
+ return "%%PREFIX%%/etc/umurmur/private_key.key";
|
|
else {
|
|
if ((strsetting = config_setting_get_string(setting)) != NULL)
|
|
return strsetting;
|
|
else
|
|
- return "/etc/umurmur/private_key.key";
|
|
+ return "%%PREFIX%%/etc/umurmur/private_key.key";
|
|
}
|
|
break;
|
|
case CAPATH:
|