public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Nicolas Bock" <nicolasbock@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/keybase/
Date: Tue, 20 Feb 2018 21:50:39 +0000 (UTC)	[thread overview]
Message-ID: <1519163422.4ddaef0a9e77eb6d6c533009e4aeffa859e7d9de.nicolasbock@gentoo> (raw)

commit:     4ddaef0a9e77eb6d6c533009e4aeffa859e7d9de
Author:     Nicolas Bock <nicolasbock <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 20 21:45:27 2018 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gentoo <DOT> org>
CommitDate: Tue Feb 20 21:50:22 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ddaef0a

app-crypt/keybase: Install `keybase-mount-helper`

The helper program, `keybasee-mount-helper` was not installed. This
change installs it and creates a new helper user.

Bug: https://bugs.gentoo.org/647930
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-crypt/keybase/keybase-1.0.41-r1.ebuild | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/app-crypt/keybase/keybase-1.0.41-r1.ebuild b/app-crypt/keybase/keybase-1.0.41-r1.ebuild
index bd4023ee1fd..c6132ba6c55 100644
--- a/app-crypt/keybase/keybase-1.0.41-r1.ebuild
+++ b/app-crypt/keybase/keybase-1.0.41-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit eutils systemd versionator
+inherit eutils systemd user versionator
 
 MY_PV=$(replace_version_separator 3 '-')
 
@@ -23,6 +23,10 @@ RDEPEND="
 
 S="${WORKDIR}/src/github.com/keybase/client"
 
+pkg_setup() {
+	enewuser keybasehelper
+}
+
 src_unpack() {
 	unpack "${P}.tar.gz"
 	mkdir -p "$(dirname "${S}")" || die
@@ -35,10 +39,17 @@ src_compile() {
 		-tags production \
 		-o "${T}/keybase" \
 		github.com/keybase/client/go/keybase || die
+	GOPATH="${WORKDIR}" \
+		go build -v -x \
+		-tags production \
+		-o "${T}/keybase-mount-helper" \
+		github.com/keybase/client/go/mounter/keybase-mount-helper || die
 }
 
 src_install() {
 	dobin "${T}/keybase"
+	dobin "${T}/keybase-mount-helper"
+	fowners keybasehelper:keybasehelper "${EROOT}/usr/bin/keybase-mount-helper"
 	dobin "${S}/packaging/linux/run_keybase"
 	systemd_dounit "${S}/packaging/linux/systemd/keybase.service"
 }
@@ -46,4 +57,5 @@ src_install() {
 pkg_postinst() {
 	elog "Run the service: keybase service"
 	elog "Run the client:  keybase login"
+	elog "Restart keybase: run_keybase"
 }


             reply	other threads:[~2018-02-20 21:50 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-20 21:50 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-06-08 16:28 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-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=1519163422.4ddaef0a9e77eb6d6c533009e4aeffa859e7d9de.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