From 7eb15cf5632f7ce8049644b906fcdf72eb5a3ca5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 10:13:50 +0000 Subject: [PATCH 01/10] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- xmlrpc-c.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xmlrpc-c.spec b/xmlrpc-c.spec index ceb75c6..7ff1030 100644 --- a/xmlrpc-c.spec +++ b/xmlrpc-c.spec @@ -3,7 +3,7 @@ Name: xmlrpc-c Version: 1.59.03 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Lightweight RPC library based on XML and HTTP # See doc/COPYING for details. # The Python 1.5.2 license used by a few files is just BSD. @@ -177,6 +177,9 @@ This package contains some handy XML-RPC demo applications. %{_bindir}/xmlrpc_dumpserver %changelog +* Sat Jul 20 2024 Fedora Release Engineering - 1.59.03-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Tue Mar 26 2024 Jonathan Wright - 1.59.03-1 - update to 1.59.03 rhbz#2271506 From 0e279f2bdf731310172fd8eafacad38ce4f4ad4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Wed, 4 Sep 2024 22:56:33 +0200 Subject: [PATCH 02/10] convert license to SPDX This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4 --- xmlrpc-c.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/xmlrpc-c.spec b/xmlrpc-c.spec index 7ff1030..320d552 100644 --- a/xmlrpc-c.spec +++ b/xmlrpc-c.spec @@ -3,11 +3,12 @@ Name: xmlrpc-c Version: 1.59.03 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Lightweight RPC library based on XML and HTTP # See doc/COPYING for details. # The Python 1.5.2 license used by a few files is just BSD. -License: BSD and MIT +# Automatically converted from old format: BSD and MIT - review is highly recommended. +License: LicenseRef-Callaway-BSD AND LicenseRef-Callaway-MIT URL: http://xmlrpc-c.sourceforge.net/ Source: http://dl.sourceforge.net/sourceforge/xmlrpc-c/xmlrpc-c-%version.tgz @@ -177,6 +178,9 @@ This package contains some handy XML-RPC demo applications. %{_bindir}/xmlrpc_dumpserver %changelog +* Wed Sep 04 2024 Miroslav Suchý - 1.59.03-3 +- convert license to SPDX + * Sat Jul 20 2024 Fedora Release Engineering - 1.59.03-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From f92c101d05490fa4b3c5fd703f73c5253c7e0268 Mon Sep 17 00:00:00 2001 From: Jonathan Wright Date: Thu, 2 Jan 2025 11:42:26 -0600 Subject: [PATCH 03/10] - update to 1.60.4 rhbz#2334236 - re-enable builds against libxml2, no more bundled libexpat - fixes rhbz#2310136 - fixes rhbz#2310146 - fixes rhbz#2310152 --- .gitignore | 1 + Makefile | 10 ----- sources | 2 +- xmlrpc-c-check-vasprintf-return-value.patch | 41 ------------------ xmlrpc-c-printf-size_t.patch | 48 --------------------- xmlrpc-c.spec | 24 +++++------ 6 files changed, 13 insertions(+), 113 deletions(-) delete mode 100644 Makefile delete mode 100644 xmlrpc-c-check-vasprintf-return-value.patch delete mode 100644 xmlrpc-c-printf-size_t.patch diff --git a/.gitignore b/.gitignore index 9f7910b..9dd191a 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /xmlrpc-1.51.08.tgz /xmlrpc-c-1.59.02.tgz /xmlrpc-c-1.59.03.tgz +/xmlrpc-c-1.60.04.tgz diff --git a/Makefile b/Makefile deleted file mode 100644 index 9e6c752..0000000 --- a/Makefile +++ /dev/null @@ -1,10 +0,0 @@ -MAKEFILE_COMMON = $(HOME)/.fedora/common.mk --include $(MAKEFILE_COMMON) - -all: - -SVN_VER ?= ${VERSION} - -svn-sources: - cd $(DESTDIR) . && svn export https://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/advanced@${SVN_REV} xmlrpc-c-${SVN_VER} - cd $(DESTDIR) . && tar cJf xmlrpc-c-${SVN_VER}.tar.xz xmlrpc-c-${SVN_VER} --owner root --group root --mode=go-w,a+rX diff --git a/sources b/sources index a0e9d89..0b86711 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xmlrpc-c-1.59.03.tgz) = 10b984421e7f4a7c1434b03f542ba1c9f9027ae72ed6022aca5efee55fc630b0f630f1ca5193fd2477c743ffd994c199064b15b73d1b019004f1f8e36cbd6921 +SHA512 (xmlrpc-c-1.60.04.tgz) = 68407053eec1e3f32187169f5bb976e9f043f1576dd9fb7a9076ed00414dd0293cfdf72527a314c244dd48986402af3c9cc33d110ed3b382a13190eb8dddb734 diff --git a/xmlrpc-c-check-vasprintf-return-value.patch b/xmlrpc-c-check-vasprintf-return-value.patch deleted file mode 100644 index cfc7f45..0000000 --- a/xmlrpc-c-check-vasprintf-return-value.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 80047d74644eeda55c451aea59951eb502649cf4 Mon Sep 17 00:00:00 2001 -From: Enrico Scholz -Date: Thu, 29 Jul 2010 19:43:08 +0200 -Subject: [PATCH 7/8] check vasprintf return value - ---- - lib/libutil/asprintf.c | 3 ++- - lib/util/casprintf.c | 3 ++- - 2 files changed, 4 insertions(+), 2 deletions(-) - -diff --git a/lib/libutil/asprintf.c b/lib/libutil/asprintf.c -index a79cd81..5a06f0f 100644 ---- a/lib/libutil/asprintf.c -+++ b/lib/libutil/asprintf.c -@@ -121,7 +121,8 @@ xmlrpc_vasprintf(const char ** const retvalP, - char * string; - - #if HAVE_ASPRINTF -- vasprintf(&string, fmt, varargs); -+ if (vasprintf(&string, fmt, varargs) < 0) -+ string = NULL; - #else - simpleVasprintf(&string, fmt, varargs); - #endif -diff --git a/lib/util/casprintf.c b/lib/util/casprintf.c -index 643f145..9139253 100644 ---- a/lib/util/casprintf.c -+++ b/lib/util/casprintf.c -@@ -99,7 +99,8 @@ cvasprintf(const char ** const retvalP, - char * string; - - #if HAVE_ASPRINTF -- vasprintf(&string, fmt, varargs); -+ if (vasprintf(&string, fmt, varargs) < 0) -+ string = NULL; - #else - simpleVasprintf(&string, fmt, varargs); - #endif --- -1.7.3.4 - diff --git a/xmlrpc-c-printf-size_t.patch b/xmlrpc-c-printf-size_t.patch deleted file mode 100644 index 420b213..0000000 --- a/xmlrpc-c-printf-size_t.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 25a777bb0ee2e2ee17d87006f76b3cea5d15a9f7 Mon Sep 17 00:00:00 2001 -From: Enrico Scholz -Date: Mon, 25 Feb 2008 17:48:25 +0100 -Subject: [PATCH 2/9] fixed broken format string modifiers - ---- - examples/json.c | 4 ++-- - examples/parse_xml.c | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/examples/json.c b/examples/json.c -index 89fe82b..91ea50d 100644 ---- a/examples/json.c -+++ b/examples/json.c -@@ -41,7 +41,7 @@ printAsXml(xmlrpc_value * const valP) { - printf("XML-RPC XML:\n"); - - printf("%.*s\n", -- XMLRPC_MEMBLOCK_SIZE(char, &out), -+ (int)XMLRPC_MEMBLOCK_SIZE(char, &out), - XMLRPC_MEMBLOCK_CONTENTS(char, &out)); - - XMLRPC_MEMBLOCK_CLEAN(char, &out); -@@ -70,7 +70,7 @@ printAsJson(xmlrpc_value * const valP) { - printf("JSON:\n"); - - printf("%.*s\n", -- XMLRPC_MEMBLOCK_SIZE(char, &out), -+ (int)XMLRPC_MEMBLOCK_SIZE(char, &out), - XMLRPC_MEMBLOCK_CONTENTS(char, &out)); - - XMLRPC_MEMBLOCK_CLEAN(char, &out); -diff --git a/examples/parse_xml.c b/examples/parse_xml.c -index 2e6c508..4f6c308 100644 ---- a/examples/parse_xml.c -+++ b/examples/parse_xml.c -@@ -58,7 +58,7 @@ describeXmlElement(const xml_element * const elemP, - printf("%sXML element type: '%s'\n", - prefix, xml_element_name(elemP)); - -- printf("%sNumber of child elements: %u\n", -+ printf("%sNumber of child elements: %zu\n", - prefix, xml_element_children_size(elemP)); - - for (i = 0; i < xml_element_children_size(elemP); ++i) { --- -1.7.6 - diff --git a/xmlrpc-c.spec b/xmlrpc-c.spec index 320d552..e53cf4a 100644 --- a/xmlrpc-c.spec +++ b/xmlrpc-c.spec @@ -1,16 +1,13 @@ -# Upstream libxml2 backend is completely broken since 2015 https://sourceforge.net/p/xmlrpc-c/patches/49/ -%bcond_with libxml2 - Name: xmlrpc-c -Version: 1.59.03 -Release: 3%{?dist} +Version: 1.60.04 +Release: 1%{?dist} Summary: Lightweight RPC library based on XML and HTTP # See doc/COPYING for details. # The Python 1.5.2 license used by a few files is just BSD. # Automatically converted from old format: BSD and MIT - review is highly recommended. License: LicenseRef-Callaway-BSD AND LicenseRef-Callaway-MIT URL: http://xmlrpc-c.sourceforge.net/ -Source: http://dl.sourceforge.net/sourceforge/xmlrpc-c/xmlrpc-c-%version.tgz +Source: http://dl.sourceforge.net/sourceforge/xmlrpc-c/xmlrpc-c-%version.tgz # Upstreamable patches Patch102: 0002-Use-proper-datatypes-for-long-long.patch @@ -19,12 +16,7 @@ Patch103: 0003-allow-30x-redirections.patch BuildRequires: git-core BuildRequires: gcc BuildRequires: gcc-c++ -%if %{with libxml2} BuildRequires: pkgconfig(libxml-2.0) -%else -# upstream has its own fork of expat -Provides: bundled(expat) -%endif BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(libcurl) BuildRequires: readline-devel @@ -128,10 +120,9 @@ This package contains some handy XML-RPC demo applications. %files %license doc/COPYING lib/abyss/license.txt %doc doc/CREDITS doc/HISTORY -%if ! %{with libxml2} %{_libdir}/libxmlrpc_xml*.so.* -%endif %{_libdir}/libxmlrpc.so.* +%{_libdir}/libxmlrpc_openssl.so.* %{_libdir}/libxmlrpc_util.so.* %{_libdir}/libxmlrpc_abyss.so.* %{_libdir}/libxmlrpc_server.so.* @@ -178,6 +169,13 @@ This package contains some handy XML-RPC demo applications. %{_bindir}/xmlrpc_dumpserver %changelog +* Thu Jan 02 2025 Jonathan Wright - 1.60.4-1 +- update to 1.60.4 rhbz#2334236 +- re-enable builds against libxml2, no more bundled libexpat +- fixes rhbz#2310136 +- fixes rhbz#2310146 +- fixes rhbz#2310152 + * Wed Sep 04 2024 Miroslav Suchý - 1.59.03-3 - convert license to SPDX From 2f9ade2902091ba9f7aebdc90986c8691e0499ee Mon Sep 17 00:00:00 2001 From: Jonathan Wright Date: Thu, 2 Jan 2025 15:18:58 -0600 Subject: [PATCH 04/10] Use global macro to override make smp_flags --- xmlrpc-c.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/xmlrpc-c.spec b/xmlrpc-c.spec index e53cf4a..cb1c6a7 100644 --- a/xmlrpc-c.spec +++ b/xmlrpc-c.spec @@ -1,6 +1,9 @@ +# build order matters and multiple threads break it +%global _smp_mflags -j1 + Name: xmlrpc-c Version: 1.60.04 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Lightweight RPC library based on XML and HTTP # See doc/COPYING for details. # The Python 1.5.2 license used by a few files is just BSD. @@ -104,8 +107,7 @@ This package contains some handy XML-RPC demo applications. %build %configure %make_build -# build order matters and multiple threads break it -%make_build -j1 -C tools +%make_build -C tools %install @@ -169,6 +171,9 @@ This package contains some handy XML-RPC demo applications. %{_bindir}/xmlrpc_dumpserver %changelog +* Thu Jan 02 2025 Jonathan Wright - 1.60.4-2 +- Use global macro to override make smp_flags + * Thu Jan 02 2025 Jonathan Wright - 1.60.4-1 - update to 1.60.4 rhbz#2334236 - re-enable builds against libxml2, no more bundled libexpat From 6a90c73483758c99db7090c27ffa1bdc1be75eea Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 16:01:43 +0000 Subject: [PATCH 05/10] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- xmlrpc-c.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xmlrpc-c.spec b/xmlrpc-c.spec index cb1c6a7..dc9ca45 100644 --- a/xmlrpc-c.spec +++ b/xmlrpc-c.spec @@ -3,7 +3,7 @@ Name: xmlrpc-c Version: 1.60.04 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Lightweight RPC library based on XML and HTTP # See doc/COPYING for details. # The Python 1.5.2 license used by a few files is just BSD. @@ -171,6 +171,9 @@ This package contains some handy XML-RPC demo applications. %{_bindir}/xmlrpc_dumpserver %changelog +* Sun Jan 19 2025 Fedora Release Engineering - 1.60.04-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Thu Jan 02 2025 Jonathan Wright - 1.60.4-2 - Use global macro to override make smp_flags From 7a50a0484f630e5a476e997ed5d658801db009bc Mon Sep 17 00:00:00 2001 From: Jonathan Wright Date: Thu, 23 Jan 2025 12:02:16 -0600 Subject: [PATCH 06/10] fix ftbfs on gcc15 rhbz#2341577 --- xmlrpc-c.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/xmlrpc-c.spec b/xmlrpc-c.spec index cb1c6a7..47d03d4 100644 --- a/xmlrpc-c.spec +++ b/xmlrpc-c.spec @@ -3,7 +3,7 @@ Name: xmlrpc-c Version: 1.60.04 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Lightweight RPC library based on XML and HTTP # See doc/COPYING for details. # The Python 1.5.2 license used by a few files is just BSD. @@ -106,8 +106,8 @@ This package contains some handy XML-RPC demo applications. %build %configure -%make_build -%make_build -C tools +%make_build CFLAGS="%{optflags} -std=gnu17" +%make_build CFLAGS="%{optflags} -std=gnu17" -C tools %install @@ -171,6 +171,9 @@ This package contains some handy XML-RPC demo applications. %{_bindir}/xmlrpc_dumpserver %changelog +* Thu Jan 23 2025 Jonathan Wright - 1.60.04-3 +- fix ftbfs on gcc15 rhbz#2341577 + * Thu Jan 02 2025 Jonathan Wright - 1.60.4-2 - Use global macro to override make smp_flags From f6aad88403f2ff295cd2fe5b1e5cfedb373e9244 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 20:56:14 +0000 Subject: [PATCH 07/10] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- xmlrpc-c.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xmlrpc-c.spec b/xmlrpc-c.spec index d7c0bd0..f23e4d9 100644 --- a/xmlrpc-c.spec +++ b/xmlrpc-c.spec @@ -3,7 +3,7 @@ Name: xmlrpc-c Version: 1.60.04 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Lightweight RPC library based on XML and HTTP # See doc/COPYING for details. # The Python 1.5.2 license used by a few files is just BSD. @@ -171,6 +171,9 @@ This package contains some handy XML-RPC demo applications. %{_bindir}/xmlrpc_dumpserver %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 1.60.04-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Thu Jan 23 2025 Jonathan Wright - 1.60.04-3 - fix ftbfs on gcc15 rhbz#2341577 From f19a94c8fafae71c37f54e0071d9ff4412352c38 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 20:45:54 +0000 Subject: [PATCH 08/10] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- xmlrpc-c.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xmlrpc-c.spec b/xmlrpc-c.spec index f23e4d9..afa68f0 100644 --- a/xmlrpc-c.spec +++ b/xmlrpc-c.spec @@ -3,7 +3,7 @@ Name: xmlrpc-c Version: 1.60.04 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Lightweight RPC library based on XML and HTTP # See doc/COPYING for details. # The Python 1.5.2 license used by a few files is just BSD. @@ -171,6 +171,9 @@ This package contains some handy XML-RPC demo applications. %{_bindir}/xmlrpc_dumpserver %changelog +* Sat Jan 17 2026 Fedora Release Engineering - 1.60.04-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Fri Jul 25 2025 Fedora Release Engineering - 1.60.04-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From c94be9cd41b3dbd482c12e58c2eb3713795cb36f Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Fri, 12 Jun 2026 20:08:15 -0400 Subject: [PATCH 09/10] Rebuilt for openssl 4.0 --- xmlrpc-c.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xmlrpc-c.spec b/xmlrpc-c.spec index afa68f0..fa027b0 100644 --- a/xmlrpc-c.spec +++ b/xmlrpc-c.spec @@ -3,7 +3,7 @@ Name: xmlrpc-c Version: 1.60.04 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Lightweight RPC library based on XML and HTTP # See doc/COPYING for details. # The Python 1.5.2 license used by a few files is just BSD. @@ -171,6 +171,9 @@ This package contains some handy XML-RPC demo applications. %{_bindir}/xmlrpc_dumpserver %changelog +* Sat Jun 13 2026 Yaakov Selkowitz - 1.60.04-6 +- Rebuilt for openssl 4.0 + * Sat Jan 17 2026 Fedora Release Engineering - 1.60.04-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild From beddf7cc75be77da011cdc3aacf1830a41a9c5b2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 09:18:42 +0000 Subject: [PATCH 10/10] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild --- xmlrpc-c.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xmlrpc-c.spec b/xmlrpc-c.spec index fa027b0..9184ace 100644 --- a/xmlrpc-c.spec +++ b/xmlrpc-c.spec @@ -3,7 +3,7 @@ Name: xmlrpc-c Version: 1.60.04 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Lightweight RPC library based on XML and HTTP # See doc/COPYING for details. # The Python 1.5.2 license used by a few files is just BSD. @@ -171,6 +171,9 @@ This package contains some handy XML-RPC demo applications. %{_bindir}/xmlrpc_dumpserver %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 1.60.04-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + * Sat Jun 13 2026 Yaakov Selkowitz - 1.60.04-6 - Rebuilt for openssl 4.0