mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 02:39:08 -07:00
sys-apps/policycoreutils: update suid patch
Package-Manager: Portage-2.3.6, Repoman-2.3.1
This commit is contained in:
@@ -8,6 +8,6 @@ index bdefbb8..9cff135 100644
|
||||
ifeq ($(IS_SUID),y)
|
||||
- MODE := 4555
|
||||
+ MODE := 0555
|
||||
LDLIBS += -lcap-ng
|
||||
override LDLIBS += -lcap-ng
|
||||
else
|
||||
MODE := 0555
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
diff --git a/policycoreutils/newrole/Makefile b/policycoreutils/newrole/Makefile
|
||||
index bdefbb8..9cff135 100644
|
||||
--- policycoreutils/newrole/Makefile
|
||||
+++ policycoreutils/newrole/Makefile
|
||||
@@ -49,7 +49,7 @@ ifeq ($(NAMESPACE_PRIV),y)
|
||||
IS_SUID=y
|
||||
endif
|
||||
ifeq ($(IS_SUID),y)
|
||||
- MODE := 4555
|
||||
+ MODE := 0555
|
||||
LDLIBS += -lcap-ng
|
||||
else
|
||||
MODE := 0555
|
||||
@@ -83,7 +83,7 @@ src_prepare() {
|
||||
cd "${S}" || die "Failed to switch to ${S}"
|
||||
if [[ ${PV} != 9999 ]] ; then
|
||||
# If needed for live ebuilds please use /etc/portage/patches
|
||||
eapply "${FILESDIR}/policycoreutils-2.7-0001-newrole-not-suid.patch"
|
||||
eapply "${FILESDIR}/policycoreutils-2.7_rc1-0001-newrole-not-suid.patch"
|
||||
fi
|
||||
|
||||
# rlpkg is more useful than fixfiles
|
||||
|
||||
Reference in New Issue
Block a user