diff options
author | 2008-10-28 23:47:05 +0000 | |
---|---|---|
committer | 2008-10-28 23:47:05 +0000 | |
commit | 1778bbd4d3e17d9471ce69471636257ead19fad9 (patch) | |
tree | b7ac664cc126e519d40f76fb3f59a257ae102a15 | |
parent | Revision Bump (diff) | |
download | overlay-1778bbd4d3e17d9471ce69471636257ead19fad9.tar.gz overlay-1778bbd4d3e17d9471ce69471636257ead19fad9.tar.bz2 overlay-1778bbd4d3e17d9471ce69471636257ead19fad9.zip |
Bumped revision of PolicyKit-gnome
Added missing Manifest
Added PolicyKit ebuild
svn path=/overlay/; revision=67
-rwxr-xr-x | gnome-extra/policykit-gnome/policykit-gnome-0.9.2.ebuild (renamed from gnome-extra/policykit-gnome/policykit-gnome-0.8.ebuild) | 8 | ||||
-rw-r--r-- | sys-auth/policykit/Manifest | 2 | ||||
-rw-r--r-- | sys-auth/policykit/policykit-0.9.ebuild | 54 |
3 files changed, 60 insertions, 4 deletions
diff --git a/gnome-extra/policykit-gnome/policykit-gnome-0.8.ebuild b/gnome-extra/policykit-gnome/policykit-gnome-0.9.2.ebuild index 2f46a6b..4767176 100755 --- a/gnome-extra/policykit-gnome/policykit-gnome-0.8.ebuild +++ b/gnome-extra/policykit-gnome/policykit-gnome-0.9.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/policykit-gnome/policykit-gnome-0.6.ebuild,v 1.1 2007/11/23 20:01:10 compnerd Exp $ +# $ inherit gnome2 @@ -19,9 +19,9 @@ S="${WORKDIR}/${MY_PN}-${PV}" RDEPEND=">=dev-libs/dbus-glib-0.71 >=x11-libs/gtk+-2.10 - >=gnome-base/libgnome-2.14 - >=gnome-base/libgnomeui-2.14 - >=sys-auth/policykit-0.6" + >=gnome-base/libgnome-2.20 + >=gnome-base/libgnomeui-2.20 + >=sys-auth/policykit-0.9" DEPEND="${RDEPEND} dev-util/pkgconfig >=app-text/scrollkeeper-0.3.14 diff --git a/sys-auth/policykit/Manifest b/sys-auth/policykit/Manifest new file mode 100644 index 0000000..bcca46b --- /dev/null +++ b/sys-auth/policykit/Manifest @@ -0,0 +1,2 @@ +DIST PolicyKit-0.9.tar.gz 1254318 RMD160 197262d1c48e55558dd4bd57d7bbd8734666129c SHA1 ac99c580eff72f6d5df261c155fb047306439f85 SHA256 f40c7c6bec19d7dba2335bddcffd0457494409a0dfce11d888c748dc892e80b7 +EBUILD policykit-0.9.ebuild 1394 RMD160 9a2d57ca783562772954708b433352805939f233 SHA1 f13621ac7d3a7f1564a3f13415313dfff1d6f11f SHA256 3002ae45df0adfc47bded87dc9eabf1992faafb07d9a11e371e30743caf7cabe diff --git a/sys-auth/policykit/policykit-0.9.ebuild b/sys-auth/policykit/policykit-0.9.ebuild new file mode 100644 index 0000000..3b3e358 --- /dev/null +++ b/sys-auth/policykit/policykit-0.9.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $ + +inherit eutils autotools multilib + +MY_PN="PolicyKit" + +DESCRIPTION="Policy framework for setting user allowed actions with priviledge" +HOMEPAGE="http://hal.freedesktop.org/docs/PolicyKit" +SRC_URI="http://hal.freedesktop.org/releases/${MY_PN}-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc64 ~sparc ~x86" +IUSE="doc selinux" + +RDEPEND=">=dev-libs/glib-2.7 + >=dev-libs/dbus-glib-0.71 + virtual/pam + dev-libs/expat + selinux? ( sys-libs/libselinux )" +DEPEND="${RDEPEND} + dev-libs/libxslt + dev-util/pkgconfig + app-text/docbook-xsl-stylesheets + doc? ( dev-util/gtk-doc )" + +S="${WORKDIR}/${MY_PN}-${PV}" + +pkg_setup() { + enewgroup polkituser || die "failed to create group" + enewuser polkituser -1 "-1" /dev/null polkituser || die "failed to create user" +} + +src_compile() { + econf --with-expat \ + --with-pam-module-dir=/$(get_libdir)/security \ + --with-os-type=gentoo \ + $(use_enable doc gtk-doc) \ + $(use_enable selinux) \ + --with-polkit-user=polkituser \ + --with-polkit-group=polkituser \ + --localstatedir=/var \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + # Need to keep a few directories around... + keepdir /var/run/PolicyKit + keepdir /var/lib/PolicyKit +} |