From: "Nicolas Bock" <nicolasbock@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/keybase/
Date: Fri, 8 Jun 2018 16:28:57 +0000 (UTC) [thread overview]
Message-ID: <1528475322.dca7213484e7f7608dd4e52445b4401ff2593ee0.nicolasbock@gentoo> (raw)
commit: dca7213484e7f7608dd4e52445b4401ff2593ee0
Author: Kalin KOZHUHAROV <me.kalin <AT> gmail <DOT> com>
AuthorDate: Sun Apr 22 18:25:49 2018 +0000
Commit: Nicolas Bock <nicolasbock <AT> gentoo <DOT> org>
CommitDate: Fri Jun 8 16:28:42 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dca72134
app-crypt/keybase: fixing non-working KBFS
KBFS needs SUID and some other tweaks
Fixing BGO bug #649634 ...
Updating both 1.0.44 and 9999 with the same logic.
This is a rework for https://github.com/gentoo/gentoo/pull/7370/ due to
(my) flowed git workflow... See the comments there.
Closes: https://bugs.gentoo.org/649634
Reported-by: Kalin KOZHUHAROV <kalin <AT> thinrope.net>
app-crypt/keybase/keybase-1.0.44.ebuild | 8 ++++++--
app-crypt/keybase/keybase-9999.ebuild | 8 ++++++--
2 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/app-crypt/keybase/keybase-1.0.44.ebuild b/app-crypt/keybase/keybase-1.0.44.ebuild
index afb357189ce..505b2ca3eb2 100644
--- a/app-crypt/keybase/keybase-1.0.44.ebuild
+++ b/app-crypt/keybase/keybase-1.0.44.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/keybase/client/archive/v${MY_PV}.tar.gz -> ${P}.tar.
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="+suid"
DEPEND="
>=dev-lang/go-1.6:0
@@ -49,8 +49,12 @@ src_compile() {
src_install() {
dobin "${T}/keybase"
+ dodir "/var/lib/keybase"
+ fowners keybasehelper:keybasehelper "/var/lib/keybase"
+ dosym "/tmp/keybase" "/var/lib/keybase/mount1"
dobin "${T}/keybase-mount-helper"
- fowners keybasehelper:keybasehelper "${EROOT}/usr/bin/keybase-mount-helper"
+ fowners keybasehelper:keybasehelper "/usr/bin/keybase-mount-helper"
+ use suid && fperms 4755 "/usr/bin/keybase-mount-helper"
dobin "${S}/packaging/linux/run_keybase"
systemd_douserunit "${S}/packaging/linux/systemd/keybase.service"
}
diff --git a/app-crypt/keybase/keybase-9999.ebuild b/app-crypt/keybase/keybase-9999.ebuild
index 05206f40c35..181e16cb154 100644
--- a/app-crypt/keybase/keybase-9999.ebuild
+++ b/app-crypt/keybase/keybase-9999.ebuild
@@ -14,7 +14,7 @@ EGIT_REPO_URI="https://github.com/keybase/client.git"
LICENSE="BSD"
SLOT="0"
KEYWORDS=""
-IUSE=""
+IUSE="+suid"
DEPEND="
>=dev-lang/go-1.6:0
@@ -49,8 +49,12 @@ src_compile() {
src_install() {
dobin "${T}/keybase"
+ dodir "/var/lib/keybase"
+ fowners keybasehelper:keybasehelper "/var/lib/keybase"
+ dosym "/tmp/keybase" "/var/lib/keybase/mount1"
dobin "${T}/keybase-mount-helper"
- fowners keybasehelper:keybasehelper "${EROOT}/usr/bin/keybase-mount-helper"
+ fowners keybasehelper:keybasehelper "/usr/bin/keybase-mount-helper"
+ use suid && fperms 4755 "/usr/bin/keybase-mount-helper"
dobin "${S}/packaging/linux/run_keybase"
systemd_douserunit "${S}/packaging/linux/systemd/keybase.service"
}
next reply other threads:[~2018-06-08 16:29 UTC|newest]
Thread overview: 68+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-08 16:28 Nicolas Bock [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-01-12 19:13 [gentoo-commits] repo/gentoo:master commit in: app-crypt/keybase/ Nicolas Bock
2024-01-10 18:44 Nicolas Bock
2023-03-22 3:48 Nicolas Bock
2023-02-21 22:04 Nicolas Bock
2023-02-20 18:11 Nicolas Bock
2022-07-23 15:34 David Seifert
2020-01-17 19:06 Nicolas Bock
2019-11-11 12:44 Nicolas Bock
2019-10-21 19:31 Nicolas Bock
2019-10-21 19:30 Nicolas Bock
2019-09-25 15:56 Nicolas Bock
2019-09-25 13:03 Nicolas Bock
2019-09-18 2:26 Nicolas Bock
2019-09-18 2:25 Nicolas Bock
2019-09-16 22:50 Nicolas Bock
2019-02-06 12:49 Nicolas Bock
2019-02-06 11:52 Nicolas Bock
2019-01-16 15:59 Nicolas Bock
2018-12-18 14:05 Nicolas Bock
2018-12-04 12:46 Nicolas Bock
2018-11-24 15:16 Nicolas Bock
2018-11-05 14:45 Nicolas Bock
2018-10-31 10:22 Nicolas Bock
2018-10-08 20:29 Nicolas Bock
2018-09-26 11:41 Nicolas Bock
2018-09-06 19:41 Nicolas Bock
2018-08-20 11:22 Nicolas Bock
2018-08-08 11:01 Nicolas Bock
2018-07-25 15:16 Nicolas Bock
2018-06-21 9:02 Nicolas Bock
2018-06-18 4:30 Nicolas Bock
2018-06-12 11:48 Nicolas Bock
2018-06-12 11:26 Nicolas Bock
2018-06-12 11:26 Nicolas Bock
2018-06-09 7:41 Nicolas Bock
2018-02-26 13:44 Nicolas Bock
2018-02-23 22:07 Nicolas Bock
2018-02-23 22:01 Nicolas Bock
2018-02-21 20:03 Nicolas Bock
2018-02-20 21:50 Nicolas Bock
2018-02-20 21:50 Nicolas Bock
2018-02-20 21:50 Nicolas Bock
2018-02-14 12:40 Nicolas Bock
2018-02-14 12:40 Nicolas Bock
2017-11-28 14:02 Nicolas Bock
2017-10-31 14:26 Nicolas Bock
2017-10-31 14:25 Nicolas Bock
2017-07-24 14:45 Nicolas Bock
2017-07-24 14:29 Nicolas Bock
2017-03-13 12:06 Nicolas Bock
2016-11-08 16:36 Nicolas Bock
2016-09-17 16:40 Nicolas Bock
2016-08-15 7:44 Nicolas Bock
2016-08-15 7:44 Nicolas Bock
2016-06-14 14:55 Nicolas Bock
2016-04-14 6:21 Nicolas Bock
2016-02-21 13:39 Nicolas Bock
2016-01-29 5:32 Nicolas Bock
2016-01-23 16:59 Agostino Sarubbo
2016-01-19 17:27 Nicolas Bock
2015-12-02 13:07 Nicolas Bock
2015-11-25 5:47 Nicolas Bock
2015-11-09 10:31 Agostino Sarubbo
2015-11-04 17:30 Nicolas Bock
2015-10-11 13:04 Nicolas Bock
2015-10-11 12:59 Nicolas Bock
2015-08-19 11:31 Nicolas Bock
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1528475322.dca7213484e7f7608dd4e52445b4401ff2593ee0.nicolasbock@gentoo \
--to=nicolasbock@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox