1 |
commit: 44b69bef3efff026aa2cd48f9545225f0a67aa57 |
2 |
Author: Jory Pratt <anarchy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 25 12:36:23 2021 +0000 |
4 |
Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 25 12:36:23 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=44b69bef |
7 |
|
8 |
sys-auth/polkit: sync with ::gentoo, mark arm,armr64 stable |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.2 |
11 |
Signed-off-by: Jory Pratt <anarchy <AT> gentoo.org> |
12 |
|
13 |
sys-auth/polkit/Manifest | 1 - |
14 |
sys-auth/polkit/polkit-0.118-r1.ebuild | 140 --------------------- |
15 |
...{polkit-0.119.ebuild => polkit-0.119-r1.ebuild} | 3 +- |
16 |
3 files changed, 2 insertions(+), 142 deletions(-) |
17 |
|
18 |
diff --git a/sys-auth/polkit/Manifest b/sys-auth/polkit/Manifest |
19 |
index 1126221..7f25be2 100644 |
20 |
--- a/sys-auth/polkit/Manifest |
21 |
+++ b/sys-auth/polkit/Manifest |
22 |
@@ -1,3 +1,2 @@ |
23 |
DIST polkit-0.118-duktape.patch 50144 BLAKE2B 83be77ed93596bd44306b8e5b677497c6e4dab3a16626a32849abb3d91b527ad1e3a1436dcd7389ca5794ea1d7efaa3d5acc950f868fcda85b4bab75ad54205a SHA512 dec31b81678a5436ddeef633d668c735d3c7128d6b5fb7b5dda2d06e8cf40ce9093813e9fbc8870475321d6fcdef3395bf3dd0db7ed214f0f45b19bf47c8a867 |
24 |
-DIST polkit-0.118.tar.gz 1556765 BLAKE2B d048b37b1ff8ad59a2d8a333a3b459d1592b61f7a6d9a9569f8b2984de913d71abfc9748e242c7453f0bce4f322bd44672e35309f181afd22488794ca0e47119 SHA512 3d412f40c903cfaf68530f9c0cb616106f8edf43bec6805de129f8bb9cb4e64c98da6bf02caa3ef5619974f3e2df7a70564f08b92901662453477e9005752b4e |
25 |
DIST polkit-0.119.tar.gz 1387409 BLAKE2B aeb605598393d1cab40f7c77954008a0392600584c5fe8cc9acaa0e122418ee48b9cce0b6839189ea415277ff0ae4dbd5b7c71cb910aa349dcaf7e1f3f70ef06 SHA512 0260fb15da1c4c1f429e8223260981e64e297f1be8ced42f6910f09ea6581b8205aca06c9c601eb4a128acba2f468de0223118f96862ba769f95721894cf1578 |
26 |
|
27 |
diff --git a/sys-auth/polkit/polkit-0.118-r1.ebuild b/sys-auth/polkit/polkit-0.118-r1.ebuild |
28 |
deleted file mode 100644 |
29 |
index 9af062e..0000000 |
30 |
--- a/sys-auth/polkit/polkit-0.118-r1.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,140 +0,0 @@ |
33 |
-# Copyright 1999-2021 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=7 |
37 |
- |
38 |
-inherit autotools pam pax-utils systemd xdg-utils |
39 |
- |
40 |
-DESCRIPTION="Policy framework for controlling privileges for system-wide services" |
41 |
-HOMEPAGE="https://www.freedesktop.org/wiki/Software/polkit https://gitlab.freedesktop.org/polkit/polkit" |
42 |
-SRC_URI="https://www.freedesktop.org/software/${PN}/releases/${P}.tar.gz |
43 |
- https://dev.gentoo.org/~anarchy/dist/polkit-0.118-duktape.patch" |
44 |
- |
45 |
-LICENSE="LGPL-2" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" |
48 |
-IUSE="duktape +elogind examples gtk +introspection kde nls pam selinux systemd test" |
49 |
-RESTRICT="!test? ( test )" |
50 |
- |
51 |
-REQUIRED_USE="^^ ( elogind systemd )" |
52 |
- |
53 |
-BDEPEND=" |
54 |
- acct-user/polkitd |
55 |
- app-text/docbook-xml-dtd:4.1.2 |
56 |
- app-text/docbook-xsl-stylesheets |
57 |
- dev-libs/glib |
58 |
- dev-libs/gobject-introspection-common |
59 |
- dev-libs/libxslt |
60 |
- dev-util/glib-utils |
61 |
- dev-util/gtk-doc-am |
62 |
- dev-util/intltool |
63 |
- sys-devel/gettext |
64 |
- virtual/pkgconfig |
65 |
- introspection? ( dev-libs/gobject-introspection ) |
66 |
-" |
67 |
-DEPEND=" |
68 |
- duktape? ( dev-lang/duktape ) |
69 |
- !duktape? ( dev-lang/spidermonkey:78[-debug] ) |
70 |
- dev-libs/glib:2 |
71 |
- dev-libs/expat |
72 |
- elogind? ( sys-auth/elogind ) |
73 |
- pam? ( |
74 |
- sys-auth/pambase |
75 |
- sys-libs/pam |
76 |
- ) |
77 |
- systemd? ( sys-apps/systemd:0=[policykit] ) |
78 |
-" |
79 |
-RDEPEND="${DEPEND} |
80 |
- acct-user/polkitd |
81 |
- selinux? ( sec-policy/selinux-policykit ) |
82 |
-" |
83 |
-PDEPEND=" |
84 |
- gtk? ( || ( |
85 |
- >=gnome-extra/polkit-gnome-0.105 |
86 |
- >=lxde-base/lxsession-0.5.2 |
87 |
- ) ) |
88 |
- kde? ( kde-plasma/polkit-kde-agent ) |
89 |
-" |
90 |
- |
91 |
-DOCS=( docs/TODO HACKING NEWS README ) |
92 |
- |
93 |
-PATCHES=( |
94 |
- "${DISTDIR}"/${PN}-${PV}-duktape.patch |
95 |
- "${FILESDIR}"/${PN}-0.115-elogind.patch |
96 |
- "${FILESDIR}"/${PN}-${PV}-make-netgroup-support-optional.patch |
97 |
-) |
98 |
- |
99 |
-QA_MULTILIB_PATHS=" |
100 |
- usr/lib/polkit-1/polkit-agent-helper-1 |
101 |
- usr/lib/polkit-1/polkitd" |
102 |
- |
103 |
-src_prepare() { |
104 |
- default |
105 |
- |
106 |
- sed -i -e 's|unix-group:wheel|unix-user:0|' src/polkitbackend/*-default.rules || die #401513 |
107 |
- |
108 |
- # Workaround upstream hack around standard gtk-doc behavior, bug #552170 |
109 |
- sed -i -e 's/@ENABLE_GTK_DOC_TRUE@\(TARGET_DIR\)/\1/' \ |
110 |
- -e '/install-data-local:/,/uninstall-local:/ s/@ENABLE_GTK_DOC_TRUE@//' \ |
111 |
- -e 's/@ENABLE_GTK_DOC_FALSE@install-data-local://' \ |
112 |
- docs/polkit/Makefile.in || die |
113 |
- |
114 |
- # disable broken test - bug #624022 |
115 |
- sed -i -e "/^SUBDIRS/s/polkitbackend//" test/Makefile.am || die |
116 |
- |
117 |
- # Fix cross-building, bug #590764, elogind patch, bug #598615 |
118 |
- eautoreconf |
119 |
-} |
120 |
- |
121 |
-src_configure() { |
122 |
- xdg_environment_reset |
123 |
- |
124 |
- local myeconfargs=( |
125 |
- --localstatedir="${EPREFIX}"/var |
126 |
- --disable-static |
127 |
- --enable-man-pages |
128 |
- --disable-gtk-doc |
129 |
- --disable-examples |
130 |
- $(use_enable elogind libelogind) |
131 |
- $(use_enable introspection) |
132 |
- $(use_enable nls) |
133 |
- $(usex pam "--with-pam-module-dir=$(getpam_mod_dir)" '') |
134 |
- --with-authfw=$(usex pam pam shadow) |
135 |
- $(use_enable systemd libsystemd-login) |
136 |
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" |
137 |
- $(use_enable test) |
138 |
- --with-os-type=gentoo |
139 |
- ) |
140 |
- |
141 |
- if use duktape; then |
142 |
- myeconfargs+=( --with-duktape ) |
143 |
- fi |
144 |
- |
145 |
- econf "${myeconfargs[@]}" |
146 |
-} |
147 |
- |
148 |
-src_compile() { |
149 |
- default |
150 |
- |
151 |
- # Required for polkitd on hardened/PaX due to spidermonkey's JIT |
152 |
- pax-mark mr src/polkitbackend/.libs/polkitd test/polkitbackend/.libs/polkitbackendjsauthoritytest |
153 |
-} |
154 |
- |
155 |
-src_install() { |
156 |
- default |
157 |
- |
158 |
- if use examples; then |
159 |
- docinto examples |
160 |
- dodoc src/examples/{*.c,*.policy*} |
161 |
- fi |
162 |
- |
163 |
- diropts -m 0700 -o polkitd |
164 |
- keepdir /usr/share/polkit-1/rules.d |
165 |
- |
166 |
- find "${ED}" -name '*.la' -delete || die |
167 |
-} |
168 |
- |
169 |
-pkg_postinst() { |
170 |
- chmod 0700 "${EROOT}"/{etc,usr/share}/polkit-1/rules.d |
171 |
- chown polkitd "${EROOT}"/{etc,usr/share}/polkit-1/rules.d |
172 |
-} |
173 |
|
174 |
diff --git a/sys-auth/polkit/polkit-0.119.ebuild b/sys-auth/polkit/polkit-0.119-r1.ebuild |
175 |
similarity index 98% |
176 |
rename from sys-auth/polkit/polkit-0.119.ebuild |
177 |
rename to sys-auth/polkit/polkit-0.119-r1.ebuild |
178 |
index 050acde..f747179 100644 |
179 |
--- a/sys-auth/polkit/polkit-0.119.ebuild |
180 |
+++ b/sys-auth/polkit/polkit-0.119-r1.ebuild |
181 |
@@ -12,7 +12,7 @@ SRC_URI="https://www.freedesktop.org/software/${PN}/releases/${P}.tar.gz |
182 |
|
183 |
LICENSE="LGPL-2" |
184 |
SLOT="0" |
185 |
-KEYWORDS="amd64 ~arm ~arm64 ~mips ~ppc64 x86" |
186 |
+KEYWORDS="amd64 arm arm64 ~mips ppc64 x86" |
187 |
IUSE="duktape elogind examples gtk +introspection kde nls pam selinux systemd test" |
188 |
RESTRICT="!test? ( test )" |
189 |
|
190 |
@@ -37,6 +37,7 @@ DEPEND=" |
191 |
!duktape? ( dev-lang/spidermonkey:78[-debug] ) |
192 |
dev-libs/glib:2 |
193 |
dev-libs/expat |
194 |
+ virtual/libcrypt:= |
195 |
elogind? ( sys-auth/elogind ) |
196 |
pam? ( |
197 |
sys-auth/pambase |