add updated
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@467 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
2
sys-auth/policykit/Manifest
Normal file
2
sys-auth/policykit/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
DIST PolicyKit-0.8.tar.gz 1226699 RMD160 4527112d418eb491b1edaba855fc18b050ba65a1 SHA1 4407f36932142d2792896440805a563c8d90e7df SHA256 92ddda8f5ffb0981c9ac50cf419f73796ccee8d94b4c935735f2f30f6ccd21ba
|
||||
EBUILD policykit-0.8.ebuild 1505 RMD160 53d4c943256106477ce0bb4ab01149f8e01fe163 SHA1 6d9e44d4010b264c9a0aaea4be78d9f7d6e0c644 SHA256 fda9fabb4a316c4b1bc49af79fe59efaf3272147b3bf74c9a72d877070b0a4a7
|
||||
54
sys-auth/policykit/policykit-0.8.ebuild
Normal file
54
sys-auth/policykit/policykit-0.8.ebuild
Normal file
@@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2008 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.6 2008/01/25 19:09:40 corsair 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="~alpha ~amd64 ~hppa ~ia64 ~ppc64 ~sparc ~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
|
||||
}
|
||||
Reference in New Issue
Block a user