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
commita3932a0cab13c63838d1cf298f28b5ce405f3c6f (patch)
treebb2e74a14a92eee8af29fc6fcdcf123e5f0e9924 /sys-auth
parentBug #190128 - Add a blocker for <sys-apps/portage-2.1.4_rc1 so that we (diff)
downloadhistorical-a3932a0cab13c63838d1cf298f28b5ce405f3c6f.tar.gz
historical-a3932a0cab13c63838d1cf298f28b5ce405f3c6f.tar.bz2
historical-a3932a0cab13c63838d1cf298f28b5ce405f3c6f.zip
initial import of policykit for HAL 0.5.10
Package-Manager: portage-2.1.3.16
Diffstat (limited to 'sys-auth')
-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..797d11b32bb6
--- /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 319b3ebc28e0a5830ac972f8b857f940af054e91 SHA1 054f5405f707e0f1b0bffb9ae9571e1addab7b03 SHA256 62ffd4f37fca7dbf4ae62219640057b196401f96e4efbc08f237fa76f0aa5b5c
+MD5 822e60179571a632ac72bb891bf41bea policykit-0.6.ebuild 1473
+RMD160 319b3ebc28e0a5830ac972f8b857f940af054e91 policykit-0.6.ebuild 1473
+SHA256 62ffd4f37fca7dbf4ae62219640057b196401f96e4efbc08f237fa76f0aa5b5c policykit-0.6.ebuild 1473
+MISC ChangeLog 383 RMD160 53db0a9516222b921b963b4204f504e7e65237ae SHA1 ead2679632a56c4763b2ba0372a5bd70ce14e049 SHA256 fca0d353abf78b5889d88af8ebdb997afb503a390dc24957b77a0e006d0e7a45
+MD5 a3d7f5f470aa4f83d9ccc50b5efca6cb ChangeLog 383
+RMD160 53db0a9516222b921b963b4204f504e7e65237ae ChangeLog 383
+SHA256 fca0d353abf78b5889d88af8ebdb997afb503a390dc24957b77a0e006d0e7a45 ChangeLog 383
+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
+}