summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-auth/polkit')
-rw-r--r--sys-auth/polkit/ChangeLog8
-rw-r--r--sys-auth/polkit/Manifest17
-rw-r--r--sys-auth/polkit/polkit-0.106-r6.ebuild113
3 files changed, 136 insertions, 2 deletions
diff --git a/sys-auth/polkit/ChangeLog b/sys-auth/polkit/ChangeLog
index e4592f89d93e..3daa68098075 100644
--- a/sys-auth/polkit/ChangeLog
+++ b/sys-auth/polkit/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-auth/polkit
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.94 2012/06/30 10:27:11 swift Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.95 2012/07/01 13:30:22 ssuominen Exp $
+
+*polkit-0.106-r6 (01 Jul 2012)
+
+ 01 Jul 2012; Samuli Suominen <ssuominen@gentoo.org> +polkit-0.106-r6.ebuild:
+ Fix hardcoded path to "lib" in polkitagentsession.c for systems without the
+ /usr/lib to /usr/lib64 symlink.
30 Jun 2012; <swift@gentoo.org> polkit-0.104-r1.ebuild, polkit-0.105.ebuild,
polkit-0.106-r5.ebuild:
diff --git a/sys-auth/polkit/Manifest b/sys-auth/polkit/Manifest
index a68559fd72c8..e21cbeb4dc8c 100644
--- a/sys-auth/polkit/Manifest
+++ b/sys-auth/polkit/Manifest
@@ -1,8 +1,23 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
DIST polkit-0.104.tar.gz 1416583 RMD160 244e825347a463ff4b9eb0a2318ab04c821bded9 SHA1 599208cf584b9e13f8c9d863238a8271af4aba62 SHA256 6b0a13d8381e4a7b7e37c18a54595191b50757e0fcd186cd9918e9ad0f18c7f9
DIST polkit-0.105.tar.gz 1431080 RMD160 cd1100ee69a308d620e437d34e471580bb6dcf5a SHA1 53d56484a5bffb0aaf645c8d813b3063e01e8423 SHA256 8fdc7cc8ba4750fcce1a4db9daa759c12afebc7901237e1c993c38f08985e1df
DIST polkit-0.106.tar.gz 1381428 RMD160 6fa79aaa4e67e072d16860f1a242b053cc311bc3 SHA1 665624f5d69876ec5833f7952290188ca594aac0 SHA256 4005076a67aaa182872c1e316939fcb0ba74a89298e6330d72cfdac6624c984e
EBUILD polkit-0.104-r1.ebuild 3599 RMD160 0971476dcae7e67dbdd40588d47ebbbc61873b65 SHA1 e179cfc1e5a4a383ae98bc4913c03e32a267e41b SHA256 a4c259b6a560da465278a4a1aba930e8abf1eade4a82adc239e078d8975f6709
EBUILD polkit-0.105.ebuild 2241 RMD160 e7a155386c6b9fb189799d423cb0843ca8fc6ba7 SHA1 dc20155d6178c0a017ff8c1374428102b22c9468 SHA256 4ec832b243b7623a289ba38cee2576e6cda162d9fb3ad1afb995ae797968cfb8
EBUILD polkit-0.106-r5.ebuild 3053 RMD160 e819509449da0a45b8d13f9595041896d56ccbbd SHA1 4ae99ba469a92d440274d1ef6989fb3425e229ac SHA256 a331ee7504ddf0e1c92f172022b695ab29ffd96bed2fe8108ca108dd9976b96d
-MISC ChangeLog 13142 RMD160 9750274a9f558565e19b3c49ba9cb2fc73c8f315 SHA1 8ec67cca2f75cdb239e7192fc3c2b9615b6459f8 SHA256 15d76e907b2e30e3d312f40626761bad1dd60258a7fcb7bd11720f5be467b757
+EBUILD polkit-0.106-r6.ebuild 3239 RMD160 008225f7254655bedbb0e840d3f447453250f602 SHA1 d3816169c9e1c1179c3e5bc5cd102c2ce0c9c8d9 SHA256 c32ea30c69cc20bad739484038c1aeb410d8ae2e55f60a5d36ebe23f84280e3c
+MISC ChangeLog 13370 RMD160 bf0a601a62e2a8ee14d0047a6f2b4d874784e570 SHA1 65f23be7c9c1b2ca430ab7e75fa3ad1061ba5a40 SHA256 44732e39e931962426ae6ff45461bf921c1885d6946c0caf9923b9f15940d95b
MISC metadata.xml 516 RMD160 0c65650680494cadd548ec430b11facf2cc28912 SHA1 092816617aa2ab7a9047298b6752b82bbab33520 SHA256 be8c8239fecd14fd1a9c1dee11ccb98b1188aceacf6ea58233a0f958ab648aba
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBAgAGBQJP8E+mAAoJEEdUh39IaPFN8cMH/is2AANbR9Vcfkv8VsgD+ngb
+ZpzxzrNsxivdag5P0Nvl+LiMqYzrgqZmldwBYbrYQKe+XLY4h9e8BIbd5wEAQYa5
+OVKoicXn2BHH4law8tik+jKF9lNYTs/XuI39idp6L3azhodyAbXtMi6FwUk4ctZx
+JaVBEJAHknaxqrm/2sUjDRLcXgGPeB96FECQ0EYE5nGxL08bM0GxeFv5pdjAo4TM
+sHe+pxSEI5dkDtheybP3rtp0Vbu7pbwgnSAOdqZh5DbGiyo4ol/D12FnHbVoqQJX
+I+zsVmDKc1K5ErY+a1R3Xu1dZxBt7ijrNsAhQqMfXi5pOMEDZKpIzFwQ3LL8fhA=
+=wKeg
+-----END PGP SIGNATURE-----
diff --git a/sys-auth/polkit/polkit-0.106-r6.ebuild b/sys-auth/polkit/polkit-0.106-r6.ebuild
new file mode 100644
index 000000000000..8b678c76e852
--- /dev/null
+++ b/sys-auth/polkit/polkit-0.106-r6.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/polkit-0.106-r6.ebuild,v 1.1 2012/07/01 13:30:22 ssuominen Exp $
+
+EAPI=4
+inherit eutils multilib pam pax-utils systemd user
+
+DESCRIPTION="Policy framework for controlling privileges for system-wide services"
+HOMEPAGE="http://www.freedesktop.org/wiki/Software/polkit"
+SRC_URI="http://www.freedesktop.org/software/${PN}/releases/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="debug examples gtk +introspection kde nls pam selinux systemd"
+
+RDEPEND=">=dev-lang/spidermonkey-1.8.5
+ >=dev-libs/glib-2.32
+ >=dev-libs/expat-2
+ introspection? ( >=dev-libs/gobject-introspection-1 )
+ pam? (
+ sys-auth/pambase
+ virtual/pam
+ )
+ selinux? ( sec-policy/selinux-policykit )
+ systemd? ( sys-apps/systemd )"
+DEPEND="${RDEPEND}
+ app-text/docbook-xml-dtd:4.1.2
+ app-text/docbook-xsl-stylesheets
+ dev-libs/libxslt
+ dev-util/intltool
+ virtual/pkgconfig"
+PDEPEND="
+ gtk? ( || (
+ >=gnome-extra/polkit-gnome-0.105
+ lxde-base/lxpolkit
+ ) )
+ kde? ( sys-auth/polkit-kde-agent )
+ pam? (
+ systemd? ( sys-auth/pambase[systemd] )
+ !systemd? ( sys-auth/pambase[consolekit] )
+ )
+ !systemd? ( >=sys-auth/consolekit-0.4.5_p2012[policykit] )"
+
+pkg_setup() {
+ local u=polkitd
+ local g=polkitd
+ local h=/var/lib/polkit-1
+
+ enewgroup ${g}
+ enewuser ${u} -1 -1 ${h} ${g}
+ esethome ${u} ${h}
+}
+
+src_prepare() {
+ sed -i -e 's|unix-group:wheel|unix-user:0|' src/polkitbackend/*-default.rules || die #401513
+ has_version ">=dev-lang/spidermonkey-1.8.7" && { sed -i -e '/mozjs/s:185:187:g' configure || die; }
+ # http://bugs.freedesktop.org/show_bug.cgi?id=51617
+ sed -i \
+ -e "/polkit-agent-helper-1/s:/lib/polkit-1:/$(get_libdir)/polkit-1:" \
+ src/polkitagent/polkitagentsession.c || die
+}
+
+src_configure() {
+ econf \
+ --localstatedir="${EPREFIX}"/var \
+ --disable-static \
+ $(use_enable debug verbose-mode) \
+ --enable-man-pages \
+ --disable-gtk-doc \
+ $(use_enable systemd libsystemd-login) \
+ $(use_enable introspection) \
+ --disable-examples \
+ $(use_enable nls) \
+ "$(systemd_with_unitdir)" \
+ --with-authfw=$(usex pam pam shadow) \
+ $(use pam && echo --with-pam-module-dir="$(getpam_mod_dir)") \
+ --with-os-type=gentoo
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ libprivdir="${EPREFIX}"/usr/$(get_libdir)/polkit-1 \
+ install
+
+ dodoc docs/TODO HACKING NEWS README
+
+ fowners -R polkitd:root /{etc,usr/share}/polkit-1/rules.d
+
+ diropts -m0700 -o polkitd -g polkitd
+ keepdir /var/lib/polkit-1
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins src/examples/{*.c,*.policy*}
+ fi
+
+ prune_libtool_files
+ rm -f "${ED}"/usr/lib*/pkgconfig/polkit-backend-1.pc #423431
+
+ # Required for polkitd on hardened/PaX due to spidermonkey's JIT
+ if has_version '<dev-lang/spidermonkey-1.8.7'; then
+ pax-mark mr "${ED}"/usr/$(get_libdir)/polkit-1/polkitd
+ elif has_version '>=dev-lang/spidermonkey-1.8.7[jit]'; then
+ pax-mark m "${ED}"/usr/$(get_libdir)/polkit-1/polkitd
+ fi
+}
+
+pkg_postinst() {
+ chown -R polkitd:root "${EROOT}"/{etc,usr/share}/polkit-1/rules.d
+ chown -R polkitd:polkitd "${EROOT}"/var/lib/polkit-1
+}