commit xml-security-c for openSUSE:Factory

2018-12-04 Thread root
Hello community,

here is the log from the commit of package xml-security-c for openSUSE:Factory 
checked in at 2018-12-04 20:54:06

Comparing /work/SRC/openSUSE:Factory/xml-security-c (Old)
 and  /work/SRC/openSUSE:Factory/.xml-security-c.new.19453 (New)


Package is "xml-security-c"

Tue Dec  4 20:54:06 2018 rev:4 rq:652458 version:2.0.2

Changes:

--- /work/SRC/openSUSE:Factory/xml-security-c/xml-security-c.changes
2017-11-10 14:57:53.259014220 +0100
+++ /work/SRC/openSUSE:Factory/.xml-security-c.new.19453/xml-security-c.changes 
2018-12-04 20:54:10.212863520 +0100
@@ -1,0 +2,34 @@
+Tue Nov 27 17:49:41 UTC 2018 - kstreit...@suse.com
+
+- update to 2.0.2
+  * [SANTUARIO-496] - DSA verification crashes OpenSSL on invalid
+combinations of key content
+  * [SANTUARIO-491] - Default KeyInfo resolver doesn't check for
+empty element content.
+  * [SANTUARIO-382] - Unconditionally enable large file support
+  * [SANTUARIO-418] - Invalid acceptance of unpadded RSA signatures
+  * [SANTUARIO-435] - Automake misses the subdir-objects option
+  * [SANTUARIO-437] - Cannot compile as C++11
+  * [SANTUARIO-447] - XSECCryptoX509::loadX509PEM() can read past
+unterminated buffer
+  * [SANTUARIO-449] - TXFMOutputFile can try to close unopened stream
+  * [SANTUARIO-470] - dsig/DSIGReference.cpp:931: bad type ?
+  * [SANTUARIO-471] - Patch for C++11 compile failures
+  * [SANTUARIO-473] - Build failure using NSS
+  * [SANTUARIO-474] - Better overflow checking
+  * [SANTUARIO-479] - xml-security-cpp compilation errors
+  * [SANTUARIO-460] - Support for OpenSSL 1.1
+  * [SANTUARIO-461] - Internal key store should be deleted on any
+CryptoAcquireContext() error
+  * [SANTUARIO-472] - Conditional inclusion of XMKS code in library
+  * [SANTUARIO-476] - Change default behavior for inferring
+attribute IDness by name
+- drop the following patches that are no longer needed
+  * xml-security-c-1.7.3-gcc6.patch
+  * xml-security-c-1.7.3_openssl1.1.patch
+- update soname from 17 to 20
+- pack xml-security-c.pc
+- require libxerces-c-devel >= 3.2
+- run spec-cleaner
+
+---

Old:

  xml-security-c-1.7.3-gcc6.patch
  xml-security-c-1.7.3.tar.bz2
  xml-security-c-1.7.3.tar.bz2.asc
  xml-security-c-1.7.3_openssl1.1.patch

New:

  xml-security-c-2.0.2.tar.bz2
  xml-security-c-2.0.2.tar.bz2.asc



Other differences:
--
++ xml-security-c.spec ++
--- /var/tmp/diff_new_pack.Fnv0bV/_old  2018-12-04 20:54:10.660863022 +0100
+++ /var/tmp/diff_new_pack.Fnv0bV/_new  2018-12-04 20:54:10.664863018 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package xml-security-c
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,25 +16,23 @@
 #
 
 
+%define libvers 20
 Name:   xml-security-c
-Version:1.7.3
+Version:2.0.2
 Release:0
 Summary:Apache XML security C++ library
 License:Apache-2.0
 Group:  Development/Libraries/C and C++
-Url:http://santuario.apache.org/
+URL:http://santuario.apache.org/
 Source0:
http://www.apache.org/dist/santuario/c-library/%{name}-%{version}.tar.bz2
 Source1:
http://www.apache.org/dist/santuario/c-library/%{name}-%{version}.tar.bz2.asc
 Source2:%{name}.keyring
 # PATCH-FIX-UPSTREAM marguer...@opensuse.org - 'bool' can't be converted to 
pointer in c++11
-Patch:  xml-security-c-1.7.3-gcc6.patch
-Patch1: xml-security-c-1.7.3_openssl1.1.patch
 BuildRequires:  gcc-c++
 BuildRequires:  libxalan-c-devel
-BuildRequires:  libxerces-c-devel >= 3.1
+BuildRequires:  libxerces-c-devel >= 3.2
 BuildRequires:  openssl-devel
-BuildRequires:  pkg-config
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  pkgconfig
 
 %description
 The xml-security-c library is a C++ implementation of the XML Digital Signature
@@ -54,13 +52,13 @@
 
 This package contains the utility programs.
 
-%package -n libxml-security-c17
+%package -n libxml-security-c%{libvers}
 Summary:Apache XML security C++ library
 Group:  Development/Libraries/C and C++
 Provides:   xml-security-c = %{version}-%{release}
 Obsoletes:  xml-security-c < %{version}-%{release}
 
-%description -n libxml-security-c17
+%description -n libxml-security-c%{libvers}
 The xml-security-c library is a C++ implementation of the XML Digital Signature
 and Encryption specifications. The library makes use of the Apache XML 
project's
 Xerces-C XML Parser and Xalan-C XSLT 

commit xml-security-c for openSUSE:Factory

2017-11-10 Thread root
Hello community,

