Sync from SUSE:SLFO:Main xmlsec1 revision 771075d56947d20930212b6c4f25f48f

This commit is contained in:
Adrian Schröter 2024-08-23 17:04:22 +02:00
parent 9c54dc2615
commit 094fd17a54
7 changed files with 80 additions and 9 deletions

BIN
xmlsec1-1.2.37.tar.gz (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

BIN
xmlsec1-1.2.40.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
xmlsec1-1.2.40.tar.gz.sig Normal file

Binary file not shown.

20
xmlsec1-ui_null.patch Normal file
View File

@ -0,0 +1,20 @@
--- xmlsec1-1.2.33/src/openssl/app.c 2022-01-28 07:47:11.922603482 +0100
+++ xmlsec1-1.2.33/src/openssl/app.c 2022-01-28 08:18:12.786240295 +0100
@@ -437,7 +437,7 @@
}
}
- if(ENGINE_ctrl_cmd(engine, "SET_USER_INTERFACE", 0, (void *)UI_null(), 0, 1) < 0) {
+ if(ENGINE_ctrl_cmd(engine, "SET_USER_INTERFACE", 0, (void *)0, 0, 1) < 0) {
xmlSecOpenSSLError("ENGINE_ctrl_cmd_string(SET_USER_INTERFACE)", NULL);
goto done;
}
@@ -453,7 +453,7 @@
/* load private key */
pKey = ENGINE_load_private_key(engine, engineKeyId,
- (UI_METHOD *)UI_null(),
+ (UI_METHOD *)0,
NULL);
if(pKey == NULL) {
xmlSecOpenSSLError("ENGINE_load_private_key", NULL);

View File

@ -1,3 +1,51 @@
-------------------------------------------------------------------
Fri Jul 12 06:09:16 UTC 2024 - Martin Sirringhaus <martin.sirringhaus@suse.com>
- Update to 1.2.40
The legacy XML Security Library 1.2.40 release includes the following changes:
* (xmlsec-core) Fixed functions deprecated in LibXML2 2.13.1 (including disabling HTTP support by default).
* (xmlsec-nss) Increased keys size in all tests to support NSS 3.101.
* (windows) Added "ftp" and "http" flags in 'configure.js' (both are disabled by default).
* Several other small fixes (more details).
- Update to 1.2.39
The legacy XML Security Library 1.2.39 release includes the following changes:
* Added options to enable/disable local files, HTTP, and FTP support. FTP is disabled by default.
* Several other small fixes (more details).
- Remove upstreamed xmlsec1-gcc14.patch
-------------------------------------------------------------------
Fri May 24 17:15:05 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Added patch:
* xmlsec1-gcc14.patch
+ add missing include and fix gcc14 build
-------------------------------------------------------------------
Mon Feb 26 12:24:45 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------
Fri Dec 15 06:33:23 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- Update to 1.2.38
* Have a look at the changelog for the list of changes
-------------------------------------------------------------------
Thu Nov 30 14:49:16 UTC 2023 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Make use of openSUSE build flags
-------------------------------------------------------------------
Tue Aug 8 15:41:15 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- Added patch:
* xmlsec1-ui_null.patch
+ fix build with older versions of openssl that don't have
UI_null() method
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Feb 1 09:23:37 UTC 2023 - Dirk Müller <dmueller@suse.com> Wed Feb 1 09:23:37 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package xmlsec1 # spec file for package xmlsec1
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -23,7 +23,7 @@
%global libgnutls libxmlsec1-gnutls1 %global libgnutls libxmlsec1-gnutls1
%global libnss libxmlsec1-nss1 %global libnss libxmlsec1-nss1
Name: xmlsec1 Name: xmlsec1
Version: 1.2.37 Version: 1.2.40
Release: 0 Release: 0
Summary: Library providing support for "XML Signature" and "XML Encryption" standards Summary: Library providing support for "XML Signature" and "XML Encryption" standards
License: MIT License: MIT
@ -32,6 +32,7 @@ Source0: https://www.aleksey.com/xmlsec/download/xmlsec1-%{version}.tar.g
Source1: https://www.aleksey.com/xmlsec/download/xmlsec1-%{version}.sig#/xmlsec1-%{version}.tar.gz.sig Source1: https://www.aleksey.com/xmlsec/download/xmlsec1-%{version}.sig#/xmlsec1-%{version}.tar.gz.sig
Source2: %{name}.keyring Source2: %{name}.keyring
Source99: xmlsec1-rpmlintrc Source99: xmlsec1-rpmlintrc
Patch0: xmlsec1-ui_null.patch
BuildRequires: libgcrypt-devel BuildRequires: libgcrypt-devel
BuildRequires: libtool BuildRequires: libtool
# Needed certutil for tests # Needed certutil for tests
@ -140,16 +141,18 @@ Requires: mozilla-nss-devel >= 3.2
Libraries, includes, etc. for developing XML Security applications with NSS. Libraries, includes, etc. for developing XML Security applications with NSS.
%prep %prep
%autosetup -p1 %setup -q
%if 0%{?suse_version} < 1500
%patch -P 0 -p1
%endif
%build %build
# Allow for deprecations # Allow for deprecations
export CFLAGS="-Wno-error=deprecated-declarations" export CFLAGS="%{optflags} -Wno-error=deprecated-declarations -std=c99"
export CXXFLAGS="-Wno-error=deprecated-declarations" export CXXFLAGS="%{optflags} -Wno-error=deprecated-declarations"
%configure \ %configure \
--disable-static \ --disable-static \
--disable-silent-rules \ --disable-silent-rules \
--enable-werror \
--disable-md5 --disable-md5
%make_build %make_build