Version bump.
authorSamuli Suominen <ssuominen@gentoo.org>
Thu, 5 Jan 2012 11:09:42 +0000 (11:09 +0000)
committerSamuli Suominen <ssuominen@gentoo.org>
Thu, 5 Jan 2012 11:09:42 +0000 (11:09 +0000)
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64

sys-auth/polkit/ChangeLog
sys-auth/polkit/Manifest
sys-auth/polkit/metadata.xml
sys-auth/polkit/polkit-0.104.ebuild [new file with mode: 0644]

index 7cf14035ee7490ccf4512cf58880fce4ce2279fc..a6e597231b22ffd8662ac8bd6d6d3ce8b9713d90 100644 (file)
@@ -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.61 2011/12/08 15:42:02 ssuominen Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.62 2012/01/05 11:09:42 ssuominen Exp $
+
+*polkit-0.104 (05 Jan 2012)
+
+  05 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> +polkit-0.104.ebuild,
+  metadata.xml:
+  Version bump.
 
   08 Dec 2011; Samuli Suominen <ssuominen@gentoo.org> -polkit-0.101-r1.ebuild:
   old
index 3f0e392e9bc94b2915c70a52a354ab6402153849..abdf0e6a17f01dc506f990c47cb4f2fbcde7dd7f 100644 (file)
@@ -3,18 +3,20 @@ Hash: SHA1
 
 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
+DIST polkit-0.104.tar.gz 1416583 RMD160 244e825347a463ff4b9eb0a2318ab04c821bded9 SHA1 599208cf584b9e13f8c9d863238a8271af4aba62 SHA256 6b0a13d8381e4a7b7e37c18a54595191b50757e0fcd186cd9918e9ad0f18c7f9
 EBUILD polkit-0.102.ebuild 3257 RMD160 df812581d3e2725f713d253a622b1dec60de0cfd SHA1 115137c6caa2e4002868a4e753f5f2d7410e4114 SHA256 c79c9b83280e6c3384bc76ac8ec83cfa0f65d29865cdd9f8673eb5feeffe4213
 EBUILD polkit-0.103.ebuild 3222 RMD160 d6365045c5fbbbb4044a14944ce4cdaafa224b4b SHA1 3f646c7d57e1a4a148ee35604bbff51e4f11159d SHA256 737b9f04784758538961e7a6492e9709ba2428c1a94ded24f5ce2b9b9ac03a75
-MISC ChangeLog 8036 RMD160 642e90628b601ac8204ac26c9a7a5f955e5860ce SHA1 316bb70d7f8a574ceb3b502dbbaa60a462d8a8ed SHA256 41b85fa232e481ea3853951e8c5db7566c7d10d83df2d6c3f871ff9af6c6584d
-MISC metadata.xml 389 RMD160 3a54b59d35cd9c5b920de1b6d07447a95c7c7de0 SHA1 4a94516eb92b02ed46d9da1ab420a4fe3832211e SHA256 cfd3de2aafbe1b3e663e793170c36caf8c8ba8a48d75e581af69962e6cdc2815
+EBUILD polkit-0.104.ebuild 3295 RMD160 bad19f8f0e054509ec6c7c05215a5468174290a8 SHA1 e8dc4008dc860b01309d3ccdf8aa29ac3bfba669 SHA256 e224f082b7f9a2ab7958da98cbf098da39a72cf907deaa218ccd6d9ca404cc96
+MISC ChangeLog 8174 RMD160 a660b3f4a7070a802a722345a20433d619978f5b SHA1 bd94384c11cfe7d751dd2c73df77545985aee235 SHA256 910a5bac7df05ce36009700c50d0b634327cd5d660827e1c95019e69ebb31c4d
+MISC metadata.xml 516 RMD160 0c65650680494cadd548ec430b11facf2cc28912 SHA1 092816617aa2ab7a9047298b6752b82bbab33520 SHA256 be8c8239fecd14fd1a9c1dee11ccb98b1188aceacf6ea58233a0f958ab648aba
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.18 (GNU/Linux)
 
-iQEcBAEBAgAGBQJO4NqxAAoJEEdUh39IaPFNG/8IAIswNE08VWnoCX/j3NPxDFHZ
-xQxe1z1ClpjrMtR8hVL1DqfktFqr0MsEDt7dnYIWHlUTLFRnt8ew4dm4xFboWyoK
-rbTuvkLpqLFTjvVTPG2+vqqluIbel4ar8T0ePxfnHothYsYdwPwBEwtEgy5zwbT8
-eUedSSMrw8KvDvP5M4agKuLVfiu0VBV93H/dWQt66AwKM9YUAsO8JOBlb1NFYnAz
-VSgAhbLXNcRNY+azO15/5+Ps57gxlicY/kJ0wIDY+/O+1Ia2+qCQNwGM3APwsEQS
-vDHqC/ZoF0RVKnLyMulgDJcuAOlS2RjdkN3zAW4a7Rl5+lYHZCIEzvTbfQG2x8s=
-=VYxq
+iQEcBAEBAgAGBQJPBYR8AAoJEEdUh39IaPFN7ZYH/0HUxx4NjriQfZTGW1zzO7RI
+rJkgTpqOKwxt+G+esixpn8gg30IXAFDXwnSwuWJo59IWZeGiLqdjAxg+IBBDQWuh
+vGwyul3cZlOG+kHYvfWT1wRL0GnJgZTAAdMCj1pRp7XBJN/Vq4ARMli7Chybxv8L
+bnG6S7ucswpf3sG4yeuW9WAIzeeofM71yMEcO09vMHLD7L54a8SqZT53uRtn/FMI
++2H8MAl147JkIfYAktDpmoICQwxerFQ7e1Z7GrOrWYVJQiuFxrfK4R/6+3aJDXmj
+NVit9JN3xxe7BO0YRMDvQqdGJU2JPuIZZ30IZ9O2Hs8k36xgZfZhc2VuIIwMt6Q=
+=Qfso
 -----END PGP SIGNATURE-----
index f2f1f7f9b41e06eea83806076feba033e2ebb8d1..ef37ca45998b35c890b3604ba9ed6fe655770d41 100644 (file)
@@ -7,6 +7,7 @@
     <name>Nirbheek Chauhan</name>
   </maintainer>
   <use>
-    <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg> for introspection</flag>
+    <flag name='introspection'>Use <pkg>dev-libs/gobject-introspection</pkg> for introspection</flag>
+    <flag name='systemd'>Use <pkg>sys-apps/systemd</pkg> instead of <pkg>sys-auth/consolekit</pkg> for session tracking</flag>
   </use>
 </pkgmetadata>
diff --git a/sys-auth/polkit/polkit-0.104.ebuild b/sys-auth/polkit/polkit-0.104.ebuild
new file mode 100644 (file)
index 0000000..e7cb158
--- /dev/null
@@ -0,0 +1,97 @@
+# 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.104.ebuild,v 1.1 2012/01/05 11:09:42 ssuominen Exp $
+
+EAPI=4
+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 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="debug doc examples gtk +introspection kde nls pam systemd"
+
+RDEPEND=">=dev-libs/glib-2.30
+       dev-libs/expat
+       introspection? ( >=dev-libs/gobject-introspection-0.6.2 )
+       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
+       dev-util/pkgconfig
+       doc? ( >=dev-util/gtk-doc-1.13 )"
+PDEPEND="!systemd? ( >=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 systemd) \
+               $(use_enable introspection) \
+               --disable-examples \
+               $(use_enable nls) \
+               --with-os-type=gentoo \
+               ${myauth}
+}
+
+src_install() {
+       default
+
+       find "${ED}" -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
+}