Commit Graph

100 Commits

Author SHA1 Message Date
Troy Dawson
6801384572 Bump release for June 2024 mass rebuild 2024-06-24 09:22:18 -07:00
Vladis Dronov
1a706d856e Add Intel CET IBT instrumentation to assembly code
Update to the upstream v6.17 @ ac43f912

Resolves: RHEL-36771

Signed-off-by: Vladis Dronov <vdronov@redhat.com>
2024-06-19 15:36:19 +02:00
Vladis Dronov
2078169108 Update to the upstream v6.17 @ 2160b9c3
Resolves: RHEL-36771

Signed-off-by: Vladis Dronov <vdronov@redhat.com>
2024-06-05 17:12:13 +02:00
Vladis Dronov
5fb8f20f34 Update to the upstream v6.16 @ 98cf8d63
Resolves: RHEL-30639

Signed-off-by: Vladis Dronov <vdronov@redhat.com>
2024-03-30 21:18:55 +01:00
Vladis Dronov
93f911dc27 Use proper SPDX license identifiers
Signed-off-by: Vladis Dronov <vdronov@redhat.com>
2024-02-08 16:42:45 +01:00
Fedora Release Engineering
1f64a8204a Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 15:30:52 +00:00
Fedora Release Engineering
f1394647af Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 11:41:17 +00:00
Florian Weimer
fe32a19f90 Fix C compatibility issue in configure script
Related to:

  <https://fedoraproject.org/wiki/Changes/PortingToModernC>
  <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>
2023-12-19 10:35:56 +01:00
Fedora Release Engineering
afcfc3c0be Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 16:56:22 +00:00
Vladis Dronov
aed1fb4ff2 Update to the upstream v6.16 @ 0e560296
Add a hint for opensc package

Resolves: bz1845854
2023-02-02 21:45:51 +01:00
Vladis Dronov
805e2b6172 Get rid of text relocations in -fPIE build
Fedora build system forces a PIE build with -fPIE indirectly via gcc spec
/usr/lib/rpm/redhat/redhat-hardened-cc1. This does not work for assembly
sources, so a PIC-aware assembly code won't be built as PIC (PIE implies
PIC). rdrand_asm.S is PIC-aware in 32bit mode, so force PIC for it, fixing
the following build warning:

