[Buildroot] [PATCH 1/1] package/xml-security-c: bump to version 2.0.4

Fabrice Fontaine fontaine.fabrice at gmail.com
Sun Jan 23 21:27:57 UTC 2022


Version 2.0.4 of the Apache XML Security for C++ has been released,
correcting support for OpenSSL earlier than 1.1.

Version 2.0.3 of the Apache XML Security for C++ has been released,
adding support for OpenSSL 3.0.0.

Drop patch (already in version) and so autoreconf

https://santuario.apache.org/cindex.html

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
 ...ariable-cache-option-for-getcwd-test.patch | 50 -------------------
 package/xml-security-c/xml-security-c.hash    |  4 +-
 package/xml-security-c/xml-security-c.mk      |  5 +-
 3 files changed, 3 insertions(+), 56 deletions(-)
 delete mode 100644 package/xml-security-c/0001-autoconf-variable-cache-option-for-getcwd-test.patch

diff --git a/package/xml-security-c/0001-autoconf-variable-cache-option-for-getcwd-test.patch b/package/xml-security-c/0001-autoconf-variable-cache-option-for-getcwd-test.patch
deleted file mode 100644
index 26b53ba719..0000000000
--- a/package/xml-security-c/0001-autoconf-variable-cache-option-for-getcwd-test.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From 9d14fad412a497fe83cfc6ab594ddc612512f02a Mon Sep 17 00:00:00 2001
-From: Matt Weber <matthew.weber at rockwellcollins.com>
-Date: Thu, 4 Jun 2020 20:34:11 -0500
-Subject: [PATCH] autoconf variable cache option for getcwd test
-
-The cached variable allows cross compiled builds to successfully set the
-desired default for this value without invoking a test.
-
-Fixes:
-https://issues.apache.org/jira/browse/SANTUARIO-549
-
-Signed-off-by: Matthew Weber <matthew.weber at rockwellcollins.com>
----
- configure.ac | 20 ++++++++++++--------
- 1 file changed, 12 insertions(+), 8 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index b43d7a5..c3d4489 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -74,14 +74,18 @@ AC_CHECK_FUNCS([strcasecmp])
- 
- # Check whether getcwd can dynamically allocate memory.
- AC_MSG_CHECKING([whether getcwd(NULL, 0) works])
--AC_RUN_IFELSE([AC_LANG_PROGRAM([#include <stdlib.h>
--     #include <unistd.h>],
--[char *cwd = getcwd(NULL, 0);
--return (cwd != NULL) ? EXIT_SUCCESS : EXIT_FAILURE;])],
--     [AC_MSG_RESULT(yes)
--      AC_DEFINE([XSEC_HAVE_GETCWD_DYN], [1],
--         [Define to 1 if getcwd(NULL, 0) works])],
--     [AC_MSG_RESULT(no)])
-+AC_CACHE_VAL([xml_cv_func_getcwd_null],
-+[AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <stdlib.h>
-+     #include <unistd.h>
-+     char *cwd = getcwd(NULL, 0);
-+     return (cwd != NULL) ? EXIT_SUCCESS : EXIT_FAILURE;]])],
-+  [xml_cv_func_getcwd_null=yes],
-+  [xml_cv_func_getcwd_null=no])])
-+AC_MSG_RESULT([$xml_cv_func_getcwd_null])
-+if test $xml_cv_func_getcwd_null = yes; then
-+AC_DEFINE([XSEC_HAVE_GETCWD_DYN], [1],
-+  [Define to 1 if getcwd(NULL, 0) works])
-+fi
- 
- AC_LANG(C++)
- 
--- 
-2.17.1
-
diff --git a/package/xml-security-c/xml-security-c.hash b/package/xml-security-c/xml-security-c.hash
index d91ed86e9c..f4b7041a63 100644
--- a/package/xml-security-c/xml-security-c.hash
+++ b/package/xml-security-c/xml-security-c.hash
@@ -1,3 +1,3 @@
-# From http://www.apache.org/dist/santuario/c-library/xml-security-c-2.0.2.tar.gz.sha256
-sha256  c303a2b08cb9ca0f5594adcbb83829b1e793175d7114a82f7d78def8bb2e30df  xml-security-c-2.0.2.tar.gz
+# From http://www.apache.org/dist/santuario/c-library/xml-security-c-2.0.4.tar.gz.sha256
+sha256  a78da6720f6c2ba14100d2426131e0d33eac5a2dba5cc11bdd04974b7eb89003  xml-security-c-2.0.4.tar.gz
 sha256  c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4  LICENSE.txt
diff --git a/package/xml-security-c/xml-security-c.mk b/package/xml-security-c/xml-security-c.mk
index fe761819ee..fda9af4798 100644
--- a/package/xml-security-c/xml-security-c.mk
+++ b/package/xml-security-c/xml-security-c.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-XML_SECURITY_C_VERSION = 2.0.2
+XML_SECURITY_C_VERSION = 2.0.4
 XML_SECURITY_C_SITE = http://archive.apache.org/dist/santuario/c-library
 XML_SECURITY_C_LICENSE = Apache-2.0
 XML_SECURITY_C_LICENSE_FILES = LICENSE.txt
@@ -15,7 +15,4 @@ XML_SECURITY_C_CONF_ENV = \
 	xml_cv_func_getcwd_null=yes \
 	CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11"
 
-# Patched configure.ac
-XML_SECURITY_C_AUTORECONF = YES
-
 $(eval $(autotools-package))
-- 
2.34.1




More information about the buildroot mailing list