From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id EA67C13888F for ; Tue, 20 Oct 2015 06:52:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2B10821C005; Tue, 20 Oct 2015 06:52:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C04A421C005 for ; Tue, 20 Oct 2015 06:52:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E8A4F340896 for ; Tue, 20 Oct 2015 06:52:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A04AC13A2 for ; Tue, 20 Oct 2015 06:52:05 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1445323892.ed5ecc21878a78ced639c2e82e76c75c1d63be68.perfinion@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/consolekit/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-auth/consolekit/consolekit-9999.ebuild X-VCS-Directories: sys-auth/consolekit/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: ed5ecc21878a78ced639c2e82e76c75c1d63be68 X-VCS-Branch: master Date: Tue, 20 Oct 2015 06:52:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: dbb1b3b6-cf3b-4366-8f89-2c4b35addbb8 X-Archives-Hash: 1d36ad53ce810d37d9ed7c49e131efaf commit: ed5ecc21878a78ced639c2e82e76c75c1d63be68 Author: Jason Zaman gentoo org> AuthorDate: Tue Oct 20 06:49:37 2015 +0000 Commit: Jason Zaman gentoo org> CommitDate: Tue Oct 20 06:51:32 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed5ecc21 sys-auth/consolekit: Update live ebuild Package-Manager: portage-2.2.20.1 sys-auth/consolekit/consolekit-9999.ebuild | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/sys-auth/consolekit/consolekit-9999.ebuild b/sys-auth/consolekit/consolekit-9999.ebuild index 0be1ac7..a70faad 100644 --- a/sys-auth/consolekit/consolekit-9999.ebuild +++ b/sys-auth/consolekit/consolekit-9999.ebuild @@ -16,21 +16,26 @@ EGIT_REPO_URI="https://github.com/${MY_PN}/${MY_PN}.git" LICENSE="GPL-2" SLOT="0" KEYWORDS="" -IUSE="acl debug doc kernel_linux pam policykit selinux test" +IUSE="acl cgroups debug doc kernel_linux pam policykit selinux test" -COMMON_DEPEND=">=dev-libs/glib-2.40:2= +COMMON_DEPEND=">=dev-libs/glib-2.40:2=[dbus] + >=sys-devel/gettext-0.19 + sys-apps/dbus sys-libs/zlib:= x11-libs/libX11:= acl? ( sys-apps/acl:= >=virtual/udev-200 ) + cgroups? ( + app-admin/cgmanager + >=sys-libs/libnih-1.0.2[dbus] + ) pam? ( virtual/pam ) policykit? ( >=sys-auth/polkit-0.110 )" RDEPEND="${COMMON_DEPEND} kernel_linux? ( sys-apps/coreutils[acl?] ) - selinux? ( sec-policy/selinux-consolekit ) - sys-power/pm-utils" + selinux? ( sec-policy/selinux-consolekit )" DEPEND="${COMMON_DEPEND} dev-libs/libxslt virtual/pkgconfig @@ -40,6 +45,8 @@ DEPEND="${COMMON_DEPEND} app-text/xmlto )" +S=${WORKDIR}/${MY_P} + QA_MULTILIB_PATHS="usr/lib/ConsoleKit/.*" pkg_setup() { @@ -75,6 +82,7 @@ src_configure() { $(use_enable debug) \ $(use_enable policykit polkit) \ $(use_enable acl udev-acl) \ + $(use_enable cgroups) \ $(use_enable test tests) \ --with-dbus-services="${EPREFIX}"/usr/share/dbus-1/services \ --with-pam-module-dir="$(getpam_mod_dir)" \ @@ -92,7 +100,7 @@ src_install() { dodoc AUTHORS HACKING NEWS README TODO - newinitd "${FILESDIR}"/${PN}-0.2.rc consolekit + newinitd "${FILESDIR}"/${PN}-1.0.0.initd consolekit keepdir /usr/lib/ConsoleKit/run-seat.d keepdir /usr/lib/ConsoleKit/run-session.d @@ -109,3 +117,8 @@ src_install() { insinto /etc/logrotate.d newins "${WORKDIR}"/debian/${PN}.logrotate ${PN} #374513 } + +pkg_postinst() { + elog "For suspend/hibernate support, please emerge" + elog " sys-power/pm-utils" +}