mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-auth/consolekit: Add pm-utils dep
Package-Manager: portage-2.2.26
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="cgroups">Use the kernel to track processes instead of the session cookie.</flag>
|
||||
<flag name="pm-utils">Adds support for suspend/resume using <pkg>sys-power/pm-utils</pkg></flag>
|
||||
<flag name="policykit">Use the PolicyKit framework (<pkg>sys-auth/polkit</pkg>) to get authorization for suspend/shutdown.</flag>
|
||||
<flag name="systemd-units">Install systemd unit files to replace the modern functionality of logind in <pkg>sys-apps/systemd</pkg>. Not recommended.</flag>
|
||||
</use>
|
||||
|
||||
Reference in New Issue
Block a user