mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
premake: add patch for CA root path (#10300)
This commit is contained in:
32
dev-util/premake/patches/premake5-5.0.0~beta2.patchset
Normal file
32
dev-util/premake/patches/premake5-5.0.0~beta2.patchset
Normal file
@@ -0,0 +1,32 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user