summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Liffey <amynka@gentoo.org>2020-11-12 16:37:07 +0100
committerAmy Liffey <amynka@gentoo.org>2020-11-12 16:43:05 +0100
commit4d2f30e530c56fe412d279e0f742c5b23648a46a (patch)
tree1a084009307dfaa93669634804269384a8583f07 /app-crypt
parentdev-db/redis: Stabilize 6.0.9 arm64, #753701 (diff)
downloadgentoo-4d2f30e530c56fe412d279e0f742c5b23648a46a.tar.gz
gentoo-4d2f30e530c56fe412d279e0f742c5b23648a46a.tar.bz2
gentoo-4d2f30e530c56fe412d279e0f742c5b23648a46a.zip
app-crypt/eid-mw: Update live ebuild
- eid-mw now relies on pinentry for entering pin code. - outdated blocking dependency removed - eid-mw does not support GTK+:2 anymore. Submitted-by: Vincent Hardy <vincent.hardy.be@gmail.com> Package-Manager: Portage-3.0.8, Repoman-2.3.23 Signed-off-by: Amy Liffey <amynka@gentoo.org>
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/eid-mw/eid-mw-9999.ebuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/app-crypt/eid-mw/eid-mw-9999.ebuild b/app-crypt/eid-mw/eid-mw-9999.ebuild
index c7f49603d0a1..19055f55bc53 100644
--- a/app-crypt/eid-mw/eid-mw-9999.ebuild
+++ b/app-crypt/eid-mw/eid-mw-9999.ebuild
@@ -20,7 +20,7 @@ RDEPEND=">=sys-apps/pcsc-lite-1.2.9
dev-libs/libxml2
net-misc/curl[ssl]
net-libs/libproxy
- !app-misc/eid-viewer-bin
+ app-crypt/pinentry[gtk]
)
p11-kit? ( app-crypt/p11-kit )"
@@ -80,6 +80,16 @@ pkg_postinst() {
gnome2_schemas_update
xdg_desktop_database_update
xdg_icon_cache_update
+
+ local peimpl=$(eselect --brief --colour=no pinentry show)
+ case "${peimpl}" in
+ *gtk*) ;;
+ *) ewarn "The pinentry front-end currently selected is not supported by eid-mw."
+ ewarn "You may be prompted for your pin code in an inaccessible shell!!"
+ ewarn "Please select pinentry-gtk-2 as default pinentry provider:"
+ ewarn " # eselect pinentry set pinentry-gtk-2"
+ ;;
+ esac
fi
}