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@gnome.org>
Closes: https://github.com/gentoo/gentoo/pull/19649
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Yuri Konotopov 2021-02-25 18:39:15 +04:00 committed by Joonas Niilola
parent 33307a7297
commit e43dde232e
No known key found for this signature in database
GPG Key ID: 7383942B8DC06962
2 changed files with 2 additions and 2 deletions

View File

@ -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=(

View File

@ -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() {