Skip to content

aide 0.19-3: require libgcrypt >= 1.10.4 on subrelease 91+ - #1670

Open
dcasota wants to merge 1 commit into
vmware:5.0from
dcasota:fix/aide-libgcrypt-versioned-requires
Open

aide 0.19-3: require libgcrypt >= 1.10.4 on subrelease 91+#1670
dcasota wants to merge 1 commit into
vmware:5.0from
dcasota:fix/aide-libgcrypt-versioned-requires

Conversation

@dcasota

@dcasota dcasota commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Fixes the packaging gap that photon-os-installer was working around.

Problem

aide links against libgcrypt but declares only an unversioned Requires: libgcrypt. Because nothing pinned a floor, stigenable.py listed libgcrypt explicitly in KS_STIG_PACKAGES purely to guarantee a new enough copy reached the install media — an installer-side workaround for a spec-side omission.

Change

A photon_subrelease-guarded versioned dependency:

%if 0%{photon_subrelease} >= 91
Requires: libgcrypt >= 1.10.4
%else
Requires: libgcrypt
%endif

Release 2 → 3.

Verification

rpmspec on both sides of the guard:

subrelease emitted requires
90 libgcrypt
92 libgcrypt >= 1.10.4

Zero warnings in both cases; support/spec-checker/check_spec.py exits 0.

Related

Counterpart to #19, which drops libgcrypt from KS_STIG_PACKAGES now that the dependency is expressed where it belongs. Verified on a live install: libgcrypt-1.10.4-2 still lands on the media and on the installed system as an ordinary transitive dependency of aide.

aide links against libgcrypt but only carried an unversioned
"Requires: libgcrypt". On subrelease 91 and above the installer therefore
had to name libgcrypt explicitly in KS_STIG_PACKAGES to guarantee a new
enough copy on the media - a workaround in the installer for a packaging
gap here.

Add a versioned Requires guarded by photon_subrelease so sub-90 keeps the
unversioned dependency and 91+ gets the floor. Verified with rpmspec:
subrelease 90 emits "libgcrypt", subrelease 92 emits "libgcrypt >= 1.10.4",
zero warnings in both.

This is the counterpart to dropping libgcrypt from KS_STIG_PACKAGES in
photon-os-installer 2.8-5.

Change-Id: I470332467212b2dac2fbbb84ac05158531a71a13
Signed-off-by: Daniel Casota <dcasota@gmail.com>
@aabusair aabusair closed this Sep 2, 2026
@aabusair aabusair reopened this Sep 2, 2026
@aabusair aabusair closed this Sep 2, 2026
@aabusair aabusair reopened this Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants