commit: d6a4cc3140bd740517030a192b2d40b7837eb5f1 Author: Zac Medico <zmedico <AT> gentoo <DOT> org> AuthorDate: Fri Oct 29 07:09:20 2021 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Fri Oct 29 07:10:26 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6a4cc31
net-misc/drive: GOCACHE safety Bug: https://bugs.gentoo.org/679328 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> net-misc/drive/drive-0.3.9.1-r1.ebuild | 3 ++- net-misc/drive/drive-0.3.9.1.ebuild | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/net-misc/drive/drive-0.3.9.1-r1.ebuild b/net-misc/drive/drive-0.3.9.1-r1.ebuild index d58b9c28a5d..b1fe7886e7a 100644 --- a/net-misc/drive/drive-0.3.9.1-r1.ebuild +++ b/net-misc/drive/drive-0.3.9.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -54,6 +54,7 @@ SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz ${EGO_VENDOR_URI}" src_compile() { + export -n GOCACHE XDG_CACHE_HOME GOPATH="${S}" \ go install -v -work -x ${EGO_BUILD_FLAGS} \ "${EGO_PN}"/{cmd/drive,drive-server} || die diff --git a/net-misc/drive/drive-0.3.9.1.ebuild b/net-misc/drive/drive-0.3.9.1.ebuild index 996aee6541f..8ddfbb9f66f 100644 --- a/net-misc/drive/drive-0.3.9.1.ebuild +++ b/net-misc/drive/drive-0.3.9.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -51,6 +51,7 @@ SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz ${EGO_VENDOR_URI}" src_compile() { + export -n GOCACHE XDG_CACHE_HOME GOPATH="${S}" \ go install -v -work -x ${EGO_BUILD_FLAGS} \ "${EGO_PN}"/{cmd/drive,drive-server} || die