/usr/bin/ld: rdrand_asm.o: warning: relocation in read-only section `.text'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
2023-02-02 21:43:43 +01:00
Fedora Release Engineering
6aa90701c6 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 19:49:53 +00:00
Vladis Dronov
6473399bcf Update to the newer upstream v6.15
Update to the upstream v6.15 + tip of origin/master @ cb8cc624

Signed-off-by: Vladis Dronov <vdronov@redhat.com>
2022-12-27 14:49:24 +01:00
Vladis Dronov
aaca5d6d9c Update to the newer upstream v6.15
Update to the upstream v6.15 + tip of origin/master @ 6dcc9ec2
Do not require selinux-policy if it is not present
2022-09-21 19:13:07 +02:00
Fedora Release Engineering
f974664d99 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 00:53:59 +00:00
Vladis Dronov
4b6d9e112b Fix test script permissions 2022-04-26 13:25:08 +02:00
Vladis Dronov
aedde8ed3d Small edits in test scripts 2022-04-23 22:14:18 +02:00
Vladis Dronov
941b9f121f Add important upstream and dist fixes
Update to the upstream v6.15 + tip of origin/master @ 172bf0e3
This fixes a build failure on ppc64
Fix an error building with jitterentropy-3.4.0
2022-04-16 21:39:11 +02:00
Vladis Dronov
4e7f1f5007 Update to the newer upstream v6.15
And add a requirement for selinux-policy of a certain version
2022-03-24 14:53:57 +01:00
Vladis Dronov
51036602f7 Update to the latest upstream v6.15
Update to the upstream v6.15 + tip of origin/master @ 3009fdd5.
Also allow rngd process to drop privileges with "-D user:group".
2022-02-26 10:38:28 +01:00
Fedora Release Engineering
a4a34ecd9e - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 17:55:07 +00:00
Vladis Dronov
7eb83447ad Update to the latest upstream v6.14
Plus tip of origin/master @ b2b7934e

Signed-off-by: Vladis Dronov <vdronov@redhat.com>
2021-11-17 09:16:15 +01:00
Vladis Dronov
12e926e87d Add a config file for storing rngd options
So rngd options can be adjusted and not overwritten on updates (bz1252175)
Disable pkcs11 and nist entropy sources by default (bz1252175#c21)

Signed-off-by: Vladis Dronov <vdronov@redhat.com>
2021-09-20 14:25:17 +02:00
Vladis Dronov
8e825f64b9 Update to the latest upstream v6.14
- Update to the upstream v6.14 + tip of origin/master @ 56626083
- Add an important cb52458b and a revert of 2ce93190
- Add a fix for covscan unused variable warning

Signed-off-by: Vladis Dronov <vdronov@redhat.com>
2021-09-18 18:22:56 +02:00
Sahana Prasad
9b3784540d Rebuilt with OpenSSL 3.0.0 2021-09-14 19:13:29 +02:00
Fedora Release Engineering
83ddc6490a - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 11:30:05 +00:00
Vladis Dronov
1f699a20e6 Update to the latest upstream v6.13
- Update sources to incorporate the latest chages
- Add more fixes for the onecpu branch (bz1974132)

Signed-off-by: Vladis Dronov <vdronov@redhat.com>
2021-07-19 16:38:53 +02:00
Vladis Dronov
65d2e53f7c Fix an internal soft-timer issue and one CPU case
- Update to the upstream v6.13 + tip of origin/master + onecpu
  branch + revert of 2ce93190
- Rebuild rng-tools against the latest jitterentropy library
  3.0.2.git.d18d5863 with fixes for an important issue:
  https://github.com/nhorman/rng-tools/pull/123
  https://github.com/smuellerDD/jitterentropy-library/issues/37
- Add important upstream fixes for the one CPU case (bz 1974132)
- Revert introducing a new but mostly useless randstat binary
- A couple of minor code and test fixes

Signed-off-by: Vladis Dronov <vdronov@redhat.com>
2021-07-06 22:54:15 +02:00
Troy Dawson
000f0d8092 remove minor bump 2021-06-22 11:16:43 -07:00
Troy Dawson
8b598d8e76 minor bump for eln rebuild 2021-06-22 11:12:58 -07:00
Vladis Dronov
a35233e62d Pull in one more fix from the upstream
Rewrite init_kernel_rng() to ensure proper logging

Signed-off-by: Vladis Dronov <vdronov@redhat.com>
2021-06-18 19:45:19 +02:00
Vladis Dronov
d97541428b Adjust Source0 to a more proper one
Signed-off-by: Vladis Dronov <vdronov@redhat.com>
2021-06-17 18:29:46 +02:00
Vladis Dronov
6c9ace9f54 Adjust wrong date in a changelog
Signed-off-by: Vladis Dronov <vdronov@redhat.com>
2021-06-16 20:06:45 +02:00
Vladis Dronov
298603a74c Remove Provides: jitterentropy-rngd as it was retired in f29
Signed-off-by: Vladis Dronov <vdronov@redhat.com>
2021-06-16 13:32:36 +02:00
Vladis Dronov
c40c82ed57 Update to 6.13 and upstream fixes
- Update the sources to 6.13
- Add important fixes from the upstream

Signed-off-by: Vladis Dronov <vdronov@redhat.com>
2021-06-16 13:10:17 +02:00
Vladis Dronov
2922751467 Update .service file and add patches
Update the rngd.service file and add 3 small upstream patches fixing issues.

Signed-off-by: Vladis Dronov <vdronov@redhat.com>
2021-05-24 16:54:48 +00:00
Vladis Dronov
feb3805c7e Remove hardcoded _sbindir global
There is no need to hardcode _sbindir anymore, also
the old value of '/sbin' is incorrect in Fedora now.

Signed-off-by: Vladis Dronov <vdronov@redhat.com>
2021-04-27 22:54:01 +00:00
Vladis Dronov
b9ce661dca Update to 6.12 and libsysfs drop
- Drop libsysfs dependency since it is not used anymore.
- Remove jitterentropy-remove-install.patch since we depend on a system
  jitterentropy library now.
- Remove rngd-shutdown.patch since it is the upstream commit 62fbff0a.
- Remove rngd-exit-code-for-list.patch since it is the upstream commit
  fb46dc48.
- Remove pkcs11-path.patch since it is the upstream commit 1993eca9.

Signed-off-by: Vladis Dronov <vdronov@redhat.com>
2021-03-12 22:09:46 +00:00
Vladis Dronov
c898f13aa2 Replace outdated systemd-units
systemd-units was defining the %{_unitdir} macro. On Fedora 18 and newer,
the systemd-units subpackage has been merged into the base systemd package,
so a package for those targets should instead include: BuildRequires: systemd.
Later this was also changed to: BuildRequires: systemd-rpm-macros.

https://docs.pagure.org/packaging-guidelines/Packaging:Systemd.html
https://docs.fedoraproject.org/en-US/packaging-guidelines/Systemd/
Signed-off-by: Vladis Dronov <vdronov@redhat.com>
2021-03-02 20:39:00 +00:00
Zbigniew Jędrzejewski-Szmek
03570457e9 Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2021-03-02 16:12:51 +01:00
Dan Horák
9c72fbceec - Update to 6.11 2021-01-29 13:09:14 +01:00
Fedora Release Engineering
e0bf2c4b46 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 15:22:08 +00:00
Vladis Dronov
fcd38984bd Make rtl-sdr optional
For RHEL9 and above, do not build with rtl-sdr and rtl-sdr-devel.

Signed-off-by: Vladis Dronov <vdronov@redhat.com>
2020-11-16 20:43:22 +00:00
Troy Dawson
e438127b78 Make pkcs11 optional
For RHEL9 and above, do not build with pkcs11
2020-10-05 11:55:54 -07:00
Fedora Release Engineering
04d5babda2 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 07:52:17 +00:00
Fedora Release Engineering
3dca8dcf77 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 05:50:12 +00:00
Neil Horman
3656dda3bb Fix missing buildrequires 2020-03-27 14:03:40 -04:00
Neil Horman
c5639d93b2 Fixing missing buildrequires 2020-03-27 13:56:12 -04:00
Neil Horman
95f7cb26c9 update to latest upstream 2020-03-27 13:52:10 -04:00
Fedora Release Engineering
3d266d7c2e - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 17:45:44 +00:00