commit:     75f6041c30ba38fd1486a9843a246d585ed4f48c
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 17 20:13:10 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Aug 17 20:13:29 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75f6041c

dev-db/mysql: disable rpm call

Closes: https://bugs.gentoo.org/692368
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 dev-db/mysql/mysql-8.0.17.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-db/mysql/mysql-8.0.17.ebuild b/dev-db/mysql/mysql-8.0.17.ebuild
index d2e0717c4ab..df67c9534ad 100644
--- a/dev-db/mysql/mysql-8.0.17.ebuild
+++ b/dev-db/mysql/mysql-8.0.17.ebuild
@@ -164,6 +164,11 @@ src_unpack() {
 }
 
 src_prepare() {
+       # Avoid rpm call which would trigger sandbox, #692368
+       sed -i \
+               -e 's/MY_RPM rpm/MY_RPM rpmNOTEXISTENT/' \
+               CMakeLists.txt || die
+
        if use jemalloc ; then
                echo "TARGET_LINK_LIBRARIES(mysqld jemalloc)" >> 
"${S}/sql/CMakeLists.txt" || die
        fi

Reply via email to