From ee0ae2453c0dd802e5e60f941b691a069068b92e Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Wed, 7 Dec 2011 16:09:26 +0000 Subject: [PATCH] Version bump. Remove unrequired keepdir of /var/run/polkit-1 wrt #387903 by "i.Dark_Templar" Package-Manager: portage-2.2.0_alpha79/cvs/Linux x86_64 --- sys-auth/polkit/ChangeLog | 8 ++- sys-auth/polkit/Manifest | 16 +++-- sys-auth/polkit/polkit-0.103.ebuild | 95 +++++++++++++++++++++++++++++ 3 files changed, 113 insertions(+), 6 deletions(-) create mode 100644 sys-auth/polkit/polkit-0.103.ebuild diff --git a/sys-auth/polkit/ChangeLog b/sys-auth/polkit/ChangeLog index 5c8e0ca93f7e..18453e7d05e7 100644 --- a/sys-auth/polkit/ChangeLog +++ b/sys-auth/polkit/ChangeLog @@ -1,6 +1,12 @@ # 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.57 2011/11/05 17:56:15 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.58 2011/12/07 16:09:26 ssuominen Exp $ + +*polkit-0.103 (07 Dec 2011) + + 07 Dec 2011; Samuli Suominen +polkit-0.103.ebuild: + Version bump. Remove unrequired keepdir of /var/run/polkit-1 wrt #387903 by + "i.Dark_Templar" 05 Nov 2011; Raúl Porcel polkit-0.102.ebuild: alpha/arm/ia64/sh/sparc stable wrt #387163 diff --git a/sys-auth/polkit/Manifest b/sys-auth/polkit/Manifest index 5d5c06acd5e0..73a1127ec38b 100644 --- a/sys-auth/polkit/Manifest +++ b/sys-auth/polkit/Manifest @@ -4,14 +4,20 @@ Hash: SHA1 DIST polkit-0.101-CVE-2011-1485.tar.xz 6804 RMD160 2117a01ad8fe6019c78c3da49a89f6a2d48ba1bc SHA1 efae676c2611c50013bbfddf3c0d00ff5b0472ed SHA256 f70b2ec3ddbc1fcef59f4eefc84803bb46681c74785142e4718dc3009b4c09fa DIST polkit-0.101.tar.gz 1066155 RMD160 692dfbcc275c0711940f29b8c7d500144b6b921a SHA1 9d1f58a99d40889ceebbde142f93c305471fc151 SHA256 927f65760e4fce23d7cdeae90245c22986eb0a39335a344915302158f73f9f1b DIST polkit-0.102.tar.gz 880132 RMD160 c0eedf088a54947afdd6135ed744cd64eeeab217 SHA1 62907e1c9ffc45a8cd5f2cec2b5eabb168551f0e SHA256 0a6573da841c6f5c428218f1456aed45724a0127932af0de563d568bb9058641 +DIST polkit-0.103.tar.gz 1065419 RMD160 50aad2a95649771727b8fc42e8bbbe2ad5f7b5e8 SHA1 024e213dde0b96e1fc94524e21e0706462a87892 SHA256 36607c8ce576980ee55bd12bab1944f13217eb8e9d04ab56022545861ece3bc5 EBUILD polkit-0.101-r1.ebuild 3554 RMD160 3ff0aea9e87e971bba79edefba1d310667a784a1 SHA1 8299dc6ae1e71df9313c8c0233c8483eec609f32 SHA256 0adb3aa7d0f9a4108e576ec03c9d0cbfbe9fc3bf1ed5dd6a4fedc773a2e666ad EBUILD polkit-0.102.ebuild 3257 RMD160 66dc5c4ad1590a7dc3e5f5d6960baa862d31c5c9 SHA1 9e27404458621994ef8336ba21a3d2020554a0a4 SHA256 c632fcdbd3ec9ed869098f6e814da19d21d7c06572123a4a61fa7254cd2b7680 -MISC ChangeLog 7488 RMD160 d5afc44e345da9cd9d19315d96682416f6167e90 SHA1 0ab19de4ac57b2ab5dcb4c193970acb4da28c131 SHA256 2bd4af526ea52239a72e55a81b6d93154e53716443fc06eb91343b9cd9ca7162 +EBUILD polkit-0.103.ebuild 3222 RMD160 29d5e68059df68dd6bedd7ba418701b2848e9af5 SHA1 5bcc0863baa7f21be3ff2bb9c57f8f4702b758ac SHA256 bc7166b0cfec4bae77bd8731c1d43dc14ee3ef83cdcacab3bd6500b579ab806d +MISC ChangeLog 7693 RMD160 522e11437cbedbdcbcc5a8c69d2955c0c999fd8b SHA1 43537fadaa34fee3d0d6bf98e088e7b14456cd45 SHA256 361770ce8171250a550bcc87df55e9c0dcf54225c4a7fad75ce1130e19081057 MISC metadata.xml 389 RMD160 3a54b59d35cd9c5b920de1b6d07447a95c7c7de0 SHA1 4a94516eb92b02ed46d9da1ab420a4fe3832211e SHA256 cfd3de2aafbe1b3e663e793170c36caf8c8ba8a48d75e581af69962e6cdc2815 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) +Version: GnuPG v2.0.18 (GNU/Linux) -iEYEARECAAYFAk61eMUACgkQuQc30/atMkBOfgCdEq2+XcI0w/8O7FYS+kMzLtlz -COEAnjAa2i0NlmJmwgnXwptDNO7+Kusa -=0z4A +iQEcBAEBAgAGBQJO34+iAAoJEEdUh39IaPFNQ2MIAJpQe83iQmPkkqjZ58rwgd+t +kOW3f3x69efz3drpIGprFrbZBlDoaEs4TtuWVf8hoITS2zKjBrHbB8OmnLmZLDmL +TbnPAvh66OkQki+1OCf3Cb1fXzpM/Nw19I7IpK5USy4+Gs6lSEqBIFcd1uJIyWyO +4DVRQQrVk2zSLmQueq0QEEOgOJZMACx6hz4RoKmANUnXwINMZCtIR8ynG9+qk5tv +Todi8DCRx90i7hKri5/ZBbSzuGnEq5AOq57n6+GDn6pi3DmiUby+4ykIjR5u1zwY +44q/Plh+UcSscJNXHNn2awXbrREXErqUuZIygd0lTjTECcSXWfQ9Wo8IQPZFOVo= +=wVQJ -----END PGP SIGNATURE----- diff --git a/sys-auth/polkit/polkit-0.103.ebuild b/sys-auth/polkit/polkit-0.103.ebuild new file mode 100644 index 000000000000..3391f04343fd --- /dev/null +++ b/sys-auth/polkit/polkit-0.103.ebuild @@ -0,0 +1,95 @@ +# 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.103.ebuild,v 1.1 2011/12/07 16:09:26 ssuominen Exp $ + +EAPI=4 +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 ~mips ~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} + dev-libs/libxslt + app-text/docbook-xml-dtd:4.1.2 + app-text/docbook-xsl-stylesheets + dev-util/pkgconfig + dev-util/intltool + doc? ( >=dev-util/gtk-doc-1.13 )" +PDEPEND=">=sys-auth/consolekit-0.4.5[policykit] + pam? ( sys-auth/pambase[consolekit] ) + gtk? ( || ( >=gnome-extra/polkit-gnome-${PV} lxde-base/lxpolkit ) ) + kde? ( sys-auth/polkit-kde-agent )" + +DOCS=( docs/TODO HACKING NEWS README ) + +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-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() { + default + + 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/lib/polkit-1 + #keepdir /var/run/polkit-1 #387903 +} + +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 +} -- 2.26.2