From 57f4d9fa3fcd91372b1a81be44914386746b9f2fcf0341436a7065bb2b1e8858 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= Date: Sun, 2 Oct 2011 18:44:43 +0000 Subject: [PATCH] Accepting request 86107 from home:elvigia:branches:devel:libraries:c_c++ - Update to version 1.5.0, most important changes * Uses the Intel AES-NI instructions if available * Support ECDH. OBS-URL: https://build.opensuse.org/request/show/86107 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgcrypt?expand=0&rev=4 --- libgcrypt-1.4.4-mpicheck.patch | 13 ------------- libgcrypt-1.4.6.tar.bz2 | 3 --- libgcrypt-1.5.0.tar.bz2 | 3 +++ libgcrypt.changes | 7 +++++++ libgcrypt.spec | 19 +++++++++---------- 5 files changed, 19 insertions(+), 26 deletions(-) delete mode 100644 libgcrypt-1.4.4-mpicheck.patch delete mode 100644 libgcrypt-1.4.6.tar.bz2 create mode 100644 libgcrypt-1.5.0.tar.bz2 diff --git a/libgcrypt-1.4.4-mpicheck.patch b/libgcrypt-1.4.4-mpicheck.patch deleted file mode 100644 index 8c678bd..0000000 --- a/libgcrypt-1.4.4-mpicheck.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: mpi/mpicoder.c -=================================================================== ---- mpi/mpicoder.c.orig 2008-12-05 08:57:37.000000000 +0100 -+++ mpi/mpicoder.c 2009-04-07 15:35:15.000000000 +0200 -@@ -49,7 +49,7 @@ mpi_read_from_buffer (const unsigned cha - else if( !nbits ) - { - /* log_debug ("an mpi of size 0 is not allowed\n"); */ -- goto leave; -+ /* goto leave; */ - } - buffer += 2; - nread = 2; diff --git a/libgcrypt-1.4.6.tar.bz2 b/libgcrypt-1.4.6.tar.bz2 deleted file mode 100644 index d1d8274..0000000 --- a/libgcrypt-1.4.6.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3e4b30da6b357b565333d0222133b64a0414be99ba72733081165c8ea9bc6b85 -size 1151877 diff --git a/libgcrypt-1.5.0.tar.bz2 b/libgcrypt-1.5.0.tar.bz2 new file mode 100644 index 0000000..42b52f4 --- /dev/null +++ b/libgcrypt-1.5.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b62fc516004940a0571025401a0581d49199f1a76dfb5ce6fd63f50db8173fa +size 1433506 diff --git a/libgcrypt.changes b/libgcrypt.changes index 544c57c..fc0d63e 100644 --- a/libgcrypt.changes +++ b/libgcrypt.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Oct 2 18:38:28 UTC 2011 - crrodriguez@opensuse.org + +- Update to version 1.5.0, most important changes + * Uses the Intel AES-NI instructions if available + * Support ECDH. + ------------------------------------------------------------------- Fri Nov 19 09:59:41 UTC 2010 - mvyskocil@suse.cz diff --git a/libgcrypt.spec b/libgcrypt.spec index f00f70d..1b564cd 100644 --- a/libgcrypt.spec +++ b/libgcrypt.spec @@ -1,7 +1,7 @@ # -# spec file for package libgcrypt (Version 1.4.6) +# spec file for package libgcrypt # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,7 +21,7 @@ Name: libgcrypt BuildRequires: libgpg-error-devel Url: http://www.gnu.org/directory/Security/libgcrypt.html -Version: 1.4.6 +Version: 1.5.0 Release: 1 Summary: The GNU Crypto Library License: GPLv2+ ; LGPLv2.1+ @@ -31,7 +31,6 @@ Source: %name-%version.tar.bz2 Source2: baselibs.conf Patch0: %name-ppc64.patch Patch1: libgcrypt-strict-aliasing.patch -Patch2: libgcrypt-1.4.4-mpicheck.patch Patch3: libgcrypt-1.4.1-rijndael_no_strict_aliasing.patch Patch4: libgcrypt-sparcv9.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -119,7 +118,6 @@ Authors: %setup -q -n libgcrypt-%version %patch0 -p1 %patch1 -%patch2 %patch3 -p1 %patch4 -p1 @@ -158,17 +156,17 @@ mkdir -p $RPM_BUILD_ROOT%_libdir %clean rm -rf $RPM_BUILD_ROOT -%post -n libgcrypt11 -/sbin/ldconfig +%post -n libgcrypt11 -p /sbin/ldconfig -%postun -n libgcrypt11 -/sbin/ldconfig +%postun -n libgcrypt11 -p /sbin/ldconfig %post devel %install_info --info-dir=%{_infodir} %{_infodir}/gcrypt.info.gz +%install_info --info-dir=%{_infodir} %{_infodir}/gcrypt-1.info.gz %postun devel %install_info_delete --info-dir=%{_infodir} %{_infodir}/gcrypt.info.gz +%install_info_delete --info-dir=%{_infodir} %{_infodir}/gcrypt-1.info.gz %files -n libgcrypt11 %defattr(-,root,root) @@ -177,7 +175,8 @@ rm -rf $RPM_BUILD_ROOT %files devel %defattr(-,root,root) -%doc %_infodir/gcrypt.info.gz +%_infodir/gcrypt.info.gz +%_infodir/gcrypt.info-1.gz %_bindir/dumpsexp %_bindir/hmac256 %_bindir/libgcrypt-config