Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2024 20:57:10 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 90c6b7ba9da8 - main - ftp/curl: Fix libcurl.pc with GSSAPI_BASE enabled
Message-ID:  <202411212057.4ALKvA2N038645@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=90c6b7ba9da8c40e03e0e515d95ebc4522c03008

commit 90c6b7ba9da8c40e03e0e515d95ebc4522c03008
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-11-21 20:52:39 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-11-21 20:52:39 +0000

    ftp/curl: Fix libcurl.pc with GSSAPI_BASE enabled
    
    - Bump PORTREVISION for package change
    
    Do not add heimdal-gssapi to libcurl.pc because we do no provide .pc file base GSSAPI library.
---
 ftp/curl/Makefile                 |  2 ++
 ftp/curl/files/extra-patch-gssapi | 11 +++++++++++
 2 files changed, 13 insertions(+)

diff --git a/ftp/curl/Makefile b/ftp/curl/Makefile
index 5aadc5338216..42e6fa4f27dc 100644
--- a/ftp/curl/Makefile
+++ b/ftp/curl/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	curl
 PORTVERSION=	8.11.0
+PORTREVISION=	1
 CATEGORIES=	ftp net www
 MASTER_SITES=	https://curl.se/download/ \
 		https://github.com/curl/curl/releases/download/curl-${PORTVERSION:S|.|_|g}/
@@ -99,6 +100,7 @@ GNUTLS_LIB_DEPENDS=	libgnutls.so:security/gnutls \
 GOPHER_CONFIGURE_ENABLE=gopher
 GSSAPI_BASE_CONFIGURE_ON=	--with-gssapi=${GSSAPIBASEDIR} ${GSSAPI_CONFIGURE_ARGS}
 GSSAPI_BASE_CPPFLAGS=	${GSSAPICPPFLAGS}
+GSSAPI_BASE_EXTRA_PATCHES=	${PATCHDIR}/extra-patch-gssapi
 GSSAPI_BASE_LDFLAGS=	${GSSAPILDFLAGS}
 GSSAPI_BASE_LIBS=	${GSSAPILIBS}
 GSSAPI_BASE_USES=	gssapi
diff --git a/ftp/curl/files/extra-patch-gssapi b/ftp/curl/files/extra-patch-gssapi
new file mode 100644
index 000000000000..285b5086bc71
--- /dev/null
+++ b/ftp/curl/files/extra-patch-gssapi
@@ -0,0 +1,11 @@
+--- configure.orig	2024-11-06 07:09:19 UTC
++++ configure
+@@ -26192,7 +26197,7 @@ printf "%s\n" "found" >&6; }
+   if test -n "$gnu_gss"; then
+     LIBCURL_PC_REQUIRES_PRIVATE="$LIBCURL_PC_REQUIRES_PRIVATE gss"
+   elif test "x$not_mit" = "x1"; then
+-    LIBCURL_PC_REQUIRES_PRIVATE="$LIBCURL_PC_REQUIRES_PRIVATE heimdal-gssapi"
++    LIBCURL_PC_REQUIRES_PRIVATE="$LIBCURL_PC_REQUIRES_PRIVATE"
+   else
+     LIBCURL_PC_REQUIRES_PRIVATE="$LIBCURL_PC_REQUIRES_PRIVATE mit-krb5-gssapi"
+   fi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411212057.4ALKvA2N038645>