commit:     86d77e1fd64cd3ea3b83da982b147d297c055cd2
Author:     Nicolas Bock <nicolasbock <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 12 19:12:43 2024 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gentoo <DOT> org>
CommitDate: Fri Jan 12 19:13:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86d77e1f

app-crypt/keybase: Add warning about kbfs

Bug: https://bugs.gentoo.org/921016
Signed-off-by: Nicolas Bock <nicolasbock <AT> gentoo.org>

 app-crypt/keybase/keybase-6.2.4.ebuild | 6 ++++++
 app-crypt/keybase/keybase-9999.ebuild  | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/app-crypt/keybase/keybase-6.2.4.ebuild 
b/app-crypt/keybase/keybase-6.2.4.ebuild
index e7a1f0027806..28d9cb64b5ae 100644
--- a/app-crypt/keybase/keybase-6.2.4.ebuild
+++ b/app-crypt/keybase/keybase-6.2.4.ebuild
@@ -66,6 +66,12 @@ src_install() {
 
 pkg_postinst() {
        elog "Start/Restart keybase: run_keybase"
+       if ! use fuse; then
+               elog "  Note that without USE=fuse the kbfs package will not"
+               elog "  be installed automatically. Either install it manually"
+               elog "  or export KEYBASE_NO_KBFS=1 in your shell to avoid"
+               elog "  failures when executing run_keybase."
+       fi
        elog "Run the service:       keybase service"
        elog "Run the client:        keybase login"
        ewarn "Note that the user keybasehelper is obsolete and can be removed"

diff --git a/app-crypt/keybase/keybase-9999.ebuild 
b/app-crypt/keybase/keybase-9999.ebuild
index e7a1f0027806..28d9cb64b5ae 100644
--- a/app-crypt/keybase/keybase-9999.ebuild
+++ b/app-crypt/keybase/keybase-9999.ebuild
@@ -66,6 +66,12 @@ src_install() {
 
 pkg_postinst() {
        elog "Start/Restart keybase: run_keybase"
+       if ! use fuse; then
+               elog "  Note that without USE=fuse the kbfs package will not"
+               elog "  be installed automatically. Either install it manually"
+               elog "  or export KEYBASE_NO_KBFS=1 in your shell to avoid"
+               elog "  failures when executing run_keybase."
+       fi
        elog "Run the service:       keybase service"
        elog "Run the client:        keybase login"
        ewarn "Note that the user keybasehelper is obsolete and can be removed"

Reply via email to