diff options
author | Nirbheek Chauhan <nirbheek@gentoo.org> | 2011-02-23 13:31:54 +0000 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@gentoo.org> | 2011-02-23 13:31:54 +0000 |
commit | cb1c33360e7feb3741d47b3d7e4348aa43f840e7 (patch) | |
tree | 703a6bd1fee24693a686fc643a32c4d28e8a8bbd /sys-auth | |
parent | Clean up old revision. (diff) | |
download | historical-cb1c33360e7feb3741d47b3d7e4348aa43f840e7.tar.gz historical-cb1c33360e7feb3741d47b3d7e4348aa43f840e7.tar.bz2 historical-cb1c33360e7feb3741d47b3d7e4348aa43f840e7.zip |
Bump to 0.100
Package-Manager: portage-2.1.9.40/cvs/Linux x86_64
Diffstat (limited to 'sys-auth')
-rw-r--r-- | sys-auth/polkit/ChangeLog | 7 | ||||
-rw-r--r-- | sys-auth/polkit/Manifest | 4 | ||||
-rw-r--r-- | sys-auth/polkit/polkit-0.100.ebuild | 99 |
3 files changed, 108 insertions, 2 deletions
diff --git a/sys-auth/polkit/ChangeLog b/sys-auth/polkit/ChangeLog index 38265ae0687d..2b132063188a 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.33 2011/01/24 16:00:27 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.34 2011/02/23 13:31:54 nirbheek Exp $ + +*polkit-0.100 (23 Feb 2011) + + 23 Feb 2011; Nirbheek Chauhan <nirbheek@gentoo.org> +polkit-0.100.ebuild: + Bump to 0.100 24 Jan 2011; Samuli Suominen <ssuominen@gentoo.org> polkit-0.99-r1.ebuild: USE="kde" to pull in authentication agent for KDE. diff --git a/sys-auth/polkit/Manifest b/sys-auth/polkit/Manifest index acbfe2fbd64d..eceae9098c6e 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.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 3354 RMD160 6514077a7685ca1c73ac24a7fcea18c20c0f342d SHA1 91d438884705bee65aae6533c625021f9715669c SHA256 e826c944e3221e4c524d076993e9a7aae4503529e72d29e9db05118d80d6cdc0 EBUILD polkit-0.96-r1.ebuild 3916 RMD160 10eb7e31ee770f5a4278ee2a4194619bd5525ccd SHA1 9bb0256cff9804179a0b246d1577fe194b3599cd SHA256 f5a79eaf2ffffd56c2cdefe85446a3d453122362b0d163aae3aeef43adfd28bc EBUILD polkit-0.96-r2.ebuild 3725 RMD160 2b4e130e3f8f3081a5dc2390733b9aa93627a56b SHA1 71a9a9b89aabe4fc6bb3927e958d6c7a2b90b7ff SHA256 a9579f8faecc68d3b34efe1e9f5de9bf6926d57a7b5ddcaeba2e2afb7ed0cc72 EBUILD polkit-0.99-r1.ebuild 3481 RMD160 dfcf29e80707ed23514e677242dedab9cdd0046b SHA1 0e6e92b55828ef7a239b82ca05b8c5bd2ec2ce06 SHA256 d9bbb2e51a02cc79b9218f347a00a6d137ee6ef4034da719976e64ba1bd27064 EBUILD polkit-0.99.ebuild 3486 RMD160 2fb440669ed09357dbb00d9d7b1224bbca0e4745 SHA1 279f278d62ae031a228add83195e0a318ea25c18 SHA256 8ea8f65b778b35f4e385b851c72a88872e11217ec650ec3cf24a91d41499a26b -MISC ChangeLog 4673 RMD160 4661459ee4dd1f2ba5ea5cd9bc902d565944766a SHA1 33b17b7ac177703c7b3098a9f4b074930cd07b3d SHA256 5a56f8be51bea588cdddba04c3c5208cc555ee9a48d6c9c35d850f55d85d3dac +MISC ChangeLog 4794 RMD160 487a55414a81ef3c9be8b7c4bfd4fd00b542b2e3 SHA1 8cb1ddf2a7f8485a3e73d020b5a548efa5d33abb SHA256 62aa7c9a4a8bffc60bdd873a2ae1c52013f15a5e63a24f0f5e863c1bad351786 MISC metadata.xml 389 RMD160 3a54b59d35cd9c5b920de1b6d07447a95c7c7de0 SHA1 4a94516eb92b02ed46d9da1ab420a4fe3832211e SHA256 cfd3de2aafbe1b3e663e793170c36caf8c8ba8a48d75e581af69962e6cdc2815 diff --git a/sys-auth/polkit/polkit-0.100.ebuild b/sys-auth/polkit/polkit-0.100.ebuild new file mode 100644 index 000000000000..654372b2eb8d --- /dev/null +++ b/sys-auth/polkit/polkit-0.100.ebuild @@ -0,0 +1,99 @@ +# 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.100.ebuild,v 1.1 2011/02/23 13:31:54 nirbheek Exp $ + +EAPI="3" +inherit eutils 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.25.12 + dev-libs/expat + introspection? ( >=dev-libs/gobject-introspection-0.6.2 ) + pam? ( virtual/pam )" +DEPEND="${RDEPEND} + !!>=sys-auth/policykit-0.92 + !<sys-auth/policykit-0.92 + 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_prepare() { + epatch "${FILESDIR}"/${PN}-0.96-getcwd.patch +} + +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 +} |