1 |
ssuominen 12/01/30 13:43:17 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: polkit-0.104-r1.ebuild |
5 |
Log: |
6 |
Restore the default value of AdminIdentities from "wheel" to "0" like it was in polkit-0.102 and ones before that. You should see files 50-localauthority.conf and 60-gentoo.conf in /etc/polkit-1/localauthority.conf.d. You should also familiarize yourself with "man 8 pklocalauthority" as soon as possible. |
7 |
|
8 |
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64, RepoMan options: --force) |
9 |
|
10 |
Revision Changes Path |
11 |
1.65 sys-auth/polkit/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/polkit/ChangeLog?rev=1.65&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/polkit/ChangeLog?rev=1.65&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/polkit/ChangeLog?r1=1.64&r2=1.65 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v |
20 |
retrieving revision 1.64 |
21 |
retrieving revision 1.65 |
22 |
diff -u -r1.64 -r1.65 |
23 |
--- ChangeLog 29 Jan 2012 16:49:28 -0000 1.64 |
24 |
+++ ChangeLog 30 Jan 2012 13:43:16 -0000 1.65 |
25 |
@@ -1,6 +1,15 @@ |
26 |
# ChangeLog for sys-auth/polkit |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.64 2012/01/29 16:49:28 maekke Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.65 2012/01/30 13:43:16 ssuominen Exp $ |
30 |
+ |
31 |
+*polkit-0.104-r1 (30 Jan 2012) |
32 |
+ |
33 |
+ 30 Jan 2012; Samuli Suominen <ssuominen@g.o> +polkit-0.104-r1.ebuild: |
34 |
+ Restore the default value of AdminIdentities from "wheel" to "0" like it was |
35 |
+ in polkit-0.102 and ones before that. You should see files |
36 |
+ 50-localauthority.conf and 60-gentoo.conf in |
37 |
+ /etc/polkit-1/localauthority.conf.d. You should also familiarize yourself |
38 |
+ with "man 8 pklocalauthority" as soon as possible. |
39 |
|
40 |
29 Jan 2012; Markus Meier <maekke@g.o> polkit-0.103.ebuild: |
41 |
arm stable, bug #397755 |
42 |
|
43 |
|
44 |
|
45 |
1.1 sys-auth/polkit/polkit-0.104-r1.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/polkit/polkit-0.104-r1.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/polkit/polkit-0.104-r1.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: polkit-0.104-r1.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2012 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/polkit-0.104-r1.ebuild,v 1.1 2012/01/30 13:43:16 ssuominen Exp $ |
55 |
|
56 |
EAPI=4 |
57 |
inherit pam |
58 |
|
59 |
DESCRIPTION="Policy framework for controlling privileges for system-wide services" |
60 |
HOMEPAGE="http://hal.freedesktop.org/docs/polkit/" |
61 |
SRC_URI="http://hal.freedesktop.org/releases/${P}.tar.gz" |
62 |
|
63 |
LICENSE="GPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
66 |
IUSE="debug doc examples gtk +introspection kde nls pam systemd" |
67 |
|
68 |
RDEPEND=">=dev-libs/glib-2.30 |
69 |
dev-libs/expat |
70 |
introspection? ( >=dev-libs/gobject-introspection-0.6.2 ) |
71 |
pam? ( virtual/pam ) |
72 |
systemd? ( sys-apps/systemd )" |
73 |
DEPEND="${RDEPEND} |
74 |
app-text/docbook-xml-dtd:4.1.2 |
75 |
app-text/docbook-xsl-stylesheets |
76 |
dev-libs/libxslt |
77 |
dev-util/intltool |
78 |
dev-util/pkgconfig |
79 |
doc? ( >=dev-util/gtk-doc-1.13 )" |
80 |
PDEPEND="!systemd? ( >=sys-auth/consolekit-0.4.5[policykit] ) |
81 |
pam? ( sys-auth/pambase[consolekit] ) |
82 |
gtk? ( || ( >=gnome-extra/polkit-gnome-${PV} lxde-base/lxpolkit ) ) |
83 |
kde? ( sys-auth/polkit-kde-agent )" |
84 |
|
85 |
DOCS=( docs/TODO HACKING NEWS README ) |
86 |
|
87 |
src_prepare() { |
88 |
cat <<-EOF > "${T}"/60-gentoo.conf |
89 |
# This file will override 50-localauthority.conf, see: |
90 |
# man 8 pklocalauthority |
91 |
[Configuration] |
92 |
AdminIdentities=unix-group:0 |
93 |
EOF |
94 |
} |
95 |
|
96 |
src_configure() { |
97 |
local myauth="--with-authfw=shadow" |
98 |
use pam && myauth="--with-authfw=pam --with-pam-module-dir=$(getpam_mod_dir)" |
99 |
|
100 |
econf \ |
101 |
--localstatedir="${EPREFIX}"/var \ |
102 |
--disable-static \ |
103 |
$(use_enable debug verbose-mode) \ |
104 |
--enable-man-pages \ |
105 |
$(use_enable doc gtk-doc) \ |
106 |
$(use_enable systemd) \ |
107 |
$(use_enable introspection) \ |
108 |
--disable-examples \ |
109 |
$(use_enable nls) \ |
110 |
--with-os-type=gentoo \ |
111 |
${myauth} |
112 |
} |
113 |
|
114 |
src_install() { |
115 |
default |
116 |
|
117 |
insinto /etc/polkit-1/localauthority.conf.d |
118 |
doins "${T}"/60-gentoo.conf |
119 |
|
120 |
find "${ED}" -name '*.la' -exec rm -f {} + |
121 |
|
122 |
# We disable example compilation above, and handle it here |
123 |
if use examples; then |
124 |
insinto /usr/share/doc/${PF}/examples |
125 |
doins src/examples/{*.c,*.policy*} |
126 |
fi |
127 |
|
128 |
# Need to keep a few directories around... |
129 |
diropts -m0700 -o root -g root |
130 |
keepdir /var/lib/polkit-1 |
131 |
#keepdir /var/run/polkit-1 #387903 |
132 |
} |
133 |
|
134 |
pkg_postinst() { |
135 |
# Make sure that the user has consolekit sessions working so that the |
136 |
# 'allow_active' directive in polkit action policies works |
137 |
if has_version 'gnome-base/gdm' && ! has_version 'gnome-base/gdm[consolekit]'; then |
138 |
# If user has GDM installed, but USE=-consolekit, warn them |
139 |
ewarn "You have GDM installed, but it does not have USE=consolekit" |
140 |
ewarn "If you login using GDM, polkit authorizations will not work" |
141 |
ewarn "unless you enable USE=consolekit" |
142 |
einfo |
143 |
fi |
144 |
if has_version 'kde-base/kdm' && ! has_version 'kde-base/kdm[consolekit]'; then |
145 |
# If user has KDM installed, but USE=-consolekit, warn them |
146 |
ewarn "You have KDM installed, but it does not have USE=consolekit" |
147 |
ewarn "If you login using KDM, polkit authorizations will not work" |
148 |
ewarn "unless you enable USE=consolekit" |
149 |
einfo |
150 |
fi |
151 |
if ! has_version 'gnome-base/gdm[consolekit]' && \ |
152 |
! has_version 'kde-base/kdm[consolekit]'; then |
153 |
# Inform user about the alternative method |
154 |
ewarn "If you don't use GDM or KDM for logging in," |
155 |
ewarn "you must start your desktop environment (DE) as follows:" |
156 |
ewarn " ck-launch-session \$STARTGUI" |
157 |
ewarn "Where \$STARTGUI is a DE-starting command such as 'gnome-session'." |
158 |
ewarn "You should add this to your ~/.xinitrc if you use startx." |
159 |
fi |
160 |
} |