summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-03-11 19:07:32 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-03-11 19:07:32 +0000
commitf433f5c75dc2853e1b8796cecf6cc7657de5e223 (patch)
tree0b25d93df96e1a2cf5851cd39b55837fb00f2d9f /sys-auth/polkit
parentadd new polkit to glib mask (diff)
downloadhistorical-f433f5c75dc2853e1b8796cecf6cc7657de5e223.tar.gz
historical-f433f5c75dc2853e1b8796cecf6cc7657de5e223.tar.bz2
historical-f433f5c75dc2853e1b8796cecf6cc7657de5e223.zip
Version bump.
Package-Manager: portage-2.2.0_alpha26/cvs/Linux x86_64
Diffstat (limited to 'sys-auth/polkit')
-rw-r--r--sys-auth/polkit/ChangeLog7
-rw-r--r--sys-auth/polkit/Manifest4
-rw-r--r--sys-auth/polkit/polkit-0.101.ebuild94
3 files changed, 103 insertions, 2 deletions
diff --git a/sys-auth/polkit/ChangeLog b/sys-auth/polkit/ChangeLog
index 0e06c607f7fd..6b6248edd9d7 100644
--- a/sys-auth/polkit/ChangeLog
+++ b/sys-auth/polkit/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-auth/polkit
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.37 2011/03/07 20:08:34 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.38 2011/03/11 19:07:32 ssuominen Exp $
+
+*polkit-0.101 (11 Mar 2011)
+
+ 11 Mar 2011; Samuli Suominen <ssuominen@gentoo.org> +polkit-0.101.ebuild:
+ Version bump.
07 Mar 2011; Jeroen Roovers <jer@gentoo.org> polkit-0.99-r1.ebuild:
Stable for HPPA (bug #354509).
diff --git a/sys-auth/polkit/Manifest b/sys-auth/polkit/Manifest
index 9bba814de443..aa0d867a5f86 100644
--- a/sys-auth/polkit/Manifest
+++ b/sys-auth/polkit/Manifest
@@ -1,10 +1,12 @@
AUX polkit-0.96-getcwd.patch 576 RMD160 107abc47650cfe9dadaa2180a20a389a693a9e77 SHA1 68a9f2b46ab902e67c29576802e20e6b89624fbe SHA256 175a6e80a2563721e060f321ec152310e90c48ab62c5b3fd092e177222a1a9d2
DIST polkit-0.100.tar.gz 1050355 RMD160 2a94764af9097747d02ada906ececce259e2171c SHA1 dcf746b1507b732ef9558385507cb961d5659e04 SHA256 afe63bec81b7f49e884ea4f2671ec76db121d84d05f36e75cde9b4ca4c828186
+DIST polkit-0.101.tar.gz 1066155 RMD160 692dfbcc275c0711940f29b8c7d500144b6b921a SHA1 9d1f58a99d40889ceebbde142f93c305471fc151 SHA256 927f65760e4fce23d7cdeae90245c22986eb0a39335a344915302158f73f9f1b
DIST polkit-0.96-r1-shadow-support.patch.lzma 4970 RMD160 51c53d8be68bfdfa0b5a3eb2a4d8ddbba10c94b6 SHA1 bd4d3446aea77e3c84ad94a28f9644307921a086 SHA256 c7c323be29362816abd08463b962cd38a97c24f61d5f8b6da635e2bb329fa52a
DIST polkit-0.96.tar.gz 1034210 RMD160 19847f0835a3041446523066e6db58dfb60d3aae SHA1 0815b2ee2ffc2ebf2b6fc73491018a898fc73930 SHA256 3426ca917210b2a5525732559368c18f983a4c39a6a55c5dddba26071bd8054a
DIST polkit-0.99.tar.gz 1042461 RMD160 bb3556732e658b1a3ca51129d05ae96aec734ec9 SHA1 4c1fcabfa51bb3f716258a855a22366e7ed1ee22 SHA256 f612c7c26ec822f67751420057a4ae113fc50ab51070758faacf2ad30bb3583f
EBUILD polkit-0.100.ebuild 3357 RMD160 efe26f1b35e3ad85c4b9b1f3b8cf065faeeb988c SHA1 b3d4ebe4d076793638a40fd9f7590fad6afcf195 SHA256 2e9d741a82bce8104d677d4cf7d4fc9cc23c0250e4c6b272ccb5f2324b92cfc8
+EBUILD polkit-0.101.ebuild 3244 RMD160 8522f1eadaa30233e85dcf074bdf48e51e58cd47 SHA1 f9595db4d6cc8162c0556b18fe0ea76bc90a2d68 SHA256 42e5632d06cdfb45c8a845c5305cdacbd7a04c08c9ee06f3e5ac9bf623982505
EBUILD polkit-0.96-r1.ebuild 3916 RMD160 10eb7e31ee770f5a4278ee2a4194619bd5525ccd SHA1 9bb0256cff9804179a0b246d1577fe194b3599cd SHA256 f5a79eaf2ffffd56c2cdefe85446a3d453122362b0d163aae3aeef43adfd28bc
EBUILD polkit-0.99-r1.ebuild 3472 RMD160 3821c7dc666465b5d331cc037590bca44184be6e SHA1 3ee0e3fa7556d8b12a2b2efed6c1682dabf50156 SHA256 d7390e1c583e104cf2d622e454d367cc9846276ed7be76fade4c9e2284925c89
-MISC ChangeLog 5103 RMD160 40222b4e495e5aae919d1df34d508388571e5f49 SHA1 77bdf2faf5be6d15da35aa54b872bd4f63c8ea41 SHA256 bda9c9aa7ab1665627cf65f1c8d0a3c26f301b2e60e699ce95d183e7f080a14c
+MISC ChangeLog 5231 RMD160 e5291bfcdb7a749df802ecf79b6e06b01f17f67c SHA1 764c3123379ebd34767de5b8c9f82b7f0220c322 SHA256 747331ab70839a37ee648be18f3d4778ed87ae12344eb187850dff6e0ea54352
MISC metadata.xml 389 RMD160 3a54b59d35cd9c5b920de1b6d07447a95c7c7de0 SHA1 4a94516eb92b02ed46d9da1ab420a4fe3832211e SHA256 cfd3de2aafbe1b3e663e793170c36caf8c8ba8a48d75e581af69962e6cdc2815
diff --git a/sys-auth/polkit/polkit-0.101.ebuild b/sys-auth/polkit/polkit-0.101.ebuild
new file mode 100644
index 000000000000..a94273ba883a
--- /dev/null
+++ b/sys-auth/polkit/polkit-0.101.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/polkit-0.101.ebuild,v 1.1 2011/03/11 19:07:32 ssuominen Exp $
+
+EAPI=3
+inherit pam
+
+DESCRIPTION="Policy framework for controlling privileges for system-wide services"
+HOMEPAGE="http://hal.freedesktop.org/docs/polkit/"
+SRC_URI="http://hal.freedesktop.org/releases/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="debug doc examples gtk +introspection kde nls pam"
+
+RDEPEND=">=dev-libs/glib-2.28
+ dev-libs/expat
+ introspection? ( >=dev-libs/gobject-introspection-0.6.2 )
+ pam? ( virtual/pam )"
+DEPEND="${RDEPEND}
+ !!sys-auth/policykit
+ dev-libs/libxslt
+ app-text/docbook-xsl-stylesheets
+ dev-util/pkgconfig
+ >=dev-util/intltool-0.36
+ doc? ( >=dev-util/gtk-doc-1.13 )"
+PDEPEND=">=sys-auth/consolekit-0.4[policykit]
+ gtk? ( || ( >=gnome-extra/polkit-gnome-0.96-r1 lxde-base/lxpolkit ) )
+ kde? ( || ( sys-auth/polkit-kde-agent sys-auth/polkit-kde ) )"
+
+src_configure() {
+ local myauth="--with-authfw=shadow"
+ use pam && myauth="--with-authfw=pam --with-pam-module-dir=$(getpam_mod_dir)"
+
+ econf \
+ --localstatedir="${EPREFIX}"/var \
+ --disable-dependency-tracking \
+ --disable-static \
+ $(use_enable debug verbose-mode) \
+ --enable-man-pages \
+ $(use_enable doc gtk-doc) \
+ $(use_enable introspection) \
+ --disable-examples \
+ $(use_enable nls) \
+ --with-os-type=gentoo \
+ ${myauth}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc docs/TODO HACKING NEWS README
+
+ find "${D}" -name '*.la' -exec rm -f {} +
+
+ # We disable example compilation above, and handle it here
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins src/examples/{*.c,*.policy*}
+ fi
+
+ # Need to keep a few directories around...
+ diropts -m0700 -o root -g root
+ keepdir /var/run/polkit-1
+ keepdir /var/lib/polkit-1
+}
+
+pkg_postinst() {
+ # Make sure that the user has consolekit sessions working so that the
+ # 'allow_active' directive in polkit action policies works
+ if has_version 'gnome-base/gdm' && ! has_version 'gnome-base/gdm[consolekit]'; then
+ # If user has GDM installed, but USE=-consolekit, warn them
+ ewarn "You have GDM installed, but it does not have USE=consolekit"
+ ewarn "If you login using GDM, polkit authorizations will not work"
+ ewarn "unless you enable USE=consolekit"
+ einfo
+ fi
+ if has_version 'kde-base/kdm' && ! has_version 'kde-base/kdm[consolekit]'; then
+ # If user has KDM installed, but USE=-consolekit, warn them
+ ewarn "You have KDM installed, but it does not have USE=consolekit"
+ ewarn "If you login using KDM, polkit authorizations will not work"
+ ewarn "unless you enable USE=consolekit"
+ einfo
+ fi
+ if ! has_version 'gnome-base/gdm[consolekit]' && \
+ ! has_version 'kde-base/kdm[consolekit]'; then
+ # Inform user about the alternative method
+ ewarn "If you don't use GDM or KDM for logging in,"
+ ewarn "you must start your desktop environment (DE) as follows:"
+ ewarn " ck-launch-session \$STARTGUI"
+ ewarn "Where \$STARTGUI is a DE-starting command such as 'gnome-session'."
+ ewarn "You should add this to your ~/.xinitrc if you use startx."
+ fi
+}