summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-06-08 00:11:04 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-06-08 00:11:04 +0000
commit0684fa9b48552cae46581a2ea235db5b07c267c5 (patch)
tree36a14fded94a1c63dcee1cd8a6da9ab77c2fc9fb /sys-auth/polkit
parentRemove ebeep call (diff)
downloadgentoo-2-0684fa9b48552cae46581a2ea235db5b07c267c5.tar.gz
gentoo-2-0684fa9b48552cae46581a2ea235db5b07c267c5.tar.bz2
gentoo-2-0684fa9b48552cae46581a2ea235db5b07c267c5.zip
Version bump.
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
Diffstat (limited to 'sys-auth/polkit')
-rw-r--r--sys-auth/polkit/ChangeLog10
-rw-r--r--sys-auth/polkit/polkit-0.106.ebuild85
2 files changed, 94 insertions, 1 deletions
diff --git a/sys-auth/polkit/ChangeLog b/sys-auth/polkit/ChangeLog
index 3f707a14f073..1e602e15719a 100644
--- a/sys-auth/polkit/ChangeLog
+++ b/sys-auth/polkit/ChangeLog
@@ -1,6 +1,14 @@
# 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.76 2012/05/20 13:15:43 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.77 2012/06/08 00:11:04 ssuominen Exp $
+
+*polkit-0.106 (07 Jun 2012)
+
+ 07 Jun 2012; Samuli Suominen <ssuominen@gentoo.org> +polkit-0.106.ebuild:
+ Version bump. Setting default unix-group location changed to
+ /etc/polkit-1/rules.d/50-default.rules.
+ Create dedicated user and group "polkitd" as per upstream documentation
+ (recommendation).
20 May 2012; Samuli Suominen <ssuominen@gentoo.org> polkit-0.105.ebuild:
Improve systemd handling wrt #416317 by Christoph Brill
diff --git a/sys-auth/polkit/polkit-0.106.ebuild b/sys-auth/polkit/polkit-0.106.ebuild
new file mode 100644
index 000000000000..db0105bd7227
--- /dev/null
+++ b/sys-auth/polkit/polkit-0.106.ebuild
@@ -0,0 +1,85 @@
+# 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.ebuild,v 1.1 2012/06/08 00:11:04 ssuominen Exp $
+
+EAPI=4
+inherit eutils user pam systemd
+
+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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="debug examples gtk +introspection kde nls pam systemd"
+
+RDEPEND=">=dev-libs/glib-2.30
+ >=dev-libs/expat-2
+ introspection? ( >=dev-libs/gobject-introspection-1 )
+ pam? ( virtual/pam )
+ 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-0.40
+ virtual/pkgconfig"
+PDEPEND="
+ gtk? ( || (
+ >=gnome-extra/polkit-gnome-0.104-r1
+ lxde-base/lxpolkit
+ ) )
+ kde? ( || (
+ sys-auth/polkit-kde-agent
+ sys-auth/polkit-kde
+ ) )
+ !systemd? (
+ >=sys-auth/consolekit-0.4.5_p2012[policykit]
+ pam? ( sys-auth/pambase[consolekit] )
+ )"
+
+DOCS="docs/TODO HACKING NEWS README"
+
+pkg_setup() {
+ enewgroup polkitd
+ enewuser polkitd -1 -1 -1 polkitd
+}
+
+src_prepare() {
+ # http://bugs.gentoo.org/401513
+ ewarn "Switching from group \"wheel\" to group \"0\" in /etc/polkit-1/rules.d/*.rules"
+ sed -i -e '/unix-group/s:wheel:0:' src/polkitbackend/*.rules || 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) \
+ --with-os-type=gentoo \
+ --with-authfw=$(usex pam pam shadow) \
+ $(use pam && echo --with-pam-module-dir="$(getpam_mod_dir)") \
+ "$(systemd_with_unitdir)"
+}
+
+src_install() {
+ default
+
+ prune_libtool_files
+
+ diropts -m0700 -o root -g root
+ keepdir /var/lib/polkit-1
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins src/examples/{*.c,*.policy*}
+ fi
+}
+