This commit is contained in:
Sergey Zhemoytel 2024-10-22 13:44:25 +00:00
parent 8d6deb5a4e
commit f281b3b8f8
2 changed files with 13 additions and 7 deletions

View file

@ -1,2 +1,2 @@
sources:
xmlsec1-1.2.41.tar.gz: 9d60eba2b19f6db651a56dafb77677a1fe3173a8
xmlsec1-1.3.6.tar.gz: e4b3c596f1129375c6ee3627d81ada68c0111f89

View file

@ -6,9 +6,11 @@
%define libname_nss %mklibname xmlsec1-nss %{major}
%define libname_openssl %mklibname xmlsec1-openssl %{major}
#%global optflags %(echo %{optflags} | sed -e 's/-Wnull-dereference//g' -e 's/-Wformat-overflow=2//g')
Summary: Library providing support for "XML Signature" and "XML Encryption"
Name: xmlsec1
Version: 1.2.41
Version: 1.3.6
Release: 1
License: MIT
Group: System/Libraries
@ -20,7 +22,7 @@ BuildRequires: pkgconfig(gnutls)
BuildRequires: pkgconfig(libgcrypt)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(libxslt)
BuildRequires: pkgconfig(nss)
BuildRequires: pkgconfig(nss) >= 3.59
#BuildRequires: pkgconfig(openssl)
#BuildRequires: openssl-devel
#BuildRequires: openssl
@ -139,19 +141,23 @@ Libraries you can use to develop applications with XML security standarts.
%prep
%setup -q
sed -i 's/-Wnull-dereference//g;s/-Wformat-overflow=2//g' ./configure
%build
#export OPENSSL_LIBS="-L/opt/openssl1.1/lib"
#export OPENSSL_CFLAGS="-L/opt/openssl1.1/lib"
#export LIBS="/opt/openssl1.1/lib/ $LIBS"
export LD_LIBRARY_PATH=/opt/openssl3.3/lib/:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH=/opt/openssl3.3/lib:${LD_LIBRARY_PATH}
%configure \
--disable-static \
--enable-gost \
--enable-gost2012 \
--without-gnutls \
--with-openssl=/opt/openssl3.3 \
LIBS="${LIBS} -L/opt/openssl3.3/lib"
--with-gnutls \
--enable-openssl3-engines \
--with-openssl=/opt/openssl1.1 \
LIBS="${LIBS} -L/opt/openssl1.1/lib"
%make_build