mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
33 lines
986 B
Plaintext
33 lines
986 B
Plaintext
From 699262deddebf58905a77f9153b3bc9c372ebd3b Mon Sep 17 00:00:00 2001
|
|
From: Chris Roberts <cpr420@gmail.com>
|
|
Date: Thu, 4 Apr 2024 23:03:31 -0600
|
|
Subject: add Haiku CA certificate path
|
|
|
|
|
|
diff --git a/contrib/curl/premake5.lua b/contrib/curl/premake5.lua
|
|
index 474f5cf..c06da95 100644
|
|
--- a/contrib/curl/premake5.lua
|
|
+++ b/contrib/curl/premake5.lua
|
|
@@ -27,7 +27,7 @@ project "curl-lib"
|
|
filter { "system:not windows", "system:not macosx" }
|
|
defines { "USE_MBEDTLS" }
|
|
|
|
- filter { "system:linux or bsd or solaris" }
|
|
+ filter { "system:linux or bsd or solaris or haiku" }
|
|
defines { "CURL_HIDDEN_SYMBOLS" }
|
|
|
|
-- find the location of the ca bundle
|
|
@@ -39,7 +39,8 @@ project "curl-lib"
|
|
"/usr/local/share/certs/ca-root.crt",
|
|
"/usr/local/share/certs/ca-root-nss.crt",
|
|
"/etc/certs/ca-certificates.crt",
|
|
- "/etc/ssl/cert.pem" } do
|
|
+ "/etc/ssl/cert.pem",
|
|
+ "/boot/system/data/ssl/CARootCertificates.pem" } do
|
|
if os.isfile(f) then
|
|
ca = f
|
|
break
|
|
--
|
|
2.43.2
|
|
|