Commit Graph

1093 Commits

Author SHA1 Message Date
Michal Domonkos
477f64dc39 Apply forgotten patch for RHEL-169755
Related: RHEL-169755
2026-06-19 13:07:09 +02:00
Michal Domonkos
f80449bf39 Require rpm-plugin-audit
Much like we now require the syslog plugin, do the same with audit. This
aligns with the RHEL content guidelines as well, which is the what the
referenced ticket is about.

Resolves: RHEL-139071
2026-06-18 13:31:23 +02:00
Michal Domonkos
5edc9f4666 Fix buffer overruns with long language strings
Resolves: RHEL-169755
2026-06-18 13:31:23 +02:00
Michal Domonkos
2b9f6dd2df Make syslog plugin output more useful and required
Install the plugin when the syslog provide is installed. Systemd
provides that name since journald handles the syslog facilities.

Resolves: RHEL-155272
2026-06-18 13:31:09 +02:00
Michal Domonkos
2310f53fa8 Add support for database parking
Resolves: RHEL-126405
2026-06-18 09:49:29 +02:00
Michal Domonkos
6755696e77 Add support for %autosetup -C
Resolves: RHEL-141269
2026-06-18 09:49:28 +02:00
Tomas Bajer
271b202be3 Temporarily enable python-mockbuild test for x86_64 arch only 2026-02-11 14:00:17 +00:00
Michal Domonkos
6ab8150a20 Fix API to return NOTTRUSTED for disabled algos
Related: RHEL-112394
2026-02-05 13:32:00 +01:00
Michal Domonkos
1bd6769dca Fix ignored empty password field in passwd/group
Related: RHEL-118365
2026-01-28 13:22:28 +01:00
Michal Domonkos
8e6dfd9271 Enable NSS-based user and group lookups again
Resolves: RHEL-118365
2026-01-28 13:22:27 +01:00
Michal Domonkos
c158865bae Ignore signatures made by unknown or disabled algo
Resolves: RHEL-112394
2026-01-27 16:42:41 +01:00
Tomas Bajer
5934170922 Renamed plan to python-mockbuild 2026-01-06 14:30:16 +01:00
Tomas Bajer
0c3656f9c0 Apply Miro's suggestions 2026-01-06 08:45:46 +00:00
Tomas Bajer
6245d6dbcf Migrate STI to fmf 2025-12-10 14:26:17 +01:00
Michal Domonkos
e4753ed814 Fix redundant rpmdb-migrate.service runs
We turn the old path (/var/lib/rpm) into a symlink when the migration is
done but then keep retriggering the migration service whenever rpm is
upgraded since the -d conditional is still true.

This has no actual effect since the rpmdb_migrate script does check
whether it's a symlink and bails out if so, but it causes unnecessary
noise in the journal, so fix that by checking for the symlink in the
%posttrans scriptlet right away.

Do the same in %pre, even though there the find command doesn't follow
symlinks by default so it won't produce any files to iterate over.
Still, fix that as well, if just for the sake of consistency.

