From 9a55bdfcc2d493e9511cd0ceed1c646474332c13 Mon Sep 17 00:00:00 2001 From: Steve Traylen Date: Wed, 15 Oct 2025 20:10:46 +0200 Subject: [PATCH] Compile curl, libcurl with Kerberos support We make use of Kerberos extensively in particular we use `rubygem-curb` to call out to some Kerberos service from openvox. --- configs/components/curl.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/configs/components/curl.rb b/configs/components/curl.rb index 4741255f..b401cd91 100644 --- a/configs/components/curl.rb +++ b/configs/components/curl.rb @@ -77,6 +77,16 @@ pkg.environment 'CXX', settings[:cxx] end + gssapi='--without-gssapi' + if platform.is_deb? + requires "libkrb5-dev" + gssapi='--with-gssapi=/usr' + end + if platform.is_rpm? + pkg.build_requires "krb5-devel" + gssapi='--with-gssapi=/usr' + end + pkg.configure do ["CPPFLAGS='#{settings[:cppflags]}' \ LDFLAGS='#{ldflags}' \ @@ -85,6 +95,7 @@ --enable-threaded-resolver \ --disable-ldap \ --disable-ldaps \ + #{gssapi} \ --with-ca-bundle=#{settings[:prefix]}/ssl/cert.pem \ --with-ca-path=#{settings[:prefix]}/ssl/certs \ --without-nghttp2 \