diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
commit | d18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c (patch) | |
tree | 4a95cbc6ffdf13bad6ecbc7f8d5af99631984123 /sys-auth/polkit | |
parent | e748ba9741f6540f4675c23e3e37b73e822c13a4 (diff) |
gentoo resync : 15.06.2021
Diffstat (limited to 'sys-auth/polkit')
-rw-r--r-- | sys-auth/polkit/Manifest | 8 | ||||
-rw-r--r-- | sys-auth/polkit/polkit-0.116-r1.ebuild | 4 | ||||
-rw-r--r-- | sys-auth/polkit/polkit-0.117.ebuild | 4 | ||||
-rw-r--r-- | sys-auth/polkit/polkit-0.118.ebuild | 2 | ||||
-rw-r--r-- | sys-auth/polkit/polkit-0.119.ebuild | 131 |
5 files changed, 141 insertions, 8 deletions
diff --git a/sys-auth/polkit/Manifest b/sys-auth/polkit/Manifest index 27560bb9a734..b829add79fe7 100644 --- a/sys-auth/polkit/Manifest +++ b/sys-auth/polkit/Manifest @@ -2,7 +2,9 @@ AUX polkit-0.115-elogind.patch 1069 BLAKE2B 6c5a3d7d3e716a994b951181808f64d864e6 DIST polkit-0.116.tar.gz 1548311 BLAKE2B e9761a2934136d453a47b81dd1f132f9fc96c45b731d5fceb2aa7706f5325b6499f6acbb68032befc1b21878b1b54754685607c916ca8e02a8accca3ca014b31 SHA512 b66b01cc2bb4349de70147f41f161f0f6f41e7230b581dfb054058b48969ec57041ab05b51787c749ccfc36aa5f317952d7e7ba337b4f6f6c0a923ed5866c2d5 DIST polkit-0.117.tar.gz 1554536 BLAKE2B 1cf7e0ff9db19a29be626f4bea96c9e2ef8b1eab4b8287a5f1f4d2a818b86d58c1c4c4a41849d95e31559dba1b18853a31e934ebbadd8e07f94dfd58b45240e0 SHA512 c10ea984f2386fe436e58a2866e5323afc80d24f744f0ee61d966941259aa491bd96b07d911434aa731b300c3cca25b647804b396501175ab5b3c53384e94c70 DIST polkit-0.118.tar.gz 1556765 BLAKE2B d048b37b1ff8ad59a2d8a333a3b459d1592b61f7a6d9a9569f8b2984de913d71abfc9748e242c7453f0bce4f322bd44672e35309f181afd22488794ca0e47119 SHA512 3d412f40c903cfaf68530f9c0cb616106f8edf43bec6805de129f8bb9cb4e64c98da6bf02caa3ef5619974f3e2df7a70564f08b92901662453477e9005752b4e -EBUILD polkit-0.116-r1.ebuild 3300 BLAKE2B 8595ffd0e47b4086d2b7b417bf11ae0eeae9c7b555a25daf0add7070e16e638374d36f6c9b77847ffd67692e53c1fd04d9b29c2b10edd7fb53aaa785ffb465f5 SHA512 bf8d37f0c463f19e611025249c4f8faace23b0e0f65de749e084c96c80924278eb2597a58d73e769cba6d0af403ab46f1087f8163c244195d5ec2c8fbef27cbb -EBUILD polkit-0.117.ebuild 3304 BLAKE2B c700ee70fa5d9b8b38fdb1a274be12152f451ef5d0c389b5a0038cc2f5423bf058506549e81db655474bd3775b5c35967ca0b6d3231cfa512c41bb132ed20c1a SHA512 4ab89d50a29ef939907955958be3e894473d5f6ab020d297485532d741d018e003d871de849639d4d1e3de18405c78f52d091f295468405b56c2b522a5958415 -EBUILD polkit-0.118.ebuild 3278 BLAKE2B e7d8cb19f9730520a30558e574f78707fdccec5d96ed5da8e5d1734e9880feff565899ab1ae08dd51fd1cf038ce7a68b1fb5edcfd75fba360ac38789f2680d6b SHA512 e86a01fe64656d722367d17e8d15dab41e626e185b8c5a97198849b2fcb2ffb82c38eb9089e822bb6b2e8b639bec9e21cd58129168a9081c7dbfce475bc49f0c +DIST polkit-0.119.tar.gz 1387409 BLAKE2B aeb605598393d1cab40f7c77954008a0392600584c5fe8cc9acaa0e122418ee48b9cce0b6839189ea415277ff0ae4dbd5b7c71cb910aa349dcaf7e1f3f70ef06 SHA512 0260fb15da1c4c1f429e8223260981e64e297f1be8ced42f6910f09ea6581b8205aca06c9c601eb4a128acba2f468de0223118f96862ba769f95721894cf1578 +EBUILD polkit-0.116-r1.ebuild 3296 BLAKE2B 0d6916767aeb703f713375112a6fe51855ce13b4250930b188b8d370a93db798efd5c1552ee69c7191e0ee24eaeafa34d38b77f3aa4c0893730ae7d5fc2daa19 SHA512 8b44935bfa8c9b39f1de493e79794faa8e26555fe15fa5225441f3f77fa592902487e708dd30e71902529efd1060cf5b610fd971ba89a16f981c361fb1656582 +EBUILD polkit-0.117.ebuild 3300 BLAKE2B faf6971601ff935b342269e18673556dea10a046771ea7e296126ac4f9abd7dd4f44833b0e24067337019df5c7249da29c8d133c4ee839b98bf0dcac2d0d00c8 SHA512 312bb02aa908627f82f2cdc2039b22e3da154bb8417cafa69413df8d2b0274a32805e690c59bbc10539d0f54908fff753c3a72f747d5c61c8a8390060090fc30 +EBUILD polkit-0.118.ebuild 3274 BLAKE2B 92687b82e0580955fe28e8d46a9cea325c8e9dd0c116e218c8979308839fb4fd7b8aff7cb7994095e852b2687e4a0616d4ca6a5366d397a4114205eba20f198a SHA512 ccfd5b2c8c2d9bd36cc95ff0823f246521f213aedd5a06421841dd539c17c4bcfe9acf24c817cbab3497da348113167c97149d969a96c1e3052791faf2016aae +EBUILD polkit-0.119.ebuild 3274 BLAKE2B 124461b224689d37fab7445d37eb92f3db6566405ffcb08ef62c24a86b286da3fbf75f97009febb1c60400250f95f5250c91db8a26db3bd821e8be64568cfe18 SHA512 ad307bca69a9d4e78788aaa455c01d4735d01d97dd6a1c8553defdd54554b2114f5f0d8b114f76148d63429733d33e5cbe48503390635eaf3796156846887a07 MISC metadata.xml 409 BLAKE2B 5460681a61f218f9347ddaaf9f4171aba5d270d9742588e9c2d9f78d4ba495a811062098ae65ce866ce6c5177adaf6b943db33739214ccaecc2a5e3914c67809 SHA512 e5a26398bdbc9251d175235e40477f20b814753e16565e6ca4f56a7d2f7b22c7238fcadd07519eecef7dee3428bd5b76b377ff19b24b7be5b0f52d4cfff32743 diff --git a/sys-auth/polkit/polkit-0.116-r1.ebuild b/sys-auth/polkit/polkit-0.116-r1.ebuild index e68234b005a6..e1624d37a10f 100644 --- a/sys-auth/polkit/polkit-0.116-r1.ebuild +++ b/sys-auth/polkit/polkit-0.116-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ SRC_URI="https://www.freedesktop.org/software/${PN}/releases/${P}.tar.gz" LICENSE="LGPL-2" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86" -IUSE="elogind examples gtk +introspection jit kde nls pam selinux systemd test" +IUSE="elogind examples gtk +introspection kde nls pam selinux systemd test" RESTRICT="!test? ( test )" REQUIRED_USE="^^ ( elogind systemd )" diff --git a/sys-auth/polkit/polkit-0.117.ebuild b/sys-auth/polkit/polkit-0.117.ebuild index 800d91a13472..f14e9de1bf05 100644 --- a/sys-auth/polkit/polkit-0.117.ebuild +++ b/sys-auth/polkit/polkit-0.117.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ SRC_URI="https://www.freedesktop.org/software/${PN}/releases/${P}.tar.gz" LICENSE="LGPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 sparc ~x86" -IUSE="elogind examples gtk +introspection jit kde nls pam selinux systemd test" +IUSE="elogind examples gtk +introspection kde nls pam selinux systemd test" RESTRICT="!test? ( test )" REQUIRED_USE="^^ ( elogind systemd )" diff --git a/sys-auth/polkit/polkit-0.118.ebuild b/sys-auth/polkit/polkit-0.118.ebuild index e04bbab4c847..eb34c84d071f 100644 --- a/sys-auth/polkit/polkit-0.118.ebuild +++ b/sys-auth/polkit/polkit-0.118.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://www.freedesktop.org/software/${PN}/releases/${P}.tar.gz" LICENSE="LGPL-2" SLOT="0" KEYWORDS="amd64 arm arm64 ~mips ppc64 ~riscv ~s390 x86" -IUSE="elogind examples gtk +introspection jit kde nls pam selinux systemd test" +IUSE="elogind examples gtk +introspection kde nls pam selinux systemd test" RESTRICT="!test? ( test )" REQUIRED_USE="^^ ( elogind systemd )" diff --git a/sys-auth/polkit/polkit-0.119.ebuild b/sys-auth/polkit/polkit-0.119.ebuild new file mode 100644 index 000000000000..8b7e0c4bb46a --- /dev/null +++ b/sys-auth/polkit/polkit-0.119.ebuild @@ -0,0 +1,131 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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" +SRC_URI="https://www.freedesktop.org/software/${PN}/releases/${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~mips ppc64 ~riscv ~s390 x86" +IUSE="elogind examples gtk +introspection kde nls pam selinux systemd test" +RESTRICT="!test? ( test )" + +REQUIRED_USE="^^ ( elogind systemd )" + +BDEPEND=" + acct-user/polkitd + app-text/docbook-xml-dtd:4.1.2 + app-text/docbook-xsl-stylesheets + dev-libs/glib + dev-libs/gobject-introspection-common + dev-libs/libxslt + dev-util/glib-utils + dev-util/gtk-doc-am + dev-util/intltool + sys-devel/gettext + virtual/pkgconfig + introspection? ( dev-libs/gobject-introspection ) +" +DEPEND=" + dev-lang/spidermonkey:78[-debug] + dev-libs/glib:2 + dev-libs/expat + elogind? ( sys-auth/elogind ) + pam? ( + sys-auth/pambase + sys-libs/pam + ) + systemd? ( sys-apps/systemd:0=[policykit] ) +" +RDEPEND="${DEPEND} + acct-user/polkitd + selinux? ( sec-policy/selinux-policykit ) +" +PDEPEND=" + gtk? ( || ( + >=gnome-extra/polkit-gnome-0.105 + >=lxde-base/lxsession-0.5.2 + ) ) + kde? ( kde-plasma/polkit-kde-agent ) +" + +DOCS=( docs/TODO HACKING NEWS README ) + +PATCHES=( + "${FILESDIR}"/${PN}-0.115-elogind.patch # bug 660880 +) + +QA_MULTILIB_PATHS=" + usr/lib/polkit-1/polkit-agent-helper-1 + usr/lib/polkit-1/polkitd" + +src_prepare() { + default + + sed -i -e 's|unix-group:wheel|unix-user:0|' src/polkitbackend/*-default.rules || die #401513 + + # Workaround upstream hack around standard gtk-doc behavior, bug #552170 + sed -i -e 's/@ENABLE_GTK_DOC_TRUE@\(TARGET_DIR\)/\1/' \ + -e '/install-data-local:/,/uninstall-local:/ s/@ENABLE_GTK_DOC_TRUE@//' \ + -e 's/@ENABLE_GTK_DOC_FALSE@install-data-local://' \ + docs/polkit/Makefile.in || die + + # disable broken test - bug #624022 + sed -i -e "/^SUBDIRS/s/polkitbackend//" test/Makefile.am || die + + # Fix cross-building, bug #590764, elogind patch, bug #598615 + eautoreconf +} + +src_configure() { + xdg_environment_reset + + local myeconfargs=( + --localstatedir="${EPREFIX}"/var + --disable-static + --enable-man-pages + --disable-gtk-doc + --disable-examples + $(use_enable elogind libelogind) + $(use_enable introspection) + $(use_enable nls) + $(usex pam "--with-pam-module-dir=$(getpam_mod_dir)" '') + --with-authfw=$(usex pam pam shadow) + $(use_enable systemd libsystemd-login) + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" + $(use_enable test) + --with-os-type=gentoo + ) + econf "${myeconfargs[@]}" +} + +src_compile() { + default + + # Required for polkitd on hardened/PaX due to spidermonkey's JIT + pax-mark mr src/polkitbackend/.libs/polkitd test/polkitbackend/.libs/polkitbackendjsauthoritytest +} + +src_install() { + default + + if use examples; then + docinto examples + dodoc 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() { + chmod 0700 "${EROOT}"/{etc,usr/share}/polkit-1/rules.d + chown polkitd "${EROOT}"/{etc,usr/share}/polkit-1/rules.d +} |