From d74d9c2b04de5e94dbb223b308c48eaef3a2911f85f1931ea1a45bbb391ce411 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 31 Oct 2018 12:05:19 +0000 Subject: [PATCH 1/4] - Version update to 1.2.27: * Added AES-GCM support for OpenSSL and MSCNG (snargit). * Added DSA-SHA256 and ECDSA-SHA384 support for NSS (vmiklos). * Added RSA-OAEP support for MSCNG (vmiklos). * Continuous build integration in Travis and Appveyor. * Several other small fixes (more details). OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/xmlsec1?expand=0&rev=23 --- xmlsec1-1.2.26.tar.gz | 3 --- xmlsec1-1.2.27.tar.gz | 3 +++ xmlsec1.changes | 10 ++++++++++ xmlsec1.spec | 6 ++++-- 4 files changed, 17 insertions(+), 5 deletions(-) delete mode 100644 xmlsec1-1.2.26.tar.gz create mode 100644 xmlsec1-1.2.27.tar.gz diff --git a/xmlsec1-1.2.26.tar.gz b/xmlsec1-1.2.26.tar.gz deleted file mode 100644 index 3e33273..0000000 --- a/xmlsec1-1.2.26.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8d8276c9c720ca42a3b0023df8b7ae41a2d6c5f9aa8d20ed1672d84cc8982d50 -size 1922183 diff --git a/xmlsec1-1.2.27.tar.gz b/xmlsec1-1.2.27.tar.gz new file mode 100644 index 0000000..3bb4063 --- /dev/null +++ b/xmlsec1-1.2.27.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:97d756bad8e92588e6997d2227797eaa900d05e34a426829b149f65d87118eb6 +size 2013651 diff --git a/xmlsec1.changes b/xmlsec1.changes index 7a01fbd..5a8f6c3 100644 --- a/xmlsec1.changes +++ b/xmlsec1.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Oct 31 12:00:28 UTC 2018 - Tomáš Chvátal + +- Version update to 1.2.27: + * Added AES-GCM support for OpenSSL and MSCNG (snargit). + * Added DSA-SHA256 and ECDSA-SHA384 support for NSS (vmiklos). + * Added RSA-OAEP support for MSCNG (vmiklos). + * Continuous build integration in Travis and Appveyor. + * Several other small fixes (more details). + ------------------------------------------------------------------- Thu Aug 16 10:22:09 UTC 2018 - tchvatal@suse.com diff --git a/xmlsec1.spec b/xmlsec1.spec index b823d44..5e170eb 100644 --- a/xmlsec1.spec +++ b/xmlsec1.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -22,7 +22,7 @@ %global libgnutls libxmlsec1-gnutls1 %global libnss libxmlsec1-nss1 Name: xmlsec1 -Version: 1.2.26 +Version: 1.2.27 Release: 0 Summary: Library providing support for "XML Signature" and "XML Encryption" standards License: MIT @@ -32,6 +32,8 @@ Source0: http://www.aleksey.com/xmlsec/download/xmlsec1-%{version}.tar.gz Source99: xmlsec1-rpmlintrc BuildRequires: libgcrypt-devel BuildRequires: libtool +# Needed certutil for tests +BuildRequires: mozilla-nss-tools BuildRequires: pkgconfig BuildRequires: pkgconfig(gnutls) BuildRequires: pkgconfig(libxml-2.0) From 9925aeaa8a73eba824b38b39afc512aba46cb96e86d532dffec9af64a0b181c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 31 Oct 2018 13:23:23 +0000 Subject: [PATCH 2/4] - Drop the gnutls backend as based on the tests it is quite borked: * We still have nss and openssl backend for people to use OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/xmlsec1?expand=0&rev=24 --- xmlsec1.changes | 6 ++++++ xmlsec1.spec | 34 ---------------------------------- 2 files changed, 6 insertions(+), 34 deletions(-) diff --git a/xmlsec1.changes b/xmlsec1.changes index 5a8f6c3..ec4d20a 100644 --- a/xmlsec1.changes +++ b/xmlsec1.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Oct 31 13:21:31 UTC 2018 - Tomáš Chvátal + +- Drop the gnutls backend as based on the tests it is quite borked: + * We still have nss and openssl backend for people to use + ------------------------------------------------------------------- Wed Oct 31 12:00:28 UTC 2018 - Tomáš Chvátal diff --git a/xmlsec1.spec b/xmlsec1.spec index 5e170eb..8c7fa24 100644 --- a/xmlsec1.spec +++ b/xmlsec1.spec @@ -19,7 +19,6 @@ %global libname libxmlsec1-1 %global libopenssl libxmlsec1-openssl1 %global libgcrypt libxmlsec1-gcrypt1 -%global libgnutls libxmlsec1-gnutls1 %global libnss libxmlsec1-nss1 Name: xmlsec1 Version: 1.2.27 @@ -35,7 +34,6 @@ BuildRequires: libtool # Needed certutil for tests BuildRequires: mozilla-nss-tools BuildRequires: pkgconfig -BuildRequires: pkgconfig(gnutls) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(libxslt) BuildRequires: pkgconfig(nspr) @@ -65,15 +63,6 @@ Requires: %{libname} = %{version} GCrypt plugin for XML Security Library provides GCrypt based crypto services for the xmlsec library. -%package -n %{libgnutls} -Summary: GNUTls crypto plugin for XML Security Library -Group: System/Libraries -Requires: %{libname} = %{version} - -%description -n %{libgnutls} -GNUTls plugin for XML Security Library provides GNUTls based crypto services -for the xmlsec library. - %package -n %{libnss} Summary: NSS crypto plugin for XML Security Library Group: System/Libraries @@ -123,18 +112,6 @@ Requires: %{name}-devel = %{version} %description gcrypt-devel Libraries, includes, etc. for developing XML Security applications with GCrypt. -%package gnutls-devel -Summary: GNUTls crypto plugin for XML Security Library -Group: Development/Libraries/C and C++ -Requires: %{libgnutls} = %{version} -Requires: %{name}-devel = %{version} -Requires: %{name}-openssl-devel = %{version} -Requires: gnutls-devel >= 1.0.20 -Requires: libgcrypt-devel >= 1.2.0 - -%description gnutls-devel -Libraries, includes, etc. for developing XML Security applications with GNUTls. - %package nss-devel Summary: NSS crypto plugin for XML Security Library Group: Development/Libraries/C and C++ @@ -171,8 +148,6 @@ make %{?_smp_mflags} check check-keys check-dsig check-enc %postun -n %{libname} -p /sbin/ldconfig %post -n %{libgcrypt} -p /sbin/ldconfig %postun -n %{libgcrypt} -p /sbin/ldconfig -%post -n %{libgnutls} -p /sbin/ldconfig -%postun -n %{libgnutls} -p /sbin/ldconfig %post -n %{libnss} -p /sbin/ldconfig %postun -n %{libnss} -p /sbin/ldconfig %post -n %{libopenssl} -p /sbin/ldconfig @@ -193,11 +168,6 @@ make %{?_smp_mflags} check check-keys check-dsig check-enc %{_libdir}/libxmlsec1-gcrypt.so.* %{_libdir}/libxmlsec1-gcrypt.so -%files -n %{libgnutls} -%license COPYING -%{_libdir}/libxmlsec1-gnutls.so.* -%{_libdir}/libxmlsec1-gnutls.so - %files -n %{libnss} %license COPYING %{_libdir}/libxmlsec1-nss.so.* @@ -232,10 +202,6 @@ make %{?_smp_mflags} check check-keys check-dsig check-enc %{_includedir}/xmlsec1/xmlsec/gcrypt/ %{_libdir}/pkgconfig/xmlsec1-gcrypt.pc -%files gnutls-devel -%{_includedir}/xmlsec1/xmlsec/gnutls/ -%{_libdir}/pkgconfig/xmlsec1-gnutls.pc - %files nss-devel %{_includedir}/xmlsec1/xmlsec/nss/ %{_libdir}/pkgconfig/xmlsec1-nss.pc From 98e7a391dacc0a1efd10653e450d1266b713111b675c58e637b28eb41451175f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 7 Dec 2018 11:02:13 +0000 Subject: [PATCH 3/4] - Make sure to recommend at least one backend when you install just xmlsec1 OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/xmlsec1?expand=0&rev=25 --- xmlsec1.changes | 6 ++++++ xmlsec1.spec | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/xmlsec1.changes b/xmlsec1.changes index ec4d20a..26e47dd 100644 --- a/xmlsec1.changes +++ b/xmlsec1.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Dec 7 11:01:44 UTC 2018 - Tomáš Chvátal + +- Make sure to recommend at least one backend when you install + just xmlsec1 + ------------------------------------------------------------------- Wed Oct 31 13:21:31 UTC 2018 - Tomáš Chvátal diff --git a/xmlsec1.spec b/xmlsec1.spec index 8c7fa24..0f16172 100644 --- a/xmlsec1.spec +++ b/xmlsec1.spec @@ -39,6 +39,7 @@ BuildRequires: pkgconfig(libxslt) BuildRequires: pkgconfig(nspr) BuildRequires: pkgconfig(nss) BuildRequires: pkgconfig(openssl) +Recommends: %{libopenssl} %description XML Security Library is a C library based on LibXML2 and OpenSSL. @@ -129,7 +130,8 @@ Libraries, includes, etc. for developing XML Security applications with NSS. %build %configure \ --disable-static \ - --disable-silent-rules + --disable-silent-rules \ + --without-gcrypt make %{?_smp_mflags} %install From fa619a0ee86ce937e9d7e9883cca5390320bdacb1f7f69dddcc1c9c3628620bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 25 Apr 2019 09:20:24 +0000 Subject: [PATCH 4/4] - Update to 1.2.28: * Added BoringSSL support (chenbd). * Added gnutls-3.6.x support (alonbl). * Added DSA and ECDSA key size getter for MSCNG (vmiklos). * Added --enable-mans configuration option (alonbl). * Added coninuous build integration for MacOSX (vmiklos). * Several other small fixes (more details). OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/xmlsec1?expand=0&rev=26 --- xmlsec1-1.2.27.tar.gz | 3 --- xmlsec1-1.2.28.tar.gz | 3 +++ xmlsec1.changes | 11 +++++++++++ xmlsec1.spec | 41 +++++++++++++++++++++++++++++++++++++---- 4 files changed, 51 insertions(+), 7 deletions(-) delete mode 100644 xmlsec1-1.2.27.tar.gz create mode 100644 xmlsec1-1.2.28.tar.gz diff --git a/xmlsec1-1.2.27.tar.gz b/xmlsec1-1.2.27.tar.gz deleted file mode 100644 index 3bb4063..0000000 --- a/xmlsec1-1.2.27.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:97d756bad8e92588e6997d2227797eaa900d05e34a426829b149f65d87118eb6 -size 2013651 diff --git a/xmlsec1-1.2.28.tar.gz b/xmlsec1-1.2.28.tar.gz new file mode 100644 index 0000000..d7c9c89 --- /dev/null +++ b/xmlsec1-1.2.28.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:13eec4811ea30e3f0e16a734d1dbf7f9d246a71d540b48d143a07b489f6222d4 +size 1995599 diff --git a/xmlsec1.changes b/xmlsec1.changes index 26e47dd..0faeb93 100644 --- a/xmlsec1.changes +++ b/xmlsec1.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Thu Apr 25 09:13:57 UTC 2019 - Tomáš Chvátal + +- Update to 1.2.28: + * Added BoringSSL support (chenbd). + * Added gnutls-3.6.x support (alonbl). + * Added DSA and ECDSA key size getter for MSCNG (vmiklos). + * Added --enable-mans configuration option (alonbl). + * Added coninuous build integration for MacOSX (vmiklos). + * Several other small fixes (more details). + ------------------------------------------------------------------- Fri Dec 7 11:01:44 UTC 2018 - Tomáš Chvátal diff --git a/xmlsec1.spec b/xmlsec1.spec index 0f16172..5748946 100644 --- a/xmlsec1.spec +++ b/xmlsec1.spec @@ -1,7 +1,7 @@ # # spec file for package xmlsec1 # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -19,9 +19,10 @@ %global libname libxmlsec1-1 %global libopenssl libxmlsec1-openssl1 %global libgcrypt libxmlsec1-gcrypt1 +%global libgnutls libxmlsec1-gnutls1 %global libnss libxmlsec1-nss1 Name: xmlsec1 -Version: 1.2.27 +Version: 1.2.28 Release: 0 Summary: Library providing support for "XML Signature" and "XML Encryption" standards License: MIT @@ -34,6 +35,7 @@ BuildRequires: libtool # Needed certutil for tests BuildRequires: mozilla-nss-tools BuildRequires: pkgconfig +BuildRequires: pkgconfig(gnutls) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(libxslt) BuildRequires: pkgconfig(nspr) @@ -64,6 +66,15 @@ Requires: %{libname} = %{version} GCrypt plugin for XML Security Library provides GCrypt based crypto services for the xmlsec library. +%package -n %{libgnutls} +Summary: GNUTls crypto plugin for XML Security Library +Group: System/Libraries +Requires: %{libname} = %{version} + +%description -n %{libgnutls} +GNUTls plugin for XML Security Library provides GNUTls based crypto services +for the xmlsec library. + %package -n %{libnss} Summary: NSS crypto plugin for XML Security Library Group: System/Libraries @@ -113,6 +124,18 @@ Requires: %{name}-devel = %{version} %description gcrypt-devel Libraries, includes, etc. for developing XML Security applications with GCrypt. +%package gnutls-devel +Summary: GNUTls crypto plugin for XML Security Library +Group: Development/Libraries/C and C++ +Requires: %{libgnutls} = %{version} +Requires: %{name}-devel = %{version} +Requires: %{name}-openssl-devel = %{version} +Requires: gnutls-devel >= 1.0.20 +Requires: libgcrypt-devel >= 1.2.0 + +%description gnutls-devel +Libraries, includes, etc. for developing XML Security applications with GNUTls. + %package nss-devel Summary: NSS crypto plugin for XML Security Library Group: Development/Libraries/C and C++ @@ -130,8 +153,7 @@ Libraries, includes, etc. for developing XML Security applications with NSS. %build %configure \ --disable-static \ - --disable-silent-rules \ - --without-gcrypt + --disable-silent-rules make %{?_smp_mflags} %install @@ -150,6 +172,8 @@ make %{?_smp_mflags} check check-keys check-dsig check-enc %postun -n %{libname} -p /sbin/ldconfig %post -n %{libgcrypt} -p /sbin/ldconfig %postun -n %{libgcrypt} -p /sbin/ldconfig +%post -n %{libgnutls} -p /sbin/ldconfig +%postun -n %{libgnutls} -p /sbin/ldconfig %post -n %{libnss} -p /sbin/ldconfig %postun -n %{libnss} -p /sbin/ldconfig %post -n %{libopenssl} -p /sbin/ldconfig @@ -170,6 +194,11 @@ make %{?_smp_mflags} check check-keys check-dsig check-enc %{_libdir}/libxmlsec1-gcrypt.so.* %{_libdir}/libxmlsec1-gcrypt.so +%files -n %{libgnutls} +%license COPYING +%{_libdir}/libxmlsec1-gnutls.so.* +%{_libdir}/libxmlsec1-gnutls.so + %files -n %{libnss} %license COPYING %{_libdir}/libxmlsec1-nss.so.* @@ -204,6 +233,10 @@ make %{?_smp_mflags} check check-keys check-dsig check-enc %{_includedir}/xmlsec1/xmlsec/gcrypt/ %{_libdir}/pkgconfig/xmlsec1-gcrypt.pc +%files gnutls-devel +%{_includedir}/xmlsec1/xmlsec/gnutls/ +%{_libdir}/pkgconfig/xmlsec1-gnutls.pc + %files nss-devel %{_includedir}/xmlsec1/xmlsec/nss/ %{_libdir}/pkgconfig/xmlsec1-nss.pc