Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
compat-libgcrypt11
compat-libgcrypt11.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File compat-libgcrypt11.spec of Package compat-libgcrypt11
# # spec file for package libgcrypt # # Copyright (c) 2014 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # 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/ # # norootforbuild Name: compat-libgcrypt11 BuildRequires: automake BuildRequires: libtool BuildRequires: libgpg-error-devel >= 1.10 Url: http://www.gnu.org/directory/Security/libgcrypt.html Version: 1.5.0 Release: 0.<RELEASE17> Summary: The GNU Crypto Library License: GPL-2.0+ and LGPL-2.1+ Group: Development/Libraries/C and C++ AutoReqProv: on Source0: libgcrypt-%version.tar.bz2 Source1: libgcrypt-%version.tar.bz2.sig Source2: baselibs.conf Source3: compat-libgcrypt11-rpmlintrc Patch0: libgcrypt-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 Patch5: libgcrypt-1.5.0-as-needed.patch # PATCH-FIX-SUSE: bnc#712416 see comment#10 for details Patch6: libgcrypt-revert-caf44808.patch Patch7: libgcrypt-1.5.0-LIBGCRYPT_FORCE_FIPS_MODE-env.diff Patch8: libgcrypt-1.5.0-etc_gcrypt_rngseed-symlink.diff # PATCH-FIX-UPSTREAM: bnc#831359 Patch9: libgcrypt-CVE-2013-4242.patch Patch10: libgcrypt-CVE-2014-5270.patch Patch11: libgcrypt-CVE-2014-3591.patch Patch12: libgcrypt-CVE-2015-0837-1.patch Patch13: libgcrypt-CVE-2015-0837-2.patch Patch14: libgcrypt-CVE-2015-0837-3.patch Patch15: libgcrypt-CVE-2016-6313-1.patch Patch16: libgcrypt-CVE-2016-6313-2.patch #PATCH-FIX-UPSTREAM -- pmonrealgonzalez@suse.com bsc#1046607 Hardening against local side-channel attack Patch17: libgcrypt-CVE-2017-7526-1.5.0-1.patch Patch18: libgcrypt-CVE-2017-7526-1.5.0-2.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %ifnarch ia64 ppc64 s390 s390x Requires: haveged %endif # ifnarch ... only x86_64 and i586 so far... # bug437293 %ifarch ppc64 Obsoletes: libgcrypt-64bit %endif # # libgcrypt last used in 10.3 Obsoletes: libgcrypt < %{version} Provides: libgcrypt = %{version} %description Libgcrypt is a general purpose crypto library based on the code used in GnuPG (alpha version). %prep %setup -q -n libgcrypt-%version %patch0 -p1 %patch1 ##%patch2 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p0 %patch8 -p0 %patch9 -p1 %patch10 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p1 %patch14 -p1 %patch15 -p1 %patch16 -p1 %patch17 -p1 %patch18 -p1 %build # define ciphers to build ENABLE_CIPHER="arcfour blowfish cast5 des aes twofish serpent rfc2268 seed camellia" ENABLE_PUBKEY="dsa elgamal rsa ecc" ENABLE_DIGEST="crc md4 md5 rmd160 sha1 sha256 sha512 tiger whirlpool" # %{?suse_update_config} autoreconf -fi %configure --with-pic --libdir=/%{_lib} \ --enable-noexecstack \ --disable-static \ --enable-m-guard \ %ifarch %sparc --disable-asm \ %endif --enable-ciphers="$ENABLE_CIPHER" \ --enable-pubkey-ciphers="$ENABLE_PUBKEY"\ --enable-digests="$ENABLE_DIGEST" \ --enable-random=linux \ --without-capabilities \ --disable-aesni-support %{__make} %{?_smp_mflags} %check # Nice idea. however this uses /dev/random, which hangs # on hardware without random feeds. # make check %install make DESTDIR=$RPM_BUILD_ROOT install # rm $RPM_BUILD_ROOT/%{_lib}/libgcrypt.la mkdir -p $RPM_BUILD_ROOT%_libdir %{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/libgcrypt.so) %{buildroot}%{_libdir}/libgcrypt.so %{__rm} -v %{buildroot}/%{_lib}/libgcrypt.so # rm -rf $RPM_BUILD_ROOT/etc $RPM_BUILD_ROOT/usr/bin/* $RPM_BUILD_ROOT/usr/include $RPM_BUILD_ROOT/usr/share rm -f ${RPM_BUILD_ROOT}/%{_libdir}/libgcrypt.so %clean rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig %postun /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS COPYING COPYING.LIB ChangeLog NEWS README THANKS TODO /%_lib/libgcrypt.so.11* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor