commit:     dc2c7d76c21b7b6b54428d23a5c4887546f95264
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 28 19:16:52 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 28 19:16:57 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc2c7d76

app-alternatives/gpg: depend on fixed gpg

Depend on a version of (stable) gnupg which always provides fallback
symlinks. This doesn't cover the ~arch case but it matters less as there's
no official binpkgs for that, so less likely something goes wrong, and
the old ebuilds are gone already, so it's a narrow enough window I think.

See also 133742ca3a9497606262fab40ed6f4f965782a7c and
133742ca3a9497606262fab40ed6f4f965782a7c.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-alternatives/gpg/{gpg-0-r1.ebuild => gpg-0-r2.ebuild} | 2 +-
 app-alternatives/gpg/{gpg-1-r1.ebuild => gpg-1-r2.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-alternatives/gpg/gpg-0-r1.ebuild 
b/app-alternatives/gpg/gpg-0-r2.ebuild
similarity index 90%
rename from app-alternatives/gpg/gpg-0-r1.ebuild
rename to app-alternatives/gpg/gpg-0-r2.ebuild
index f71ced85b7ee..1453597ab97a 100644
--- a/app-alternatives/gpg/gpg-0-r1.ebuild
+++ b/app-alternatives/gpg/gpg-0-r2.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 ALTERNATIVES=(
-       "reference:app-crypt/gnupg[alternatives(-),ssl?]"
+       "reference:>=app-crypt/gnupg-2.4.8-r1[alternatives(-),ssl?]"
 )
 
 inherit app-alternatives

diff --git a/app-alternatives/gpg/gpg-1-r1.ebuild 
b/app-alternatives/gpg/gpg-1-r2.ebuild
similarity index 90%
rename from app-alternatives/gpg/gpg-1-r1.ebuild
rename to app-alternatives/gpg/gpg-1-r2.ebuild
index e924d7967169..b24b6e1cf0cd 100644
--- a/app-alternatives/gpg/gpg-1-r1.ebuild
+++ b/app-alternatives/gpg/gpg-1-r2.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 ALTERNATIVES=(
-       "reference:app-crypt/gnupg[alternatives(-),ssl?]"
+       "reference:>=app-crypt/gnupg-2.4.8-r1[alternatives(-),ssl?]"
        "freepg:app-crypt/freepg[ssl?]"
        "sequoia:app-crypt/sequoia-chameleon-gnupg"
 )

Reply via email to