Import from AlmaLinux stable repository

This commit is contained in:
eabdullin 2024-05-15 08:51:45 +00:00
parent 3ff149534b
commit f73a44c8f9
3 changed files with 16 additions and 4 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/rng-tools-6.15.tar.gz SOURCES/rng-tools-6.16.tar.gz

View File

@ -1 +1 @@
f8720f7aaef3f5ca0d63cf7b88d0de802a358ae0 SOURCES/rng-tools-6.15.tar.gz 8487beef3dfc81bc0cef48b0e160996009ccbc4f SOURCES/rng-tools-6.16.tar.gz

View File

@ -11,8 +11,8 @@
Summary: Random number generator related utilities Summary: Random number generator related utilities
Name: rng-tools Name: rng-tools
Version: 6.15 Version: 6.16
Release: 3%{?dist} Release: 1%{?dist}
License: GPLv2+ License: GPLv2+
URL: https://github.com/nhorman/rng-tools URL: https://github.com/nhorman/rng-tools
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
@ -33,6 +33,7 @@ BuildRequires: rtl-sdr-devel
%endif %endif
%if %{with pkcs11} %if %{with pkcs11}
BuildRequires: libp11-devel BuildRequires: libp11-devel
Suggests: opensc
%endif %endif
Requires(post): systemd Requires(post): systemd
@ -63,6 +64,12 @@ TPM, jitter) and supplies entropy from them to a kernel entropy pool.
%endif %endif
./autogen.sh ./autogen.sh
# a dirty hack to force PIC for a PIC-aware assembly code for i686
# /usr/lib/rpm/redhat/redhat-hardened-cc1 in Koji/Brew does not
# force PIC for assembly sources as of now
%ifarch i386 i686
sed -i -e '/^#define RDRAND_RETRY_LIMIT\t10/a#define __PIC__ 1' rdrand_asm.S
%endif
# a dirty hack so libdarn_impl_a_CFLAGS overrides common CFLAGS # a dirty hack so libdarn_impl_a_CFLAGS overrides common CFLAGS
sed -i -e 's/$(libdarn_impl_a_CFLAGS) $(CFLAGS)/$(CFLAGS) $(libdarn_impl_a_CFLAGS)/' Makefile.in sed -i -e 's/$(libdarn_impl_a_CFLAGS) $(CFLAGS)/$(CFLAGS) $(libdarn_impl_a_CFLAGS)/' Makefile.in
%configure %{?_without_pkcs11} %{?_without_rtlsdr} %configure %{?_without_pkcs11} %{?_without_rtlsdr}
@ -97,6 +104,11 @@ install -D %{SOURCE2} -m0644 %{buildroot}%{_sysconfdir}/sysconfig/rngd
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/sysconfig/rngd %config(noreplace) %attr(0644,root,root) %{_sysconfdir}/sysconfig/rngd
%changelog %changelog
* Thu Mar 02 2023 Vladis Dronov <vdronov@redhat.com> - 6.16-1
- Update to the upstream v6.16 + tip of origin/master @ 0e560296 (bz 2174916)
- Get rid of text relocations in -fPIE build
- Add a hint for opensc package (bz 1845854)
* Tue Dec 27 2022 Vladis Dronov <vdronov@redhat.com> - 6.15-3 * Tue Dec 27 2022 Vladis Dronov <vdronov@redhat.com> - 6.15-3
- Update to the upstream v6.15 + tip of origin/master @ cb8cc624 (bz 2156554) - Update to the upstream v6.15 + tip of origin/master @ cb8cc624 (bz 2156554)
- Fix a number of issues found by covscan code scanner - Fix a number of issues found by covscan code scanner