mirror of
https://git.freebsd.org/ports.git
synced 2025-07-04 02:49:14 -04:00
Respect SE_LOGDIR, SE_DBDIR defined in Makefile. Unintended replaced with hardcoded path by `make makepatch`. While here, bump PORTREVISION to force rebuild with these paths. Sponsored by: HAW International, Inc.
31 lines
1 KiB
Text
31 lines
1 KiB
Text
--- src/Cedar/Protocol.c.orig 2019-02-03 19:43:50 UTC
|
|
+++ src/Cedar/Protocol.c
|
|
@@ -58,7 +58,7 @@ bool TryGetRootCertChain(LIST *o, X *x, bool auto_save
|
|
wchar_t exedir[MAX_SIZE];
|
|
|
|
GetExeDirW(exedir, sizeof(exedir));
|
|
- CombinePathW(dirname, sizeof(dirname), exedir, L"chain_certs");
|
|
+ CombinePathW(dirname, sizeof(dirname), L"%%SE_DBDIR%%", L"chain_certs");
|
|
MakeDirExW(dirname);
|
|
|
|
if (auto_save)
|
|
@@ -365,7 +365,7 @@ void AddAllChainCertsToCertList(LIST *o)
|
|
|
|
GetExeDirW(exedir, sizeof(exedir));
|
|
|
|
- CombinePathW(dirname, sizeof(dirname), exedir, L"chain_certs");
|
|
+ CombinePathW(dirname, sizeof(dirname), L"%%SE_DBDIR%%", L"chain_certs");
|
|
|
|
MakeDirExW(dirname);
|
|
|
|
--- src/Mayaqua/Network.c.orig 2019-02-03 19:43:50 UTC
|
|
+++ src/Mayaqua/Network.c
|
|
@@ -11520,7 +11520,7 @@ void AddChainSslCertOnDirectory(struct ssl_ctx_st *ctx
|
|
|
|
GetExeDirW(exedir, sizeof(exedir));
|
|
|
|
- CombinePathW(dirname, sizeof(dirname), exedir, L"chain_certs");
|
|
+ CombinePathW(dirname, sizeof(dirname), L"%%SE_DBDIR%%", L"chain_certs");
|
|
|
|
MakeDirExW(dirname);
|
|
|