here is the log from the commit of package xml-security-c for openSUSE:Factory 
checked in at 2017-11-10 14:57:37

Comparing /work/SRC/openSUSE:Factory/xml-security-c (Old)
 and  /work/SRC/openSUSE:Factory/.xml-security-c.new (New)


Package is "xml-security-c"

Fri Nov 10 14:57:37 2017 rev:3 rq:540197 version:1.7.3

Changes:

--- /work/SRC/openSUSE:Factory/xml-security-c/xml-security-c.changes
2016-07-12 23:52:07.0 +0200
+++ /work/SRC/openSUSE:Factory/.xml-security-c.new/xml-security-c.changes   
2017-11-10 14:57:53.259014220 +0100
@@ -1,0 +2,6 @@
+Thu Nov  9 12:12:15 UTC 2017 - vci...@suse.com
+
+- support building with openssl 1.1 (bsc#1067411)
+  * add xml-security-c-1.7.3_openssl1.1.patch from Fedora
+
+---

New:

  xml-security-c-1.7.3_openssl1.1.patch



Other differences:
--
++ xml-security-c.spec ++
--- /var/tmp/diff_new_pack.CUGgmf/_old  2017-11-10 14:57:54.314976025 +0100
+++ /var/tmp/diff_new_pack.CUGgmf/_new  2017-11-10 14:57:54.322975735 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package xml-security-c
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -28,6 +28,7 @@
 Source2:%{name}.keyring
 # PATCH-FIX-UPSTREAM marguer...@opensuse.org - 'bool' can't be converted to 
pointer in c++11
 Patch:  xml-security-c-1.7.3-gcc6.patch
+Patch1: xml-security-c-1.7.3_openssl1.1.patch
 BuildRequires:  gcc-c++
 BuildRequires:  libxalan-c-devel
 BuildRequires:  libxerces-c-devel >= 3.1
@@ -87,6 +88,9 @@
 %prep
 %setup -q
 %patch -p1
+if pkg-config --atleast-version=1.1 openssl; then
+%patch1 -p1
+fi
 
 %build
 %configure \


++ xml-security-c-1.7.3_openssl1.1.patch ++
 1700 lines (skipped)





commit xml-security-c for openSUSE:Factory

2016-07-12 Thread h_root
Hello community,

here is the log from the commit of package xml-security-c for openSUSE:Factory 
checked in at 2016-07-12 23:52:06

Comparing /work/SRC/openSUSE:Factory/xml-security-c (Old)
 and  /work/SRC/openSUSE:Factory/.xml-security-c.new (New)


Package is "xml-security-c"

Changes:

--- /work/SRC/openSUSE:Factory/xml-security-c/xml-security-c.changes
2015-08-29 20:04:26.0 +0200
+++ /work/SRC/openSUSE:Factory/.xml-security-c.new/xml-security-c.changes   
2016-07-12 23:52:07.0 +0200
@@ -1,0 +2,7 @@
+Sun Jul  3 06:54:30 UTC 2016 - i...@marguerite.su
+
+- add patch xml-security-c-1.7.3-gcc6.patch, fixed boo#985160
+  * bool can't be converted to pointer in c++11 which is
+default in gcc6, change to NULL.
+
+---

New:

  xml-security-c-1.7.3-gcc6.patch



Other differences:
--
++ xml-security-c.spec ++
--- /var/tmp/diff_new_pack.8DJ1Ze/_old  2016-07-12 23:52:08.0 +0200
+++ /var/tmp/diff_new_pack.8DJ1Ze/_new  2016-07-12 23:52:08.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package xml-security-c
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,9 +26,11 @@
 Source0:
http://www.apache.org/dist/santuario/c-library/%{name}-%{version}.tar.bz2
 Source1:
http://www.apache.org/dist/santuario/c-library/%{name}-%{version}.tar.bz2.asc
 Source2:%{name}.keyring
+# PATCH-FIX-UPSTREAM marguer...@opensuse.org - 'bool' can't be converted to 
pointer in c++11
+Patch:  xml-security-c-1.7.3-gcc6.patch
 BuildRequires:  gcc-c++
-BuildRequires:  libxerces-c-devel >= 3.1
 BuildRequires:  libxalan-c-devel
+BuildRequires:  libxerces-c-devel >= 3.1
 BuildRequires:  openssl-devel
 BuildRequires:  pkg-config
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -84,6 +86,7 @@
 
 %prep
 %setup -q
+%patch -p1
 
 %build
 %configure \
@@ -91,10 +94,9 @@
 make %{?_smp_mflags}
 
 %install
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
+make %{?_smp_mflags} DESTDIR=%{buildroot} install
 
 %post -n libxml-security-c17 -p /sbin/ldconfig
-
 %postun -n libxml-security-c17 -p /sbin/ldconfig
 
 %files -n xml-security-c-bin
@@ -103,6 +105,7 @@
 %{_bindir}/*
 
 %files -n libxml-security-c17
+%defattr(-,root,root)
 %doc CHANGELOG.txt  LICENSE.txt
 %defattr(-,root,root,-)
 %{_libdir}/*.so.*

++ xml-security-c-1.7.3-gcc6.patch ++
Index: b/xsec/tools/checksig/InteropResolver.cpp
===
--- a/xsec/tools/checksig/InteropResolver.cpp
+++ b/xsec/tools/checksig/InteropResolver.cpp
@@ -645,7 +645,7 @@ XSECCryptoKey * InteropResolver::resolve
 
}
 
-   return false;
+   return NULL;
 
 }