Gentoo Archives: gentoo-commits

From: Jory Pratt <anarchy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/musl:master commit in: sys-auth/polkit/
Date: Sat, 25 Apr 2020 04:41:21
Message-Id: 1587789668.28a6f6a69129ae6fe8da60fd2ceed2ca5fdaabe0.anarchy@gentoo
1 commit: 28a6f6a69129ae6fe8da60fd2ceed2ca5fdaabe0
2 Author: Jory Pratt <anarchy <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 25 04:41:02 2020 +0000
4 Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 25 04:41:08 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=28a6f6a6
7
8 sys-auth/polkit: mark arm64 stable, cleanup old builds
9
10 Package-Manager: Portage-2.3.89, Repoman-2.3.20
11 Signed-off-by: Jory Pratt <anarchy <AT> gentoo.org>
12
13 sys-auth/polkit/Manifest | 1 -
14 sys-auth/polkit/polkit-0.115-r3.ebuild | 144 --------------------------------
15 sys-auth/polkit/polkit-0.115-r4.ebuild | 145 ---------------------------------
16 sys-auth/polkit/polkit-0.116-r1.ebuild | 2 +-
17 4 files changed, 1 insertion(+), 291 deletions(-)
18
19 diff --git a/sys-auth/polkit/Manifest b/sys-auth/polkit/Manifest
20 index 201ccd8..8e04530 100644
21 --- a/sys-auth/polkit/Manifest
22 +++ b/sys-auth/polkit/Manifest
23 @@ -1,2 +1 @@
24 -DIST polkit-0.115.tar.gz 1550932 BLAKE2B 3185ebed46209f88a9ffccbbcaf1bf180d1ae6d5ec53cf3c66d867ad43910b47a1123a3db190991ebb382a0d28fc5a119ea4bab942db324e9af5663056cf6ee1 SHA512 1153011fa93145b2c184e6b3446d3ca21b38918641aeccd8fac3985ac3e30ec6bc75be6973985fde90f2a24236592f1595be259155061c2d33358dd17c4ee4fc
25 DIST polkit-0.116.tar.gz 1548311 BLAKE2B e9761a2934136d453a47b81dd1f132f9fc96c45b731d5fceb2aa7706f5325b6499f6acbb68032befc1b21878b1b54754685607c916ca8e02a8accca3ca014b31 SHA512 b66b01cc2bb4349de70147f41f161f0f6f41e7230b581dfb054058b48969ec57041ab05b51787c749ccfc36aa5f317952d7e7ba337b4f6f6c0a923ed5866c2d5
26
27 diff --git a/sys-auth/polkit/polkit-0.115-r3.ebuild b/sys-auth/polkit/polkit-0.115-r3.ebuild
28 deleted file mode 100644
29 index 51680ce..0000000
30 --- a/sys-auth/polkit/polkit-0.115-r3.ebuild
31 +++ /dev/null
32 @@ -1,144 +0,0 @@
33 -# Copyright 1999-2019 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -inherit autotools pam pax-utils systemd user xdg-utils
39 -
40 -DESCRIPTION="Policy framework for controlling privileges for system-wide services"
41 -HOMEPAGE="https://www.freedesktop.org/wiki/Software/polkit"
42 -SRC_URI="https://www.freedesktop.org/software/${PN}/releases/${P}.tar.gz"
43 -
44 -LICENSE="LGPL-2"
45 -SLOT="0"
46 -KEYWORDS="amd64 arm arm64 ~mips ~ppc x86"
47 -IUSE="elogind examples gtk +introspection jit kde nls pam selinux systemd test"
48 -RESTRICT="!test? ( test )"
49 -
50 -REQUIRED_USE="?? ( elogind systemd )"
51 -
52 -CDEPEND="
53 - dev-lang/spidermonkey:52[-debug]
54 - dev-libs/glib:2
55 - dev-libs/expat
56 - elogind? ( sys-auth/elogind )
57 - introspection? ( dev-libs/gobject-introspection )
58 - pam? (
59 - sys-auth/pambase
60 - sys-libs/pam
61 - )
62 - systemd? ( sys-apps/systemd:0=[policykit] )
63 -"
64 -DEPEND="${CDEPEND}
65 - app-text/docbook-xml-dtd:4.1.2
66 - app-text/docbook-xsl-stylesheets
67 - dev-libs/gobject-introspection-common
68 - dev-libs/libxslt
69 - dev-util/glib-utils
70 - dev-util/gtk-doc-am
71 - dev-util/intltool
72 - sys-devel/gettext
73 - virtual/pkgconfig
74 -"
75 -RDEPEND="${CDEPEND}
76 - selinux? ( sec-policy/selinux-policykit )
77 -"
78 -PDEPEND="
79 - gtk? ( || (
80 - >=gnome-extra/polkit-gnome-0.105
81 - >=lxde-base/lxsession-0.5.2
82 - ) )
83 - kde? ( kde-plasma/polkit-kde-agent )
84 - !systemd? ( !elogind? ( sys-auth/consolekit[policykit] ) )
85 -"
86 -
87 -DOCS=( docs/TODO HACKING NEWS README )
88 -
89 -PATCHES=(
90 - # bug 660880
91 - "${FILESDIR}"/polkit-0.115-elogind.patch
92 - "${FILESDIR}"/CVE-2018-19788.patch
93 - "${FILESDIR}"/${P}-make-netgroup-support-optional.patch
94 -)
95 -
96 -QA_MULTILIB_PATHS="
97 - usr/lib/polkit-1/polkit-agent-helper-1
98 - usr/lib/polkit-1/polkitd"
99 -
100 -pkg_setup() {
101 - local u=polkitd
102 - local g=polkitd
103 - local h=/var/lib/polkit-1
104 -
105 - enewgroup ${g}
106 - enewuser ${u} -1 -1 ${h} ${g}
107 - esethome ${u} ${h}
108 -}
109 -
110 -src_prepare() {
111 - default
112 -
113 - sed -i -e 's|unix-group:wheel|unix-user:0|' src/polkitbackend/*-default.rules || die #401513
114 -
115 - # Workaround upstream hack around standard gtk-doc behavior, bug #552170
116 - sed -i -e 's/@ENABLE_GTK_DOC_TRUE@\(TARGET_DIR\)/\1/' \
117 - -e '/install-data-local:/,/uninstall-local:/ s/@ENABLE_GTK_DOC_TRUE@//' \
118 - -e 's/@ENABLE_GTK_DOC_FALSE@install-data-local://' \
119 - docs/polkit/Makefile.in || die
120 -
121 - # disable broken test - bug #624022
122 - sed -i -e "/^SUBDIRS/s/polkitbackend//" test/Makefile.am || die
123 -
124 - # Fix cross-building, bug #590764, elogind patch, bug #598615
125 - eautoreconf
126 -}
127 -
128 -src_configure() {
129 - xdg_environment_reset
130 -
131 - local myeconfargs=(
132 - --localstatedir="${EPREFIX}"/var
133 - --disable-static
134 - --enable-man-pages
135 - --disable-gtk-doc
136 - --disable-examples
137 - $(use_enable elogind libelogind)
138 - $(use_enable introspection)
139 - $(use_enable nls)
140 - $(usex pam "--with-pam-module-dir=$(getpam_mod_dir)" '')
141 - --with-authfw=$(usex pam pam shadow)
142 - $(use_enable systemd libsystemd-login)
143 - --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
144 - $(use_enable test)
145 - --with-os-type=gentoo
146 - )
147 - econf "${myeconfargs[@]}"
148 -}
149 -
150 -src_compile() {
151 - default
152 -
153 - # Required for polkitd on hardened/PaX due to spidermonkey's JIT
154 - pax-mark mr src/polkitbackend/.libs/polkitd test/polkitbackend/.libs/polkitbackendjsauthoritytest
155 -}
156 -
157 -src_install() {
158 - default
159 -
160 - fowners -R polkitd:root /{etc,usr/share}/polkit-1/rules.d
161 -
162 - diropts -m0700 -o polkitd -g polkitd
163 - keepdir /var/lib/polkit-1
164 -
165 - if use examples; then
166 - insinto /usr/share/doc/${PF}/examples
167 - doins src/examples/{*.c,*.policy*}
168 - fi
169 -
170 - find "${ED}" -name '*.la' -delete || die
171 -}
172 -
173 -pkg_postinst() {
174 - chown -R polkitd:root "${EROOT}"/{etc,usr/share}/polkit-1/rules.d
175 - chown -R polkitd:polkitd "${EROOT}"/var/lib/polkit-1
176 -}
177
178 diff --git a/sys-auth/polkit/polkit-0.115-r4.ebuild b/sys-auth/polkit/polkit-0.115-r4.ebuild
179 deleted file mode 100644
180 index a8b9274..0000000
181 --- a/sys-auth/polkit/polkit-0.115-r4.ebuild
182 +++ /dev/null
183 @@ -1,145 +0,0 @@
184 -# Copyright 1999-2019 Gentoo Authors
185 -# Distributed under the terms of the GNU General Public License v2
186 -
187 -EAPI=7
188 -
189 -inherit autotools pam pax-utils systemd user xdg-utils
190 -
191 -DESCRIPTION="Policy framework for controlling privileges for system-wide services"
192 -HOMEPAGE="https://www.freedesktop.org/wiki/Software/polkit https://gitlab.freedesktop.org/polkit/polkit"
193 -SRC_URI="https://www.freedesktop.org/software/${PN}/releases/${P}.tar.gz"
194 -
195 -LICENSE="LGPL-2"
196 -SLOT="0"
197 -KEYWORDS="amd64 arm arm64 ~mips ~ppc x86"
198 -IUSE="consolekit elogind examples gtk +introspection jit kde nls pam selinux systemd test"
199 -RESTRICT="!test? ( test )"
200 -
201 -REQUIRED_USE="^^ ( consolekit elogind systemd )"
202 -
203 -BDEPEND="
204 - app-text/docbook-xml-dtd:4.1.2
205 - app-text/docbook-xsl-stylesheets
206 - dev-libs/gobject-introspection-common
207 - dev-libs/libxslt
208 - dev-util/glib-utils
209 - dev-util/gtk-doc-am
210 - dev-util/intltool
211 - sys-devel/gettext
212 - virtual/pkgconfig
213 - introspection? ( dev-libs/gobject-introspection )
214 -"
215 -DEPEND="
216 - dev-lang/spidermonkey:60[-debug]
217 - dev-libs/glib:2
218 - dev-libs/expat
219 - elogind? ( sys-auth/elogind )
220 - pam? (
221 - sys-auth/pambase
222 - sys-libs/pam
223 - )
224 - systemd? ( sys-apps/systemd:0=[policykit] )
225 -"
226 -RDEPEND="${DEPEND}
227 - selinux? ( sec-policy/selinux-policykit )
228 -"
229 -PDEPEND="
230 - consolekit? ( sys-auth/consolekit[policykit] )
231 - gtk? ( || (
232 - >=gnome-extra/polkit-gnome-0.105
233 - >=lxde-base/lxsession-0.5.2
234 - ) )
235 - kde? ( kde-plasma/polkit-kde-agent )
236 -"
237 -
238 -DOCS=( docs/TODO HACKING NEWS README )
239 -
240 -PATCHES=(
241 - # bug 660880
242 - "${FILESDIR}"/polkit-0.115-elogind.patch
243 - "${FILESDIR}"/CVE-2018-19788.patch
244 - "${FILESDIR}"/polkit-0.115-spidermonkey-60.patch
245 - "${FILESDIR}"/${P}-make-netgroup-support-optional.patch
246 -)
247 -
248 -QA_MULTILIB_PATHS="
249 - usr/lib/polkit-1/polkit-agent-helper-1
250 - usr/lib/polkit-1/polkitd"
251 -
252 -pkg_setup() {
253 - local u=polkitd
254 - local g=polkitd
255 - local h=/var/lib/polkit-1
256 -
257 - enewgroup ${g}
258 - enewuser ${u} -1 -1 ${h} ${g}
259 - esethome ${u} ${h}
260 -}
261 -
262 -src_prepare() {
263 - default
264 -
265 - sed -i -e 's|unix-group:wheel|unix-user:0|' src/polkitbackend/*-default.rules || die #401513
266 -
267 - # Workaround upstream hack around standard gtk-doc behavior, bug #552170
268 - sed -i -e 's/@ENABLE_GTK_DOC_TRUE@\(TARGET_DIR\)/\1/' \
269 - -e '/install-data-local:/,/uninstall-local:/ s/@ENABLE_GTK_DOC_TRUE@//' \
270 - -e 's/@ENABLE_GTK_DOC_FALSE@install-data-local://' \
271 - docs/polkit/Makefile.in || die
272 -
273 - # disable broken test - bug #624022
274 - sed -i -e "/^SUBDIRS/s/polkitbackend//" test/Makefile.am || die
275 -
276 - # Fix cross-building, bug #590764, elogind patch, bug #598615
277 - eautoreconf
278 -}
279 -
280 -src_configure() {
281 - xdg_environment_reset
282 -
283 - local myeconfargs=(
284 - --localstatedir="${EPREFIX}"/var
285 - --disable-static
286 - --enable-man-pages
287 - --disable-gtk-doc
288 - --disable-examples
289 - $(use_enable elogind libelogind)
290 - $(use_enable introspection)
291 - $(use_enable nls)
292 - $(usex pam "--with-pam-module-dir=$(getpam_mod_dir)" '')
293 - --with-authfw=$(usex pam pam shadow)
294 - $(use_enable systemd libsystemd-login)
295 - --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
296 - $(use_enable test)
297 - --with-os-type=gentoo
298 - )
299 - econf "${myeconfargs[@]}"
300 -}
301 -
302 -src_compile() {
303 - default
304 -
305 - # Required for polkitd on hardened/PaX due to spidermonkey's JIT
306 - pax-mark mr src/polkitbackend/.libs/polkitd test/polkitbackend/.libs/polkitbackendjsauthoritytest
307 -}
308 -
309 -src_install() {
310 - default
311 -
312 - fowners -R polkitd:root /{etc,usr/share}/polkit-1/rules.d
313 -
314 - diropts -m0700 -o polkitd -g polkitd
315 - keepdir /var/lib/polkit-1
316 -
317 - if use examples; then
318 - insinto /usr/share/doc/${PF}/examples
319 - doins src/examples/{*.c,*.policy*}
320 - fi
321 -
322 - find "${ED}" -name '*.la' -delete || die
323 -}
324 -
325 -pkg_postinst() {
326 - chown -R polkitd:root "${EROOT}"/{etc,usr/share}/polkit-1/rules.d
327 - chown -R polkitd:polkitd "${EROOT}"/var/lib/polkit-1
328 -}
329
330 diff --git a/sys-auth/polkit/polkit-0.116-r1.ebuild b/sys-auth/polkit/polkit-0.116-r1.ebuild
331 index 15322a4..f39ba8f 100644
332 --- a/sys-auth/polkit/polkit-0.116-r1.ebuild
333 +++ b/sys-auth/polkit/polkit-0.116-r1.ebuild
334 @@ -11,7 +11,7 @@ SRC_URI="https://www.freedesktop.org/software/${PN}/releases/${P}.tar.gz"
335
336 LICENSE="LGPL-2"
337 SLOT="0"
338 -KEYWORDS="amd64 arm ~arm64 ~mips ppc ppc64 x86"
339 +KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 x86"
340 IUSE="consolekit elogind examples gtk +introspection jit kde nls pam selinux systemd test"
341 RESTRICT="!test? ( test )"