Re: [Rpm-maint] [rpm-software-management/rpm] Remove build tree automatically on successfull binary package creation (6f94596)

2023-11-28 Thread tvguho
This was an awful patch. For somebody who has been using rpm since its inception the sudden and irretrievable disappearance of build tree is terrible. It is not unusual to run "-ba" then after successful build go back to build tree and make some changes or develop a patch. Or try an figure out

Re: [Rpm-maint] [rpm-software-management/rpm] File conflicts: Symlinked directories -> same file replaced by real directories -> unique files (#1458)

2023-11-28 Thread ニール・ゴンパ
If we can solve this somehow, can we also bring in the old `rpmlib()` things from [this patch](https://src.fedoraproject.org/rpms/rpm/blob/f20/f/rpm-4.10.90-rpmlib-filesystem-check.patch) so that dnf installroot installs for affected distributions don't fail like this? ``` Running transaction

[Rpm-maint] [rpm-software-management/rpm] https://ftp.rpm.org/releases/ reports ERR_CERT_COMMON_NAME_INVALID (Issue #2792)

2023-11-28 Thread Tomasz Kłoczko
On requests is reported NET::ERR_CERT_COMMON_NAME_INVALID ```console NET::ERR_CERT_COMMON_NAME_INVALID Subject: *.osuosl.org Issuer: InCommon RSA Server CA Expires on: 14 Aug 2024 Current date: 28 Nov 2023 PEM encoded chain: -BEGIN CERTIFICATE-

Re: [Rpm-maint] [rpm-software-management/rpm] RPM 4.19.1 bugfix update (PR #2791)

2023-11-28 Thread Panu Matilainen
I'd pull the whole rpm2archive improvement bunch (except the actual replacing of rpm2cpio I guess) -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2791#issuecomment-1829880268 You are receiving this because you are subscribed to this

[Rpm-maint] [rpm-software-management/rpm] RPM 4.19.1 bugfix update (PR #2791)

2023-11-28 Thread Michal Domonkos
You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/2791 -- Commit Summary -- * Drop no longer needed pull from updates-testing for rpm-sequoia * Split our include_directories() per use-case, comment * Move top-level

Re: [Rpm-maint] [rpm-software-management/rpm] RPM 4.19.1 bugfix update (PR #2790)

2023-11-28 Thread Michal Domonkos
Closed #2790. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2790#event-11083319753 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list

Re: [Rpm-maint] [rpm-software-management/rpm] RPM 4.19.1 bugfix update (PR #2790)

2023-11-28 Thread Michal Domonkos
Ugh, not against master... -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2790#issuecomment-1829801927 You are receiving this because you are subscribed to this thread. Message ID: ___

[Rpm-maint] [rpm-software-management/rpm] RPM 4.19.1 bugfix update (PR #2790)

2023-11-28 Thread Michal Domonkos
You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/2790 -- Commit Summary -- * Use mkdir -p for creating SPECPARTS dir * Fix undefined symbols from plugins in some circumstances * Revert %_smp_build_ncpus change to a

Re: [Rpm-maint] [rpm-software-management/rpm] RFE: Detached signature support (#1482)

2023-11-28 Thread Panu Matilainen
@pmatilai converted this issue into discussion #2789. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/1482#event-11082570451 You are receiving this because you are subscribed to this thread. Message ID:

Re: [Rpm-maint] [rpm-software-management/rpm] Strip quote characters in macro expansion if we do not split the result (PR #2788)

2023-11-28 Thread Michael Schroeder
This is actually a quite powerful. Try this: ``` %define hey() { this is hey %{shescape %**} %** ho } %global array foo bar %{quote:hello world} %%{quote:huhu foo} %global xx x1 %{quote:x2 x3} %global array %array %{quote:aa %%xx} %%xx %global array %array %{quote:rpm is great} rpm is

Re: [Rpm-maint] [rpm-software-management/rpm] Strip quote characters in macro expansion if we do not split the result (PR #2788)

2023-11-28 Thread Michael Schroeder
@mlschroe pushed 1 commit. affb2e8d2e460c6e25dd579eac0f36822da0fa3e Strip quote characters in macro expansion if we do not split the result -- View it on GitHub:

[Rpm-maint] [rpm-software-management/rpm] Strip quote characters in macro expansion if we do not split the result (PR #2788)

2023-11-28 Thread Michael Schroeder
A problem with the old handling of %quote was that it leaked to the outside. This commit strips the quote characters if they are not used in argument splitting. You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/2788 --

[Rpm-maint] [rpm-software-management/rpm] fix: resource leak: f (PR #2787)

2023-11-28 Thread slark-yuxj
You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/2787 -- Commit Summary -- * fix: resource leak: f -- File Changes -- M tests/rpmpgppubkeyfingerprint.c (6) -- Patch Links --

Re: [Rpm-maint] [rpm-software-management/rpm] Remove the internal OpenPGP parser (Issue #2414)

2023-11-28 Thread Demi Marie Obenour
> > @kanavin Are all of the RPMs used also built locally? In that case > > disabling signature checking is fine. > > Yes of course. Yocto is fully self-contained, except for the bootstrap items > mentioned above. It builds components from source, then makes its own > packages from the

Re: [Rpm-maint] [rpm-software-management/rpm] Remove the internal OpenPGP parser (Issue #2414)

2023-11-28 Thread Alexander Kanavin
> @kanavin Are all of the RPMs used also built locally? In that case disabling > signature checking is fine. Yes of course. Yocto is fully self-contained, except for the bootstrap items mentioned above. It builds components from source, then makes its own packages from the binaries, then makes

Re: [Rpm-maint] [rpm-software-management/rpm] fix: resource leak: f (PR #2785)

2023-11-28 Thread slark-yuxj
Closed #2785. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2785#event-11080627949 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list

Re: [Rpm-maint] [rpm-software-management/rpm] Remove the internal OpenPGP parser (Issue #2414)

2023-11-28 Thread Demi Marie Obenour
The reason for getting rid of the internal OpenPGP parser is that it turns out to have security vulnerabilities that are exploitable if someone does `gpg2 --export --armor -o s.asc FINGERPRINT && rpmkeys --import s.asc`. Patching these vulnerabilities isn’t practical, as it would require a

Re: [Rpm-maint] [rpm-software-management/rpm] Remove the internal OpenPGP parser (Issue #2414)

2023-11-28 Thread Demi Marie Obenour
@kanavin Are all of the RPMs used also built locally? In that case disabling signature checking is fine. FYI, both rustc and clang are native cross compilers with support for multiple targets. The same rustc and clang that are used to compile programs for the build environment can also be

Re: [Rpm-maint] [rpm-software-management/rpm] fix: resource leak: f (PR #2785)

2023-11-28 Thread slark-yuxj
@slark-yuxj pushed 1 commit. fa9e7290f1b6146d7bfc46d26539a4681789c259 Update rpmpgppubkeyfingerprint.c -- View it on GitHub: https://github.com/rpm-software-management/rpm/pull/2785/files/1464bcf938d9771f9874dcb07b3a994fedfd3959..fa9e7290f1b6146d7bfc46d26539a4681789c259 You are receiving this

[Rpm-maint] [rpm-software-management/rpm] RFE: audit-friendly rpmtsAddInstallElement() / rpmReadPackageFile() and friends (Issue #2786)

2023-11-28 Thread Panu Matilainen
Compliance expectations for audit require even attempted installs of packages with bad signatures and the like to be audited, but not for queries. This is currently rather impossible to enforce on the API level as everything needs to go through rpmReadPackageFile() where bad header signature

[Rpm-maint] [rpm-software-management/rpm] fix: resource leak: f (PR #2785)

2023-11-28 Thread slark-yuxj
You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/2785 -- Commit Summary -- * fix: resource leak: f -- File Changes -- M tests/rpmpgppubkeyfingerprint.c (5) -- Patch Links --

Re: [Rpm-maint] [rpm-software-management/rpm] Remove the internal OpenPGP parser (Issue #2414)

2023-11-28 Thread Alexander Kanavin
> > Using host distro tools in cross-compilation builds is problematic, as we > > don't have control over what versions we're going to get, and how they are > > built and configured. To ensure things work in a reproducible manner, yocto > > builds its own rpm executable that can run on the

Re: [Rpm-maint] [rpm-software-management/rpm] Remove the internal OpenPGP parser (Issue #2414)

2023-11-28 Thread Demi Marie Obenour
> > > So Yocto can accept that regression in package security, we'll make sure > > > to place warnings where appropriate. > > > > > > Another option would be to use the host system’s RPM for verifying the > > packages. > > Using host distro tools in cross-compilation builds is problematic, as

Re: [Rpm-maint] [rpm-software-management/rpm] Remove the internal OpenPGP parser (Issue #2414)

2023-11-28 Thread Alexander Kanavin
> > So Yocto can accept that regression in package security, we'll make sure to > > place warnings where appropriate. > > Another option would be to use the host system’s RPM for verifying the > packages. Using host distro tools in cross-compilation builds is problematic, as we don't have