summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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.95.ebuild88
3 files changed, 97 insertions, 2 deletions
diff --git a/sys-auth/polkit/ChangeLog b/sys-auth/polkit/ChangeLog
index 2686c09db270..634044b9aafa 100644
--- a/sys-auth/polkit/ChangeLog
+++ b/sys-auth/polkit/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-auth/polkit
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.2 2009/10/30 17:31:04 nirbheek Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.3 2009/11/14 16:16:57 nirbheek Exp $
+
+*polkit-0.95 (14 Nov 2009)
+
+ 14 Nov 2009; Nirbheek Chauhan <nirbheek@gentoo.org> +polkit-0.95.ebuild:
+ Bump to 0.95 -- new lockdown API, last dev version till 1.0
30 Oct 2009; Nirbheek Chauhan <nirbheek@gentoo.org>
-files/polkit-0.92-zsh-completions.patch, polkit-0.94.ebuild:
diff --git a/sys-auth/polkit/Manifest b/sys-auth/polkit/Manifest
index 5641932583e4..e00ed503662f 100644
--- a/sys-auth/polkit/Manifest
+++ b/sys-auth/polkit/Manifest
@@ -1,5 +1,7 @@
AUX polkit-0.93-fix-daemon-name.patch 6486 RMD160 14e28fb6eb71b02f28cc93965c9d6e5130e54d31 SHA1 a2e96d69cbc4e82f74af58604dedb793f29500e8 SHA256 5cb26b2e469795ba7aee7b2c5f74bc7b29452427a22bf8c5566e6eb7495bf180
DIST polkit-0.94.tar.gz 1009990 RMD160 379d067b837769710d2c3f9b236f01f454962a7a SHA1 581635f4ab1d7d37465e3bd481026c58408a54dc SHA256 8fd1dc321a700d78b43a62b1987f321b428bd2d8065468982069cb86bc8ef44f
+DIST polkit-0.95.tar.gz 1025805 RMD160 006cb41e52034166c789aae010047169588af600 SHA1 f851df141d66de9d1cbf49511d345ab318bdc416 SHA256 b484248ed8fa7419170cf98d7cba51d68290783c3c7cac7c5dab7605dfe3c79c
EBUILD polkit-0.94.ebuild 2101 RMD160 aee8fe6b883335ee0bdf6f6f3cd37af10934c695 SHA1 4680924ae7909d68086289ae2ccd8737e35b03a4 SHA256 cbbf5991482e0f03555f24d3b9f1a3c0b19350a39a3c059c778900a6479cc334
-MISC ChangeLog 638 RMD160 9092274f2469247c3bc21344a0b8aa0b5d79805c SHA1 5613ba3d0296984d77b704f9173a5abe9427d544 SHA256 6440082ef9aff2f9be63e9a3c05f4349b20f2899841c981028f96d3bc24197cb
+EBUILD polkit-0.95.ebuild 2264 RMD160 14f563b88ad3386e663bdd875169feabf210b470 SHA1 ed1c68f9ba3a143f8a3023a28e462c8ef937f49c SHA256 ba753d689e06aa6b9f31efc248fb1721aa4cb82a56782c3e43c9b0ec83889945
+MISC ChangeLog 804 RMD160 d012352247ca46a4ea922969cabb36ee16143d59 SHA1 c87d52ea2f2ea49850229f4736275f4d83b44410 SHA256 78cbf151ca8ef5868a2c8792c4861638bcb631aa6472a39688f2621dee48785b
MISC metadata.xml 264 RMD160 f7bfc23d1c5e228cd950c1fa06e082cadd2ee9d9 SHA1 b4cdbdd94b4b8458da59d172dc5236e9258470b6 SHA256 732b5a3d20630082ef289dbde0c57aaa9cec42c19982ce6c735a02aa89ed113b
diff --git a/sys-auth/polkit/polkit-0.95.ebuild b/sys-auth/polkit/polkit-0.95.ebuild
new file mode 100644
index 000000000000..3bf3cfa02d69
--- /dev/null
+++ b/sys-auth/polkit/polkit-0.95.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/polkit-0.95.ebuild,v 1.1 2009/11/14 16:16:57 nirbheek Exp $
+
+EAPI="2"
+
+inherit autotools eutils multilib pam
+
+DESCRIPTION="Policy framework for controlling privileges for system-wide services"
+HOMEPAGE="http://hal.freedesktop.org/docs/PolicyKit"
+SRC_URI="http://hal.freedesktop.org/releases/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug doc examples expat nls"
+# building w/o pam is broken, bug 291116
+# introspection pam
+
+# not mature enough
+# introspection? ( dev-libs/gobject-introspection )
+RDEPEND=">=dev-libs/glib-2.21.4
+ >=dev-libs/eggdbus-0.6
+ virtual/pam
+ expat? ( dev-libs/expat )"
+DEPEND="${RDEPEND}
+ !!>=sys-auth/policykit-0.92
+ dev-libs/libxslt
+ app-text/docbook-xsl-stylesheets
+ >=dev-util/pkgconfig-0.18
+ >=dev-util/intltool-0.36
+ dev-util/gtk-doc-am
+ doc? ( >=dev-util/gtk-doc-1.10 )"
+
+pkg_setup() {
+ enewgroup polkituser
+ enewuser polkituser -1 "-1" /dev/null polkituser
+}
+
+src_prepare() {
+ # Fix daemon binary collision with <=policykit-0.9, fdo bug 22951
+ epatch "${FILESDIR}/${PN}-0.93-fix-daemon-name.patch"
+
+ intltoolize --force --copy --automake || die "intltoolize failed"
+ eautoreconf
+}
+
+src_configure() {
+ local conf
+
+ if use expat; then
+ conf="${conf} --with-expat=/usr"
+ fi
+
+ econf ${conf} \
+ --disable-introspection \
+ --disable-ansi \
+ --disable-examples \
+ --enable-fast-install \
+ --enable-libtool-lock \
+ --enable-man-pages \
+ --disable-dependency-tracking \
+ --with-os-type=gentoo \
+ --localstatedir=/var \
+ --with-authfw=pam \
+ --with-pam-module-dir=$(getpam_mod_dir) \
+ $(use_enable debug verbose-mode) \
+ $(use_enable doc gtk-doc) \
+ $(use_enable nls)
+ #$(use_enable introspection)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc NEWS README AUTHORS ChangeLog || die "dodoc failed"
+
+ # 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 polkituser
+ keepdir /var/run/polkit-1
+ keepdir /var/lib/polkit-1
+}