diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-09-28 05:46:45 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-09-28 05:46:45 +0000 |
commit | 598722e34c874e23da3d1302471ce95bde38077a (patch) | |
tree | 57679a0ac9b814f8a4b8135df8658dc3474c5e45 /sys-auth/policykit | |
parent | Version bump (fixes bug #329035, thanks to Kevin Bowling for reporting). (diff) | |
download | gentoo-2-598722e34c874e23da3d1302471ce95bde38077a.tar.gz gentoo-2-598722e34c874e23da3d1302471ce95bde38077a.tar.bz2 gentoo-2-598722e34c874e23da3d1302471ce95bde38077a.zip |
old
(Portage version: 2.2_rc87/cvs/Linux x86_64)
Diffstat (limited to 'sys-auth/policykit')
-rw-r--r-- | sys-auth/policykit/Manifest | 1 | ||||
-rw-r--r-- | sys-auth/policykit/policykit-0.9.ebuild | 126 |
2 files changed, 0 insertions, 127 deletions
diff --git a/sys-auth/policykit/Manifest b/sys-auth/policykit/Manifest index c56dfc5f14ab..2594b5a4c457 100644 --- a/sys-auth/policykit/Manifest +++ b/sys-auth/policykit/Manifest @@ -6,6 +6,5 @@ AUX policykit-0.9-pam-headers.patch 548 RMD160 3260cd387dce7020c2f5dc19d0d1758ab AUX policykit-0.9-pk-debug.patch 640 RMD160 377b5f0040fa91d269b2c51b68a1bd259974fd0b SHA1 2477f6381e186305d40ff867da3862b90573dd67 SHA256 a950edff87e6580c5c6052bbda5004d9f17f1e38172a88d5c799b576e8e1d79a DIST PolicyKit-0.9.tar.gz 1254318 RMD160 197262d1c48e55558dd4bd57d7bbd8734666129c SHA1 ac99c580eff72f6d5df261c155fb047306439f85 SHA256 f40c7c6bec19d7dba2335bddcffd0457494409a0dfce11d888c748dc892e80b7 EBUILD policykit-0.9-r1.ebuild 3593 RMD160 40e1db1597272fb562e08e4ab4b187c933429ddf SHA1 d6f9c9b312b41bc9515666a4b3f065647c9edaf3 SHA256 b8b6518b500b2fd11a6eaba4c5ae3b5ef6ef0c30347f6890606d28e0a010c56c -EBUILD policykit-0.9.ebuild 3491 RMD160 f5c1fcfae2d204b958bad213b12892bd972ca41c SHA1 d22782042175a782bc9b6b6fe917e5b95e0ce349 SHA256 d28644f44b0e3a2363bc3eef4a791e5eeb935691fea8cdfb4cae087cf0a1c978 MISC ChangeLog 3917 RMD160 f2a0a6eeb28d219b3208914bc90d89c3be402db4 SHA1 0cfbc1e4455ec7038841d6ac23826ea2cb498a46 SHA256 b773b5eee4a3f5e4a6f7d956a4a513f798d95aff344d0dcf4ad5bb823ddb2e2b MISC metadata.xml 261 RMD160 44b2badfb605371619668f04cb65397c422de35d SHA1 3ee0ecb7337d57d005414d56eac711977b50b0b0 SHA256 6348aa264130f415a7050a8970f853a347bb35b06b0f198faeb28e70c5e46a39 diff --git a/sys-auth/policykit/policykit-0.9.ebuild b/sys-auth/policykit/policykit-0.9.ebuild deleted file mode 100644 index b59f8447085e..000000000000 --- a/sys-auth/policykit/policykit-0.9.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/policykit/policykit-0.9.ebuild,v 1.4 2009/04/23 15:38:23 armin76 Exp $ - -inherit autotools bash-completion eutils multilib pam - -MY_PN="PolicyKit" - -DESCRIPTION="Policy framework for controlling privileges for system-wide services" -HOMEPAGE="http://hal.freedesktop.org/docs/PolicyKit" -SRC_URI="http://hal.freedesktop.org/releases/${MY_PN}-${PV}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="bash-completion doc pam selinux zsh-completion" - -RDEPEND=">=dev-libs/glib-2.6 - >=dev-libs/dbus-glib-0.73 - dev-libs/expat - pam? ( virtual/pam ) - selinux? ( sys-libs/libselinux )" -DEPEND="${RDEPEND} - dev-libs/libxslt - app-text/docbook-xsl-stylesheets - >=dev-util/pkgconfig-0.18 - >=dev-util/intltool-0.36 - >=dev-util/gtk-doc-am-1.10-r1 - doc? ( >=dev-util/gtk-doc-1.10 )" - -S="${WORKDIR}/${MY_PN}-${PV}" - -pkg_setup() { - enewgroup polkituser - enewuser polkituser -1 "-1" /dev/null polkituser -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # Add zsh/bash completion - epatch "${FILESDIR}/${PN}-0.7-completions.patch" - - # Fix use of undefined _pk_debug, bug #239573 - epatch "${FILESDIR}/${P}-pk-debug.patch" - - # Fix useless pam header inclusion, bug #239554 - epatch "${FILESDIR}/${P}-pam-headers.patch" - - # Fix API change in consolekit 0.3 - epatch "${FILESDIR}/${P}-consolekit03.patch" - - eautoreconf -} - -src_compile() { - local authdb= - - if use pam ; then - authdb="--with-authdb=default --with-authfw=pam --with-pam-module-dir=$(getpam_mod_dir)" - else - authdb="--with-authdb=dummy --with-authfw=none" - fi - - econf ${authdb} \ - --without-bash-completion \ - --without-zsh-completion \ - --enable-man-pages \ - --with-os-type=gentoo \ - --with-polkit-user=polkituser \ - --with-polkit-group=polkituser \ - $(use_enable doc gtk-doc) \ - $(use_enable selinux) \ - --localstatedir=/var - # won't install with tests - # $(use_enable test tests) \ - emake || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - - dodoc NEWS README AUTHORS ChangeLog - - if use bash-completion; then - dobashcompletion "${S}/tools/polkit-bash-completion.sh" - fi - - if use zsh-completion ; then - insinto /usr/share/zsh/site-functions - doins "${S}/tools/_polkit" || die "zsh completion died" - doins "${S}/tools/_polkit_auth" || die "zsh completion died" - doins "${S}/tools/_polkit_action" || die "zsh completion died" - fi - - einfo "Installing basic PolicyKit.conf" - insinto /etc/PolicyKit - doins "${FILESDIR}"/PolicyKit.conf || die "doins failed" - # Need to keep a few directories around... - - diropts -m0770 -o root -g polkituser - keepdir /var/run/PolicyKit - keepdir /var/lib/PolicyKit -} - -pkg_preinst() { - # Stolen from vixie-cron ebuilds - has_version "<${CATEGORY}/${PN}-0.9" - fix_var_dir_perms=$? -} - -pkg_postinst() { - # bug #239231 - if [[ $fix_var_dir_perms = 0 ]] ; then - echo - ewarn "Previous version of PolicyKit handled /var/run and /var/lib" - ewarn "with different permissions. Proper permissions are" - ewarn "now being set on ${ROOT}var/lib/PolicyKit and ${ROOT}var/lib/PolicyKit" - ewarn "Look at these directories if you have a specific configuration" - ewarn "that needs special ownerships or permissions." - echo - chmod 0770 "${ROOT}"var/{lib,run}/PolicyKit || die "chmod failed" - chgrp -R polkituser "${ROOT}"var/{lib,run}/PolicyKit || die "chgrp failed" - fi -} |