diff options
author | Jason Zaman <perfinion@gentoo.org> | 2016-02-05 15:59:15 +0800 |
---|---|---|
committer | Jason Zaman <perfinion@gentoo.org> | 2016-02-05 16:00:08 +0800 |
commit | 3e6cbd9ed5346e908c387ba647578ea11c8ce003 (patch) | |
tree | 5892cd6d7475fc888553a034833f197453caeab6 /sys-auth/consolekit | |
parent | sys-auth/consolekit: Add pm-utils dep (diff) | |
download | gentoo-3e6cbd9ed5346e908c387ba647578ea11c8ce003.tar.gz gentoo-3e6cbd9ed5346e908c387ba647578ea11c8ce003.tar.bz2 gentoo-3e6cbd9ed5346e908c387ba647578ea11c8ce003.zip |
sys-auth/consolekit: Update live ebuild
Package-Manager: portage-2.2.26
Diffstat (limited to 'sys-auth/consolekit')
-rw-r--r-- | sys-auth/consolekit/consolekit-1.0.1.ebuild | 1 | ||||
-rw-r--r-- | sys-auth/consolekit/consolekit-9999.ebuild | 17 |
2 files changed, 11 insertions, 7 deletions
diff --git a/sys-auth/consolekit/consolekit-1.0.1.ebuild b/sys-auth/consolekit/consolekit-1.0.1.ebuild index 24e779f088d6..f948b7adfb19 100644 --- a/sys-auth/consolekit/consolekit-1.0.1.ebuild +++ b/sys-auth/consolekit/consolekit-1.0.1.ebuild @@ -107,6 +107,7 @@ src_install() { newexe "${FILESDIR}"/90-consolekit-3 90-consolekit if use kernel_linux; then + # bug 571524 exeinto /usr/lib/ConsoleKit/run-session.d doexe "${FILESDIR}"/pam-foreground-compat.ck fi diff --git a/sys-auth/consolekit/consolekit-9999.ebuild b/sys-auth/consolekit/consolekit-9999.ebuild index aefb2bf74ed2..c222c2f042c1 100644 --- a/sys-auth/consolekit/consolekit-9999.ebuild +++ b/sys-auth/consolekit/consolekit-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -16,7 +16,7 @@ EGIT_REPO_URI="https://github.com/${MY_PN}/${MY_PN}.git" LICENSE="GPL-2" SLOT="0" KEYWORDS="" -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 @@ -108,6 +110,12 @@ src_install() { exeinto /etc/X11/xinit/xinitrc.d newexe "${FILESDIR}"/90-consolekit-3 90-consolekit + if use kernel_linux; then + # bug 571524 + exeinto /usr/lib/ConsoleKit/run-session.d + doexe "${FILESDIR}"/pam-foreground-compat.ck + fi + prune_libtool_files --all # --all for pam_ck_connector.la rm -rf "${ED}"/var/run || die # let the init script create the directory @@ -115,8 +123,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" -} |