summaryrefslogtreecommitdiff
path: root/sys-auth/polkit
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-08-18 18:16:17 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-08-18 18:16:17 +0100
commitfc637fb28da700da71ec2064d65ca5a7a31b9c6c (patch)
tree326613a08f25851c388715e205576a2e7d25dc4f /sys-auth/polkit
parentb24bd25253fe093f722ab576d29fdc41d04cb1ee (diff)
gentoo resync : 18.08.2019
Diffstat (limited to 'sys-auth/polkit')
-rw-r--r--sys-auth/polkit/Manifest2
-rw-r--r--sys-auth/polkit/polkit-0.116-r1.ebuild (renamed from sys-auth/polkit/polkit-0.116.ebuild)26
2 files changed, 9 insertions, 19 deletions
diff --git a/sys-auth/polkit/Manifest b/sys-auth/polkit/Manifest
index 3045a0e62aff..791bfd1121ea 100644
--- a/sys-auth/polkit/Manifest
+++ b/sys-auth/polkit/Manifest
@@ -5,5 +5,5 @@ DIST polkit-0.115.tar.gz 1550932 BLAKE2B 3185ebed46209f88a9ffccbbcaf1bf180d1ae6d
DIST polkit-0.116.tar.gz 1548311 BLAKE2B e9761a2934136d453a47b81dd1f132f9fc96c45b731d5fceb2aa7706f5325b6499f6acbb68032befc1b21878b1b54754685607c916ca8e02a8accca3ca014b31 SHA512 b66b01cc2bb4349de70147f41f161f0f6f41e7230b581dfb054058b48969ec57041ab05b51787c749ccfc36aa5f317952d7e7ba337b4f6f6c0a923ed5866c2d5
EBUILD polkit-0.115-r3.ebuild 3524 BLAKE2B be2c343098d17a44ed50663766d20236cde1be31cb8e47b94b1005bad9a738e59b6035a16f2a17b5448eb1286e25c8abae2d056c0f299f35e89eb3e38a837ba1 SHA512 11f280bba463810f0ef6c73bbaf3c37f50dbb0b07dfc9c56d0f5210235091748977bb1e001a1ccd86381f14ac9a6b97c017280fb9a2d7f4cfc2fe8ea6fd7bf37
EBUILD polkit-0.115-r4.ebuild 3615 BLAKE2B 354bb18d8cbc94d16f92d08253974cb726805e07a44020d8b28c9262f034e53ab4cff5d235c1acacd28bc97784fc0d38ee19e181d5432365954e7301b8948b21 SHA512 f438794fc7ee385aab8246f5918087b5d2e3bc26f3cb4f89dd849e02b0e75cceadcadb21046bec81ae0166278b47d3f4504cf19a79c27ee2f0049c89bcea2f95
-EBUILD polkit-0.116.ebuild 3538 BLAKE2B bf15f17cbb364e5b1198076aea7d0b49ff9b0d0784cf651f79a919bca6d42f50e59a471ac7d0c00c699b7dddcea955301f2652878f2c8820fd6910afad9a2c97 SHA512 a6f96f4ef9abe67055777be109ddfb667f6191db4439978c6b7a3ad61d941dc50d618686c66383b7b59945cd464f570f2887543020767d3a3689690e3f6b4a44
+EBUILD polkit-0.116-r1.ebuild 3359 BLAKE2B 578f389e449094c1cb555272d03c308b3530a66bd44354a9a1b6441644b2c2f48fa5e2c4788ae31f4159f91157742d5cd17b3074b992271a5bdace482e8b6537 SHA512 b037d3b56d9fccbd49d69c984247ab18dcdbafd03f6f23384e4bd315aae3c30eeb9b70e2287bf4769b54b4c5782cf22db993a841f9a95d00c3baeeebdf826ec3
MISC metadata.xml 498 BLAKE2B 8bbfe2ee11b53b77dc26215776a87acd7cade59a5a139ada605f2ad293c569005d2bd517aaee1c6f4ea45251a0cc67f10082c96c2224d47fd84b5e1d87dcb724 SHA512 16ab1ff82daad858eb9adf7396b0e3d5845914eb7d7f1590cdea44fe1a2214043f011cd65cdde2e2195b959bae6581845bc6b4981fd400b3d8719f400f85b6dc
diff --git a/sys-auth/polkit/polkit-0.116.ebuild b/sys-auth/polkit/polkit-0.116-r1.ebuild
index b3fdcd99dd81..4b9c7900a5f5 100644
--- a/sys-auth/polkit/polkit-0.116.ebuild
+++ b/sys-auth/polkit/polkit-0.116-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit autotools pam pax-utils systemd user xdg-utils
+inherit autotools pam pax-utils systemd xdg-utils
DESCRIPTION="Policy framework for controlling privileges for system-wide services"
HOMEPAGE="https://www.freedesktop.org/wiki/Software/polkit https://gitlab.freedesktop.org/polkit/polkit"
@@ -17,6 +17,7 @@ IUSE="consolekit elogind examples gtk +introspection jit kde nls pam selinux sys
REQUIRED_USE="^^ ( consolekit elogind systemd )"
BDEPEND="
+ acct-user/polkitd
app-text/docbook-xml-dtd:4.1.2
app-text/docbook-xsl-stylesheets
dev-libs/gobject-introspection-common
@@ -40,6 +41,7 @@ DEPEND="
systemd? ( sys-apps/systemd:0=[policykit] )
"
RDEPEND="${DEPEND}
+ acct-user/polkitd
selinux? ( sec-policy/selinux-policykit )
"
PDEPEND="
@@ -62,16 +64,6 @@ QA_MULTILIB_PATHS="
usr/lib/polkit-1/polkit-agent-helper-1
usr/lib/polkit-1/polkitd"
-pkg_setup() {
- local u=polkitd
- local g=polkitd
- local h=/var/lib/polkit-1
-
- enewgroup ${g}
- enewuser ${u} -1 -1 ${h} ${g}
- esethome ${u} ${h}
-}
-
src_prepare() {
default
@@ -122,20 +114,18 @@ src_compile() {
src_install() {
default
- fowners -R polkitd:root /{etc,usr/share}/polkit-1/rules.d
-
- diropts -m0700 -o polkitd -g polkitd
- keepdir /var/lib/polkit-1
-
if use examples; then
insinto /usr/share/doc/${PF}/examples
doins src/examples/{*.c,*.policy*}
fi
+ diropts -m 0700 -o polkitd
+ keepdir /usr/share/polkit-1/rules.d
+
find "${ED}" -name '*.la' -delete || die
}
pkg_postinst() {
- chown -R polkitd:root "${EROOT}"/{etc,usr/share}/polkit-1/rules.d
- chown -R polkitd:polkitd "${EROOT}"/var/lib/polkit-1
+ chmod 0700 "${EROOT}"/{etc,usr/share}/polkit-1/rules.d
+ chown polkitd "${EROOT}"/{etc,usr/share}/polkit-1/rules.d
}