Hello!

ftp/curl also need some love to build with mase mit krb5


diff --git a/ftp/curl/files/extra-patch-gssapi 
b/ftp/curl/files/extra-patch-gssapi
index d2b90d46c8..8304d8cc67 100644
--- a/ftp/curl/files/extra-patch-gssapi
+++ b/ftp/curl/files/extra-patch-gssapi
@@ -1,11 +1,14 @@
 --- configure.orig     2024-12-11 07:08:12 UTC
 +++ configure
-@@ -26210,7 +26210,7 @@ printf "%s\n" "found" >&6; }
+@@ -25881,9 +25881,9 @@ 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"
+-      LIBCURL_PC_REQUIRES_PRIVATE="$LIBCURL_PC_REQUIRES_PRIVATE 
mit-krb5-gssapi"
++      LIBCURL_PC_REQUIRES_PRIVATE="$LIBCURL_PC_REQUIRES_PRIVATE"
      fi
+   fi
+ else


On 09.08.2025 17:19, Lexi Winter wrote:
Ian FREISLICH:
On 2025-08-09 09:49, Lexi Winter wrote:
Ian FREISLICH:
make delete-old-libs leaves a dead symlink libgssapi.so -> libgssapi.so.10.

there are some issues with the OptionalObsoleteFiles entries when
turning WITH_MITKRB5 on and off, which is what handles removing the
old libgssapi.  i'm planning to overhaul these and verify they're
actually correct... depending on what else comes up that might
happen in a day or two.
I noticed because I had to rebuild ftp/curl. The port fails to complete
configure with the default options (GSSAPI = GSSAPI_BASE). I had to set
GSSAPI_NONE to get it to compile.

this may not be related to the gssapi.so symlink.  there are two
outstanding reviews that should fix curl itself and things which
depend on curl, when curl is built again base GSSAPI:

https://reviews.freebsd.org/D51841
https://reviews.freebsd.org/D51842

--
Sincerely,
Dima ([email protected], https://t.me/FluffyBSD, 
@fluffy:matrix-dev.freebsd.org)
(desktop, kde, x11, office, ports-secteam)@FreeBSD team

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to