summaryrefslogtreecommitdiff
path: root/sys-auth/polkit-pkla-compat
diff options
context:
space:
mode:
Diffstat (limited to 'sys-auth/polkit-pkla-compat')
-rw-r--r--sys-auth/polkit-pkla-compat/Manifest2
-rw-r--r--sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1-r2.ebuild (renamed from sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1-r1.ebuild)18
2 files changed, 12 insertions, 8 deletions
diff --git a/sys-auth/polkit-pkla-compat/Manifest b/sys-auth/polkit-pkla-compat/Manifest
index 011d8e960db7..0ad43b63fa6c 100644
--- a/sys-auth/polkit-pkla-compat/Manifest
+++ b/sys-auth/polkit-pkla-compat/Manifest
@@ -1,3 +1,3 @@
DIST polkit-pkla-compat-0.1.tar.xz 291148 BLAKE2B b993a17dc9f16e622f59ed5e716f36857a3196567a426f81fac75f1a0a774c9d6e608d36433e2b39a4d50dbd1699b5b686835fde7cbae6260c5a226c90ebe7b3 SHA512 968cf547db977731a6c6bb292fa86ef46a2ce8f74d008da62f219c20da8cdde94f6309dccba3be33d0111bfa34609799bdeee4d2464395c8837370d022d425c5
-EBUILD polkit-pkla-compat-0.1-r1.ebuild 679 BLAKE2B 12e90d2035b6cffdf1715e42851f664650cd13d42f7533c21f4dd571021994a1b47a32c0b94b2d99028c65a136a8d878cc2c03c225f1ffef54749b5d34b70cea SHA512 5e9b69e207a463a05c45aa65040a8fe28620ac8595cf84bc0a19874b07dc3009b808ea96cfc615c5607ecb3cc7825ebe3959ba891b952809f23d25cd18729f8d
+EBUILD polkit-pkla-compat-0.1-r2.ebuild 791 BLAKE2B fc139c19037073f44707b2903731dbd81d92c793cd2ec78a1c3eb998953fb9dfee60b3f2aedb59583a44d0911d0499076b5238a25a1b87e645b3c935bd70a050 SHA512 39fb7aa0eacaea8c550e88885ee66e7a2e894e62c7eb7777d1b703358ff963a8bc94dd1e60c90713a873a9791232c61a1aa9d11b825595c087392faa9c5add93
MISC metadata.xml 229 BLAKE2B 35bd897953d3051382021de0742162ed1a166c98224fec04fc54dc467dfe5492289b1da910ae9213259b20a0bd5bbffc041624ccb3aacc23b56de2c397861d7d SHA512 7340f6b8c0a938920b7940a288c212e868ae0d8cb18b97c028e6e959f72f94e35f37a2d864bb662fc1d01b43bd7b72efdcbcc5d48e700aaf8c845eb6b9d67fed
diff --git a/sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1-r1.ebuild b/sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1-r2.ebuild
index 1f0ef021b4cf..05c4ed9e6222 100644
--- a/sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1-r1.ebuild
+++ b/sys-auth/polkit-pkla-compat/polkit-pkla-compat-0.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -11,19 +11,23 @@ LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm ~ppc x86"
-RDEPEND=">=dev-libs/glib-2.30
+RDEPEND="
+ acct-group/polkitd
+ >=dev-libs/glib-2.30
>=sys-auth/polkit-0.110"
DEPEND="${RDEPEND}"
BDEPEND="
+ acct-group/polkitd
app-text/docbook-xsl-stylesheets
dev-libs/libxslt
virtual/pkgconfig"
-src_install() {
- default
- fowners -R root:polkitd /etc/polkit-1/localauthority
+src_configure() {
+ econf --localstatedir="${EPREFIX}/var"
}
-pkg_postinst() {
- chown -R root:polkitd "${EROOT}"/etc/polkit-1/localauthority || die
+src_install() {
+ default
+ keepdir /etc/polkit-1/localauthority.conf.d
+ keepdir /{etc,var/lib}/polkit-1/localauthority/{10-vendor.d,20-org.d,30-site.d,50-local.d,90-mandatory.d}
}