[Slackbuilds-users] Сorrections curlftpfs with curl>=8.17.0
Юрий Сорокин
mrvladislavovich at gmail.com
Mon Jan 26 21:41:52 UTC 2026
I forgot the link:)
https://github.com/MyRequiem/curlftpfs
вт, 27 янв. 2026 г. в 01:40, Юрий Сорокин <mrvladislavovich at gmail.com>:
> Hi everyone :)
> The package curlftpfs stopped working with curl>=8.17.0 and had to be
> corrected
>
> fix_for_curl_8.17_and_later.patch
> ---------------------------------
> Subject: Update for curlftpfs: fix compatibility with libcurl >=8.17.0
>
> Description:
> The current version of curlftpfs fails to mount with "Error setting
> curl:"
> when linked against libcurl 8.17.0 or 8.18.0. This patch addresses
> three
> critical issues introduced by recent libcurl updates:
>
> Strict Type Checking:
> Modern libcurl versions (2025-2026) now strictly enforce long
> types for
> numeric options. Passing int values to curl_easy_setopt now
> triggers a
> CURLE_BAD_FUNCTION_ARGUMENT error
>
> Removal of Kerberos:
> CURLOPT_KRB4LEVEL (Kerberos FTP) has been completely removed from
> libcurl 8.17+. Any attempt to set this option results in a fatal
> initialization error
>
> NULL Pointer Protection:
> Passing NULL to CURLOPT_INTERFACE is no longer silently ignored and
> must be guarded
>
> Changes applied to ftpfs.c:
> + Wrapped CURLOPT_INTERFACE to prevent passing NULL values
> + Removed CURLOPT_KRB4LEVEL calls
> + Explicitly casted numeric arguments (like CURL_VERBOSE,
> CURLOPT_FTP_USE_EPSV, CURLOPT_NOPROGRESS) to long using the L
> suffix or explicit casting (long type instead of integer
> required
> by modern libcurl strictness)
>
> fix-check-mktime.patch
> ----------------------
> Changes applied to configure script:
> Fixed mktime checking (at configure time)
>
> Three patches from the Debian repository have also been added
> --------------------------------------------------------------
> consistent-feature-flag.patch
> fix_bashism_in_test_script.patch
> getpass-prototype.patch
>
> best wishes :^)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20260127/b9a28227/attachment.htm>
More information about the SlackBuilds-users
mailing list