Gentoo Archives: gentoo-commits

From: Nicolas Bock <nicolasbock@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/kbfs/
Date: Wed, 31 Oct 2018 10:22:54
Message-Id: 1540981358.13f1d34470799fac09a662c86150fd7f608200c4.nicolasbock@gentoo
1 commit: 13f1d34470799fac09a662c86150fd7f608200c4
2 Author: Nicolas Bock <nicolasbock <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 31 10:15:25 2018 +0000
4 Commit: Nicolas Bock <nicolasbock <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 31 10:22:38 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13f1d344
7
8 app-crypt/kbfs: Version bump to 2.8.0
9
10 Package-Manager: Portage-2.3.49, Repoman-2.3.11
11 Signed-off-by: Nicolas Bock <nicolasbock <AT> gentoo.org>
12
13 app-crypt/kbfs/Manifest | 1 +
14 app-crypt/kbfs/kbfs-2.8.0.ebuild | 51 ++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 52 insertions(+)
16
17 diff --git a/app-crypt/kbfs/Manifest b/app-crypt/kbfs/Manifest
18 index 94d1447bc30..d823b781aa5 100644
19 --- a/app-crypt/kbfs/Manifest
20 +++ b/app-crypt/kbfs/Manifest
21 @@ -4,3 +4,4 @@ DIST kbfs-2.3.0.tar.gz 5718571 BLAKE2B 300106465081e91bdd1a74631eff12bdf82a3042c
22 DIST kbfs-2.5.0.tar.gz 5788528 BLAKE2B 986d0411bb33dbef781c101beca3b90827f06e4c714795424b6f4fbe2abf628a4cce67699f434e872f7886816213e1cb2467d45ea4e06157ca1f23b433284457 SHA512 a12f3491c3d7dd42b78d24957f3b469837a8e6d682e91dfe6020e74e24374ce95f9de31578579680ee35513637512e84849d598d34b3e8e78f96cf99ac9cd701
23 DIST kbfs-2.5.1.tar.gz 5788845 BLAKE2B 51c878e925a6acb059f7eaaaeeab69044a76ab0def82ec50e908e177db8ccad50d1eb4f888b386c27fd97e5097032889e85361297aeb24003e91ae4a3fc53ab7 SHA512 ff3486d1252faaeb11c58c330d9515a0fc804c40b0de6c81fd82e297399fed9878393051685eefb855cbae4d2ca556d94f159e221b12c403e3b89037e61eaa84
24 DIST kbfs-2.6.0.tar.gz 5836566 BLAKE2B 14ca1fa35d01330ad51c5ca735bea059dc4f5be10298f36d2a7bd10ab5cfe2a399104dbade2da58ea3e0e77ef1e24f0644b751e7f06b91e9f4360514aaa7f6df SHA512 f636f6d01fa12e63930be7fa2d0cd919c37e68820bd602af6a54703a64759e475c5e19e29bf60b94d02dd9db188709c9ecd4da7abd05af7880fdf5e94a8d3590
25 +DIST kbfs-2.8.0.tar.gz 4459997 BLAKE2B b361ae343ab5fada7f9edac8c5083173dca103362b6e0688df069fbc0bf7dbb0eab6779259bd5c1038c542d7f51b68259404aa24c797da5c3aee6fab9fc4dab1 SHA512 892b7c51f52ca129145f10932e23c22f0f7003ea8662d26939d4f9e72cd8296fc5a66516dc7a3135fdc1cb96b1d02160c0f1dd32a4a6fe13ddcd4750eac9b8fc
26
27 diff --git a/app-crypt/kbfs/kbfs-2.8.0.ebuild b/app-crypt/kbfs/kbfs-2.8.0.ebuild
28 new file mode 100644
29 index 00000000000..f6dfded5dc6
30 --- /dev/null
31 +++ b/app-crypt/kbfs/kbfs-2.8.0.ebuild
32 @@ -0,0 +1,51 @@
33 +# Copyright 1999-2018 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +
38 +inherit golang-build systemd
39 +
40 +DESCRIPTION="Keybase Filesystem (KBFS)"
41 +HOMEPAGE="https://keybase.io/docs/kbfs"
42 +SRC_URI="https://github.com/keybase/kbfs/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 +
44 +LICENSE="BSD"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +IUSE=""
48 +
49 +DEPEND=""
50 +RDEPEND="
51 + app-crypt/gnupg
52 + sys-fs/fuse
53 + "
54 +
55 +src_unpack() {
56 + unpack "${P}.tar.gz"
57 + mkdir -vp "${S}/src/github.com/keybase" || die
58 + ln -vs "${S}" "${S}/src/github.com/keybase/kbfs" || die
59 +}
60 +
61 +src_compile() {
62 + EGO_PN="github.com/keybase/kbfs/kbfsfuse" \
63 + EGO_BUILD_FLAGS="-tags production -o ${T}/kbfsfuse" \
64 + golang-build_src_compile
65 + EGO_PN="github.com/keybase/kbfs/kbfsgit/git-remote-keybase" \
66 + EGO_BUILD_FLAGS="-tags production -o ${T}/git-remote-keybase" \
67 + golang-build_src_compile
68 + EGO_PN="github.com/keybase/kbfs/redirector" \
69 + EGO_BUILD_FLAGS="-tags production -o ${T}/keybase-redirector" \
70 + golang-build_src_compile
71 +}
72 +
73 +src_test() {
74 + EGO_PN="github.com/keybase/kbfs/kbfsfuse" \
75 + golang-build_src_test
76 +}
77 +
78 +src_install() {
79 + dobin "${T}/kbfsfuse"
80 + dobin "${T}/git-remote-keybase"
81 + dobin "${T}/keybase-redirector"
82 + systemd_douserunit "${S}/packaging/linux/systemd/kbfs.service"
83 +}