Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-auth/polkit: polkit-0.113.ebuild ChangeLog polkit-0.112-r1.ebuild polkit-0.110.ebuild polkit-0.112.ebuild
Date: Sat, 04 Jul 2015 13:26:58
Message-Id: 20150704132652.1332B74B@oystercatcher.gentoo.org
1 pacho 15/07/04 13:26:52
2
3 Modified: ChangeLog
4 Added: polkit-0.113.ebuild
5 Removed: polkit-0.112-r1.ebuild polkit-0.110.ebuild
6 polkit-0.112.ebuild
7 Log:
8 Version bump, use spidermonkey-185 because of problems with memory handling when using mozjs-17 (#553334)
9
10 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
11
12 Revision Changes Path
13 1.194 sys-auth/polkit/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/polkit/ChangeLog?rev=1.194&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/polkit/ChangeLog?rev=1.194&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/polkit/ChangeLog?r1=1.193&r2=1.194
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v
22 retrieving revision 1.193
23 retrieving revision 1.194
24 diff -u -r1.193 -r1.194
25 --- ChangeLog 6 Jun 2015 08:52:19 -0000 1.193
26 +++ ChangeLog 4 Jul 2015 13:26:52 -0000 1.194
27 @@ -1,6 +1,14 @@
28 # ChangeLog for sys-auth/polkit
29 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.193 2015/06/06 08:52:19 perfinion Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.194 2015/07/04 13:26:52 pacho Exp $
32 +
33 +*polkit-0.113 (04 Jul 2015)
34 +
35 + 04 Jul 2015; Pacho Ramos <pacho@g.o> +polkit-0.113.ebuild,
36 + -files/polkit-0.110-W_define.patch, -polkit-0.110.ebuild,
37 + -polkit-0.112-r1.ebuild, -polkit-0.112.ebuild:
38 + Version bump, use spidermonkey-185 because of problems with memory handling
39 + when using mozjs-17 (#553334)
40
41 *polkit-0.112-r3 (06 Jun 2015)
42
43
44
45
46 1.1 sys-auth/polkit/polkit-0.113.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/polkit/polkit-0.113.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/polkit/polkit-0.113.ebuild?rev=1.1&content-type=text/plain
50
51 Index: polkit-0.113.ebuild
52 ===================================================================
53 # Copyright 1999-2015 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/polkit-0.113.ebuild,v 1.1 2015/07/04 13:26:52 pacho Exp $
56
57 EAPI=5
58 inherit eutils multilib pam pax-utils systemd user
59
60 DESCRIPTION="Policy framework for controlling privileges for system-wide services"
61 HOMEPAGE="http://www.freedesktop.org/wiki/Software/polkit"
62 SRC_URI="http://www.freedesktop.org/software/${PN}/releases/${P}.tar.gz"
63
64 LICENSE="LGPL-2"
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
67 IUSE="examples gtk +introspection jit kde nls pam selinux systemd test"
68
69 CDEPEND="
70 dev-lang/spidermonkey:0/mozjs185[-debug]
71 >=dev-libs/glib-2.32:2
72 >=dev-libs/expat-2:=
73 introspection? ( >=dev-libs/gobject-introspection-1:= )
74 pam? (
75 sys-auth/pambase
76 virtual/pam
77 )
78 systemd? ( sys-apps/systemd:0= )
79 "
80 DEPEND="${CDEPEND}
81 app-text/docbook-xml-dtd:4.1.2
82 app-text/docbook-xsl-stylesheets
83 dev-libs/libxslt
84 dev-util/gtk-doc-am
85 dev-util/intltool
86 virtual/pkgconfig
87 "
88 RDEPEND="${CDEPEND}
89 selinux? ( sec-policy/selinux-policykit )
90 "
91 PDEPEND="
92 gtk? ( || (
93 >=gnome-extra/polkit-gnome-0.105
94 lxde-base/lxpolkit
95 ) )
96 kde? ( || (
97 kde-plasma/polkit-kde-agent
98 sys-auth/polkit-kde-agent
99 ) )
100 !systemd? ( sys-auth/consolekit[policykit] )
101 "
102
103 QA_MULTILIB_PATHS="
104 usr/lib/polkit-1/polkit-agent-helper-1
105 usr/lib/polkit-1/polkitd"
106
107 pkg_setup() {
108 local u=polkitd
109 local g=polkitd
110 local h=/var/lib/polkit-1
111
112 enewgroup ${g}
113 enewuser ${u} -1 -1 ${h} ${g}
114 esethome ${u} ${h}
115 }
116
117 src_prepare() {
118 sed -i -e 's|unix-group:wheel|unix-user:0|' src/polkitbackend/*-default.rules || die #401513
119 }
120
121 src_configure() {
122 econf \
123 --localstatedir="${EPREFIX}"/var \
124 --disable-static \
125 --enable-man-pages \
126 --disable-gtk-doc \
127 $(use_enable systemd libsystemd-login) \
128 $(use_enable introspection) \
129 --disable-examples \
130 $(use_enable nls) \
131 --with-mozjs=mozjs185 \
132 "$(systemd_with_unitdir)" \
133 --with-authfw=$(usex pam pam shadow) \
134 $(use pam && echo --with-pam-module-dir="$(getpam_mod_dir)") \
135 $(use_enable test) \
136 --with-os-type=gentoo
137 }
138
139 src_compile() {
140 default
141
142 # Required for polkitd on hardened/PaX due to spidermonkey's JIT
143 pax-mark mr src/polkitbackend/.libs/polkitd test/polkitbackend/.libs/polkitbackendjsauthoritytest
144 }
145
146 src_install() {
147 emake DESTDIR="${D}" install
148
149 dodoc docs/TODO HACKING NEWS README
150
151 fowners -R polkitd:root /{etc,usr/share}/polkit-1/rules.d
152
153 diropts -m0700 -o polkitd -g polkitd
154 keepdir /var/lib/polkit-1
155
156 if use examples; then
157 insinto /usr/share/doc/${PF}/examples
158 doins src/examples/{*.c,*.policy*}
159 fi
160
161 prune_libtool_files
162 }
163
164 pkg_postinst() {
165 chown -R polkitd:root "${EROOT}"/{etc,usr/share}/polkit-1/rules.d
166 chown -R polkitd:polkitd "${EROOT}"/var/lib/polkit-1
167 }