summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@gentoo.org>2010-03-21 10:17:50 +0000
committerNirbheek Chauhan <nirbheek@gentoo.org>2010-03-21 10:17:50 +0000
commit80da8880a56c13e6749349f7770d57cb2c256995 (patch)
treec2bc8b60366593424e34e635580d543c5bfb08be /sys-auth
parentold (diff)
downloadhistorical-80da8880a56c13e6749349f7770d57cb2c256995.tar.gz
historical-80da8880a56c13e6749349f7770d57cb2c256995.tar.bz2
historical-80da8880a56c13e6749349f7770d57cb2c256995.zip
Update with newer version of polkit-shadow patch
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/polkit/ChangeLog8
-rw-r--r--sys-auth/polkit/Manifest4
-rw-r--r--sys-auth/polkit/polkit-0.96-r1.ebuild97
3 files changed, 107 insertions, 2 deletions
diff --git a/sys-auth/polkit/ChangeLog b/sys-auth/polkit/ChangeLog
index d18406e48efe..04fa39269487 100644
--- a/sys-auth/polkit/ChangeLog
+++ b/sys-auth/polkit/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-auth/polkit
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.10 2010/03/07 00:13:49 nirbheek Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/ChangeLog,v 1.11 2010/03/21 10:17:50 nirbheek Exp $
+
+*polkit-0.96-r1 (21 Mar 2010)
+
+ 21 Mar 2010; Nirbheek Chauhan <nirbheek@gentoo.org>
+ +polkit-0.96-r1.ebuild:
+ Update with newer version of polkit-shadow patch
07 Mar 2010; Nirbheek Chauhan <nirbheek@gentoo.org> polkit-0.96.ebuild:
Fix minor problems with SRC_URI
diff --git a/sys-auth/polkit/Manifest b/sys-auth/polkit/Manifest
index 7bdf5cbe6b07..dd695b6226f8 100644
--- a/sys-auth/polkit/Manifest
+++ b/sys-auth/polkit/Manifest
@@ -1,10 +1,12 @@
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
+DIST polkit-0.96-r1-shadow-support.patch.lzma 4970 RMD160 51c53d8be68bfdfa0b5a3eb2a4d8ddbba10c94b6 SHA1 bd4d3446aea77e3c84ad94a28f9644307921a086 SHA256 c7c323be29362816abd08463b962cd38a97c24f61d5f8b6da635e2bb329fa52a
DIST polkit-0.96-shadow-support.patch.bz2 6138 RMD160 97ed7fc118e1f52f8182f872992eb068f5c98584 SHA1 83b53931a9cfe47a4e4b9501c0f75164dfa9ed11 SHA256 dde65f3795a2d1bef8f009a2f9bc0c3ee0130037bf012cf66b874128a76ef4e6
DIST polkit-0.96.tar.gz 1034210 RMD160 19847f0835a3041446523066e6db58dfb60d3aae SHA1 0815b2ee2ffc2ebf2b6fc73491018a898fc73930 SHA256 3426ca917210b2a5525732559368c18f983a4c39a6a55c5dddba26071bd8054a
EBUILD polkit-0.94.ebuild 2101 RMD160 aee8fe6b883335ee0bdf6f6f3cd37af10934c695 SHA1 4680924ae7909d68086289ae2ccd8737e35b03a4 SHA256 cbbf5991482e0f03555f24d3b9f1a3c0b19350a39a3c059c778900a6479cc334
EBUILD polkit-0.95.ebuild 2312 RMD160 6a78f6212b81362a6577873eb5673919c2592b6d SHA1 07eb1f4f6859548292620a818930e522dea9891b SHA256 cf3b90153f5ab7cfd716999c368c89009aaf845da409a8eef8669afe0b29d887
+EBUILD polkit-0.96-r1.ebuild 2538 RMD160 8adcdbd86d9384e943fe709b8dac5a40c076be6a SHA1 07d5888fa749687c95e704619c2e5c75de56bc2b SHA256 c4554e5d04fa0cd95b997bf85d1f2ae313ff386892b780ddfb468185c34619bd
EBUILD polkit-0.96.ebuild 2528 RMD160 a643cacd9b76ea22fc89e994ff5d6fb27d0cd638 SHA1 71b167b75d5445b69dbad4a97daf4ca341bf3793 SHA256 eb5570440a4e6c13c68f6eb862925d8d24ce9af28f1775d4c0b2b81085df8000
-MISC ChangeLog 1745 RMD160 97abe45111e6b7a0dd8487368db50e36d15bd178 SHA1 29f68fbf25f9ade1ebb74b111bcec0232de9034a SHA256 cd16f1c7a1116ceb8b40f4d3d65d8ccb12ff9e9b645fe0378357b21be5faad03
+MISC ChangeLog 1908 RMD160 a62fdfc3664ba82ef778d4b19a52a48a3401af50 SHA1 0e46d07148c50a1eef407f2898ce70017347adfe SHA256 ef89c1a2bdf17aff746084034cd16aca1cf98925107d54cddc5ba5e60fbb63ea
MISC metadata.xml 264 RMD160 f7bfc23d1c5e228cd950c1fa06e082cadd2ee9d9 SHA1 b4cdbdd94b4b8458da59d172dc5236e9258470b6 SHA256 732b5a3d20630082ef289dbde0c57aaa9cec42c19982ce6c735a02aa89ed113b
diff --git a/sys-auth/polkit/polkit-0.96-r1.ebuild b/sys-auth/polkit/polkit-0.96-r1.ebuild
new file mode 100644
index 000000000000..314f35625024
--- /dev/null
+++ b/sys-auth/polkit/polkit-0.96-r1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/polkit/polkit-0.96-r1.ebuild,v 1.1 2010/03/21 10:17:50 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
+!pam? ( mirror://gentoo/${P}-r1-shadow-support.patch.lzma )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug doc examples expat nls pam"
+# introspection
+
+# not mature enough
+# introspection? ( dev-libs/gobject-introspection )
+RDEPEND=">=dev-libs/glib-2.21.4
+ >=dev-libs/eggdbus-0.6
+ pam? ( 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 )"
+PDEPEND=">=sys-auth/consolekit-0.4[policykit]"
+
+pkg_setup() {
+ enewgroup polkituser
+ enewuser polkituser -1 "-1" /dev/null polkituser
+}
+
+src_prepare() {
+ if ! use pam; then
+ # Experimental shadow support, bug 291116
+ epatch "${WORKDIR}/${P}-r1-shadow-support.patch"
+ eautoreconf
+ fi
+}
+
+src_configure() {
+ local conf
+
+ if use expat; then
+ conf="${conf} --with-expat=/usr"
+ fi
+
+ if use pam; then
+ conf="${conf} --with-authfw=pam
+ --with-pam-module-dir=$(getpam_mod_dir)"
+ else
+ conf="${conf} --with-authfw=shadow"
+ fi
+
+ # We define libexecdir due to fdo bug #22951
+ # easier to maintain than patching everything
+ 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 \
+ --libexecdir='${exec_prefix}/libexec/polkit-1' \
+ $(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
+}