summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@gentoo.org>2007-11-23 06:06:23 +0000
committerSaleem Abdulrasool <compnerd@gentoo.org>2007-11-23 06:06:23 +0000
commit40956772f681c949cdde9ed245a2c3d492ee4336 (patch)
tree1daa5df668775ef0e1182decc702b3b84f42e955
parentBug #190128 - Add a blocker for <sys-apps/portage-2.1.4_rc1 so that we (diff)
downloadgentoo-2-40956772f681c949cdde9ed245a2c3d492ee4336.tar.gz
gentoo-2-40956772f681c949cdde9ed245a2c3d492ee4336.tar.bz2
gentoo-2-40956772f681c949cdde9ed245a2c3d492ee4336.zip
initial import of policykit for HAL 0.5.10
(Portage version: 2.1.3.16)
-rw-r--r--sys-auth/policykit/ChangeLog10
-rw-r--r--sys-auth/policykit/Manifest16
-rw-r--r--sys-auth/policykit/files/digest-policykit-0.63
-rw-r--r--sys-auth/policykit/metadata.xml12
-rw-r--r--sys-auth/policykit/policykit-0.6.ebuild54
5 files changed, 95 insertions, 0 deletions
diff --git a/sys-auth/policykit/ChangeLog b/sys-auth/policykit/ChangeLog
new file mode 100644
index 000000000000..f1b02a0ad0fb
--- /dev/null
+++ b/sys-auth/policykit/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-auth/policykit
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/policykit/ChangeLog,v 1.1 2007/11/23 06:06:22 compnerd Exp $
+
+*policykit-0.6 (23 Nov 2007)
+
+ 23 Nov 2007; Saleem Abdulrasool <compnerd@gentoo.org> +metadata.xml,
+ +policykit-0.6.ebuild:
+ Initial import of policykit for HAL 0.5.10
+
diff --git a/sys-auth/policykit/Manifest b/sys-auth/policykit/Manifest
new file mode 100644
index 000000000000..7e8a223ec086
--- /dev/null
+++ b/sys-auth/policykit/Manifest
@@ -0,0 +1,16 @@
+DIST PolicyKit-0.6.tar.gz 550390 RMD160 810e5eb966a6e0b85abd004b0b0e5e75d31f8ab0 SHA1 ec70eb994eb378b5a1129d9f40a28aac2c705b5c SHA256 bfd2b74731a9d8c9e6cd2387cfb9337d634859efcca2f1f34418769621798e1a
+EBUILD policykit-0.6.ebuild 1473 RMD160 f7ae42af2c0871fec6e218cd846cc54bd0d2885d SHA1 58cd25964b2efcea469e878408c83bf68ef4a9d3 SHA256 57262e20ef2ce6ba7f91de5f7fd10d53bff1546f91dadb84f59ff563a14b679c
+MD5 3119fbf28c6ce9cb80254a010914f04a policykit-0.6.ebuild 1473
+RMD160 f7ae42af2c0871fec6e218cd846cc54bd0d2885d policykit-0.6.ebuild 1473
+SHA256 57262e20ef2ce6ba7f91de5f7fd10d53bff1546f91dadb84f59ff563a14b679c policykit-0.6.ebuild 1473
+MISC ChangeLog 291 RMD160 2b259ca608d3a241c93bbbf357e2ffbc8fdaa87f SHA1 2a7546c5172704b0e039ab4b05d32d9976c22656 SHA256 c09e0869c13bde3fc16c7f164ffe641f63f999dc396c801c114b907b90243b3d
+MD5 d87fdce6ce9b889ea6fbd8d4562e22ec ChangeLog 291
+RMD160 2b259ca608d3a241c93bbbf357e2ffbc8fdaa87f ChangeLog 291
+SHA256 c09e0869c13bde3fc16c7f164ffe641f63f999dc396c801c114b907b90243b3d ChangeLog 291
+MISC metadata.xml 312 RMD160 62681efaf632a7e0f57320d55b6327dae08e3f36 SHA1 0aac63eaa98594e5187718d70fbbbd00cfc77088 SHA256 bdefb3b782aa3104a0029fec40454275143971754b34e1948f866d15970fda82
+MD5 677b0fecfd8f526ceafd8b3fc8667756 metadata.xml 312
+RMD160 62681efaf632a7e0f57320d55b6327dae08e3f36 metadata.xml 312
+SHA256 bdefb3b782aa3104a0029fec40454275143971754b34e1948f866d15970fda82 metadata.xml 312
+MD5 4742e9dc39da88abce2b485fefc9c4f2 files/digest-policykit-0.6 241
+RMD160 daeebcc56385fcc03d90ce675cb272f5054a3510 files/digest-policykit-0.6 241
+SHA256 adc7a2c3774fe4fd17f7a8959faf019b412f60e68baacc0978255f150906c7b3 files/digest-policykit-0.6 241
diff --git a/sys-auth/policykit/files/digest-policykit-0.6 b/sys-auth/policykit/files/digest-policykit-0.6
new file mode 100644
index 000000000000..281ee7098780
--- /dev/null
+++ b/sys-auth/policykit/files/digest-policykit-0.6
@@ -0,0 +1,3 @@
+MD5 1d6a0b4bf82c2c3c2a119a66afe4708d PolicyKit-0.6.tar.gz 550390
+RMD160 810e5eb966a6e0b85abd004b0b0e5e75d31f8ab0 PolicyKit-0.6.tar.gz 550390
+SHA256 bfd2b74731a9d8c9e6cd2387cfb9337d634859efcca2f1f34418769621798e1a PolicyKit-0.6.tar.gz 550390
diff --git a/sys-auth/policykit/metadata.xml b/sys-auth/policykit/metadata.xml
new file mode 100644
index 000000000000..7a6f22547f03
--- /dev/null
+++ b/sys-auth/policykit/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>compnerd@gentoo.org</email>
+ <name>Saleem Abdulrasool</name>
+ </maintainer>
+ <herd>gentopia</herd>
+ <longdescription lang="en">
+ </longdescription>
+</pkgmetadata>
+
diff --git a/sys-auth/policykit/policykit-0.6.ebuild b/sys-auth/policykit/policykit-0.6.ebuild
new file mode 100644
index 000000000000..f9450136f4f3
--- /dev/null
+++ b/sys-auth/policykit/policykit-0.6.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/policykit/policykit-0.6.ebuild,v 1.1 2007/11/23 06:06:22 compnerd Exp $
+
+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="~amd64 ~x86"
+IUSE="doc selinux"
+
+RDEPEND=">=dev-libs/glib-2.7
+ >=dev-libs/dbus-glib-0.61
+ 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
+}