Skip to content

Commit

Permalink
app-crypt/kbfs: Version bump to v2.6.0
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.49, Repoman-2.3.10
  • Loading branch information
nicolasbock committed Sep 26, 2018
1 parent a864656 commit 675a092
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-crypt/kbfs/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ DIST kbfs-2.1.0.tar.gz 5703221 BLAKE2B 55daa1d8f1efe4a0264477b54c1ea8db74e972b1e
DIST kbfs-2.3.0.tar.gz 5718571 BLAKE2B 300106465081e91bdd1a74631eff12bdf82a3042ce6c3f532c0b61016291769a8e0f87af0cbc0b34b3d3c95ec054580654e8152bf97a56c0dfe3641b88483d79 SHA512 c7521f9664ec78fc8fd1a6d9f3e86f4680260ed507223c2a6a2694ff686984bfc615ac454da10ff7b01247866ad65a5e719e3fb8db5f0c3044e019ab7a82356f
DIST kbfs-2.5.0.tar.gz 5788528 BLAKE2B 986d0411bb33dbef781c101beca3b90827f06e4c714795424b6f4fbe2abf628a4cce67699f434e872f7886816213e1cb2467d45ea4e06157ca1f23b433284457 SHA512 a12f3491c3d7dd42b78d24957f3b469837a8e6d682e91dfe6020e74e24374ce95f9de31578579680ee35513637512e84849d598d34b3e8e78f96cf99ac9cd701
DIST kbfs-2.5.1.tar.gz 5788845 BLAKE2B 51c878e925a6acb059f7eaaaeeab69044a76ab0def82ec50e908e177db8ccad50d1eb4f888b386c27fd97e5097032889e85361297aeb24003e91ae4a3fc53ab7 SHA512 ff3486d1252faaeb11c58c330d9515a0fc804c40b0de6c81fd82e297399fed9878393051685eefb855cbae4d2ca556d94f159e221b12c403e3b89037e61eaa84
DIST kbfs-2.6.0.tar.gz 5836566 BLAKE2B 14ca1fa35d01330ad51c5ca735bea059dc4f5be10298f36d2a7bd10ab5cfe2a399104dbade2da58ea3e0e77ef1e24f0644b751e7f06b91e9f4360514aaa7f6df SHA512 f636f6d01fa12e63930be7fa2d0cd919c37e68820bd602af6a54703a64759e475c5e19e29bf60b94d02dd9db188709c9ecd4da7abd05af7880fdf5e94a8d3590
51 changes: 51 additions & 0 deletions app-crypt/kbfs/kbfs-2.6.0.ebuild
Original file line number Diff line number Diff line change
@@ -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"
}

0 comments on commit 675a092

Please sign in to comment.