From 9054d845efbf70e7ab82057258f6526bc33bafb6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 25 Sep 2025 12:24:41 +0000 Subject: [PATCH 1/6] Updated dependency 'libexpat' from version 2.7.1 to 2.7.3 --- deps-packaging/libexpat/cfbuild-libexpat.spec | 2 +- deps-packaging/libexpat/distfiles | 2 +- deps-packaging/libexpat/source | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deps-packaging/libexpat/cfbuild-libexpat.spec b/deps-packaging/libexpat/cfbuild-libexpat.spec index 0112055f9..3f0f699b3 100644 --- a/deps-packaging/libexpat/cfbuild-libexpat.spec +++ b/deps-packaging/libexpat/cfbuild-libexpat.spec @@ -1,4 +1,4 @@ -%define expat_version 2.7.1 +%define expat_version 2.7.3 Summary: CFEngine Build Automation -- libexpat Name: cfbuild-libexpat diff --git a/deps-packaging/libexpat/distfiles b/deps-packaging/libexpat/distfiles index 627a6ebc0..8a85f1e49 100644 --- a/deps-packaging/libexpat/distfiles +++ b/deps-packaging/libexpat/distfiles @@ -1 +1 @@ -354552544b8f99012e5062f7d570ec77f14b412a3ff5c7d8d0dae62c0d217c30 expat-2.7.1.tar.xz +71df8f40706a7bb0a80a5367079ea75d91da4f8c65c58ec59bcdfbf7decdab9f expat-2.7.3.tar.xz diff --git a/deps-packaging/libexpat/source b/deps-packaging/libexpat/source index e95014094..937e26214 100644 --- a/deps-packaging/libexpat/source +++ b/deps-packaging/libexpat/source @@ -1 +1 @@ -https://github.com/libexpat/libexpat/releases/download/R_2_7_1/ +https://github.com/libexpat/libexpat/releases/download/R_2_7_3/ From 11259f667a556016e4997388a8cec724258c7432 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 25 Sep 2025 12:24:42 +0000 Subject: [PATCH 2/6] Updated dependency 'libxml2' from version 2.14.6 to 2.15.0 --- deps-packaging/libxml2/cfbuild-libxml2.spec | 2 +- deps-packaging/libxml2/distfiles | 2 +- deps-packaging/libxml2/source | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deps-packaging/libxml2/cfbuild-libxml2.spec b/deps-packaging/libxml2/cfbuild-libxml2.spec index c3f68a45b..50f4d9a44 100644 --- a/deps-packaging/libxml2/cfbuild-libxml2.spec +++ b/deps-packaging/libxml2/cfbuild-libxml2.spec @@ -1,4 +1,4 @@ -%define libxml_version 2.14.6 +%define libxml_version 2.15.0 Summary: CFEngine Build Automation -- libxml2 Name: cfbuild-libxml2 diff --git a/deps-packaging/libxml2/distfiles b/deps-packaging/libxml2/distfiles index be1e7edcc..d8f514d17 100644 --- a/deps-packaging/libxml2/distfiles +++ b/deps-packaging/libxml2/distfiles @@ -1 +1 @@ -7ce458a0affeb83f0b55f1f4f9e0e55735dbfc1a9de124ee86fb4a66b597203a libxml2-2.14.6.tar.xz +5abc766497c5b1d6d99231f662e30c99402a90d03b06c67b62d6c1179dedd561 libxml2-2.15.0.tar.xz diff --git a/deps-packaging/libxml2/source b/deps-packaging/libxml2/source index 2351b96ba..1eb415526 100644 --- a/deps-packaging/libxml2/source +++ b/deps-packaging/libxml2/source @@ -1 +1 @@ -https://download.gnome.org/sources/libxml2/2.14/ +https://download.gnome.org/sources/libxml2/2.15/ From f6207a5c29916984da1d755f06390eb13606a59f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 25 Sep 2025 12:24:43 +0000 Subject: [PATCH 3/6] Updated dependency 'openssl' from version 3.5.2 to 3.5.3 --- deps-packaging/openssl/cfbuild-openssl.spec | 2 +- deps-packaging/openssl/distfiles | 2 +- deps-packaging/openssl/source | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deps-packaging/openssl/cfbuild-openssl.spec b/deps-packaging/openssl/cfbuild-openssl.spec index c9f9743e7..91fe2667e 100644 --- a/deps-packaging/openssl/cfbuild-openssl.spec +++ b/deps-packaging/openssl/cfbuild-openssl.spec @@ -1,4 +1,4 @@ -%define openssl_version 3.5.2 +%define openssl_version 3.5.3 Summary: CFEngine Build Automation -- openssl Name: cfbuild-openssl diff --git a/deps-packaging/openssl/distfiles b/deps-packaging/openssl/distfiles index 8e6245652..7fa6ab9fa 100644 --- a/deps-packaging/openssl/distfiles +++ b/deps-packaging/openssl/distfiles @@ -1 +1 @@ -c53a47e5e441c930c3928cf7bf6fb00e5d129b630e0aa873b08258656e7345ec openssl-3.5.2.tar.gz +c9489d2abcf943cdc8329a57092331c598a402938054dc3a22218aea8a8ec3bf openssl-3.5.3.tar.gz diff --git a/deps-packaging/openssl/source b/deps-packaging/openssl/source index 6bcd37990..4abfc3e57 100644 --- a/deps-packaging/openssl/source +++ b/deps-packaging/openssl/source @@ -1 +1 @@ -https://github.com/openssl/openssl/releases/download/openssl-3.5.2/ +https://github.com/openssl/openssl/releases/download/openssl-3.5.3/ From 048845a9240ada51ac60c52ea49c9132cb8c5c5e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 25 Sep 2025 12:24:44 +0000 Subject: [PATCH 4/6] Updated dependency 'php' from version 8.3.25 to 8.3.26 --- deps-packaging/php/cfbuild-php.spec | 2 +- deps-packaging/php/distfiles | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deps-packaging/php/cfbuild-php.spec b/deps-packaging/php/cfbuild-php.spec index bb691ef2e..7bee30606 100644 --- a/deps-packaging/php/cfbuild-php.spec +++ b/deps-packaging/php/cfbuild-php.spec @@ -1,4 +1,4 @@ -%define php_version 8.3.25 +%define php_version 8.3.26 Summary: CFEngine Build Automation -- php Name: cfbuild-php diff --git a/deps-packaging/php/distfiles b/deps-packaging/php/distfiles index 3e3527a7a..91f7c9eb5 100644 --- a/deps-packaging/php/distfiles +++ b/deps-packaging/php/distfiles @@ -1 +1 @@ -86711e98eccffb637dc319f0cdcde9188c1710633910beb1a3cbb3ae5ecc2e05 php-8.3.25.tar.gz +c96dac9745db9216a299007d144b593f4e4e7d95b4618b2a9591e5e5585200d5 php-8.3.26.tar.gz From 66fc4e8bb958bdf00a02e2eb9297cf56d4323cb5 Mon Sep 17 00:00:00 2001 From: Lars Erik Wik Date: Thu, 25 Sep 2025 10:08:55 +0200 Subject: [PATCH 5/6] Fixed duplicate case value when compiling libxml2 on AIX This is the error we got: ``` 00:01:07 xmlIO.c: In function 'xmlIOErr': 00:01:07 xmlIO.c:502:9: error: duplicate case value 00:01:07 case ENOTEMPTY: code = XML_IO_ENOTEMPTY; break; 00:01:07 ^~~~ 00:01:07 xmlIO.c:439:9: error: previously used here 00:01:07 case EEXIST: code = XML_IO_EEXIST; break; 00:01:07 ^~~~ ``` It appears that the `ENOTEMPTY` & `EEXITS` are defined as the same value. Defining `_LINUX_SOURCE_COMPAT` should give them unique values. ```C /* * AIX returns EEXIST where 4.3BSD used ENOTEMPTY; * but, the standards insist on unique errno values for each errno. * A unique value is reserved for users that want to code case * statements for systems that return either EEXIST or ENOTEMPTY. */ ``` Signed-off-by: Lars Erik Wik (cherry picked from commit 794e1fde6cc034d389d6eb6d8e2e6a109f1cd95e) --- deps-packaging/libxml2/cfbuild-libxml2.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/deps-packaging/libxml2/cfbuild-libxml2.spec b/deps-packaging/libxml2/cfbuild-libxml2.spec index 50f4d9a44..5e92f1bad 100644 --- a/deps-packaging/libxml2/cfbuild-libxml2.spec +++ b/deps-packaging/libxml2/cfbuild-libxml2.spec @@ -30,7 +30,7 @@ then chmod a+x configure fi ./configure --prefix=%{prefix} --without-python --enable-shared --disable-static --with-zlib=%{prefix} \ - CPPFLAGS="-I%{prefix}/include" \ + CPPFLAGS="-I%{prefix}/include -D_LINUX_SOURCE_COMPAT" \ LD_LIBRARY_PATH="%{prefix}/lib" LD_RUN_PATH="%{prefix}/lib" %build @@ -83,5 +83,3 @@ CFEngine Build Automation -- libxml2 -- development files %prefix/lib/pkgconfig %changelog - - From d97d2c94af6d45ea7a047ee5499c8f222663f044 Mon Sep 17 00:00:00 2001 From: Lars Erik Wik Date: Thu, 25 Sep 2025 10:56:37 +0200 Subject: [PATCH 6/6] Fixed wrong number of arguments specified for 'deprecated' attribute The was an issue with the GCC `__attribute__((deprecated))` syntax in the macro definition of `XML_DEPRECATED`. The problem was that older GCC versions don't accept a string message argument in the deprecated attribute. See https://gcc.gnu.org/gcc-4.5/changes.html Cherry-pick with minor modifications. Signed-off-by: Lars Erik Wik (cherry picked from commit 471357875742c6f642233e7dec1613834c2d5df3) --- deps-packaging/libxml2/cfbuild-libxml2.spec | 2 ++ deps-packaging/libxml2/hpux/build | 2 +- .../libxml2/no-arg-in-deprecated.patch | 17 +++++++++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 deps-packaging/libxml2/no-arg-in-deprecated.patch diff --git a/deps-packaging/libxml2/cfbuild-libxml2.spec b/deps-packaging/libxml2/cfbuild-libxml2.spec index 5e92f1bad..7026e07c2 100644 --- a/deps-packaging/libxml2/cfbuild-libxml2.spec +++ b/deps-packaging/libxml2/cfbuild-libxml2.spec @@ -34,6 +34,8 @@ fi LD_LIBRARY_PATH="%{prefix}/lib" LD_RUN_PATH="%{prefix}/lib" %build + +patch -p1 < %{_topdir}/SOURCES/no-arg-in-deprecated.patch make %install diff --git a/deps-packaging/libxml2/hpux/build b/deps-packaging/libxml2/hpux/build index 5729b0c62..1fdb2e0bc 100755 --- a/deps-packaging/libxml2/hpux/build +++ b/deps-packaging/libxml2/hpux/build @@ -15,6 +15,7 @@ CPPFLAGS="-I${PREFIX}/include" mv configure configure.bak sed 's/ *-Wno-array-bounds//' configure.bak >configure chmod a+x configure +$PATCH -p1 < no-arg-in-deprecated.patch ./configure CPPFLAGS="$CPPFLAGS" --prefix=${PREFIX} --without-python --without-iconv --without-lzma --without-zlib --with-iso8859x # Build @@ -38,4 +39,3 @@ rm -rf ${LXD}/share mkdir -p ${LX}/lib mv ${LXD}/lib/*.so* ${LX}/lib - diff --git a/deps-packaging/libxml2/no-arg-in-deprecated.patch b/deps-packaging/libxml2/no-arg-in-deprecated.patch new file mode 100644 index 000000000..71b6ec351 --- /dev/null +++ b/deps-packaging/libxml2/no-arg-in-deprecated.patch @@ -0,0 +1,17 @@ +diff -ruN libxml2-2.15.0/include/libxml/xmlexports.h libxml2-2.15.0-modified/include/libxml/xmlexports.h +--- libxml2-2.15.0/include/libxml/xmlexports.h 2025-09-15 13:55:59.000000000 +0200 ++++ libxml2-2.15.0-modified/include/libxml/xmlexports.h 2025-09-25 10:52:38.346569829 +0200 +@@ -55,8 +55,12 @@ + #ifndef XML_DEPRECATED + #if defined(IN_LIBXML) + #define XML_DEPRECATED +- #elif __GNUC__ * 100 + __GNUC_MINOR__ >= 301 ++ #elif __GNUC__ * 100 + __GNUC_MINOR__ >= 405 ++ /* GCC 4.5+ supports deprecated with message */ + #define XML_DEPRECATED __attribute__((deprecated("See https://gnome.pages.gitlab.gnome.org/libxml2/html/deprecated.html"))) ++ #elif __GNUC__ * 100 + __GNUC_MINOR__ >= 301 ++ /* GCC 3.1+ supports deprecated without message */ ++ #define XML_DEPRECATED __attribute__((deprecated)) + #elif defined(_MSC_VER) && _MSC_VER >= 1400 + /* Available since Visual Studio 2005 */ + #define XML_DEPRECATED __declspec(deprecated("See https://gnome.pages.gitlab.gnome.org/libxml2/html/deprecated.html"))