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 1912458973 for ; Fri, 5 Feb 2016 08:07:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5BE0921C022; Fri, 5 Feb 2016 08:07:56 +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 EF94721C022 for ; Fri, 5 Feb 2016 08:07:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DF1A5340A7F for ; Fri, 5 Feb 2016 08:07:54 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DD93C8E9 for ; Fri, 5 Feb 2016 08:07:52 +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: <1454659205.2a4c8fec3e75d66af07a19fbfbc44e6cb6f98118.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-1.0.1.ebuild sys-auth/consolekit/metadata.xml X-VCS-Directories: sys-auth/consolekit/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 2a4c8fec3e75d66af07a19fbfbc44e6cb6f98118 X-VCS-Branch: master Date: Fri, 5 Feb 2016 08:07:52 +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: eaa3421a-faf4-4b28-881d-00c169e22501 X-Archives-Hash: ccf17728e47029201a9e6e8720fd879e commit: 2a4c8fec3e75d66af07a19fbfbc44e6cb6f98118 Author: Jason Zaman gentoo org> AuthorDate: Fri Feb 5 07:39:48 2016 +0000 Commit: Jason Zaman gentoo org> CommitDate: Fri Feb 5 08:00:05 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a4c8fec sys-auth/consolekit: Add pm-utils dep Package-Manager: portage-2.2.26 sys-auth/consolekit/consolekit-1.0.1.ebuild | 9 +++------ sys-auth/consolekit/metadata.xml | 1 + 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/sys-auth/consolekit/consolekit-1.0.1.ebuild b/sys-auth/consolekit/consolekit-1.0.1.ebuild index af935ad..24e779f 100644 --- a/sys-auth/consolekit/consolekit-1.0.1.ebuild +++ b/sys-auth/consolekit/consolekit-1.0.1.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/${MY_PN}/${MY_PN}/releases/download/${PV}/${MY_P}.ta LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~amd64-fbsd ~amd64-linux ~arm ~hppa ~ia64-linux ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~x86-linux" -IUSE="acl cgroups debug doc kernel_linux pam policykit selinux test" +IUSE="acl cgroups debug doc kernel_linux pam pm-utils policykit selinux test" COMMON_DEPEND=">=dev-libs/glib-2.40:2=[dbus] >=sys-devel/gettext-0.19 @@ -33,8 +33,10 @@ COMMON_DEPEND=">=dev-libs/glib-2.40:2=[dbus] ) pam? ( virtual/pam ) policykit? ( >=sys-auth/polkit-0.110 )" +# pm-utils: bug 557432 RDEPEND="${COMMON_DEPEND} kernel_linux? ( sys-apps/coreutils[acl?] ) + pm-utils? ( sys-power/pm-utils ) selinux? ( sec-policy/selinux-consolekit )" DEPEND="${COMMON_DEPEND} dev-libs/libxslt @@ -116,8 +118,3 @@ 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" -} diff --git a/sys-auth/consolekit/metadata.xml b/sys-auth/consolekit/metadata.xml index 1ab40e7..17dfd75 100644 --- a/sys-auth/consolekit/metadata.xml +++ b/sys-auth/consolekit/metadata.xml @@ -10,6 +10,7 @@ Use the kernel to track processes instead of the session cookie. + Adds support for suspend/resume using sys-power/pm-utils Use the PolicyKit framework (sys-auth/polkit) to get authorization for suspend/shutdown. Install systemd unit files to replace the modern functionality of logind in sys-apps/systemd. Not recommended.