commit:     e43dde232ea4d5fb3392d17614b942e7c82f64c1
Author:     Yuri Konotopov <ykonotopov <AT> gnome <DOT> org>
AuthorDate: Thu Feb 25 14:39:15 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Mar  1 08:25:56 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e43dde23

games-emulation/pcsx2: do not set suid with USE=-filecaps

Closes: https://bugs.gentoo.org/771795
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Yuri Konotopov <ykonotopov <AT> gnome.org>
Closes: https://github.com/gentoo/gentoo/pull/19649
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 games-emulation/pcsx2/pcsx2-1.6.0-r2.ebuild | 2 +-
 games-emulation/pcsx2/pcsx2-9999.ebuild     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-emulation/pcsx2/pcsx2-1.6.0-r2.ebuild 
b/games-emulation/pcsx2/pcsx2-1.6.0-r2.ebuild
index 39f1ff3ec9e..d394535a100 100644
--- a/games-emulation/pcsx2/pcsx2-1.6.0-r2.ebuild
+++ b/games-emulation/pcsx2/pcsx2-1.6.0-r2.ebuild
@@ -39,7 +39,7 @@ DEPEND="${RDEPEND}"
 S="${WORKDIR}/${PN}-${MY_PV}"
 
 FILECAPS=(
-       "CAP_NET_RAW+eip CAP_NET_ADMIN+eip" usr/bin/PCSX2
+       -m 755 "CAP_NET_RAW+eip CAP_NET_ADMIN+eip" usr/bin/PCSX2
 )
 
 PATCHES=(

diff --git a/games-emulation/pcsx2/pcsx2-9999.ebuild 
b/games-emulation/pcsx2/pcsx2-9999.ebuild
index 5f738f270f9..1555b343b49 100644
--- a/games-emulation/pcsx2/pcsx2-9999.ebuild
+++ b/games-emulation/pcsx2/pcsx2-9999.ebuild
@@ -44,7 +44,7 @@ DEPEND="${RDEPEND}"
 BDEPEND="test? ( dev-cpp/gtest )"
 
 FILECAPS=(
-       "CAP_NET_RAW+eip CAP_NET_ADMIN+eip" usr/bin/PCSX2
+       -m 755 "CAP_NET_RAW+eip CAP_NET_ADMIN+eip" usr/bin/PCSX2
 )
 
 pkg_setup() {

Reply via email to