Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 410143
Collapse All | Expand All

(-)networkmanager-0.9.4.0.ebuild (-5 / +8 lines)
Lines 12-18 Link Here
12
12
13
LICENSE="GPL-2"
13
LICENSE="GPL-2"
14
SLOT="0"
14
SLOT="0"
15
IUSE="avahi bluetooth connection-sharing dhclient +dhcpcd doc gnutls +introspection kernel_linux +nss +ppp resolvconf systemd wimax"
15
IUSE="avahi bluetooth connection-sharing dhclient +dhcpcd doc gnutls +introspection kernel_linux +nss +ppp resolvconf systemd +wext wimax"
16
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
16
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
17
17
18
REQUIRED_USE="
18
REQUIRED_USE="
Lines 29-35 Link Here
29
	|| ( >=sys-fs/udev-171[gudev] >=sys-fs/udev-147[extras] )
29
	|| ( >=sys-fs/udev-171[gudev] >=sys-fs/udev-147[extras] )
30
	>=dev-libs/glib-2.26
30
	>=dev-libs/glib-2.26
31
	>=sys-auth/polkit-0.97
31
	>=sys-auth/polkit-0.97
32
	dev-libs/libnl:1.1
33
	>=net-libs/libsoup-2.26:2.4
32
	>=net-libs/libsoup-2.26:2.4
34
	>=net-wireless/wpa_supplicant-0.7.3-r3[dbus]
33
	>=net-wireless/wpa_supplicant-0.7.3-r3[dbus]
35
	bluetooth? ( >=net-wireless/bluez-4.82 )
34
	bluetooth? ( >=net-wireless/bluez-4.82 )
Lines 48-54 Link Here
48
	connection-sharing? (
47
	connection-sharing? (
49
		net-dns/dnsmasq
48
		net-dns/dnsmasq
50
		net-firewall/iptables )
49
		net-firewall/iptables )
51
	wimax? ( >=net-wireless/wimax-1.5.1 )"
50
	wimax? (
51
		>=net-wireless/wimax-1.5.1
52
		dev-libs/libnl:1.1 )
53
	!wimax? ( dev-libs/libnl:3 )"
52
54
53
RDEPEND="${COMMON_DEPEND}
55
RDEPEND="${COMMON_DEPEND}
54
	systemd? ( >=sys-apps/systemd-31 )
56
	systemd? ( >=sys-apps/systemd-31 )
Lines 64-70 Link Here
64
sysfs_deprecated_check() {
66
sysfs_deprecated_check() {
65
	ebegin "Checking for SYSFS_DEPRECATED support"
67
	ebegin "Checking for SYSFS_DEPRECATED support"
66
68
67
	if { linux_chkconfig_present SYSFS_DEPRECATED_V2; }; then
69
	if linux_chkconfig_present SYSFS_DEPRECATED_V2; then
68
		eerror "Please disable SYSFS_DEPRECATED_V2 support in your kernel config and recompile your kernel"
70
		eerror "Please disable SYSFS_DEPRECATED_V2 support in your kernel config and recompile your kernel"
69
		eerror "or NetworkManager will not work correctly."
71
		eerror "or NetworkManager will not work correctly."
70
		eerror "See http://bugs.gentoo.org/333639 for more info."
72
		eerror "See http://bugs.gentoo.org/333639 for more info."
Lines 95-101 Link Here
95
	# Don't build tests
97
	# Don't build tests
96
	epatch "${FILESDIR}/${PN}-0.9_rc3-fix-tests.patch"
98
	epatch "${FILESDIR}/${PN}-0.9_rc3-fix-tests.patch"
97
	# Build against libnl:1.1 for net-wireless/wimax-1.5.2 compatibility
99
	# Build against libnl:1.1 for net-wireless/wimax-1.5.2 compatibility
98
	epatch "${FILESDIR}/${PN}-0.9.4.0-force-libnl1.1.patch"
100
	use wimax && epatch "${FILESDIR}/${PN}-0.9.4.0-force-libnl1.1.patch"
99
	# Update init.d script to provide net and use inactive status if not connected
101
	# Update init.d script to provide net and use inactive status if not connected
100
	epatch "${FILESDIR}/${PN}-0.9.2.0-init-provide-net-r1.patch"
102
	epatch "${FILESDIR}/${PN}-0.9.2.0-init-provide-net-r1.patch"
101
	# Bug #402085, https://bugzilla.gnome.org/show_bug.cgi?id=387832
103
	# Bug #402085, https://bugzilla.gnome.org/show_bug.cgi?id=387832
Lines 122-127 Link Here
122
		$(use_with dhcpcd)
124
		$(use_with dhcpcd)
123
		$(use_with doc docs)
125
		$(use_with doc docs)
124
		$(use_with resolvconf)
126
		$(use_with resolvconf)
127
		--with-wext=$(use wext && echo yes || echo no)
125
		$(systemd_with_unitdir)"
128
		$(systemd_with_unitdir)"
126
129
127
		if use nss ; then
130
		if use nss ; then

Return to bug 410143