• [gentoo-dev] [PATCH 1/2] verify-sig.eclass: Remove

    From =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?@21:1/5 to All on Fri Jan 5 12:00:01 2024
    Signed-off-by: Michał Górny <mgorny@gentoo.org>
    ---
    eclass/verify-sig.eclass | 16 +++++-----------
    1 file changed, 5 insertions(+), 11 deletions(-)

    diff --git a/eclass/verify-sig.eclass b/eclass/verify-sig.eclass
    index d5f71669538e..31e3cca09379 100644
    --- a/eclass/verify-sig.eclass
    +++ b/eclass/verify-sig.eclass
    @@ -68,7 +68,7 @@ case ${VERIFY_SIG_METHOD} in
    BDEPEND="
    verify-sig? (
    app-crypt/gnupg
    - >=app-portage/gemato-16
    + >=app-portage/gemato-20
    )
    "
    ;;
    @@ -159,16 +159,10 @@ verify-sig_verify_detached() {
    # gpg can't handle very long TMPDIR
    # https://bugs.gentoo.org/854492
    local -x TMPDIR=/tmp
    - if has_version ">=app-portage/gemato-20"; then
    - gemato openpgp-verify-detached -K "${key}" \
    - "${extra_args[@]}" \
    - "${sig}" "${file}" ||
    - die "PGP signature verification failed" - else
    - gemato gpg-wrap -K "${key}" "${extra_args[@]}" -- \
    - gpg --verify "${sig}" "${file}" ||
    - die "PGP signature verification failed" - fi
    + gemato openpgp-verify-detach