1 |
commit: a3953b6909e28f10137ee6a0ab47e96260d7004b |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 20 08:55:07 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 20 09:02:56 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3953b69 |
7 |
|
8 |
sys-auth/polkit: Drop 0.115-r1 |
9 |
|
10 |
Package-Manager: Portage-2.3.64, Repoman-2.3.12 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
sys-auth/polkit/polkit-0.115-r1.ebuild | 138 --------------------------------- |
14 |
1 file changed, 138 deletions(-) |
15 |
|
16 |
diff --git a/sys-auth/polkit/polkit-0.115-r1.ebuild b/sys-auth/polkit/polkit-0.115-r1.ebuild |
17 |
deleted file mode 100644 |
18 |
index 2beec3dcb62..00000000000 |
19 |
--- a/sys-auth/polkit/polkit-0.115-r1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,138 +0,0 @@ |
22 |
-# Copyright 1999-2018 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=6 |
26 |
- |
27 |
-inherit autotools pam pax-utils systemd user xdg-utils |
28 |
- |
29 |
-DESCRIPTION="Policy framework for controlling privileges for system-wide services" |
30 |
-HOMEPAGE="https://www.freedesktop.org/wiki/Software/polkit" |
31 |
-SRC_URI="https://www.freedesktop.org/software/${PN}/releases/${P}.tar.gz" |
32 |
- |
33 |
-LICENSE="LGPL-2" |
34 |
-SLOT="0" |
35 |
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 s390 ~sh ~sparc x86" |
36 |
-IUSE="elogind examples gtk +introspection jit kde nls pam selinux systemd test" |
37 |
- |
38 |
-REQUIRED_USE="?? ( elogind systemd )" |
39 |
- |
40 |
-CDEPEND=" |
41 |
- dev-lang/spidermonkey:52[-debug] |
42 |
- dev-libs/glib:2 |
43 |
- dev-libs/expat |
44 |
- elogind? ( sys-auth/elogind ) |
45 |
- introspection? ( dev-libs/gobject-introspection ) |
46 |
- pam? ( |
47 |
- sys-auth/pambase |
48 |
- virtual/pam |
49 |
- ) |
50 |
- systemd? ( sys-apps/systemd:0= ) |
51 |
-" |
52 |
-DEPEND="${CDEPEND} |
53 |
- app-text/docbook-xml-dtd:4.1.2 |
54 |
- app-text/docbook-xsl-stylesheets |
55 |
- dev-libs/gobject-introspection-common |
56 |
- dev-libs/libxslt |
57 |
- dev-util/glib-utils |
58 |
- dev-util/gtk-doc-am |
59 |
- dev-util/intltool |
60 |
- sys-devel/gettext |
61 |
- virtual/pkgconfig |
62 |
-" |
63 |
-RDEPEND="${CDEPEND} |
64 |
- selinux? ( sec-policy/selinux-policykit ) |
65 |
-" |
66 |
-PDEPEND=" |
67 |
- gtk? ( || ( |
68 |
- >=gnome-extra/polkit-gnome-0.105 |
69 |
- >=lxde-base/lxsession-0.5.2 |
70 |
- ) ) |
71 |
- kde? ( kde-plasma/polkit-kde-agent ) |
72 |
- !systemd? ( !elogind? ( sys-auth/consolekit[policykit] ) ) |
73 |
-" |
74 |
- |
75 |
-DOCS=( docs/TODO HACKING NEWS README ) |
76 |
- |
77 |
-PATCHES=( "${FILESDIR}"/${P}-elogind.patch ) # bug 660880 |
78 |
- |
79 |
-QA_MULTILIB_PATHS=" |
80 |
- usr/lib/polkit-1/polkit-agent-helper-1 |
81 |
- usr/lib/polkit-1/polkitd" |
82 |
- |
83 |
-pkg_setup() { |
84 |
- local u=polkitd |
85 |
- local g=polkitd |
86 |
- local h=/var/lib/polkit-1 |
87 |
- |
88 |
- enewgroup ${g} |
89 |
- enewuser ${u} -1 -1 ${h} ${g} |
90 |
- esethome ${u} ${h} |
91 |
-} |
92 |
- |
93 |
-src_prepare() { |
94 |
- default |
95 |
- |
96 |
- sed -i -e 's|unix-group:wheel|unix-user:0|' src/polkitbackend/*-default.rules || die #401513 |
97 |
- |
98 |
- # Workaround upstream hack around standard gtk-doc behavior, bug #552170 |
99 |
- sed -i -e 's/@ENABLE_GTK_DOC_TRUE@\(TARGET_DIR\)/\1/' \ |
100 |
- -e '/install-data-local:/,/uninstall-local:/ s/@ENABLE_GTK_DOC_TRUE@//' \ |
101 |
- -e 's/@ENABLE_GTK_DOC_FALSE@install-data-local://' \ |
102 |
- docs/polkit/Makefile.in || die |
103 |
- |
104 |
- # disable broken test - bug #624022 |
105 |
- sed -i -e "/^SUBDIRS/s/polkitbackend//" test/Makefile.am || die |
106 |
- |
107 |
- # Fix cross-building, bug #590764, elogind patch, bug #598615 |
108 |
- eautoreconf |
109 |
-} |
110 |
- |
111 |
-src_configure() { |
112 |
- xdg_environment_reset |
113 |
- |
114 |
- local myeconfargs=( |
115 |
- --localstatedir="${EPREFIX}"/var |
116 |
- --disable-static |
117 |
- --enable-man-pages |
118 |
- --disable-gtk-doc |
119 |
- --disable-examples |
120 |
- $(use_enable elogind libelogind) |
121 |
- $(use_enable introspection) |
122 |
- $(use_enable nls) |
123 |
- $(usex pam "--with-pam-module-dir=$(getpam_mod_dir)" '') |
124 |
- --with-authfw=$(usex pam pam shadow) |
125 |
- $(use_enable systemd libsystemd-login) |
126 |
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" |
127 |
- $(use_enable test) |
128 |
- --with-os-type=gentoo |
129 |
- ) |
130 |
- econf "${myeconfargs[@]}" |
131 |
-} |
132 |
- |
133 |
-src_compile() { |
134 |
- default |
135 |
- |
136 |
- # Required for polkitd on hardened/PaX due to spidermonkey's JIT |
137 |
- pax-mark mr src/polkitbackend/.libs/polkitd test/polkitbackend/.libs/polkitbackendjsauthoritytest |
138 |
-} |
139 |
- |
140 |
-src_install() { |
141 |
- default |
142 |
- |
143 |
- fowners -R polkitd:root /{etc,usr/share}/polkit-1/rules.d |
144 |
- |
145 |
- diropts -m0700 -o polkitd -g polkitd |
146 |
- keepdir /var/lib/polkit-1 |
147 |
- |
148 |
- if use examples; then |
149 |
- insinto /usr/share/doc/${PF}/examples |
150 |
- doins src/examples/{*.c,*.policy*} |
151 |
- fi |
152 |
- |
153 |
- find "${ED}" -name '*.la' -delete || die |
154 |
-} |
155 |
- |
156 |
-pkg_postinst() { |
157 |
- chown -R polkitd:root "${EROOT}"/{etc,usr/share}/polkit-1/rules.d |
158 |
- chown -R polkitd:polkitd "${EROOT}"/var/lib/polkit-1 |
159 |
-} |