commit:     0019fcf041ee52c5fd962fc35607f53aa806f39d
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 22 22:12:33 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Nov 22 22:12:33 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0019fcf0

app-crypt/kali-archive-keyring: advise sandbox of activity in /run/user

Shamelessly stolen from app-crypt/jetring ebuilds.

Closes: https://bugs.gentoo.org/826686
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 app-crypt/kali-archive-keyring/kali-archive-keyring-2020.2.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/app-crypt/kali-archive-keyring/kali-archive-keyring-2020.2.ebuild 
b/app-crypt/kali-archive-keyring/kali-archive-keyring-2020.2.ebuild
index 35545a0354b8..2562c8db09fb 100644
--- a/app-crypt/kali-archive-keyring/kali-archive-keyring-2020.2.ebuild
+++ b/app-crypt/kali-archive-keyring/kali-archive-keyring-2020.2.ebuild
@@ -12,3 +12,9 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~x86"
 
 BDEPEND="app-crypt/jetring"
+
+src_compile() {
+       # Bug #826686
+       addpredict "/run/user/$(id -u)/gnupg/"
+       default
+}

Reply via email to