1 |
commit: 67736d30da7ef69effe5e884733f9216a37a499d |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 26 20:09:50 2017 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 26 20:10:32 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67736d30 |
7 |
|
8 |
net-misc/networkmanager: bump to 1.10.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.15, Repoman-2.3.6_p7 |
11 |
|
12 |
net-misc/networkmanager/Manifest | 9 +- |
13 |
net-misc/networkmanager/metadata.xml | 1 + |
14 |
.../networkmanager/networkmanager-1.10.0.ebuild | 325 +++++++++++++++++++++ |
15 |
3 files changed, 331 insertions(+), 4 deletions(-) |
16 |
|
17 |
diff --git a/net-misc/networkmanager/Manifest b/net-misc/networkmanager/Manifest |
18 |
index 75b97e081d2..329497411c0 100644 |
19 |
--- a/net-misc/networkmanager/Manifest |
20 |
+++ b/net-misc/networkmanager/Manifest |
21 |
@@ -1,4 +1,5 @@ |
22 |
-DIST NetworkManager-1.4.4.tar.xz 3762664 SHA256 829378f318cc008d138a23ca6a9191928ce75344e7e47a2f2c35f4ac82133309 SHA512 a73e423e88b0e2694a46dc04f492a656d766796aa987b2e4644147a5939a6fdeb22ff5d8b36c723444bc0ab3d8740b80fa82c2f5e07f073998841695978d6e14 WHIRLPOOL d5e4ca3868c2aa8bceec2029c573b61ccc2fbc9f9a84cb8360ecf7d7503011f0501e9bffd54b163de8e84606ad7977b3c187adb78beed3a44bf2a3ee9821631f |
23 |
-DIST NetworkManager-1.8.0.tar.xz 3811100 SHA256 fa5a5c6a36cdf95b12df34cc575bd61a74f297ede9be22cac4807a1aff3cf69e SHA512 1f261a9bbba1013ec7ac88672f2ebdfdb9447874eb711ccfa7383534f003f37aabbcddb51aa868e14cec1d76c33d33a99d681a3858ea6239112fe6fce81a9c6c WHIRLPOOL 3e94a50cd50582f9cad26937ee8d597fe275a857882b1fe7ee3a85e3a30cedf16f559064f92afcb00e1703c42b34c0438a0b798538dcedf8cd29da596390b93a |
24 |
-DIST NetworkManager-1.8.2.tar.xz 3818844 SHA256 71a5efcd9e4c237ab57b2893ccc8f91f884ace3bec0e2bd4b31a4c9677ff1bf4 SHA512 7bebea66d8f494c052313224e9d5b1b4cf665482f07ee5d93defc3543f32296545a2d1097ab1fff27dbebb58e07a4bc47fbc0101163db92953ae66ac9b95524d WHIRLPOOL 5928c3d4c1a35dc9485c303f3ce7e7b33c3949a058bd566f8b779d5d6dfa11ee8fc365e1a7954a214cabea70f2239b0f6e2079a67616f5487abbd1d6053260a3 |
25 |
-DIST NetworkManager-1.8.4.tar.xz 3821500 SHA256 625e2eb36386dcae599075226200140d010f213b47f7202d83b3b1a202029212 SHA512 e9aa26e2abe4537c6cbba53e281493e32be8a9f0624d5323212848f286d1279ad2ab79a39de34ad0ea188c888b1b61c4ba4d4d053c4d227e68f9236955f69bb1 WHIRLPOOL 68d5721b06a978f4fa5db496f79eb5e56a007fe8966f4e083ed9f6140893e7fcbe0aedaa6357ed6f7fb4ceeae9c8b7aa8d92dd51c3ccd46048d1e1e5f62c1656 |
26 |
+DIST NetworkManager-1.10.0.tar.xz 3884396 BLAKE2B 62f6ce759188fe1c4337922d4c23145da5029ed6fa70eae1de122bd4ce00209b0f7a0d1fdf0b65083baa9a9b304471a6ec79de63ea8e79779f2e27c1cec26e19 SHA512 f1c479396fe50faaca9dfd90b165ec3158148a2fb5a2d7a71cd8d573597566520610d572d6a8ec2b1d27ac2e5409a2ba899f46f9f38c114c5b90f0431e370958 |
27 |
+DIST NetworkManager-1.4.4.tar.xz 3762664 BLAKE2B 430f5a15540c43d067c27927b627ecb1c7935f42566e9b14b82b6f70cf7dae3ed7398bb45647911e91d8ce14558b1eccc0f6ffa97eae852dd524219dcc536a90 SHA512 a73e423e88b0e2694a46dc04f492a656d766796aa987b2e4644147a5939a6fdeb22ff5d8b36c723444bc0ab3d8740b80fa82c2f5e07f073998841695978d6e14 |
28 |
+DIST NetworkManager-1.8.0.tar.xz 3811100 BLAKE2B ad8026891ed0f29e80d217d0cbc7965bdc67065462e88068cc6f8cd989ddbcec7095b5d98eab85d8e6fba4f5af5485b2ec0feecafcb6d8324c3ee3c257a0dd64 SHA512 1f261a9bbba1013ec7ac88672f2ebdfdb9447874eb711ccfa7383534f003f37aabbcddb51aa868e14cec1d76c33d33a99d681a3858ea6239112fe6fce81a9c6c |
29 |
+DIST NetworkManager-1.8.2.tar.xz 3818844 BLAKE2B 97929ae1d071b3e88dbacf9bd1131840066edb031df2e2fe7e15ef5029029d0029efff8836df3f2cf857e95728bfd8f77f6a81cadf45ae8c76a986aba1649709 SHA512 7bebea66d8f494c052313224e9d5b1b4cf665482f07ee5d93defc3543f32296545a2d1097ab1fff27dbebb58e07a4bc47fbc0101163db92953ae66ac9b95524d |
30 |
+DIST NetworkManager-1.8.4.tar.xz 3821500 BLAKE2B 7db1c95af5b8006cd3b7e1d960f9763c05caf5aadcc139bbe349a12ef996821afc38250afe4b078fd4d1953be19c1f16c6813562c5f4792e6c17f28ee0521c06 SHA512 e9aa26e2abe4537c6cbba53e281493e32be8a9f0624d5323212848f286d1279ad2ab79a39de34ad0ea188c888b1b61c4ba4d4d053c4d227e68f9236955f69bb1 |
31 |
|
32 |
diff --git a/net-misc/networkmanager/metadata.xml b/net-misc/networkmanager/metadata.xml |
33 |
index 8d695c7325d..c2122068c0f 100644 |
34 |
--- a/net-misc/networkmanager/metadata.xml |
35 |
+++ b/net-misc/networkmanager/metadata.xml |
36 |
@@ -24,6 +24,7 @@ |
37 |
using <pkg>net-misc/modemmanager</pkg></flag> |
38 |
<flag name="nss">Use <pkg>dev-libs/nss</pkg> for cryptography</flag> |
39 |
<flag name="ofono">Use <pkg>net-misc/ofono</pkg> for telephony support.</flag> |
40 |
+ <flag name="ovs">Enable OpenVSwitch support</flag> |
41 |
<flag name="ppp">Enable support for mobile broadband and PPPoE |
42 |
connections using <pkg>net-dialup/ppp</pkg></flag> |
43 |
<flag name="resolvconf">Use <pkg>net-dns/openresolv</pkg> for managing |
44 |
|
45 |
diff --git a/net-misc/networkmanager/networkmanager-1.10.0.ebuild b/net-misc/networkmanager/networkmanager-1.10.0.ebuild |
46 |
new file mode 100644 |
47 |
index 00000000000..48b1dd56d0d |
48 |
--- /dev/null |
49 |
+++ b/net-misc/networkmanager/networkmanager-1.10.0.ebuild |
50 |
@@ -0,0 +1,325 @@ |
51 |
+# Copyright 1999-2017 Gentoo Foundation |
52 |
+# Distributed under the terms of the GNU General Public License v2 |
53 |
+ |
54 |
+EAPI=6 |
55 |
+GNOME_ORG_MODULE="NetworkManager" |
56 |
+GNOME2_LA_PUNT="yes" |
57 |
+VALA_USE_DEPEND="vapigen" |
58 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
59 |
+ |
60 |
+inherit bash-completion-r1 gnome2 linux-info multilib python-any-r1 systemd \ |
61 |
+ user readme.gentoo-r1 toolchain-funcs vala versionator virtualx udev multilib-minimal |
62 |
+ |
63 |
+DESCRIPTION="A set of co-operative tools that make networking simple and straightforward" |
64 |
+HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager" |
65 |
+ |
66 |
+LICENSE="GPL-2+" |
67 |
+SLOT="0" # add subslot if libnm-util.so.2 or libnm-glib.so.4 bumps soname version |
68 |
+ |
69 |
+IUSE="audit bluetooth connection-sharing consolekit +dhclient dhcpcd elogind gnutls +introspection json kernel_linux +nss +modemmanager ncurses ofono ovs policykit +ppp resolvconf selinux systemd teamd test vala +wext +wifi" |
70 |
+ |
71 |
+REQUIRED_USE=" |
72 |
+ modemmanager? ( ppp ) |
73 |
+ vala? ( introspection ) |
74 |
+ wext? ( wifi ) |
75 |
+ ^^ ( nss gnutls ) |
76 |
+ ?? ( consolekit elogind systemd ) |
77 |
+" |
78 |
+ |
79 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
80 |
+ |
81 |
+# gobject-introspection-0.10.3 is needed due to gnome bug 642300 |
82 |
+# wpa_supplicant-0.7.3-r3 is needed due to bug 359271 |
83 |
+COMMON_DEPEND=" |
84 |
+ >=sys-apps/dbus-1.2[${MULTILIB_USEDEP}] |
85 |
+ >=dev-libs/dbus-glib-0.100[${MULTILIB_USEDEP}] |
86 |
+ >=dev-libs/glib-2.37.6:2[${MULTILIB_USEDEP}] |
87 |
+ >=dev-libs/libnl-3.2.8:3=[${MULTILIB_USEDEP}] |
88 |
+ policykit? ( >=sys-auth/polkit-0.106 ) |
89 |
+ net-libs/libndp[${MULTILIB_USEDEP}] |
90 |
+ >=net-misc/curl-7.24 |
91 |
+ net-misc/iputils |
92 |
+ sys-apps/util-linux[${MULTILIB_USEDEP}] |
93 |
+ sys-libs/readline:0= |
94 |
+ >=virtual/libudev-175:=[${MULTILIB_USEDEP}] |
95 |
+ audit? ( sys-process/audit ) |
96 |
+ bluetooth? ( >=net-wireless/bluez-5 ) |
97 |
+ connection-sharing? ( |
98 |
+ net-dns/dnsmasq[dbus,dhcp] |
99 |
+ net-firewall/iptables ) |
100 |
+ consolekit? ( >=sys-auth/consolekit-1.0.0 ) |
101 |
+ dhclient? ( >=net-misc/dhcp-4[client] ) |
102 |
+ dhcpcd? ( net-misc/dhcpcd ) |
103 |
+ elogind? ( >=sys-auth/elogind-219 ) |
104 |
+ gnutls? ( |
105 |
+ dev-libs/libgcrypt:0=[${MULTILIB_USEDEP}] |
106 |
+ >=net-libs/gnutls-2.12:=[${MULTILIB_USEDEP}] ) |
107 |
+ introspection? ( >=dev-libs/gobject-introspection-0.10.3:= ) |
108 |
+ json? ( dev-libs/jansson[${MULTILIB_USEDEP}] ) |
109 |
+ modemmanager? ( >=net-misc/modemmanager-0.7.991:0= ) |
110 |
+ ncurses? ( >=dev-libs/newt-0.52.15 ) |
111 |
+ nss? ( >=dev-libs/nss-3.11:=[${MULTILIB_USEDEP}] ) |
112 |
+ ofono? ( net-misc/ofono ) |
113 |
+ ovs? ( dev-libs/jansson ) |
114 |
+ ppp? ( >=net-dialup/ppp-2.4.5:=[ipv6] ) |
115 |
+ resolvconf? ( net-dns/openresolv ) |
116 |
+ selinux? ( sys-libs/libselinux ) |
117 |
+ systemd? ( >=sys-apps/systemd-209:0= ) |
118 |
+ teamd? ( |
119 |
+ dev-libs/jansson |
120 |
+ >=net-misc/libteam-1.9 |
121 |
+ ) |
122 |
+" |
123 |
+RDEPEND="${COMMON_DEPEND} |
124 |
+ || ( |
125 |
+ net-misc/iputils[arping(+)] |
126 |
+ net-analyzer/arping |
127 |
+ ) |
128 |
+ wifi? ( >=net-wireless/wpa_supplicant-0.7.3-r3[dbus] ) |
129 |
+" |
130 |
+DEPEND="${COMMON_DEPEND} |
131 |
+ dev-util/gdbus-codegen |
132 |
+ dev-util/gtk-doc-am |
133 |
+ >=dev-util/intltool-0.40 |
134 |
+ >=sys-devel/gettext-0.17 |
135 |
+ >=sys-kernel/linux-headers-2.6.29 |
136 |
+ virtual/pkgconfig[${MULTILIB_USEDEP}] |
137 |
+ introspection? ( |
138 |
+ $(python_gen_any_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]') |
139 |
+ dev-lang/perl |
140 |
+ dev-libs/libxslt |
141 |
+ ) |
142 |
+ vala? ( $(vala_depend) ) |
143 |
+ test? ( |
144 |
+ $(python_gen_any_dep ' |
145 |
+ dev-python/dbus-python[${PYTHON_USEDEP}] |
146 |
+ dev-python/pygobject:3[${PYTHON_USEDEP}]') |
147 |
+ ) |
148 |
+" |
149 |
+ |
150 |
+python_check_deps() { |
151 |
+ if use introspection; then |
152 |
+ has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return |
153 |
+ fi |
154 |
+ if use test; then |
155 |
+ has_version "dev-python/dbus-python[${PYTHON_USEDEP}]" && |
156 |
+ has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" |
157 |
+ fi |
158 |
+} |
159 |
+ |
160 |
+sysfs_deprecated_check() { |
161 |
+ ebegin "Checking for SYSFS_DEPRECATED support" |
162 |
+ |
163 |
+ if { linux_chkconfig_present SYSFS_DEPRECATED_V2; }; then |
164 |
+ eerror "Please disable SYSFS_DEPRECATED_V2 support in your kernel config and recompile your kernel" |
165 |
+ eerror "or NetworkManager will not work correctly." |
166 |
+ eerror "See https://bugs.gentoo.org/333639 for more info." |
167 |
+ die "CONFIG_SYSFS_DEPRECATED_V2 support detected!" |
168 |
+ fi |
169 |
+ eend $? |
170 |
+} |
171 |
+ |
172 |
+pkg_pretend() { |
173 |
+ if use kernel_linux; then |
174 |
+ get_version |
175 |
+ if linux_config_exists; then |
176 |
+ sysfs_deprecated_check |
177 |
+ else |
178 |
+ ewarn "Was unable to determine your kernel .config" |
179 |
+ ewarn "Please note that if CONFIG_SYSFS_DEPRECATED_V2 is set in your kernel .config, NetworkManager will not work correctly." |
180 |
+ ewarn "See https://bugs.gentoo.org/333639 for more info." |
181 |
+ fi |
182 |
+ |
183 |
+ fi |
184 |
+} |
185 |
+ |
186 |
+pkg_setup() { |
187 |
+ if use connection-sharing; then |
188 |
+ CONFIG_CHECK="~NF_NAT_IPV4 ~NF_NAT_MASQUERADE_IPV4" |
189 |
+ linux-info_pkg_setup |
190 |
+ fi |
191 |
+ enewgroup plugdev |
192 |
+ if use introspection || use test; then |
193 |
+ python-any-r1_pkg_setup |
194 |
+ fi |
195 |
+} |
196 |
+ |
197 |
+src_prepare() { |
198 |
+ DOC_CONTENTS="To modify system network connections without needing to enter the |
199 |
+ root password, add your user account to the 'plugdev' group." |
200 |
+ |
201 |
+ use vala && vala_src_prepare |
202 |
+ gnome2_src_prepare |
203 |
+} |
204 |
+ |
205 |
+multilib_src_configure() { |
206 |
+ local myconf=( |
207 |
+ --disable-more-warnings |
208 |
+ --disable-static |
209 |
+ --localstatedir=/var |
210 |
+ --disable-lto |
211 |
+ --disable-config-plugin-ibft |
212 |
+ # ifnet plugin always disabled until someone volunteers to actively |
213 |
+ # maintain and fix it |
214 |
+ --disable-ifnet |
215 |
+ --disable-qt |
216 |
+ --without-netconfig |
217 |
+ --with-dbus-sys-dir=/etc/dbus-1/system.d |
218 |
+ # We need --with-libnm-glib (and dbus-glib dep) as reverse deps are |
219 |
+ # still not ready for removing that lib |
220 |
+ --with-libnm-glib |
221 |
+ --with-nmcli=yes |
222 |
+ --with-udev-dir="$(get_udevdir)" |
223 |
+ --with-config-plugins-default=keyfile |
224 |
+ --with-iptables=/sbin/iptables |
225 |
+ $(multilib_native_enable concheck) |
226 |
+ --with-crypto=$(usex nss nss gnutls) |
227 |
+ --with-session-tracking=$(multilib_native_usex systemd systemd $(multilib_native_usex elogind elogind $(multilib_native_usex consolekit consolekit no))) |
228 |
+ --with-suspend-resume=$(multilib_native_usex systemd systemd $(multilib_native_usex elogind elogind consolekit)) |
229 |
+ $(multilib_native_use_with audit libaudit) |
230 |
+ $(multilib_native_use_enable bluetooth bluez5-dun) |
231 |
+ $(use_with dhclient) |
232 |
+ $(use_with dhcpcd) |
233 |
+ $(multilib_native_use_enable introspection) |
234 |
+ $(use_enable json json-validation) |
235 |
+ $(multilib_native_use_enable ppp) |
236 |
+ --without-libpsl |
237 |
+ $(multilib_native_use_with modemmanager modem-manager-1) |
238 |
+ $(multilib_native_use_with ncurses nmtui) |
239 |
+ $(multilib_native_use_with ofono) |
240 |
+ $(multilib_native_use_enable ovs) |
241 |
+ $(multilib_native_use_with resolvconf) |
242 |
+ $(multilib_native_use_with selinux) |
243 |
+ $(multilib_native_use_with systemd systemd-journal) |
244 |
+ $(multilib_native_use_enable teamd teamdctl) |
245 |
+ $(multilib_native_use_enable test tests) |
246 |
+ $(multilib_native_use_enable vala) |
247 |
+ --without-valgrind |
248 |
+ $(multilib_native_use_with wext) |
249 |
+ $(multilib_native_use_enable wifi) |
250 |
+ ) |
251 |
+ |
252 |
+ if multilib_is_native_abi && use policykit; then |
253 |
+ myconf+=( --enable-polkit=yes ) |
254 |
+ else |
255 |
+ myconf+=( --enable-polkit=disabled ) |
256 |
+ fi |
257 |
+ |
258 |
+ # Same hack as net-dialup/pptpd to get proper plugin dir for ppp, bug #519986 |
259 |
+ if use ppp; then |
260 |
+ local PPPD_VER=`best_version net-dialup/ppp` |
261 |
+ PPPD_VER=${PPPD_VER#*/*-} #reduce it to ${PV}-${PR} |
262 |
+ PPPD_VER=${PPPD_VER%%[_-]*} # main version without beta/pre/patch/revision |
263 |
+ myconf+=( --with-pppd-plugin-dir=/usr/$(get_libdir)/pppd/${PPPD_VER} ) |
264 |
+ fi |
265 |
+ |
266 |
+ # unit files directory needs to be passed only when systemd is enabled, |
267 |
+ # otherwise systemd support is not disabled completely, bug #524534 |
268 |
+ use systemd && myconf+=( --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" ) |
269 |
+ |
270 |
+ if multilib_is_native_abi; then |
271 |
+ # work-around man out-of-source brokenness, must be done before configure |
272 |
+ ln -s "${S}/docs" docs || die |
273 |
+ ln -s "${S}/man" man || die |
274 |
+ fi |
275 |
+ |
276 |
+ ECONF_SOURCE=${S} runstatedir="/run" gnome2_src_configure "${myconf[@]}" |
277 |
+} |
278 |
+ |
279 |
+multilib_src_compile() { |
280 |
+ if multilib_is_native_abi; then |
281 |
+ emake |
282 |
+ else |
283 |
+ local targets=( |
284 |
+ libnm/libnm.la |
285 |
+ libnm-util/libnm-util.la |
286 |
+ libnm-glib/libnm-glib.la |
287 |
+ libnm-glib/libnm-glib-vpn.la |
288 |
+ ) |
289 |
+ emake "${targets[@]}" |
290 |
+ fi |
291 |
+} |
292 |
+ |
293 |
+multilib_src_test() { |
294 |
+ if use test && multilib_is_native_abi; then |
295 |
+ python_setup |
296 |
+ virtx emake check |
297 |
+ fi |
298 |
+} |
299 |
+ |
300 |
+multilib_src_install() { |
301 |
+ if multilib_is_native_abi; then |
302 |
+ # Install completions at proper place, bug #465100 |
303 |
+ gnome2_src_install completiondir="$(get_bashcompdir)" |
304 |
+ else |
305 |
+ local targets=( |
306 |
+ install-libLTLIBRARIES |
307 |
+ install-libdeprecatedHEADERS |
308 |
+ install-libnm_glib_libnmvpnHEADERS |
309 |
+ install-libnm_glib_libnmincludeHEADERS |
310 |
+ install-libnm_util_libnm_util_includeHEADERS |
311 |
+ install-libnmincludeHEADERS |
312 |
+ install-nodist_libnm_glib_libnmincludeHEADERS |
313 |
+ install-nodist_libnm_glib_libnmvpnHEADERS |
314 |
+ install-nodist_libnm_util_libnm_util_includeHEADERS |
315 |
+ install-nodist_libnmincludeHEADERS |
316 |
+ install-pkgconfigDATA |
317 |
+ ) |
318 |
+ emake DESTDIR="${D}" "${targets[@]}" |
319 |
+ fi |
320 |
+} |
321 |
+ |
322 |
+multilib_src_install_all() { |
323 |
+ ! use systemd && readme.gentoo_create_doc |
324 |
+ |
325 |
+ newinitd "${FILESDIR}/init.d.NetworkManager-r1" NetworkManager |
326 |
+ newconfd "${FILESDIR}/conf.d.NetworkManager" NetworkManager |
327 |
+ |
328 |
+ # Need to keep the /etc/NetworkManager/dispatched.d for dispatcher scripts |
329 |
+ keepdir /etc/NetworkManager/dispatcher.d |
330 |
+ |
331 |
+ # Provide openrc net dependency only when nm is connected |
332 |
+ exeinto /etc/NetworkManager/dispatcher.d |
333 |
+ newexe "${FILESDIR}/10-openrc-status-r4" 10-openrc-status |
334 |
+ sed -e "s:@EPREFIX@:${EPREFIX}:g" \ |
335 |
+ -i "${ED}/etc/NetworkManager/dispatcher.d/10-openrc-status" || die |
336 |
+ |
337 |
+ keepdir /etc/NetworkManager/system-connections |
338 |
+ chmod 0600 "${ED}"/etc/NetworkManager/system-connections/.keep* # bug #383765, upstream bug #754594 |
339 |
+ |
340 |
+ # Allow users in plugdev group to modify system connections |
341 |
+ insinto /usr/share/polkit-1/rules.d/ |
342 |
+ doins "${FILESDIR}/01-org.freedesktop.NetworkManager.settings.modify.system.rules" |
343 |
+} |
344 |
+ |
345 |
+pkg_postinst() { |
346 |
+ gnome2_pkg_postinst |
347 |
+ systemd_reenable NetworkManager.service |
348 |
+ ! use systemd && readme.gentoo_print_elog |
349 |
+ |
350 |
+ if [[ -e "${EROOT}etc/NetworkManager/nm-system-settings.conf" ]]; then |
351 |
+ ewarn "The ${PN} system configuration file has moved to a new location." |
352 |
+ ewarn "You must migrate your settings from ${EROOT}/etc/NetworkManager/nm-system-settings.conf" |
353 |
+ ewarn "to ${EROOT}etc/NetworkManager/NetworkManager.conf" |
354 |
+ ewarn |
355 |
+ ewarn "After doing so, you can remove ${EROOT}etc/NetworkManager/nm-system-settings.conf" |
356 |
+ fi |
357 |
+ |
358 |
+ # NM fallbacks to plugin specified at compile time (upstream bug #738611) |
359 |
+ # but still show a warning to remember people to have cleaner config file |
360 |
+ if [[ -e "${EROOT}etc/NetworkManager/NetworkManager.conf" ]]; then |
361 |
+ if grep plugins "${EROOT}etc/NetworkManager/NetworkManager.conf" | grep -q ifnet; then |
362 |
+ ewarn |
363 |
+ ewarn "You seem to use 'ifnet' plugin in ${EROOT}etc/NetworkManager/NetworkManager.conf" |
364 |
+ ewarn "Since it won't be used, you will need to stop setting ifnet plugin there." |
365 |
+ ewarn |
366 |
+ fi |
367 |
+ fi |
368 |
+ |
369 |
+ # NM shows lots of errors making nmcli neither unusable, bug #528748 upstream bug #690457 |
370 |
+ if grep -r "psk-flags=1" "${EROOT}"/etc/NetworkManager/; then |
371 |
+ ewarn "You have psk-flags=1 setting in above files, you will need to" |
372 |
+ ewarn "either reconfigure affected networks or, at least, set the flag" |
373 |
+ ewarn "value to '0'." |
374 |
+ fi |
375 |
+} |