Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package guile-curl for openSUSE:Factory checked in at 2026-11-28 23:25:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/guile-curl (Old) and /work/SRC/openSUSE:Factory/.guile-curl.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "guile-curl" Sat Nov 28 23:25:33 2026 rev:2 rq:1401289 version:1.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/guile-curl/guile-curl.changes 2026-11-13 18:31:21.786219396 +0100 +++ /work/SRC/openSUSE:Factory/.guile-curl.new.1340718/guile-curl.changes 2026-11-28 23:27:13.981524044 +0100 @@ -1,0 +2,29 @@ +Tue Nov 24 07:00:40 UTC 2026 - Martin Pluskal <[email protected]> + +- Update to version 1.0.0: + * Forms use libcurl MIME API: 'httppost replaced by 'mimepost + (incompatible change, same field list). Filenames are sent, + empty values kept, NUL in name or type raises an error. + * Shared library is now libguile-curl.so.3 (libtool 3:0:0); + package uses semantic versioning. + * New procedures: curl-easy-perform-to-fd with progress and + cancel, send/receive, header/headers, and upkeep. + * Many new setopt options and blob type for in-memory certs + and keys; new getinfo content-type and certinfo. + * Fix crashes and memory corruption (stale header callback, + readdata GC lifetime, errors through callbacks, exit-time + cleanup) and leaks in slist, getinfo and handle printing. + * Errors raise misc-error with libcurl message; error state + is per thread; getinfo works after failed transfers. + * Faster large responses; nosignal by default with sync-DNS + resolver; requires libcurl >= 7.76.0. + * Many more fixes and improvements; see upstream NEWS file + for the full list. +- Add BuildRequires gettext-tools for autoreconf (guile.m4 needs + lib-link.m4) and floor pkgconfig(libcurl) >= 7.76.0. +- Fix %check with libcurl 8.23: map empty blobs to NULL to clear + the option (libcurl refuses zero-length blobs, broke the + handle-reuse test in test/regression.scm). + * guile-curl-blob-empty-clear.patch + +------------------------------------------------------------------- Old: ---- v0.10.tar.gz New: ---- guile-curl-blob-empty-clear.patch v1.0.0.tar.gz ----------(New B)---------- New: handle-reuse test in test/regression.scm). * guile-curl-blob-empty-clear.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ guile-curl.spec ++++++ --- /var/tmp/diff_new_pack.MMrdba/_old 2026-11-28 23:27:14.874561344 +0100 +++ /var/tmp/diff_new_pack.MMrdba/_new 2026-11-28 23:27:14.876561428 +0100 @@ -17,21 +17,24 @@ Name: guile-curl -Version: 0.10 +Version: 1.0.0 Release: 0 Summary: CURL bindings for GNU Guile License: GPL-3.0-or-later URL: https://github.com/spk121/guile-curl Source0: https://github.com/spk121/guile-curl/archive/v%{version}.tar.gz +# PATCH-FIX-OPENSUSE guile-curl-blob-empty-clear.patch -- clear blob options with NULL since libcurl 8.x refuses zero-length blobs (curl commit 956e1ae) +Patch0: guile-curl-blob-empty-clear.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc +BuildRequires: gettext-tools BuildRequires: libtool BuildRequires: make BuildRequires: pkgconfig BuildRequires: texinfo BuildRequires: pkgconfig(guile-3.0) >= 3.0 -BuildRequires: pkgconfig(libcurl) +BuildRequires: pkgconfig(libcurl) >= 7.76.0 Requires: guile >= 3.0 %description ++++++ guile-curl-blob-empty-clear.patch ++++++ From: Martin Pluskal <[email protected]> Subject: [PATCH] Treat empty blob as NULL to clear the option (libcurl >= 8.x refuses zero-length blobs) Patch-mainline: not yet submitted upstream Index: guile-curl-1.0.0/src/func.c =================================================================== --- guile-curl-1.0.0.orig/src/func.c +++ guile-curl-1.0.0/src/func.c @@ -216,15 +216,27 @@ { if (_scm_can_convert_to_byte_data (param)) { - /* CURL_BLOB_COPY makes curl copy the data, so it can be freed - here. */ - struct curl_blob blob; size_t len; uint8_t *m = _scm_convert_to_byte_data (param, &len); - blob.data = m ? (void *) m : (void *) ""; - blob.len = len; - blob.flags = CURL_BLOB_COPY; - code = curl_easy_setopt (c_handle->handle, c_option, &blob); + if (len == 0) + { + /* An empty blob clears the option. libcurl's + Curl_setblobopt() refuses zero-length blobs with + CURLE_BAD_FUNCTION_ARGUMENT (curl 8.x, see curl commit + 956e1ae "setopt: refuse blobs with zero length"), so + pass NULL instead, which frees the previous blob. */ + code = curl_easy_setopt (c_handle->handle, c_option, NULL); + } + else + { + /* CURL_BLOB_COPY makes curl copy the data, so it can be + freed here. */ + struct curl_blob blob; + blob.data = (void *) m; + blob.len = len; + blob.flags = CURL_BLOB_COPY; + code = curl_easy_setopt (c_handle->handle, c_option, &blob); + } free (m); } else ++++++ v0.10.tar.gz -> v1.0.0.tar.gz ++++++ ++++ 4173 lines of diff (skipped)