Resolves: RHEL-96510
2025-11-27 13:28:42 +01:00
Michal Domonkos
c169fc86cc Fix pre/post/meta/etc. qualifiers for weak deps
Resolves: RHEL-101936
2025-11-27 13:28:24 +01:00
Michal Domonkos
8987f2906b Fix rpmsign(8) man page
We decided to revert the downstream-only --addsign patch in the previous
commit but forgot to include a patch for rpmsign(8). (This has to be
done locally since Pandoc isn't available in RHEL.)

Related: RHEL-109221
2025-08-26 09:36:15 +02:00
Michal Domonkos
0930f31a44 Additional PQC-related fixes
Resolves: RHEL-109221
2025-08-25 17:09:13 +02:00
Michal Domonkos
bc9ef7a42e Add PQC readiness patches
Resolves: RHEL-100571 RHEL-105421
2025-07-31 17:09:55 +02:00
Michal Domonkos
54731c4daa Fix regression on dynamic subpackage RPMTAG_SOURCERPM missing
Resolves: RHEL-102023
2025-07-24 16:57:48 +02:00
Michal Domonkos
ab69b08674 Bump release for another rebuild
Related: RHEL-87383
2025-06-11 18:49:45 +02:00
Michal Domonkos
6987e552b8 Fix regression on subpackage debuginfo RPMTAG_SOURCERPM missing
Amend the original patch file for RHEL-87383, it missed a later fixup
commit, causing rpmbuild failures in the centos stream pipeline, uff.
Also backport a newly added test that covers this use case.

Related: RHEL-87383
2025-06-11 16:04:25 +02:00
Michal Domonkos
344fe49ebe Add patches for next release
Resolves: RHEL-84057 RHEL-87383
2025-05-29 17:06:43 +02:00
Michal Domonkos
4bf75eda7f Store configurable digest(s) on packages in rpmdb
Similarly to the previous commit, add a patch for the prebuilt rpm(8)
man page.

Resolves: RHEL-84062
2025-04-25 15:09:40 +02:00
Michal Domonkos
f0536d0bd9 Add patch for prebuilt rpmsign(8) as well
The original 4.19.x tarball ships prebuilt man pages so just updating
the source .md file won't suffice, we need to either activate a rebuild
(by enabling BuildRequires: pandoc) or just patch the resulting file.

The latter seems easier and cleaner (Pandoc may not even be available on
the build hosts) so do just that.

Kudos to Jan Blazek for spotting!

Related: RHEL-73173
2025-04-24 12:54:07 +02:00
Michal Domonkos
b54afd1d94 Fix libarchive bcond
Resolves: RHEL-75147
2025-04-23 16:41:48 +02:00
Michal Domonkos
92a4e01c1e Add patches for next release
Resolves: RHEL-55284 RHEL-82284 RHEL-73173 RHEL-87384 RHEL-78693
2025-04-22 15:17:16 +02:00
Michal Domonkos
c826d7aac0 Rebuild for ima-evm-utils 1.6 soname bump
We need to rebuild once again since the new libimaevm.so.5 hadn't yet
passed the gating at the time of building the previous release 11 and so
it was still linked against libimaevm.so.4.

Related: RHEL-65378
2025-02-07 10:12:29 +01:00
Michal Domonkos
b93a192b47 Add patches for next release
Resolves: RHEL-69518 RHEL-54000 RHEL-56613 RHEL-56363
2025-01-25 14:19:29 +01:00
Michal Domonkos
a7bd5f6cf7 Add patches for next release
Resolves: RHEL-73186 RHEL-54386 RHEL-65378
2025-01-13 14:07:22 +01:00
Panu Matilainen
4783f4455f Generate binary signatures with Sequoia too
Fix an oversight when introducing this: Sequoia defaults to ASCII armor
signatures whereas GnuPG defaults to binary signatures. We should create
binary signatures with sq too for consistency.

Related: RHEL-56363
2024-12-05 09:06:28 +02:00
Panu Matilainen
33815947f5 Revert the gnupg/sequoia signing sub-packages, too much headache
Ship the Sequoia signing macros as a %doc you can easily just copy
to /etc/rpm to enable, this is much less hassle for what is more
of a tech-preview feature at this time.

Obsolete rpm-sign-gnupg and -sequoia in case somebody had these
installed on the stream, but these haven't been part of any official
(pre)release so we can drop them before GA.

Related: RHEL-56363
2024-12-05 09:05:40 +02:00
Michal Domonkos
8317a615b0 Add Sequoia signing support back
It turns out the subpackage itself is fine, we just need to adjust the
affected Beaker tests and make them cover the Sequoia backend as well.

This reverts commit 40c682ecfc.

Related: RHEL-56363
2024-11-12 14:19:06 +01:00
Troy Dawson
b137aeee16 Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
2024-10-29 09:11:55 -07:00
Michal Domonkos
40c682ecfc Revert Sequoia signing support for now, breaks CI
Running a build through the RHEL OSCI reveals some possible shortcomings
of the original design:

- Custom macros using %__gpg may now easily break if the Sequoia backend
  is installed, such as those overriding %__gpg_sign_cmd where %__gpg is
  typically the first argument, followed by CLI options only known to
  GnuPG.  This is exactly the case with some of our Beaker tests.

- Some tests attempt to install both subpackages directly with dnf which
  obviously fails as they conflict with each other.  This is just a test
  issue, though.

Therefore, the boolean dependency in rpm-sign-libs declaring that both
implementations are equally compatible is just wrong, until we can prove
otherwise, by making the CI tests pass, for starters.

Drop the Sequoia subpackage for now.  This is less drastic than a full
revert since the actual GnuPG split-off is still reasonable on its own.
We can always add Sequoia support back later, once we figure out the
above issues.

Related: RHEL-56363
2024-10-25 15:53:10 +02:00
Michal Domonkos
0f0847f87a Fix Conflicts in new rpm-sign backends
Related: RHEL-56363
2024-10-25 12:57:03 +02:00
Panu Matilainen
c7a072acc0 Support switching between Sequoia and GnuPG for signing packages
Add new rpmsign-sequoia and rpmsign-gnupg subpackages which can be
used to switch between the two OpenPGP implementations for signing,
rpm-sign-libs just requires one of them to be present.

It's worth noting that unlike GnuPG, Sequoia doesn't accept names or
email addresses as the signer identifier, one needs to supply the actual key
fingerprint.

Resolves: RHEL-56363
2024-10-24 12:16:09 +02:00
Michal Domonkos
0c62987083 Fix OpenScanHub findings
Resolves: RHEL-54012
Resolves: RHEL-54013
Resolves: RHEL-37564
2024-08-13 14:20:28 +02:00
Tomas Bajer
4a205e4f23 Disabling the STI test.. 2024-07-23 14:30:48 +02:00
Tomas Bajer
88195d6968 Temporarily disabling STI test in order to make gating with TMT tests functional 2024-07-23 12:00:33 +02:00
Troy Dawson
b68112c47b Bump release for June 2024 mass rebuild 2024-06-24 09:22:25 -07:00
Tomas Bajer
677b720e83 Configure gating for rhel-10 2024-06-20 13:05:09 +02:00
Michal Domonkos
9663c4f3ab Update to 4.19.1.1 (https://rpm.org/wiki/Releases/4.19.1.1) 2024-02-07 16:55:38 +01:00
Fedora Release Engineering
ba220b3433 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-26 16:20:24 +00:00
Fedora Release Engineering
1ae348e7ca Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 11:58:18 +00:00
Miroslav Suchý
65ce6ed5d2 Migrate to SPDX license
This follows https://github.com/rpm-software-management/rpm/issues/2511
and moves the license string to only one place. No need to repeat it
in subpackages.

I did not include a changelog entry as there are five other PR waiting in a
queue, and that would conflict with them.
2024-01-04 13:42:34 +02:00
Panu Matilainen
0ae9b33647 Fix bogus warnings about runaway Lua scripts (#2254463) 2023-12-15 14:25:11 +02:00
Michal Domonkos
6fcc972733 Update to 4.19.1 (https://rpm.org/wiki/Releases/4.19.1)
Tools have been moved into the tools/ directory in the tarball so update
the ./rpmdb path accordingly.

Also remove the README.md file that is installed from the docs/
directory and ends up alongside the project's README file for no good
reason.  This is tracked upstream as:
https://github.com/rpm-software-management/rpm/issues/2811
2023-12-12 15:48:41 +01:00
Stephen Gallagher
740af9c26b Fix issues with %getncpus sometimes returning 0 on i686 systems
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-11-30 13:54:58 -05:00
Panu Matilainen
b0f8f4c9e8 Fix sysusers.d generator barfing on legit content (#2246236) 2023-11-13 10:35:50 +02:00