1 |
commit: b5f1a3904352ab3fd8bf7ae714358e546132966f |
2 |
Author: Jory A. Pratt <anarchy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 19 12:23:33 2012 +0000 |
4 |
Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 19 12:23:33 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/mozilla.git;a=commit;h=b5f1a390 |
7 |
|
8 |
polkit changes are in tree |
9 |
|
10 |
--- |
11 |
sys-auth/polkit/Manifest | 2 - |
12 |
sys-auth/polkit/polkit-0.106-r2.ebuild | 106 -------------------------------- |
13 |
2 files changed, 0 insertions(+), 108 deletions(-) |
14 |
|
15 |
diff --git a/sys-auth/polkit/Manifest b/sys-auth/polkit/Manifest |
16 |
deleted file mode 100644 |
17 |
index a7ca495..0000000 |
18 |
--- a/sys-auth/polkit/Manifest |
19 |
+++ /dev/null |
20 |
@@ -1,2 +0,0 @@ |
21 |
-DIST polkit-0.106.tar.gz 1381428 RMD160 6fa79aaa4e67e072d16860f1a242b053cc311bc3 SHA1 665624f5d69876ec5833f7952290188ca594aac0 SHA256 4005076a67aaa182872c1e316939fcb0ba74a89298e6330d72cfdac6624c984e |
22 |
-EBUILD polkit-0.106-r2.ebuild 2913 RMD160 85790e3c1334afe88316d89989cbe162fd3df094 SHA1 28be8855e8a381a6dc12a080b2c7ecafd34d488d SHA256 982fc3c3f067b3270aa9e8e9f09a4fead8d3f08978fb93ec318dd02cc120ee24 |
23 |
|
24 |
diff --git a/sys-auth/polkit/polkit-0.106-r2.ebuild b/sys-auth/polkit/polkit-0.106-r2.ebuild |
25 |
deleted file mode 100644 |
26 |
index 11c2342..0000000 |
27 |
--- a/sys-auth/polkit/polkit-0.106-r2.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,106 +0,0 @@ |
30 |
-# Copyright 1999-2012 Gentoo Foundation |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
-# $Header: $ |
33 |
- |
34 |
-EAPI=4 |
35 |
-inherit eutils pam systemd user |
36 |
- |
37 |
-DESCRIPTION="Policy framework for controlling privileges for system-wide services" |
38 |
-HOMEPAGE="http://www.freedesktop.org/wiki/Software/polkit" |
39 |
-SRC_URI="http://www.freedesktop.org/software/${PN}/releases/${P}.tar.gz" |
40 |
- |
41 |
-LICENSE="LGPL-2" |
42 |
-SLOT="0" |
43 |
-KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
44 |
-IUSE="debug examples gtk +introspection kde nls pam systemd" |
45 |
- |
46 |
-RDEPEND=">=dev-lang/spidermonkey-1.8.5 |
47 |
- >=dev-libs/glib-2.32 |
48 |
- >=dev-libs/expat-2 |
49 |
- introspection? ( >=dev-libs/gobject-introspection-1 ) |
50 |
- pam? ( |
51 |
- sys-auth/pambase |
52 |
- virtual/pam |
53 |
- ) |
54 |
- systemd? ( sys-apps/systemd )" |
55 |
-DEPEND="${RDEPEND} |
56 |
- app-text/docbook-xml-dtd:4.1.2 |
57 |
- app-text/docbook-xsl-stylesheets |
58 |
- dev-libs/libxslt |
59 |
- dev-util/intltool |
60 |
- virtual/pkgconfig" |
61 |
-PDEPEND=" |
62 |
- gtk? ( || ( |
63 |
- >=gnome-extra/polkit-gnome-0.105 |
64 |
- lxde-base/lxpolkit |
65 |
- ) ) |
66 |
- kde? ( sys-auth/polkit-kde-agent ) |
67 |
- pam? ( |
68 |
- systemd? ( sys-auth/pambase[systemd] ) |
69 |
- !systemd? ( sys-auth/pambase[consolekit] ) |
70 |
- ) |
71 |
- !systemd? ( >=sys-auth/consolekit-0.4.5_p2012[policykit] )" |
72 |
- |
73 |
-DOCS="docs/TODO HACKING NEWS README" |
74 |
- |
75 |
-pkg_setup() { |
76 |
- enewgroup polkitd |
77 |
- enewuser polkitd -1 -1 /var/lib/polkit-1 polkitd |
78 |
-} |
79 |
- |
80 |
-src_prepare() { |
81 |
- sed -i -e '/unix-group/s:wheel:adm:' src/polkitbackend/*-default.rules || die #401513 |
82 |
- has_version ">=dev-lang/spidermonkey-1.8.7" && { sed -i -e '/mozjs/s:185:187:g' configure || die; } |
83 |
-} |
84 |
- |
85 |
-src_configure() { |
86 |
- local myconf="--with-authfw=shadow" |
87 |
- use pam && \ |
88 |
- myconf="--with-authfw=pam --with-pam-module-dir=$(getpam_mod_dir) --with-pam-include=system-local-login" |
89 |
- |
90 |
- econf \ |
91 |
- --localstatedir="${EPREFIX}"/var \ |
92 |
- --disable-static \ |
93 |
- $(use_enable debug verbose-mode) \ |
94 |
- --enable-man-pages \ |
95 |
- --disable-gtk-doc \ |
96 |
- $(use_enable systemd libsystemd-login) \ |
97 |
- $(use_enable introspection) \ |
98 |
- --disable-examples \ |
99 |
- $(use_enable nls) \ |
100 |
- --with-os-type=gentoo \ |
101 |
- "$(systemd_with_unitdir)" \ |
102 |
- ${myconf} |
103 |
-} |
104 |
- |
105 |
-src_install() { |
106 |
- default |
107 |
- |
108 |
- fowners -R polkitd:root /{etc,usr/share}/polkit-1/rules.d |
109 |
- |
110 |
- prune_libtool_files |
111 |
- |
112 |
- diropts -m0700 -o polkitd -g polkitd |
113 |
- keepdir /var/lib/polkit-1 |
114 |
- |
115 |
- if use examples; then |
116 |
- insinto /usr/share/doc/${PF}/examples |
117 |
- doins src/examples/{*.c,*.policy*} |
118 |
- fi |
119 |
-} |
120 |
- |
121 |
-pkg_postinst() { |
122 |
- chown -R polkitd:root "${EROOT}"/{etc,usr/share}/polkit-1/rules.d |
123 |
- chown -R polkitd:polkitd "${EROOT}"/var/lib/polkit-1 |
124 |
- |
125 |
- echo |
126 |
- ewarn "If home directory of unix-user \"polkitd\" is set to /dev/null, run:" |
127 |
- ewarn "# usermod -d /var/lib/polkit-1 polkitd" |
128 |
- |
129 |
- echo |
130 |
- ewarn "The default administrator unix-group was changed from \"wheel\" to" |
131 |
- ewarn "\"adm\", see *-default.rules in /etc/polkit-1/rules.d" |
132 |
- ewarn "Users of unix-group \"adm\" can run, for example, \"pkexec /bin/sh\"" |
133 |
- ewarn "to gain root shell without root password." |
134 |
- ewarn "For more information, see http://bugs.gentoo.org/401513" |
135 |
-} |