commit:     f18282a12446f5f9bbba77a3b5cba4ab50778ef1
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  5 10:28:28 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Oct  5 10:29:39 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f18282a1

sys-auth/polkit: Revbump to install files with required SUID bit again

Reported-by: Branko Grubic <bitlord0xff <AT> gmail.com>
Bug: https://bugs.gentoo.org/816393
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 sys-auth/polkit/{polkit-0.120.ebuild => polkit-0.120-r1.ebuild} | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sys-auth/polkit/polkit-0.120.ebuild 
b/sys-auth/polkit/polkit-0.120-r1.ebuild
similarity index 91%
rename from sys-auth/polkit/polkit-0.120.ebuild
rename to sys-auth/polkit/polkit-0.120-r1.ebuild
index f8a3419af6e..8860ae9bfa5 100644
--- a/sys-auth/polkit/polkit-0.120.ebuild
+++ b/sys-auth/polkit/polkit-0.120-r1.ebuild
@@ -102,6 +102,12 @@ src_install() {
 
        diropts -m 0700 -o polkitd
        keepdir /usr/share/polkit-1/rules.d
+
+       # meson does not install required files with SUID bit. See
+       #  https://bugs.gentoo.org/816393
+       # Remove the following lines once this has been fixed by upstream
+       fperms u+s /usr/bin/pkexec
+       fperms u+s /usr/lib/polkit-1/polkit-agent-helper-1
 }
 
 pkg_postinst() {

Reply via email to