Update to new upstream release 1.2.20

- This release fixes a number of miscellaneous bugs and updates expired or
  soon-to-be-expired certificates in the test suite.
- Also drops the no-ecdsa patch
This commit is contained in:
Simo Sorce 2014-09-19 09:50:55 -04:00
parent 4b3ac45760
commit 07b57d131b
4 changed files with 10 additions and 30 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ xmlsec1-1.2.16.tar.gz
/xmlsec1-1.2.17.tar.gz
/xmlsec1-1.2.18.tar.gz
/xmlsec1-1.2.19.tar.gz
/xmlsec1-1.2.20.tar.gz

View File

@ -1 +1 @@
fe664ba5f01ebfaeb0ab5deeb0b2249e xmlsec1-1.2.19.tar.gz
ce12af00283eb90d9281956524250d6e xmlsec1-1.2.20.tar.gz

View File

@ -1,25 +0,0 @@
--- configure.in.old 2013-03-25 20:12:45.641324517 +0800
+++ configure.in 2013-03-25 20:16:55.455082932 +0800
@@ -508,6 +508,22 @@
fi
if test "z$OPENSSL_FOUND" = "zyes" ; then
+ dnl Check availability of ECDSA
+ OLD_CPPFLAGS=$CPPFLAGS
+ CPPFLAGS="$OPENSSL_CFLAGS"
+
+ AC_EGREP_CPP(yes,[
+ #include <openssl/opensslconf.h>
+ #ifdef OPENSSL_NO_ECDSA
+ yes
+ #endif
+ ],[
+ OPENSSL_CFLAGS="$OPENSSL_CFLAGS -DXMLSEC_NO_ECDSA=1"
+ ])
+ CPPFLAGS=$OLD_CPPFLAGS
+fi
+
+if test "z$OPENSSL_FOUND" = "zyes" ; then
XMLSEC_NO_OPENSSL="0"
if test "z$OPENSSL_VERSION" = "z0.9.6" ; then
OPENSSL_CFLAGS="$OPENSSL_CFLAGS -DXMLSEC_OPENSSL_096=1 -DXMLSEC_NO_ECDSA=1"

View File

@ -1,7 +1,7 @@
Summary: Library providing support for "XML Signature" and "XML Encryption" standards
Name: xmlsec1
Version: 1.2.19
Release: 6%{?dist}%{?extra_release}
Version: 1.2.20
Release: 1%{?dist}%{?extra_release}
License: MIT
Group: System Environment/Libraries
Source0: http://www.aleksey.com/xmlsec/download/xmlsec1-%{version}.tar.gz
@ -15,7 +15,6 @@ BuildRequires: gnutls-devel >= 1.0.20
BuildRequires: nss-devel >= 3.2
BuildRequires: nspr-devel
BuildRequires: libtool-ltdl-devel
Patch1: xmlsec1-1.2.19-openssl-no-ecdsa.patch
# extra build deps needed for autoreconf after above patch
BuildRequires: autoconf
BuildRequires: automake
@ -123,7 +122,6 @@ Libraries, includes, etc. for developing XML Security applications with NSS.
%prep
%setup -q
%patch1 -p0
%build
autoreconf -if
@ -214,6 +212,12 @@ rm -fr ${RPM_BUILD_ROOT}
%{_libdir}/pkgconfig/xmlsec1-nss.pc
%changelog
* Fri Sep 19 2014 Simo Sorce <simo@redhat.com> - 1.2.20-1
- Update to new upstream release 1.2.20
- This release fixes a number of miscellaneous bugs and updates expired or
soon-to-be-expired certificates in the test suite.
- Also drops the no-ecdsa patch
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.19-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild