1 |
commit: 675a092ef49b20f0938d4247dd78f393a6a9a267 |
2 |
Author: Nicolas Bock <nicolasbock <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 26 11:35:14 2018 +0000 |
4 |
Commit: Nicolas Bock <nicolasbock <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 26 11:41:00 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=675a092e |
7 |
|
8 |
app-crypt/kbfs: Version bump to v2.6.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.49, Repoman-2.3.10 |
11 |
|
12 |
app-crypt/kbfs/Manifest | 1 + |
13 |
app-crypt/kbfs/kbfs-2.6.0.ebuild | 51 ++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 52 insertions(+) |
15 |
|
16 |
diff --git a/app-crypt/kbfs/Manifest b/app-crypt/kbfs/Manifest |
17 |
index 34ddff49cc8..94d1447bc30 100644 |
18 |
--- a/app-crypt/kbfs/Manifest |
19 |
+++ b/app-crypt/kbfs/Manifest |
20 |
@@ -3,3 +3,4 @@ DIST kbfs-2.1.0.tar.gz 5703221 BLAKE2B 55daa1d8f1efe4a0264477b54c1ea8db74e972b1e |
21 |
DIST kbfs-2.3.0.tar.gz 5718571 BLAKE2B 300106465081e91bdd1a74631eff12bdf82a3042ce6c3f532c0b61016291769a8e0f87af0cbc0b34b3d3c95ec054580654e8152bf97a56c0dfe3641b88483d79 SHA512 c7521f9664ec78fc8fd1a6d9f3e86f4680260ed507223c2a6a2694ff686984bfc615ac454da10ff7b01247866ad65a5e719e3fb8db5f0c3044e019ab7a82356f |
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 |
|
26 |
diff --git a/app-crypt/kbfs/kbfs-2.6.0.ebuild b/app-crypt/kbfs/kbfs-2.6.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..41a15fe6805 |
29 |
--- /dev/null |
30 |
+++ b/app-crypt/kbfs/kbfs-2.6.0.ebuild |
31 |
@@ -0,0 +1,51 @@ |
32 |
+# Copyright 1999-2018 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+inherit golang-build systemd |
38 |
+ |
39 |
+DESCRIPTION="Keybase Filesystem (KBFS)" |
40 |
+HOMEPAGE="https://keybase.io/docs/kbfs" |
41 |
+SRC_URI="https://github.com/keybase/kbfs/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="BSD" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+IUSE="" |
47 |
+ |
48 |
+DEPEND="" |
49 |
+RDEPEND=" |
50 |
+ app-crypt/gnupg |
51 |
+ sys-fs/fuse |
52 |
+ " |
53 |
+ |
54 |
+src_unpack() { |
55 |
+ unpack "${P}.tar.gz" |
56 |
+ mkdir -vp "${S}/src/github.com/keybase" || die |
57 |
+ ln -vs "${S}" "${S}/src/github.com/keybase/kbfs" || die |
58 |
+} |
59 |
+ |
60 |
+src_compile() { |
61 |
+ EGO_PN="github.com/keybase/kbfs/kbfsfuse" \ |
62 |
+ EGO_BUILD_FLAGS="-tags production -o ${T}/kbfsfuse" \ |
63 |
+ golang-build_src_compile |
64 |
+ EGO_PN="github.com/keybase/kbfs/kbfsgit/git-remote-keybase" \ |
65 |
+ EGO_BUILD_FLAGS="-tags production -o ${T}/git-remote-keybase" \ |
66 |
+ golang-build_src_compile |
67 |
+ EGO_PN="github.com/keybase/kbfs/redirector" \ |
68 |
+ EGO_BUILD_FLAGS="-tags production -o ${T}/keybase-redirector" \ |
69 |
+ golang-build_src_compile |
70 |
+} |
71 |
+ |
72 |
+src_test() { |
73 |
+ EGO_PN="github.com/keybase/kbfs/kbfsfuse" \ |
74 |
+ golang-build_src_test |
75 |
+} |
76 |
+ |
77 |
+src_install() { |
78 |
+ dobin "${T}/kbfsfuse" |
79 |
+ dobin "${T}/git-remote-keybase" |
80 |
+ dobin "${T}/keybase-redirector" |
81 |
+ systemd_douserunit "${S}/packaging/linux/systemd/kbfs.service" |
82 |
+} |