1 |
commit: d6a4cc3140bd740517030a192b2d40b7837eb5f1 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 29 07:09:20 2021 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 29 07:10:26 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6a4cc31 |
7 |
|
8 |
net-misc/drive: GOCACHE safety |
9 |
|
10 |
Bug: https://bugs.gentoo.org/679328 |
11 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
12 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
13 |
|
14 |
net-misc/drive/drive-0.3.9.1-r1.ebuild | 3 ++- |
15 |
net-misc/drive/drive-0.3.9.1.ebuild | 3 ++- |
16 |
2 files changed, 4 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/net-misc/drive/drive-0.3.9.1-r1.ebuild b/net-misc/drive/drive-0.3.9.1-r1.ebuild |
19 |
index d58b9c28a5d..b1fe7886e7a 100644 |
20 |
--- a/net-misc/drive/drive-0.3.9.1-r1.ebuild |
21 |
+++ b/net-misc/drive/drive-0.3.9.1-r1.ebuild |
22 |
@@ -1,4 +1,4 @@ |
23 |
-# Copyright 1999-2019 Gentoo Authors |
24 |
+# Copyright 1999-2021 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI=7 |
28 |
@@ -54,6 +54,7 @@ SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz |
29 |
${EGO_VENDOR_URI}" |
30 |
|
31 |
src_compile() { |
32 |
+ export -n GOCACHE XDG_CACHE_HOME |
33 |
GOPATH="${S}" \ |
34 |
go install -v -work -x ${EGO_BUILD_FLAGS} \ |
35 |
"${EGO_PN}"/{cmd/drive,drive-server} || die |
36 |
|
37 |
diff --git a/net-misc/drive/drive-0.3.9.1.ebuild b/net-misc/drive/drive-0.3.9.1.ebuild |
38 |
index 996aee6541f..8ddfbb9f66f 100644 |
39 |
--- a/net-misc/drive/drive-0.3.9.1.ebuild |
40 |
+++ b/net-misc/drive/drive-0.3.9.1.ebuild |
41 |
@@ -1,4 +1,4 @@ |
42 |
-# Copyright 1999-2019 Gentoo Authors |
43 |
+# Copyright 1999-2021 Gentoo Authors |
44 |
# Distributed under the terms of the GNU General Public License v2 |
45 |
|
46 |
EAPI=6 |
47 |
@@ -51,6 +51,7 @@ SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz |
48 |
${EGO_VENDOR_URI}" |
49 |
|
50 |
src_compile() { |
51 |
+ export -n GOCACHE XDG_CACHE_HOME |
52 |
GOPATH="${S}" \ |
53 |
go install -v -work -x ${EGO_BUILD_FLAGS} \ |
54 |
"${EGO_PN}"/{cmd/drive,drive-server} || die |