From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D4C6C1382C5 for ; Fri, 23 Feb 2018 22:01:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0A61DE0830; Fri, 23 Feb 2018 22:01:35 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DA633E0830 for ; Fri, 23 Feb 2018 22:01:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 71CCC335C09 for ; Fri, 23 Feb 2018 22:01:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C63A11A7 for ; Fri, 23 Feb 2018 22:01:31 +0000 (UTC) From: "Nicolas Bock" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nicolas Bock" Message-ID: <1519423280.1303d32d0e940363dbb1ca6b8291cf5cb59dd674.nicolasbock@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/keybase/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/keybase/keybase-9999.ebuild X-VCS-Directories: app-crypt/keybase/ X-VCS-Committer: nicolasbock X-VCS-Committer-Name: Nicolas Bock X-VCS-Revision: 1303d32d0e940363dbb1ca6b8291cf5cb59dd674 X-VCS-Branch: master Date: Fri, 23 Feb 2018 22:01:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ad580d4e-7437-49f5-a2c5-407ae93e3507 X-Archives-Hash: 78b3ae2d1532183508915de117ffdc2e commit: 1303d32d0e940363dbb1ca6b8291cf5cb59dd674 Author: Nicolas Bock gentoo org> AuthorDate: Fri Feb 23 22:01:01 2018 +0000 Commit: Nicolas Bock gentoo org> CommitDate: Fri Feb 23 22:01:20 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1303d32d app-crypt/keybase: Update live ebuild Package-Manager: Portage-2.3.19, Repoman-2.3.6 app-crypt/keybase/keybase-9999.ebuild | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/app-crypt/keybase/keybase-9999.ebuild b/app-crypt/keybase/keybase-9999.ebuild index 09718d4794c..05206f40c35 100644 --- a/app-crypt/keybase/keybase-9999.ebuild +++ b/app-crypt/keybase/keybase-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit eutils versionator git-r3 +inherit eutils systemd user versionator git-r3 MY_PV=$(replace_version_separator 3 '-') @@ -17,12 +17,17 @@ KEYWORDS="" IUSE="" DEPEND=" - >=dev-lang/go-1.6:0" + >=dev-lang/go-1.6:0 + app-crypt/kbfs" RDEPEND=" app-crypt/gnupg" S="${WORKDIR}/src/github.com/keybase/client" +pkg_setup() { + enewuser keybasehelper +} + src_unpack() { git-r3_src_unpack mkdir -p "$(dirname "${S}")" || die @@ -35,13 +40,23 @@ 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_douserunit "${S}/packaging/linux/systemd/keybase.service" } pkg_postinst() { elog "Run the service: keybase service" elog "Run the client: keybase login" + elog "Restart keybase: run_keybase" }