代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/nettle 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: nettle
Version: 3.8.1
Release: 1
Summary: A low-level cryptographic library
License: LGPLv3+ or GPLv2+
URL: https://www.lysator.liu.se/~nisse/nettle/
Source0: https://www.lysator.liu.se/~nisse/archive/%{name}-%{version}.tar.gz
Patch0: 0000-nettle-3.3-remove-ecc-testsuite.patch
BuildRequires: automake autoconf fipscheck gcc gettext-devel gmp-devel libtool m4
%description
Nettle is a cryptographic library designed to fit any context:
in crypto toolkits for object-oriented languages, in applications
like LSH or GnuPG, or even in kernel space.
%package devel
Summary: Development headers for %{name} package
Requires: %{name} = %{version}-%{release} gmp-devel
%description devel
The devel for %{name}
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
sed s/ggdb3/g/ -i configure
sed 's/ecc-secp192r1.c//g' -i Makefile.in
sed 's/ecc-secp224r1.c//g' -i Makefile.in
%build
autoreconf -ifv
%configure --enable-shared --enable-fat
%make_build
%install
%make_install
make install-shared
install -D -p -m0644 nettle.info "$RPM_BUILD_ROOT%{_infodir}/nettle.info"
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
chmod 0755 $RPM_BUILD_ROOT%{_libdir}/libnettle.so.8.*
chmod 0755 $RPM_BUILD_ROOT%{_libdir}/libhogweed.so.6.*
%check
make check
%files
%defattr(-,root,root)
%doc AUTHORS descore.README nettle.pdf
%license COPYINGv2 COPYINGv3 COPYING.LESSERv3
%{_infodir}/nettle.info.gz
%{_libdir}/libnettle.so.8*
%{_libdir}/libhogweed.so.6*
%exclude %{_bindir}/*
%files devel
%defattr(-,root,root)
%{_includedir}/nettle/
%{_libdir}/libnettle.so
%{_libdir}/libhogweed.so
%{_libdir}/pkgconfig/*
%files help
%defattr(-,root,root)
%doc NEWS README
%doc nettle.html
%ldconfig_scriptlets
%changelog
* Mon Oct 31 2022 gaihuiying <eaglegai@163.com> - 3.8.1-1
- Type:requirement
- Id:NA
- SUG:NA
- DESC:update to release-3.8.1
* Wed Mar 23 2022 xingwei <xingwei14@h-partners.com> - 3.7.3-2
- Type:bugfix
- Id:NA
- SUG:restart
- DESC:delete useless so file
* Sat Dec 04 2021 yanglu <yanglu72@huawei.com> - 3.7.3-1
- Type:requirements
- Id:NA
- SUG:NA
- DESC:update nettle to 3.7.3
* Mon Aug 16 2021 gaihuiying <gaihuiying1@huawei.com> - 3.6-7
- Type:CVE
- CVE:CVE-2021-3580
- SUG:NA
- DESC:fix CVE-2021-3580
* Mon Apr 19 2021 xihaochen <xihaochen@huawei.com> - 3.6-6
- Type:CVE
- CVE:CVE-2021-20305
- SUG:NA
- DESC:fix CVE-2021-20305
* Tue Jul 21 2020 cuibaobao <cuibaobao1@huawei.com> - 3.6-5
- Type:update
- Id:NA
- SUG:NA
- DESC:update to 3.6
* Mon Oct 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.4.1rc1-4
- Type:enhancement
- Id:NA
- SUG:NA
- DESC:add COPYINGv3 in license
* Wed Sep 04 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.4.1rc1-3
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。