Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
libnettle
libnettle.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libnettle.spec of Package libnettle
# # spec file for package libnettle # # Copyright (c) 2021 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define soname 4 %define hogweed_soname 2 Name: libnettle Version: 2.7.1 Release: 0 Summary: Cryptographic Library License: GPL-2.0-or-later AND LGPL-2.1-or-later Group: System/Libraries URL: http://www.lysator.liu.se/~nisse/nettle/ Source0: http://www.lysator.liu.se/~nisse/archive/nettle-%{version}.tar.gz Source1: http://www.lysator.liu.se/~nisse/archive/nettle-%{version}.tar.gz.sig Source2: %{name}.keyring Source3: baselibs.conf Patch0: CVE-2015-8805.patch Patch1: CVE-2015-8804.patch # PATCH-FIX-UPSTREAM bsc#991464 pmonrealgonzalez@suse.com -- RSA code is vulnerable to cache-timing related attacks Patch2: nettle-CVE-2016-6489.patch # PATCH-FIX-UPSTREAM bsc#1184401 CVE-2021-20305 Multiply function being called with out-of-range scalars Patch3: libnettle-CVE-2021-20305.patch # PATCH-FIX-UPSTREAM CVE-2021-3580 bsc#1187060 Remote crash in RSA decryption Patch4: libnettle-CVE-2021-3580.patch BuildRequires: gmp-devel BuildRequires: makeinfo BuildRequires: pkgconfig Requires(post): %{install_info_prereq} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Nettle is a cryptographic library that is designed to fit easily in more or less any context: In crypto toolkits for object-oriented languages (C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space. %package -n libnettle%{soname} Summary: Cryptographic Library License: LGPL-2.1-or-later Group: System/Libraries %description -n libnettle%{soname} Nettle is a cryptographic library that is designed to fit easily in more or less any context: In crypto toolkits for object-oriented languages (C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space. %package -n libhogweed%{hogweed_soname} Summary: Cryptographic Library for Public Key Algorithms License: LGPL-2.1-or-later Group: System/Libraries %description -n libhogweed%{hogweed_soname} Nettle is a cryptographic library that is designed to fit easily in more or less any context: In crypto toolkits for object-oriented languages (C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space. The libhogweed library contains public key algorithms to use with libnettle. %package -n libnettle-devel Summary: Cryptographic Library License: LGPL-2.1-or-later Group: Development/Libraries/C and C++ Requires: glibc-devel Requires: gmp-devel Requires: libhogweed%{hogweed_soname} = %{version} Requires: libnettle%{soname} = %{version} %description -n libnettle-devel Nettle is a cryptographic library that is designed to fit easily in more or less any context: In crypto toolkits for object-oriented languages (C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space. %package -n nettle Summary: Cryptographic Tools License: GPL-2.0-or-later AND LGPL-2.1-or-later Group: Productivity/Security %description -n nettle Nettle is a cryptographic library that is designed to fit easily in more or less any context: In crypto toolkits for object-oriented languages (C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space. This package contains a few command-line tools to perform cryptographic operations using the nettle library. %prep %setup -q -n nettle-%{version} %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %build %configure make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install %{?_smp_mflags} # Not during configure as tests use it rm -f %{buildroot}%{_libdir}/*.a %post -n libnettle%{soname} -p /sbin/ldconfig %postun -n libnettle%{soname} -p /sbin/ldconfig %post -n libhogweed%{hogweed_soname} -p /sbin/ldconfig %postun -n libhogweed%{hogweed_soname} -p /sbin/ldconfig %post -n libnettle-devel %install_info --info-dir="%{_infodir}" "%{_infodir}"/nettle.info%{ext_info} %postun -n libnettle-devel %install_info_delete --info-dir="%{_infodir}" "%{_infodir}"/nettle.info%{ext_info} %check make check %{?_smp_mflags} %files -n libnettle%{soname} %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING* NEWS README TODO %{_libdir}/libnettle.so.%{soname} %{_libdir}/libnettle.so.%{soname}.* %files -n libhogweed%{hogweed_soname} %defattr(-,root,root) %{_libdir}/libhogweed.so.%{hogweed_soname} %{_libdir}/libhogweed.so.%{hogweed_soname}.* %files -n libnettle-devel %defattr(-,root,root) %{_includedir}/nettle %{_libdir}/libnettle.so %{_libdir}/libhogweed.so %{_infodir}/nettle.info%{ext_info} %{_libdir}/pkgconfig/hogweed.pc %{_libdir}/pkgconfig/nettle.pc %files -n nettle %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING* NEWS README TODO %{_bindir}/nettle-lfib-stream %{_bindir}/pkcs1-conv %{_bindir}/sexp-conv %{_bindir}/nettle-hash %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