diff options
-rw-r--r-- | app-crypt/kbfs/Manifest | 1 | ||||
-rw-r--r-- | app-crypt/kbfs/kbfs-2.1.0.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/app-crypt/kbfs/Manifest b/app-crypt/kbfs/Manifest index e4c715a8537f..2c04b82cc2ee 100644 --- a/app-crypt/kbfs/Manifest +++ b/app-crypt/kbfs/Manifest @@ -3,3 +3,4 @@ DIST kbfs-1.0.40.tar.gz 5432507 BLAKE2B 4d3c55d3c081cb7fea44d302a1a5598df515f98f DIST kbfs-1.0.44.tar.gz 5440024 BLAKE2B b8ab744b1bb9fa2e33bd382df92f1e50ed294446106d5723306465cbbadc0e960ad0da834671fa7f01e7ea8ff3486477972f44e927feefd1123d8a8ad4e376f5 SHA512 03e92303f140dbff059f8c954142d6180f388c1e50c2f8af02a30a740d440d5f79be47ad851d021a2b90525bf7b775e471780438b94d1d6403eddbdc0bd41e8e DIST kbfs-1.0.48.tar.gz 5639704 BLAKE2B 4d8152c8bf1a72b0493840c6ffa0da35ba6abcb677a9a15ee88745b7b870c9f2923061751e66b6d54ff12c92bcd74d7c6ce8320cb7c7cd6f75e1cd62ccf13803 SHA512 89b391223e2c7014e64c09e5303c7b89bea2508331b5d53facf8802de2442c4e53a4d79f65c085a2b3234762b334d3d36e903867ef841140d44207926d82991c DIST kbfs-2.0.0.tar.gz 5674786 BLAKE2B 65924644babbaf95867792da6a9c1f5c9c517bbe36292c3b5e40afaeb2879b1145d0b6017f3b66e6bc2ec4b858a312ab1d86ff1d8515f99c9004eeb1acaf8caa SHA512 6e51490b52cc5484d940ee057dc9b453a88d44622b1c533dd29e75eed5fa075f33d9cb6ac438401d80aa148d7561c1bc63deece5e75cdc30bb54102f2d00215b +DIST kbfs-2.1.0.tar.gz 5703221 BLAKE2B 55daa1d8f1efe4a0264477b54c1ea8db74e972b1ecdd536f4ab8042e66117c6854889aeb203fa6fea6f757e928af514520be3732ee07ccc1289ccc9f5d3f27a8 SHA512 04dd058e97c85d5188cc61a56cc4a4468ec1d4d6b2f65cbe0edb88cec2864cef3525e6f48729761a2cc6fa79559794e5a3fd9663cb31dcaaaeff90a32f2a211a diff --git a/app-crypt/kbfs/kbfs-2.1.0.ebuild b/app-crypt/kbfs/kbfs-2.1.0.ebuild new file mode 100644 index 000000000000..41a15fe68057 --- /dev/null +++ b/app-crypt/kbfs/kbfs-2.1.0.ebuild @@ -0,0 +1,51 @@ +# 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_test() { + EGO_PN="github.com/keybase/kbfs/kbfsfuse" \ + golang-build_src_test +} + +src_install() { + dobin "${T}/kbfsfuse" + dobin "${T}/git-remote-keybase" + dobin "${T}/keybase-redirector" + systemd_douserunit "${S}/packaging/linux/systemd/kbfs.service" +} |