aports/community/gpgme/gpgme.post-upgrade
Jakub Jirutka 5f46da2b38 community/gpgme: replace dependency gnupg with gpg
gnupg package provides full GnuPG suite (with lots of dependencies),
gpg package provides just the gpg program. Most packages only need
gpg; the goal is to reduce number of dependencies for them.

Some packages depending on gpgme, gpgmepp or qgpgme need more GnuPG
components (e.g. gnupg-dirmngr). These must be now explicitly declared
in the packages. Unfortunately, it's typically not documented and it's
difficult to determine which GnuPG components each package actually
needs. I will try to identify potentially problematic packages and
add gnupg to their dependencies, to avoid breakages.
2021-08-20 15:27:00 +02:00

17 lines
422 B
Bash

#!/bin/sh
ver_old="$2"
if [ "$(apk version -t "$ver_old" '1.15.1-r3')" = '<' ]; then
cat >&2 <<-EOF
*
* gpgme, gpgmepp and qgpgme don't install a full GnuPG suite (gnupg package)
* anymore, but only gpg. However, some programs using gpgme needs more GnuPG
* components. If you encounter a problem, install gnupg package and report it
* on https://gitlab.alpinelinux.org/alpine/aports/-/issues/.
*
EOF
fi
exit 0