diff --git a/libgcrypt.changes b/libgcrypt.changes index d2d00cb..d2be824 100644 --- a/libgcrypt.changes +++ b/libgcrypt.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sat Dec 19 12:58:20 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source +- disable the use of hand-coded assembler functions on sparc - + this is giving me an infinite loop with ./tests/prime + (specifically ./sparc32v8/mpih-mul1.S:_gcry_mpih_mul_1. + Fedora disables this too. + ------------------------------------------------------------------- Tue Apr 7 15:45:06 CEST 2009 - crrodriguez@suse.de diff --git a/libgcrypt.spec b/libgcrypt.spec index 7c126b6..c01f578 100644 --- a/libgcrypt.spec +++ b/libgcrypt.spec @@ -1,7 +1,7 @@ # # spec file for package libgcrypt (Version 1.4.4) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 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 @@ -22,12 +22,13 @@ Name: libgcrypt BuildRequires: libgpg-error-devel Url: http://www.gnu.org/directory/Security/libgcrypt.html Version: 1.4.4 -Release: 1 +Release: 2 Summary: The GNU Crypto Library -License: GPL v2 or later; LGPL v2.1 or later +License: GPLv2+ ; LGPLv2.1+ Group: Development/Libraries/C and C++ AutoReqProv: on Source: %name-%version.tar.bz2 +Source2: baselibs.conf Patch0: %name-ppc64.patch Patch1: libgcrypt-strict-aliasing.patch Patch2: libgcrypt-1.4.4-mpicheck.patch @@ -52,7 +53,7 @@ Authors: Timo Schulz %package -n libgcrypt11 -License: GPL v2 or later; LGPL v2.1 or later +License: GPLv2+ ; LGPLv2.1+ Summary: The GNU Crypto Library Group: Development/Libraries/C and C++ # bug437293 @@ -82,7 +83,7 @@ Authors: Timo Schulz %package devel -License: GNU Free Documentation License, Version 1.1 (GFDL 1.1); GPL v2 or later; LGPL v2.1 or later; X11/MIT +License: GFDLv1.1 ; GPLv2+ ; LGPLv2.1+ ; MIT Summary: The GNU Crypto Library Group: Development/Libraries/C and C++ Requires: libgcrypt11 = %version libgpg-error-devel @@ -131,6 +132,9 @@ autoreconf -fi %configure --with-pic --libdir=/%{_lib} \ --enable-noexecstack \ --disable-static \ +%ifarch %sparc + --disable-asm \ +%endif --enable-ciphers="$ENABLE_CIPHER" \ --enable-pubkey-ciphers="$ENABLE_PUBKEY" \ --enable-digests="$ENABLE_DIGEST" @@ -180,136 +184,3 @@ rm -rf $RPM_BUILD_ROOT %_datadir/aclocal/libgcrypt.m4 %changelog -* Tue Apr 07 2009 crrodriguez@suse.de -- update to version 1.4.4 - * Publish GCRY_MODULE_ID_USER and GCRY_MODULE_ID_USER_LAST constants. - This functionality has been in Libgcrypt since 1.3.0. - * MD5 may now be used in non-enforced fips mode. - * Fixed HMAC for SHA-384 and SHA-512 with keys longer than 64 bytes. - * In fips mode, RSA keys are now generated using the X9.31 algorithm - and DSA keys using the FIPS 186-2 algorithm. - * The transient-key flag is now also supported for DSA key - generation. DSA domain parameters may be given as well. -* Thu Jan 29 2009 olh@suse.de -- obsolete libgcrypt-error-XXbit in the library subpackage -* Wed Dec 10 2008 olh@suse.de -- use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade - (bnc#437293) -* Tue Nov 11 2008 mkoenig@suse.de -- build rijndael.c with -fno-strict-aliasing [bnc#443693] -* Thu Oct 30 2008 olh@suse.de -- obsolete old -XXbit packages (bnc#437293) -* Mon Jun 30 2008 mkoenig@suse.de -- update to version 1.4.1 - * Fixed a bug which led to the comsumption of far too much - entropy for the intial seeding - * Improved AES performance for CFB and CBC modes -* Sun May 11 2008 coolo@suse.de -- fix rename of xxbit packages -* Thu Apr 10 2008 ro@suse.de -- added baselibs.conf file to build xxbit packages - for multilib support -* Thu Jan 17 2008 mkoenig@suse.de -- update to version 1.4.0: - * The entire library is now under the LGPL. The helper programs and - the manual are under the GPL - * New control code GCRYCTL_PRINT_CONFIG - * Experimental support for ECDSA - * Assembler support for the AMD64 architecture - * Non executable stack support is now used by default - * New configure option --enable-random-daemon - * The new function gcry_md_debug should be used instead of the - gcry_md_start_debug and gcry_md_stop_debug macros. - * Support for DSA2 - * Reserved algorithm ranges for use by applications - * gcry_mpi_rshift does not anymore truncate the shift count - * Support for OFB encryption mode - * Support for the Camellia cipher - * Support for the SEED cipher - * Support for SHA-224 and HMAC using SHA-384 and SHA-512 - * Reading and writing the random seed file is now protected by a - fcntl style file lock - * Made the RNG immune against fork without exec - * Changed the way the RNG gets initialized - * The ASN.1 DER template for SHA-224 has been fixed - * The ACE engine of VIA processors is now used for AES-128 -- changed package layout to conform shlib policy: - new subpackage libgcrypt11 -- disable static library -- for reference: bugzilla entry of last change #304749 -* Thu Sep 13 2007 ltinkl@suse.cz -- add sanity check for mpi of size 0 (#304479) -* Mon Feb 05 2007 mkoenig@suse.de -- update to version 1.2.4: - * Fixed a bug in the memory allocator which could have been the - reason for some of non-duplicable bugs. - * Other minor bug fixes. -* Wed Dec 13 2006 mkoenig@suse.de -- get rid of .la file and fix devel so link -* Tue Dec 05 2006 mkoenig@suse.de -- move shared lib to /%%_lib -* Thu Aug 31 2006 mkoenig@suse.de -- update to version 1.2.3: - * Rewrote gcry_mpi_rshift to allow arbitrary shift counts. - * Minor bug fixes. -- added libgpg-error-devel and glibc-devel to Requires tag - of devel subpackage -* Wed Jan 25 2006 mls@suse.de -- converted neededforbuild to BuildRequires -* Wed Nov 02 2005 hvogel@suse.de -- enable noexecstack -- build ac.c with fno-strict-aliasing -* Tue Oct 25 2005 hvogel@suse.de -- update to version 1.2.2 -* Thu Jun 23 2005 hvogel@suse.de -- call install_info macro in post/postun of the devel package -- depend on libgcrypt -- add clean section -* Tue Jan 18 2005 hvogel@suse.de -- update to version 1.2.1 -* Tue Jan 11 2005 schwab@suse.de -- Fix info dir entry. -* Wed Nov 17 2004 hvogel@suse.de -- require libgpg-error-devel (Bug #48271) -- get rid of the NLD parts -* Wed Jul 14 2004 adrian@suse.de -- create -devel subpackage -- prepare for nld -* Wed May 19 2004 hvogel@suse.de -- update to version 1.2.0 -* Mon Mar 22 2004 meissner@suse.de -- disable make check, because it uses /dev/random whihc is - not filled on some server machines. -* Wed Mar 17 2004 meissner@suse.de -- fixed too over enthusiastic powerpc switches to make it work - on ppc64. (It compiled before, but did not work). -- enabled make check. -* Wed Feb 18 2004 kukuk@suse.de -- Build against system pthread library, not pth. -* Tue Feb 17 2004 hvogel@suse.de -- update to version 1.1.91 -- fix autoconf quotations -* Sat Jan 10 2004 adrian@suse.de -- add %%run_ldconfig to %%postun -* Sun Jul 27 2003 poeml@suse.de -- add libgcrypt-1.1.12-sexp-valgrind-error.patch from SLEC -* Thu Apr 24 2003 ro@suse.de -- fix install_info --delete call and move from preun to postun -* Mon Feb 10 2003 mmj@suse.de -- Use %%install_info macro [#23433] -* Mon Feb 10 2003 mc@suse.de -- switch to version 1.1.12 -- gcry_pk_sign, gcry_pk_verify and gcry_pk_encrypt can now handle an - optional pkcs1 flags parameter in the S-expression. A similar flag - may be passed to gcry_pk_decrypt but it is only syntactically - implemented. -- New convenience macro gcry_md_get_asnoid. -- There is now some real stuff in the manual. -- New algorithm: MD4 -- Implemented ciphertext stealing. -- Support for plain old DES -- Smaller bugs fixes and a few new OIDs. -* Tue Jan 14 2003 nadvornik@suse.cz -- fixed multi-line string literals -* Thu Aug 01 2002 poeml@suse.de -- create package