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 91797138334 for ; Wed, 13 Jun 2018 09:53:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 726E6E0866; Wed, 13 Jun 2018 09:53:10 +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 2E153E0866 for ; Wed, 13 Jun 2018 09:53:10 +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 23C46335C5A for ; Wed, 13 Jun 2018 09:53:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3A4F12B8 for ; Wed, 13 Jun 2018 09:53:06 +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: <1528883577.0a0631cd61d1e2b05b2c939efd7345abb0396cd8.nicolasbock@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/kbfs/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/kbfs/kbfs-2.0.0-r1.ebuild X-VCS-Directories: app-crypt/kbfs/ X-VCS-Committer: nicolasbock X-VCS-Committer-Name: Nicolas Bock X-VCS-Revision: 0a0631cd61d1e2b05b2c939efd7345abb0396cd8 X-VCS-Branch: master Date: Wed, 13 Jun 2018 09:53:06 +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: 04c664e6-c1b2-445c-bda5-459a43fba9f7 X-Archives-Hash: 538f54727d8c67aa6b127d25d702bfc9 commit: 0a0631cd61d1e2b05b2c939efd7345abb0396cd8 Author: Nicolas Bock gentoo org> AuthorDate: Wed Jun 13 09:52:46 2018 +0000 Commit: Nicolas Bock gentoo org> CommitDate: Wed Jun 13 09:52:57 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a0631cd app-crypt/kbfs: Add keybase-redirector Package-Manager: Portage-2.3.40, Repoman-2.3.9 app-crypt/kbfs/kbfs-2.0.0-r1.ebuild | 46 +++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/app-crypt/kbfs/kbfs-2.0.0-r1.ebuild b/app-crypt/kbfs/kbfs-2.0.0-r1.ebuild new file mode 100644 index 00000000000..c6b4d2bbe67 --- /dev/null +++ b/app-crypt/kbfs/kbfs-2.0.0-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit golang-build systemd + +DESCRIPTION="Keybase Filesystem (KBFS)" +HOMEPAGE="https://keybase.io/docs/kbfs" +SRC_URI="https://github.com/keybase/kbfs/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND=" + app-crypt/gnupg + sys-fs/fuse + " + +src_unpack() { + unpack "${P}.tar.gz" + mkdir -vp "${S}/src/github.com/keybase" || die + ln -vs "${S}" "${S}/src/github.com/keybase/kbfs" || die +} + +src_compile() { + EGO_PN="github.com/keybase/kbfs/kbfsfuse" \ + EGO_BUILD_FLAGS="-tags production -o ${T}/kbfsfuse" \ + golang-build_src_compile + EGO_PN="github.com/keybase/kbfs/kbfsgit/git-remote-keybase" \ + EGO_BUILD_FLAGS="-tags production -o ${T}/git-remote-keybase" \ + golang-build_src_compile + EGO_PN="github.com/keybase/kbfs/redirector" \ + EGO_BUILD_FLAGS="-tags production -o ${T}/keybase-redirector" \ + golang-build_src_compile +} + +src_install() { + dobin "${T}/kbfsfuse" + dobin "${T}/git-remote-keybase" + dobin "${T}/keybase-redirector" + systemd_douserunit "${S}/packaging/linux/systemd/kbfs.service" +}