commit: 17287aa7d5aa639964c529c6ed08f9bcee2e172d Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sat May 27 10:48:47 2017 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sat May 27 15:08:10 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17287aa7
net-misc/networkmanager: Add USE=elogind Gentoo-bug: 607352 Package-Manager: Portage-2.3.5, Repoman-2.3.1 net-misc/networkmanager/metadata.xml | 1 + net-misc/networkmanager/networkmanager-1.8.0.ebuild | 12 +++++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/net-misc/networkmanager/metadata.xml b/net-misc/networkmanager/metadata.xml index 5603207a671..734ee56b37e 100644 --- a/net-misc/networkmanager/metadata.xml +++ b/net-misc/networkmanager/metadata.xml @@ -16,6 +16,7 @@ tracking</flag> <flag name="dhclient">Use dhclient from <pkg>net-misc/dhcp</pkg> for getting ip</flag> + <flag name="elogind">Use <pkg>sys-auth/elogind</pkg> for session tracking</flag> <flag name="json">Enable JSON validation via <pkg>dev-libs/jansson</pkg> in libnm.</flag> <flag name="modemmanager">Enable support for mobile broadband devices diff --git a/net-misc/networkmanager/networkmanager-1.8.0.ebuild b/net-misc/networkmanager/networkmanager-1.8.0.ebuild index 32c1d37225a..ba6cd27f53f 100644 --- a/net-misc/networkmanager/networkmanager-1.8.0.ebuild +++ b/net-misc/networkmanager/networkmanager-1.8.0.ebuild @@ -16,15 +16,16 @@ HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager" LICENSE="GPL-2+" SLOT="0" # add subslot if libnm-util.so.2 or libnm-glib.so.4 bumps soname version -IUSE="audit bluetooth connection-sharing consolekit +dhclient gnutls +introspection \ -json kernel_linux +nss +modemmanager ncurses ofono +ppp resolvconf selinux \ -systemd teamd test vala +wext +wifi" +IUSE="audit bluetooth connection-sharing consolekit +dhclient elogind gnutls \ ++introspection json kernel_linux +nss +modemmanager ncurses ofono +ppp resolvconf \ +selinux systemd teamd test vala +wext +wifi" REQUIRED_USE=" modemmanager? ( ppp ) vala? ( introspection ) wext? ( wifi ) ^^ ( nss gnutls ) + ?? ( consolekit elogind systemd ) " KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" @@ -51,6 +52,7 @@ COMMON_DEPEND=" net-firewall/iptables ) consolekit? ( >=sys-auth/consolekit-1.0.0 ) dhclient? ( >=net-misc/dhcp-4[client] ) + elogind? ( sys-auth/elogind ) gnutls? ( dev-libs/libgcrypt:0=[${MULTILIB_USEDEP}] >=net-libs/gnutls-2.12:=[${MULTILIB_USEDEP}] ) @@ -193,8 +195,8 @@ multilib_src_configure() { --with-iptables=/sbin/iptables $(multilib_native_enable concheck) --with-crypto=$(usex nss nss gnutls) - --with-session-tracking=$(multilib_native_usex systemd systemd $(multilib_native_usex consolekit consolekit no)) - --with-suspend-resume=$(multilib_native_usex systemd systemd consolekit) + --with-session-tracking=$(multilib_native_usex systemd systemd $(multilib_native_usex elogind elogind $(multilib_native_usex consolekit consolekit no))) + --with-suspend-resume=$(multilib_native_usex systemd systemd $(multilib_native_usex elogind elogind consolekit)) $(multilib_native_use_with audit libaudit) $(multilib_native_use_enable bluetooth bluez5-dun) $(multilib_native_use_enable introspection)