Skip to content

Update gpgme dependencies to match ruby-gpgme dependencies

Stan Hu requested to merge sh-update-gpgme-deps into master

What does this MR do?

https://github.com/ueno/ruby-gpgme/issues/154 upgraded ruby-gpgme to:

  • libgpg-error 1.46
  • libassuan 2.5.5
  • gpgme to 1.18.0

ruby-gpgme was updated in GitLab Rails: gitlab!105155 (merged)

libgpg-error v1.4.6 no longer installs gpg-error-config by default. gpg-error-config has been deprecated in favor of gpgrt-config (https://dev.gnupg.org/T5683), but libassuan and gnupg currently still use gpg-error-config if it is present. Older systems, such as Amazon Linux 2, have a version that is too old, so we need to ensure a recent version of gpg-error-config is installed via --enable-install-gpg-error-config.

To ensure that the compiled version of gpg-error-config is used, specify --with-libgpg-error-prefix in gnupg and libassuan packages.

Checklist

See Definition of done.

For anything in this list which will not be completed, please provide a reason in the MR discussion

Required

  • Merge Request Title, and Description are up to date, accurate, and descriptive
  • MR targeting the appropriate branch
  • MR has a green pipeline on GitLab.com
  • Pipeline is green on dev.gitlab.org if the change is touching anything besides documentation or internal cookbooks
  • trigger-package has a green pipeline running against latest commit

Expected (please provide an explanation if not completing)

  • Test plan indicating conditions for success has been posted and passes
  • Documentation created/updated
  • Tests added
  • Integration tests added to GitLab QA
  • Equivalent MR/issue for the GitLab Chart opened
Edited by Stan Hu

Merge request reports