Merge lp:~noskcaj/network-manager/merge into lp:~network-manager/network-manager/ubuntu
- merge
- Merge into ubuntu
Proposed by
Jackson Doak
Status: | Rejected | ||||
---|---|---|---|---|---|
Rejected by: | Mathieu Trudel-Lapierre | ||||
Proposed branch: | lp:~noskcaj/network-manager/merge | ||||
Merge into: | lp:~network-manager/network-manager/ubuntu | ||||
Diff against target: |
2251 lines (+160/-779) 41 files modified
debian/changelog (+9/-0) debian/patches/add-veth-support.diff (+2/-10) debian/patches/add_ofono_settings_support.patch (+4/-26) debian/patches/add_ofono_support.patch (+3/-19) debian/patches/add_sendsigs_omissions.patch (+3/-7) debian/patches/adhoc_use_wpa_rsn_part1.patch (+3/-9) debian/patches/adhoc_use_wpa_rsn_part2.patch (+6/-34) debian/patches/bridge_ignore_without_connections.patch (+6/-8) debian/patches/connectivity_check_default_interval.patch (+0/-6) debian/patches/dns-dnsmasq-interface-and-dbus-path.patch (+6/-12) debian/patches/dnsmasq-dbus-updates.patch (+14/-22) debian/patches/dnsmasq-vpn-dns-filtering.patch (+2/-4) debian/patches/dont-check-secrets-for-ofono.patch (+2/-4) debian/patches/enable-ipv6-privacy.patch (+1/-3) debian/patches/git_agent_removing_requests_b2312d4.patch (+0/-120) debian/patches/git_default_route_active_device_9820258.patch (+0/-127) debian/patches/git_disp_logging_crash_aca907f.patch (+9/-10) debian/patches/git_fix_shadowed_var_abe208e.patch (+0/-34) debian/patches/git_kernel_ipv6_default_route_77de91e.patch (+0/-121) debian/patches/git_remove_ifpppstatsreq_6b64e4d.patch (+0/-42) debian/patches/git_segfault_nmagentmanager_3227cf0.patch (+0/-25) debian/patches/ignore_rfkill_if_urfkill_is_present.patch (+12/-24) debian/patches/ignore_rmnet_devices.patch (+1/-3) debian/patches/lp1025498_link-local_dns_with_null_iface.patch (+1/-3) debian/patches/lp1099983_ignore-p2p-wifi-devices.patch (+7/-5) debian/patches/lp191889_always_offline_with_unmanaged_devices.patch (+1/-3) debian/patches/lp859373_upgrade_policy_fix.patch (+0/-2) debian/patches/lp912702_fix_multiple_dialogs.patch (+2/-7) debian/patches/lp936712_dnsmasq_ip6_ns_ordering.patch (+7/-5) debian/patches/lp990011_use_tempaddr_sysctl_default.patch (+5/-7) debian/patches/nm-change-dnsmasq-parameters.diff (+1/-3) debian/patches/nm-ipv6-route-cache.patch (+1/-3) debian/patches/nm-revert-core-dont-enumerate-unint-devices-udev.patch (+2/-7) debian/patches/nm-source-stanza.patch (+23/-25) debian/patches/prioritize_3g_later.patch (+0/-2) debian/patches/provisioning_wait_ofono_properties.patch (+10/-12) debian/patches/quit_dhclient_on_exit.patch (+4/-8) debian/patches/series (+0/-4) debian/patches/track_ip_settings_post_connection.patch (+7/-9) debian/patches/whoopsie-daisy-dbus-support.patch (+5/-3) debian/watch (+1/-1) |
||||
To merge this branch: | bzr merge lp:~noskcaj/network-manager/merge | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mathieu Trudel-Lapierre | Disapprove | ||
Review via email: mp+223993@code.launchpad.net |
Commit message
Description of the change
New upstream bugfix release
To post a comment you must log in.
Unmerged revisions
- 841. By Jackson Doak
-
* New upstream release. LP: #1332338
* Drop some git patches
* Refresh patches
* debian/watch: Track .xz tarballs
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'debian/changelog' |
2 | --- debian/changelog 2014-06-11 18:43:53 +0000 |
3 | +++ debian/changelog 2014-06-20 21:41:36 +0000 |
4 | @@ -1,3 +1,12 @@ |
5 | +network-manager (0.9.8.10-0ubuntu1) utopic; urgency=medium |
6 | + |
7 | + * New upstream release. LP: #1332338 |
8 | + * Drop some git patches |
9 | + * Refresh patches |
10 | + * debian/watch: Track .xz tarballs |
11 | + |
12 | + -- Jackson Doak <noskcaj@ubuntu.com> Fri, 20 Jun 2014 06:41:29 +1000 |
13 | + |
14 | network-manager (0.9.8.8-0ubuntu18) utopic; urgency=medium |
15 | |
16 | * debian/control: allow for ofono to be installed instead of modemmanager |
17 | |
18 | === modified file 'debian/patches/add-veth-support.diff' |
19 | --- debian/patches/add-veth-support.diff 2012-12-10 19:51:29 +0000 |
20 | +++ debian/patches/add-veth-support.diff 2014-06-20 21:41:36 +0000 |
21 | @@ -8,8 +8,6 @@ |
22 | src/nm-udev-manager.c | 5 +++++ |
23 | 4 files changed, 10 insertions(+), 2 deletions(-) |
24 | |
25 | -Index: b/src/nm-udev-manager.c |
26 | -=================================================================== |
27 | --- a/src/nm-udev-manager.c |
28 | +++ b/src/nm-udev-manager.c |
29 | @@ -407,6 +407,11 @@ dev_get_attrs (GUdevDevice *udev_device, |
30 | @@ -24,11 +22,9 @@ |
31 | default: |
32 | if (g_str_has_prefix (ifname, "easytether")) |
33 | driver = "easytether"; |
34 | -Index: b/src/nm-system.c |
35 | -=================================================================== |
36 | --- a/src/nm-system.c |
37 | +++ b/src/nm-system.c |
38 | -@@ -1882,6 +1882,8 @@ nm_system_get_iface_type (int ifindex, c |
39 | +@@ -1918,6 +1918,8 @@ nm_system_get_iface_type (int ifindex, c |
40 | res = NM_IFACE_TYPE_BRIDGE; |
41 | else if (!g_strcmp0 (type, "dummy")) |
42 | res = NM_IFACE_TYPE_DUMMY; |
43 | @@ -37,8 +33,6 @@ |
44 | |
45 | rtnl_link_put (result); |
46 | out: |
47 | -Index: b/src/nm-system.h |
48 | -=================================================================== |
49 | --- a/src/nm-system.h |
50 | +++ b/src/nm-system.h |
51 | @@ -114,7 +114,8 @@ enum { |
52 | @@ -51,11 +45,9 @@ |
53 | }; |
54 | |
55 | int nm_system_get_iface_type (int ifindex, const char *name); |
56 | -Index: b/src/nm-device-ethernet.c |
57 | -=================================================================== |
58 | --- a/src/nm-device-ethernet.c |
59 | +++ b/src/nm-device-ethernet.c |
60 | -@@ -252,7 +252,7 @@ constructor (GType type, |
61 | +@@ -253,7 +253,7 @@ constructor (GType type, |
62 | // FIXME: Convert this into a no-export property so type can be specified |
63 | // when the device is created. |
64 | itype = nm_system_get_iface_type (nm_device_get_ifindex (self), nm_device_get_iface (self)); |
65 | |
66 | === modified file 'debian/patches/add_ofono_settings_support.patch' |
67 | --- debian/patches/add_ofono_settings_support.patch 2014-05-06 16:36:03 +0000 |
68 | +++ debian/patches/add_ofono_settings_support.patch 2014-06-20 21:41:36 +0000 |
69 | @@ -15,11 +15,9 @@ |
70 | src/settings/plugins/ofono/plugin.h | 53 + |
71 | 11 files changed, 1221 insertions(+) |
72 | |
73 | -Index: b/configure.ac |
74 | -=================================================================== |
75 | --- a/configure.ac |
76 | +++ b/configure.ac |
77 | -@@ -96,6 +96,7 @@ AC_ARG_ENABLE(ifcfg-rh, AS_HELP_STRING([ |
78 | +@@ -98,6 +98,7 @@ AC_ARG_ENABLE(ifcfg-rh, AS_HELP_STRING([ |
79 | AC_ARG_ENABLE(ifcfg-suse, AS_HELP_STRING([--enable-ifcfg-suse], [enable ifcfg-suse configuration plugin (SUSE)])) |
80 | AC_ARG_ENABLE(ifupdown, AS_HELP_STRING([--enable-ifupdown], [enable ifupdown configuration plugin (Debian/Ubuntu)])) |
81 | AC_ARG_ENABLE(ifnet, AS_HELP_STRING([--enable-ifnet], [enable ifnet configuration plugin (Gentoo)])) |
82 | @@ -27,7 +25,7 @@ |
83 | # Default alternative plugins by distribution |
84 | AS_IF([test -z "$enable_ifcfg_rh"], AC_CHECK_FILE(/etc/redhat-release, enable_ifcfg_rh=yes)) |
85 | AS_IF([test -z "$enable_ifcfg_rh"], AC_CHECK_FILE(/etc/fedora-release, enable_ifcfg_rh=yes)) |
86 | -@@ -108,11 +109,14 @@ AS_IF([test -z "$enable_ifcfg_rh"], enab |
87 | +@@ -110,11 +111,14 @@ AS_IF([test -z "$enable_ifcfg_rh"], enab |
88 | AS_IF([test -z "$enable_ifcfg_suse"], enable_ifcfg_suse=no) |
89 | AS_IF([test -z "$enable_ifupdown"], enable_ifupdown=no) |
90 | AS_IF([test -z "$enable_ifnet"], enable_ifnet=no) |
91 | @@ -42,7 +40,7 @@ |
92 | # Code coverage |
93 | GNOME_CODE_COVERAGE |
94 | |
95 | -@@ -671,6 +675,7 @@ src/settings/Makefile |
96 | +@@ -688,6 +692,7 @@ src/settings/Makefile |
97 | src/settings/plugins/Makefile |
98 | src/settings/plugins/ifupdown/Makefile |
99 | src/settings/plugins/ifupdown/tests/Makefile |
100 | @@ -50,7 +48,7 @@ |
101 | src/settings/plugins/ifnet/Makefile |
102 | src/settings/plugins/ifnet/tests/Makefile |
103 | src/settings/plugins/ifcfg-rh/Makefile |
104 | -@@ -780,6 +785,7 @@ echo " ifcfg-rh: ${enable_ifcfg_rh}" |
105 | +@@ -797,6 +802,7 @@ echo " ifcfg-rh: ${enable_ifcfg_rh}" |
106 | echo " ifcfg-suse: ${enable_ifcfg_suse}" |
107 | echo " ifupdown: ${enable_ifupdown}" |
108 | echo " ifnet: ${enable_ifnet}" |
109 | @@ -58,8 +56,6 @@ |
110 | echo |
111 | |
112 | echo "Handlers for /etc/resolv.conf:" |
113 | -Index: b/src/settings/plugins/Makefile.am |
114 | -=================================================================== |
115 | --- a/src/settings/plugins/Makefile.am |
116 | +++ b/src/settings/plugins/Makefile.am |
117 | @@ -15,3 +15,8 @@ endif |
118 | @@ -71,8 +67,6 @@ |
119 | +SUBDIRS+=ofono |
120 | +endif |
121 | + |
122 | -Index: b/src/settings/plugins/ofono/Makefile.am |
123 | -=================================================================== |
124 | --- /dev/null |
125 | +++ b/src/settings/plugins/ofono/Makefile.am |
126 | @@ -0,0 +1,65 @@ |
127 | @@ -141,8 +135,6 @@ |
128 | + nm-ofono.xml |
129 | + |
130 | +CLEANFILES = $(BUILT_SOURCES) |
131 | -Index: b/src/settings/plugins/ofono/nm-ofono-connection.c |
132 | -=================================================================== |
133 | --- /dev/null |
134 | +++ b/src/settings/plugins/ofono/nm-ofono-connection.c |
135 | @@ -0,0 +1,166 @@ |
136 | @@ -312,8 +304,6 @@ |
137 | + G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); |
138 | +} |
139 | + |
140 | -Index: b/src/settings/plugins/ofono/nm-ofono-connection.h |
141 | -=================================================================== |
142 | --- /dev/null |
143 | +++ b/src/settings/plugins/ofono/nm-ofono-connection.h |
144 | @@ -0,0 +1,54 @@ |
145 | @@ -371,8 +361,6 @@ |
146 | +G_END_DECLS |
147 | + |
148 | +#endif /* NM_OFONO_CONNECTION_H */ |
149 | -Index: b/src/settings/plugins/ofono/parser.c |
150 | -=================================================================== |
151 | --- /dev/null |
152 | +++ b/src/settings/plugins/ofono/parser.c |
153 | @@ -0,0 +1,123 @@ |
154 | @@ -499,8 +487,6 @@ |
155 | + g_free (idstr); |
156 | + return success; |
157 | +} |
158 | -Index: b/src/settings/plugins/ofono/parser.h |
159 | -=================================================================== |
160 | --- /dev/null |
161 | +++ b/src/settings/plugins/ofono/parser.h |
162 | @@ -0,0 +1,33 @@ |
163 | @@ -537,8 +523,6 @@ |
164 | + GError **error); |
165 | + |
166 | +G_END_DECLS |
167 | -Index: b/src/settings/plugins/ofono/plugin.c |
168 | -=================================================================== |
169 | --- /dev/null |
170 | +++ b/src/settings/plugins/ofono/plugin.c |
171 | @@ -0,0 +1,682 @@ |
172 | @@ -1224,8 +1208,6 @@ |
173 | + return G_OBJECT (singleton); |
174 | +} |
175 | + |
176 | -Index: b/src/settings/plugins/ofono/plugin.h |
177 | -=================================================================== |
178 | --- /dev/null |
179 | +++ b/src/settings/plugins/ofono/plugin.h |
180 | @@ -0,0 +1,53 @@ |
181 | @@ -1282,8 +1264,6 @@ |
182 | +GQuark ofono_plugin_error_quark (void); |
183 | + |
184 | +#endif /* _PLUGIN_H_ */ |
185 | -Index: b/src/settings/plugins/ofono/nm-ofono.xml |
186 | -=================================================================== |
187 | --- /dev/null |
188 | +++ b/src/settings/plugins/ofono/nm-ofono.xml |
189 | @@ -0,0 +1,16 @@ |
190 | @@ -1303,8 +1283,6 @@ |
191 | + </method> |
192 | + </interface> |
193 | +</node> |
194 | -Index: b/src/settings/plugins/ofono/nm-ofono.conf |
195 | -=================================================================== |
196 | --- /dev/null |
197 | +++ b/src/settings/plugins/ofono/nm-ofono.conf |
198 | @@ -0,0 +1,18 @@ |
199 | |
200 | === modified file 'debian/patches/add_ofono_support.patch' |
201 | --- debian/patches/add_ofono_support.patch 2014-05-01 17:36:54 +0000 |
202 | +++ debian/patches/add_ofono_support.patch 2014-06-20 21:41:36 +0000 |
203 | @@ -12,8 +12,6 @@ |
204 | src/nm-device-modem.c | 16 |
205 | 8 files changed, 1658 insertions(+), 22 deletions(-) |
206 | |
207 | -Index: b/src/nm-device-modem.c |
208 | -=================================================================== |
209 | --- a/src/nm-device-modem.c |
210 | +++ b/src/nm-device-modem.c |
211 | @@ -26,6 +26,7 @@ |
212 | @@ -77,8 +75,6 @@ |
213 | NMDeviceModemPrivate *priv = NM_DEVICE_MODEM_GET_PRIVATE (object); |
214 | |
215 | switch (prop_id) { |
216 | -Index: b/src/modem-manager/nm-modem-ofono.c |
217 | -=================================================================== |
218 | --- /dev/null |
219 | +++ b/src/modem-manager/nm-modem-ofono.c |
220 | @@ -0,0 +1,1317 @@ |
221 | @@ -1399,11 +1395,9 @@ |
222 | + //dbus_g_error_domain_register (NM_OFONO_ERROR, NULL, NM_TYPE_OFONO_ERROR); |
223 | +} |
224 | + |
225 | -Index: b/src/modem-manager/Makefile.am |
226 | -=================================================================== |
227 | --- a/src/modem-manager/Makefile.am |
228 | +++ b/src/modem-manager/Makefile.am |
229 | -@@ -5,6 +5,7 @@ INCLUDES = \ |
230 | +@@ -7,6 +7,7 @@ libmodem_manager_la_CPPFLAGS = \ |
231 | -I${top_builddir}/src/generated \ |
232 | -I${top_srcdir}/src/generated \ |
233 | -I${top_srcdir}/src/logging \ |
234 | @@ -1411,7 +1405,7 @@ |
235 | -I${top_builddir}/include \ |
236 | -I${top_srcdir}/include \ |
237 | -I${top_builddir}/libnm-util \ |
238 | -@@ -21,6 +22,8 @@ libmodem_manager_la_SOURCES = \ |
239 | +@@ -23,6 +24,8 @@ libmodem_manager_la_SOURCES = \ |
240 | nm-modem-cdma.h \ |
241 | nm-modem-gsm.c \ |
242 | nm-modem-gsm.h \ |
243 | @@ -1420,8 +1414,6 @@ |
244 | nm-modem-manager.h \ |
245 | nm-modem-manager.c \ |
246 | nm-modem-types.h |
247 | -Index: b/src/modem-manager/nm-modem-types.h |
248 | -=================================================================== |
249 | --- a/src/modem-manager/nm-modem-types.h |
250 | +++ b/src/modem-manager/nm-modem-types.h |
251 | @@ -21,6 +21,14 @@ |
252 | @@ -1439,8 +1431,6 @@ |
253 | #define MM_OLD_DBUS_SERVICE "org.freedesktop.ModemManager" |
254 | #define MM_OLD_DBUS_PATH "/org/freedesktop/ModemManager" |
255 | #define MM_OLD_DBUS_INTERFACE "org.freedesktop.ModemManager" |
256 | -Index: b/src/modem-manager/nm-modem.c |
257 | -=================================================================== |
258 | --- a/src/modem-manager/nm-modem.c |
259 | +++ b/src/modem-manager/nm-modem.c |
260 | @@ -92,6 +92,7 @@ static guint signals[LAST_SIGNAL] = { 0 |
261 | @@ -1741,8 +1731,6 @@ |
262 | g_type_class_add_private (object_class, sizeof (NMModemPrivate)); |
263 | |
264 | /* Virtual methods */ |
265 | -Index: b/src/modem-manager/nm-modem-manager.c |
266 | -=================================================================== |
267 | --- a/src/modem-manager/nm-modem-manager.c |
268 | +++ b/src/modem-manager/nm-modem-manager.c |
269 | @@ -17,7 +17,7 @@ |
270 | @@ -2052,7 +2040,7 @@ |
271 | } |
272 | |
273 | /************************************************************************/ |
274 | -@@ -769,15 +934,20 @@ nm_modem_manager_init (NMModemManager *s |
275 | +@@ -786,15 +951,20 @@ nm_modem_manager_init (NMModemManager *s |
276 | |
277 | self->priv->modems = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_object_unref); |
278 | |
279 | @@ -2077,8 +2065,6 @@ |
280 | |
281 | #if WITH_MODEM_MANAGER_1 |
282 | /* ModemManager >= 0.7 */ |
283 | -Index: b/src/modem-manager/nm-modem-ofono.h |
284 | -=================================================================== |
285 | --- /dev/null |
286 | +++ b/src/modem-manager/nm-modem-ofono.h |
287 | @@ -0,0 +1,56 @@ |
288 | @@ -2138,8 +2124,6 @@ |
289 | +G_END_DECLS |
290 | + |
291 | +#endif /* NM_MODEM_OFONO_H */ |
292 | -Index: b/include/NetworkManager.h |
293 | -=================================================================== |
294 | --- a/include/NetworkManager.h |
295 | +++ b/include/NetworkManager.h |
296 | @@ -309,6 +309,7 @@ typedef enum { |
297 | |
298 | === modified file 'debian/patches/add_sendsigs_omissions.patch' |
299 | --- debian/patches/add_sendsigs_omissions.patch 2014-04-08 00:30:45 +0000 |
300 | +++ debian/patches/add_sendsigs_omissions.patch 2014-06-20 21:41:36 +0000 |
301 | @@ -9,14 +9,12 @@ |
302 | |
303 | --- |
304 | src/dhcp-manager/nm-dhcp-dhclient.c | 2 +- |
305 | - src/dns-manager/nm-dns-dnsmasq.c | 4 ++++ |
306 | - 2 files changed, 5 insertions(+), 1 deletion(-) |
307 | + src/dns-manager/nm-dns-dnsmasq.c | 2 +- |
308 | + 2 files changed, 2 insertions(+), 2 deletions(-) |
309 | |
310 | -Index: b/src/dhcp-manager/nm-dhcp-dhclient.c |
311 | -=================================================================== |
312 | --- a/src/dhcp-manager/nm-dhcp-dhclient.c |
313 | +++ b/src/dhcp-manager/nm-dhcp-dhclient.c |
314 | -@@ -553,7 +553,7 @@ dhclient_start (NMDHCPClient *client, |
315 | +@@ -520,7 +520,7 @@ dhclient_start (NMDHCPClient *client, |
316 | return -1; |
317 | } |
318 | |
319 | @@ -25,8 +23,6 @@ |
320 | ipv6 ? "6" : "", |
321 | iface); |
322 | if (!pid_file) { |
323 | -Index: b/src/dns-manager/nm-dns-dnsmasq.c |
324 | -=================================================================== |
325 | --- a/src/dns-manager/nm-dns-dnsmasq.c |
326 | +++ b/src/dns-manager/nm-dns-dnsmasq.c |
327 | @@ -39,7 +39,7 @@ G_DEFINE_TYPE (NMDnsDnsmasq, nm_dns_dnsm |
328 | |
329 | === modified file 'debian/patches/adhoc_use_wpa_rsn_part1.patch' |
330 | --- debian/patches/adhoc_use_wpa_rsn_part1.patch 2013-02-22 17:35:24 +0000 |
331 | +++ debian/patches/adhoc_use_wpa_rsn_part1.patch 2014-06-20 21:41:36 +0000 |
332 | @@ -10,8 +10,6 @@ |
333 | src/settings/nm-settings.c | 45 --------------------------------- |
334 | 3 files changed, 109 deletions(-) |
335 | |
336 | -Index: b/libnm-util/nm-utils.c |
337 | -=================================================================== |
338 | --- a/libnm-util/nm-utils.c |
339 | +++ b/libnm-util/nm-utils.c |
340 | @@ -1325,8 +1325,6 @@ nm_utils_security_valid (NMUtilsSecurity |
341 | @@ -32,8 +30,6 @@ |
342 | if (!(wifi_caps & NM_WIFI_DEVICE_CAP_RSN)) |
343 | return FALSE; |
344 | if (have_ap) { |
345 | -Index: b/src/nm-device-wifi.c |
346 | -=================================================================== |
347 | --- a/src/nm-device-wifi.c |
348 | +++ b/src/nm-device-wifi.c |
349 | @@ -976,36 +976,6 @@ deactivate (NMDevice *dev) |
350 | @@ -107,7 +103,7 @@ |
351 | g_assert (ssid); |
352 | str_ssid = nm_utils_ssid_to_utf8 (ssid); |
353 | format = g_strdup_printf ("%s %%d", str_ssid); |
354 | -@@ -2973,16 +2923,6 @@ act_stage1_prepare (NMDevice *dev, NMDev |
355 | +@@ -2975,16 +2925,6 @@ act_stage1_prepare (NMDevice *dev, NMDev |
356 | } |
357 | g_object_notify (G_OBJECT (self), NM_DEVICE_WIFI_MODE); |
358 | |
359 | @@ -124,11 +120,9 @@ |
360 | /* Set spoof MAC to the interface */ |
361 | cloned_mac = nm_setting_wireless_get_cloned_mac_address (s_wireless); |
362 | if (cloned_mac && (cloned_mac->len == ETH_ALEN)) |
363 | -Index: b/src/settings/nm-settings.c |
364 | -=================================================================== |
365 | --- a/src/settings/nm-settings.c |
366 | +++ b/src/settings/nm-settings.c |
367 | -@@ -1065,38 +1065,6 @@ add_cb (NMSettings *self, |
368 | +@@ -1074,38 +1074,6 @@ add_cb (NMSettings *self, |
369 | dbus_g_method_return (context, nm_connection_get_path (NM_CONNECTION (connection))); |
370 | } |
371 | |
372 | @@ -167,7 +161,7 @@ |
373 | void |
374 | nm_settings_add_connection (NMSettings *self, |
375 | NMConnection *connection, |
376 | -@@ -1122,19 +1090,6 @@ nm_settings_add_connection (NMSettings * |
377 | +@@ -1131,19 +1099,6 @@ nm_settings_add_connection (NMSettings * |
378 | callback (self, NULL, error, context, user_data); |
379 | g_error_free (error); |
380 | return; |
381 | |
382 | === modified file 'debian/patches/adhoc_use_wpa_rsn_part2.patch' |
383 | --- debian/patches/adhoc_use_wpa_rsn_part2.patch 2013-02-22 17:44:08 +0000 |
384 | +++ debian/patches/adhoc_use_wpa_rsn_part2.patch 2014-06-20 21:41:36 +0000 |
385 | @@ -38,11 +38,9 @@ |
386 | src/wifi/wifi-utils-nl80211.c | 3 + |
387 | 14 files changed, 108 insertions(+), 162 deletions(-) |
388 | |
389 | -Index: b/include/NetworkManager.h |
390 | -=================================================================== |
391 | --- a/include/NetworkManager.h |
392 | +++ b/include/NetworkManager.h |
393 | -@@ -159,6 +159,7 @@ typedef enum { |
394 | +@@ -180,6 +180,7 @@ typedef enum { |
395 | * @NM_WIFI_DEVICE_CAP_RSN: device supports WPA2/RSN authentication |
396 | * @NM_WIFI_DEVICE_CAP_AP: device supports Access Point mode |
397 | * @NM_WIFI_DEVICE_CAP_ADHOC: device supports Ad-Hoc mode |
398 | @@ -50,7 +48,7 @@ |
399 | * |
400 | * 802.11 specific device encryption and authentication capabilities. |
401 | **/ |
402 | -@@ -171,7 +172,8 @@ typedef enum { |
403 | +@@ -192,7 +193,8 @@ typedef enum { |
404 | NM_WIFI_DEVICE_CAP_WPA = 0x00000010, |
405 | NM_WIFI_DEVICE_CAP_RSN = 0x00000020, |
406 | NM_WIFI_DEVICE_CAP_AP = 0x00000040, |
407 | @@ -60,8 +58,6 @@ |
408 | } NMDeviceWifiCapabilities; |
409 | |
410 | |
411 | -Index: b/libnm-glib/nm-device-wifi.c |
412 | -=================================================================== |
413 | --- a/libnm-glib/nm-device-wifi.c |
414 | +++ b/libnm-glib/nm-device-wifi.c |
415 | @@ -534,8 +534,7 @@ connection_compatible (NMDevice *device, |
416 | @@ -74,8 +70,6 @@ |
417 | || !g_strcmp0 (key_mgmt, "wpa-eap")) { |
418 | |
419 | /* Is device only WEP capable? */ |
420 | -Index: b/libnm-util/nm-setting-wireless-security.c |
421 | -=================================================================== |
422 | --- a/libnm-util/nm-setting-wireless-security.c |
423 | +++ b/libnm-util/nm-setting-wireless-security.c |
424 | @@ -732,8 +732,7 @@ need_secrets (NMSetting *setting) |
425 | @@ -162,8 +156,6 @@ |
426 | "or 'wpa-eap' (WPA-Enterprise). This property must " |
427 | "be set for any WiFi connection that uses security.", |
428 | NULL, |
429 | -Index: b/libnm-util/nm-setting-wireless.c |
430 | -=================================================================== |
431 | --- a/libnm-util/nm-setting-wireless.c |
432 | +++ b/libnm-util/nm-setting-wireless.c |
433 | @@ -190,11 +190,13 @@ nm_setting_wireless_ap_security_compatib |
434 | @@ -185,8 +177,6 @@ |
435 | } |
436 | |
437 | /* Adhoc WPA2 (ie, RSN IBSS) */ |
438 | -Index: b/libnm-util/nm-utils.c |
439 | -=================================================================== |
440 | --- a/libnm-util/nm-utils.c |
441 | +++ b/libnm-util/nm-utils.c |
442 | @@ -1327,25 +1327,16 @@ nm_utils_security_valid (NMUtilsSecurity |
443 | @@ -238,8 +228,6 @@ |
444 | return TRUE; |
445 | } else { |
446 | if (ap_rsn & NM_802_11_AP_SEC_KEY_MGMT_PSK) { |
447 | -Index: b/src/nm-wifi-ap-utils.c |
448 | -=================================================================== |
449 | --- a/src/nm-wifi-ap-utils.c |
450 | +++ b/src/nm-wifi-ap-utils.c |
451 | @@ -271,7 +271,7 @@ verify_wpa_psk (NMSettingWirelessSecurit |
452 | @@ -346,8 +334,6 @@ |
453 | } else if (s_8021x) { |
454 | g_object_set (s_wsec, |
455 | NM_SETTING_WIRELESS_SECURITY_KEY_MGMT, "wpa-eap", |
456 | -Index: b/src/nm-wifi-ap.c |
457 | -=================================================================== |
458 | --- a/src/nm-wifi-ap.c |
459 | +++ b/src/nm-wifi-ap.c |
460 | @@ -629,6 +629,7 @@ nm_ap_new_fake_from_connection (NMConnec |
461 | @@ -435,11 +421,9 @@ |
462 | |
463 | done: |
464 | return ap; |
465 | -Index: b/src/settings/plugins/ifcfg-rh/reader.c |
466 | -=================================================================== |
467 | --- a/src/settings/plugins/ifcfg-rh/reader.c |
468 | +++ b/src/settings/plugins/ifcfg-rh/reader.c |
469 | -@@ -1990,8 +1990,8 @@ fill_wpa_ciphers (shvarFile *ifcfg, |
470 | +@@ -2001,8 +2001,8 @@ fill_wpa_ciphers (shvarFile *ifcfg, |
471 | PLUGIN_WARN (IFCFG_PLUGIN_NAME, " warning: ignoring group cipher '%s' (only one group cipher allowed in Ad-Hoc mode)", |
472 | *iter); |
473 | continue; |
474 | @@ -450,7 +434,7 @@ |
475 | *iter); |
476 | continue; |
477 | } |
478 | -@@ -2777,8 +2777,8 @@ make_wpa_setting (shvarFile *ifcfg, |
479 | +@@ -2791,8 +2791,8 @@ make_wpa_setting (shvarFile *ifcfg, |
480 | |
481 | /* WPA and/or RSN */ |
482 | if (adhoc) { |
483 | @@ -461,7 +445,7 @@ |
484 | } else { |
485 | char *allow_wpa, *allow_rsn; |
486 | |
487 | -@@ -2817,10 +2817,7 @@ make_wpa_setting (shvarFile *ifcfg, |
488 | +@@ -2831,10 +2831,7 @@ make_wpa_setting (shvarFile *ifcfg, |
489 | } |
490 | } |
491 | |
492 | @@ -473,8 +457,6 @@ |
493 | } else if (!strcmp (value, "WPA-EAP") || !strcmp (value, "IEEE8021X")) { |
494 | /* Adhoc mode is mutually exclusive with any 802.1x-based authentication */ |
495 | if (adhoc) { |
496 | -Index: b/src/settings/plugins/ifcfg-rh/writer.c |
497 | -=================================================================== |
498 | --- a/src/settings/plugins/ifcfg-rh/writer.c |
499 | +++ b/src/settings/plugins/ifcfg-rh/writer.c |
500 | @@ -591,7 +591,7 @@ write_wireless_security_setting (NMConne |
501 | @@ -486,8 +468,6 @@ |
502 | svSetValue (ifcfg, "KEY_MGMT", "WPA-PSK", FALSE); |
503 | wpa = TRUE; |
504 | *no_8021x = TRUE; |
505 | -Index: b/src/settings/plugins/ifnet/connection_parser.c |
506 | -=================================================================== |
507 | --- a/src/settings/plugins/ifnet/connection_parser.c |
508 | +++ b/src/settings/plugins/ifnet/connection_parser.c |
509 | @@ -1353,23 +1353,6 @@ fill_wpa_ciphers (const char *ssid, |
510 | @@ -573,8 +553,6 @@ |
511 | wpa_set_data (conn_name, "key_mgmt", "WPA-PSK"); |
512 | wpa = TRUE; |
513 | *no_8021x = TRUE; |
514 | -Index: b/src/settings/plugins/ifnet/tests/wpa_supplicant.conf |
515 | -=================================================================== |
516 | --- a/src/settings/plugins/ifnet/tests/wpa_supplicant.conf |
517 | +++ b/src/settings/plugins/ifnet/tests/wpa_supplicant.conf |
518 | @@ -68,3 +68,15 @@ network={ |
519 | @@ -593,8 +571,6 @@ |
520 | + psk="secret passphrase" |
521 | +} |
522 | + |
523 | -Index: b/src/supplicant-manager/nm-supplicant-config.c |
524 | -=================================================================== |
525 | --- a/src/supplicant-manager/nm-supplicant-config.c |
526 | +++ b/src/supplicant-manager/nm-supplicant-config.c |
527 | @@ -651,8 +651,7 @@ nm_supplicant_config_add_setting_wireles |
528 | @@ -607,8 +583,6 @@ |
529 | || !strcmp (key_mgmt, "wpa-eap")) { |
530 | ADD_STRING_LIST_VAL (setting, wireless_security, proto, protos, "proto", ' ', TRUE, FALSE); |
531 | ADD_STRING_LIST_VAL (setting, wireless_security, pairwise, pairwise, "pairwise", ' ', TRUE, FALSE); |
532 | -Index: b/src/supplicant-manager/nm-supplicant-settings-verify.c |
533 | -=================================================================== |
534 | --- a/src/supplicant-manager/nm-supplicant-settings-verify.c |
535 | +++ b/src/supplicant-manager/nm-supplicant-settings-verify.c |
536 | @@ -70,7 +70,7 @@ static const struct validate_entry valid |
537 | @@ -620,11 +594,9 @@ |
538 | "NONE", NULL }; |
539 | const char * auth_alg_allowed[] = { "OPEN", "SHARED", "LEAP", NULL }; |
540 | const char * eap_allowed[] = { "LEAP", "MD5", "TLS", "PEAP", "TTLS", "SIM", |
541 | -Index: b/src/wifi/wifi-utils-nl80211.c |
542 | -=================================================================== |
543 | --- a/src/wifi/wifi-utils-nl80211.c |
544 | +++ b/src/wifi/wifi-utils-nl80211.c |
545 | -@@ -720,6 +720,9 @@ static int nl80211_wiphy_info_handler (s |
546 | +@@ -730,6 +730,9 @@ static int nl80211_wiphy_info_handler (s |
547 | } |
548 | } |
549 | |
550 | |
551 | === modified file 'debian/patches/bridge_ignore_without_connections.patch' |
552 | --- debian/patches/bridge_ignore_without_connections.patch 2013-01-21 23:59:00 +0000 |
553 | +++ debian/patches/bridge_ignore_without_connections.patch 2014-06-20 21:41:36 +0000 |
554 | @@ -8,11 +8,9 @@ |
555 | src/nm-manager.c | 27 ++++++++++++++++++++++++--- |
556 | 1 file changed, 24 insertions(+), 3 deletions(-) |
557 | |
558 | -Index: b/src/nm-manager.c |
559 | -=================================================================== |
560 | --- a/src/nm-manager.c |
561 | +++ b/src/nm-manager.c |
562 | -@@ -1723,7 +1723,7 @@ add_device (NMManager *self, NMDevice *d |
563 | +@@ -1921,7 +1921,7 @@ add_device (NMManager *self, NMDevice *d |
564 | static guint32 devcount = 0; |
565 | const GSList *unmanaged_specs; |
566 | NMConnection *existing = NULL; |
567 | @@ -21,7 +19,7 @@ |
568 | RfKillType rtype; |
569 | NMDeviceType devtype; |
570 | |
571 | -@@ -1775,6 +1775,14 @@ add_device (NMManager *self, NMDevice *d |
572 | +@@ -1973,6 +1973,14 @@ add_device (NMManager *self, NMDevice *d |
573 | g_signal_connect (device, NM_DEVICE_MODEM_ENABLE_CHANGED, |
574 | G_CALLBACK (manager_modem_enabled_changed), |
575 | self); |
576 | @@ -36,7 +34,7 @@ |
577 | } |
578 | |
579 | /* Update global rfkill state for this device type with the device's |
580 | -@@ -1823,7 +1831,8 @@ add_device (NMManager *self, NMDevice *d |
581 | +@@ -2021,7 +2029,8 @@ add_device (NMManager *self, NMDevice *d |
582 | /* Start the device if it's supposed to be managed */ |
583 | unmanaged_specs = nm_settings_get_unmanaged_specs (priv->settings); |
584 | if ( !manager_sleeping (self) |
585 | @@ -46,7 +44,7 @@ |
586 | nm_device_set_managed (device, |
587 | TRUE, |
588 | existing ? NM_DEVICE_STATE_REASON_CONNECTION_ASSUMED : |
589 | -@@ -3157,6 +3166,7 @@ do_sleep_wake (NMManager *self) |
590 | +@@ -3441,6 +3450,7 @@ do_sleep_wake (NMManager *self) |
591 | { |
592 | NMManagerPrivate *priv = NM_MANAGER_GET_PRIVATE (self); |
593 | const GSList *unmanaged_specs; |
594 | @@ -54,7 +52,7 @@ |
595 | GSList *iter; |
596 | |
597 | if (manager_sleeping (self)) { |
598 | -@@ -3182,6 +3192,7 @@ do_sleep_wake (NMManager *self) |
599 | +@@ -3466,6 +3476,7 @@ do_sleep_wake (NMManager *self) |
600 | /* Re-manage managed devices */ |
601 | for (iter = priv->devices; iter; iter = iter->next) { |
602 | NMDevice *device = NM_DEVICE (iter->data); |
603 | @@ -62,7 +60,7 @@ |
604 | guint i; |
605 | |
606 | /* enable/disable wireless devices since that we don't respond |
607 | -@@ -3201,9 +3212,19 @@ do_sleep_wake (NMManager *self) |
608 | +@@ -3485,9 +3496,19 @@ do_sleep_wake (NMManager *self) |
609 | nm_device_set_enabled (device, enabled); |
610 | } |
611 | |
612 | |
613 | === modified file 'debian/patches/connectivity_check_default_interval.patch' |
614 | --- debian/patches/connectivity_check_default_interval.patch 2014-01-31 17:05:11 +0000 |
615 | +++ debian/patches/connectivity_check_default_interval.patch 2014-06-20 21:41:36 +0000 |
616 | @@ -11,8 +11,6 @@ |
617 | src/nm-connectivity.c | 3 ++- |
618 | 3 files changed, 18 insertions(+), 3 deletions(-) |
619 | |
620 | -Index: b/src/nm-config.c |
621 | -=================================================================== |
622 | --- a/src/nm-config.c |
623 | +++ b/src/nm-config.c |
624 | @@ -22,6 +22,7 @@ |
625 | @@ -52,8 +50,6 @@ |
626 | |
627 | if (cli_connectivity_response && strlen (cli_connectivity_response)) |
628 | config->connectivity_response = g_strdup (cli_connectivity_response); |
629 | -Index: b/src/nm-connectivity.c |
630 | -=================================================================== |
631 | --- a/src/nm-connectivity.c |
632 | +++ b/src/nm-connectivity.c |
633 | @@ -26,6 +26,7 @@ |
634 | @@ -73,8 +69,6 @@ |
635 | G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); |
636 | |
637 | g_object_class_install_property |
638 | -Index: b/include/NetworkManager.h |
639 | -=================================================================== |
640 | --- a/include/NetworkManager.h |
641 | +++ b/include/NetworkManager.h |
642 | @@ -68,6 +68,8 @@ |
643 | |
644 | === modified file 'debian/patches/dns-dnsmasq-interface-and-dbus-path.patch' |
645 | --- debian/patches/dns-dnsmasq-interface-and-dbus-path.patch 2013-10-07 16:00:58 +0000 |
646 | +++ debian/patches/dns-dnsmasq-interface-and-dbus-path.patch 2014-06-20 21:41:36 +0000 |
647 | @@ -4,11 +4,9 @@ |
648 | src/org.freedesktop.NetworkManager.conf | 10 ++++++++++ |
649 | 3 files changed, 17 insertions(+), 7 deletions(-) |
650 | |
651 | -Index: b/src/dns-manager/nm-dns-dnsmasq.c |
652 | -=================================================================== |
653 | --- a/src/dns-manager/nm-dns-dnsmasq.c |
654 | +++ b/src/dns-manager/nm-dns-dnsmasq.c |
655 | -@@ -52,7 +52,7 @@ G_DEFINE_TYPE (NMDnsDnsmasq, nm_dns_dnsm |
656 | +@@ -48,7 +48,7 @@ G_DEFINE_TYPE (NMDnsDnsmasq, nm_dns_dnsm |
657 | #define CONFFILE NMRUNDIR "/dnsmasq.conf" |
658 | #define CONFDIR NMCONFDIR "/dnsmasq.d" |
659 | |
660 | @@ -17,7 +15,7 @@ |
661 | #define DNSMASQ_DBUS_PATH "/uk/org/thekelleys/dnsmasq" |
662 | #define DNSMASQ_DBUS_INTERFACE "uk.org.thekelleys.dnsmasq" |
663 | |
664 | -@@ -289,11 +289,11 @@ start_dnsmasq (NMDnsDnsmasq *self) |
665 | +@@ -285,11 +285,11 @@ start_dnsmasq (NMDnsDnsmasq *self) |
666 | argv[idx++] = "--no-hosts"; /* don't use /etc/hosts to resolve */ |
667 | argv[idx++] = "--bind-interfaces"; |
668 | argv[idx++] = "--pid-file=" PIDFILE; |
669 | @@ -31,7 +29,7 @@ |
670 | |
671 | /* dnsmasq exits if the conf dir is not present */ |
672 | if (g_file_test (CONFDIR, G_FILE_TEST_IS_DIR)) |
673 | -@@ -414,7 +414,7 @@ update (NMDnsPlugin *plugin, |
674 | +@@ -410,7 +410,7 @@ update (NMDnsPlugin *plugin, |
675 | |
676 | /* If all the configs lists are empty, there is just nothing to be caching -- |
677 | * we cleared up the dnsmasq cache; but we should also fail the update, so |
678 | @@ -40,8 +38,6 @@ |
679 | */ |
680 | if (((vpn_configs && g_slist_length (vpn_configs) < 1) || !vpn_configs) && |
681 | ((dev_configs && g_slist_length (dev_configs) < 1) || !dev_configs) && |
682 | -Index: b/src/dns-manager/nm-dns-manager.c |
683 | -=================================================================== |
684 | --- a/src/dns-manager/nm-dns-manager.c |
685 | +++ b/src/dns-manager/nm-dns-manager.c |
686 | @@ -728,7 +728,7 @@ update_dns (NMDnsManager *self, |
687 | @@ -71,14 +67,12 @@ |
688 | * DNS after disposing of all plugins. But if we haven't done any |
689 | * DNS updates yet, there's no reason to touch resolv.conf on shutdown. |
690 | */ |
691 | -Index: b/src/org.freedesktop.NetworkManager.conf |
692 | -=================================================================== |
693 | --- a/src/org.freedesktop.NetworkManager.conf |
694 | +++ b/src/org.freedesktop.NetworkManager.conf |
695 | -@@ -24,6 +24,13 @@ |
696 | - <allow send_destination="org.freedesktop.NetworkManager.pptp"/> |
697 | +@@ -25,6 +25,13 @@ |
698 | <allow send_destination="org.freedesktop.NetworkManager.vpnc"/> |
699 | <allow send_destination="org.freedesktop.NetworkManager.ssh"/> |
700 | + <allow send_destination="org.freedesktop.NetworkManager.iodine"/> |
701 | + |
702 | + <!-- Allow the custom name for the dnsmasq instance spawned by NM |
703 | + from the dns dnsmasq plugin to own it's dbus name, and for |
704 | @@ -89,7 +83,7 @@ |
705 | </policy> |
706 | <policy at_console="true"> |
707 | <allow send_destination="org.freedesktop.NetworkManager"/> |
708 | -@@ -130,6 +137,9 @@ |
709 | +@@ -131,6 +138,9 @@ |
710 | <deny send_destination="org.freedesktop.NetworkManager" |
711 | send_interface="org.freedesktop.NetworkManager" |
712 | send_member="wake"/> |
713 | |
714 | === modified file 'debian/patches/dnsmasq-dbus-updates.patch' |
715 | --- debian/patches/dnsmasq-dbus-updates.patch 2014-03-06 20:21:52 +0000 |
716 | +++ debian/patches/dnsmasq-dbus-updates.patch 2014-06-20 21:41:36 +0000 |
717 | @@ -10,8 +10,6 @@ |
718 | src/dns-manager/nm-dns-plugin.h | 1 |
719 | 4 files changed, 279 insertions(+), 134 deletions(-) |
720 | |
721 | -Index: b/src/dns-manager/nm-dns-dnsmasq.c |
722 | -=================================================================== |
723 | --- a/src/dns-manager/nm-dns-dnsmasq.c |
724 | +++ b/src/dns-manager/nm-dns-dnsmasq.c |
725 | @@ -29,11 +29,16 @@ |
726 | @@ -31,7 +29,7 @@ |
727 | |
728 | G_DEFINE_TYPE (NMDnsDnsmasq, nm_dns_dnsmasq, NM_TYPE_DNS_PLUGIN) |
729 | |
730 | -@@ -47,8 +52,13 @@ G_DEFINE_TYPE (NMDnsDnsmasq, nm_dns_dnsm |
731 | +@@ -43,8 +48,13 @@ G_DEFINE_TYPE (NMDnsDnsmasq, nm_dns_dnsm |
732 | #define CONFFILE NMRUNDIR "/dnsmasq.conf" |
733 | #define CONFDIR NMCONFDIR "/dnsmasq.d" |
734 | |
735 | @@ -46,7 +44,7 @@ |
736 | } NMDnsDnsmasqPrivate; |
737 | |
738 | /*******************************************/ |
739 | -@@ -73,12 +83,12 @@ find_dnsmasq (void) |
740 | +@@ -70,12 +80,12 @@ find_dnsmasq (void) |
741 | } |
742 | |
743 | static gboolean |
744 | @@ -61,7 +59,7 @@ |
745 | |
746 | nnameservers = nm_ip4_config_get_num_nameservers (ip4); |
747 | |
748 | -@@ -89,17 +99,18 @@ add_ip4_config (GString *str, NMIP4Confi |
749 | +@@ -86,17 +96,18 @@ add_ip4_config (GString *str, NMIP4Confi |
750 | return FALSE; |
751 | |
752 | for (i_nameserver = 0; i_nameserver < nnameservers; i_nameserver++) { |
753 | @@ -87,7 +85,7 @@ |
754 | added = TRUE; |
755 | } |
756 | |
757 | -@@ -107,9 +118,10 @@ add_ip4_config (GString *str, NMIP4Confi |
758 | +@@ -104,9 +115,10 @@ add_ip4_config (GString *str, NMIP4Confi |
759 | /* If not searches, use any domains */ |
760 | n = nm_ip4_config_get_num_domains (ip4); |
761 | for (i = 0; i < n; i++) { |
762 | @@ -101,7 +99,7 @@ |
763 | added = TRUE; |
764 | } |
765 | } |
766 | -@@ -120,7 +132,9 @@ add_ip4_config (GString *str, NMIP4Confi |
767 | +@@ -117,7 +129,9 @@ add_ip4_config (GString *str, NMIP4Confi |
768 | domains = nm_dns_utils_get_ip4_rdns_domains (ip4); |
769 | if (domains) { |
770 | for (iter = domains; iter && *iter; iter++) |
771 | @@ -112,7 +110,7 @@ |
772 | g_strfreev (domains); |
773 | added = TRUE; |
774 | } |
775 | -@@ -130,68 +144,20 @@ add_ip4_config (GString *str, NMIP4Confi |
776 | +@@ -127,68 +141,20 @@ add_ip4_config (GString *str, NMIP4Confi |
777 | /* If no searches or domains, just add the namservers */ |
778 | if (!added) { |
779 | for (i = 0; i < nnameservers; i++) { |
780 | @@ -186,7 +184,7 @@ |
781 | int nnameservers, i_nameserver, n, i; |
782 | gboolean added = FALSE; |
783 | const char *iface; |
784 | -@@ -207,16 +173,32 @@ add_ip6_config (GString *str, NMIP6Confi |
785 | +@@ -204,16 +170,32 @@ add_ip6_config (GString *str, NMIP6Confi |
786 | |
787 | for (i_nameserver = 0; i_nameserver < nnameservers; i_nameserver++) { |
788 | addr = nm_ip6_config_get_nameserver (ip6, i_nameserver); |
789 | @@ -225,7 +223,7 @@ |
790 | added = TRUE; |
791 | } |
792 | |
793 | -@@ -224,26 +206,38 @@ add_ip6_config (GString *str, NMIP6Confi |
794 | +@@ -221,26 +203,38 @@ add_ip6_config (GString *str, NMIP6Confi |
795 | /* If not searches, use any domains */ |
796 | n = nm_ip6_config_get_num_domains (ip6); |
797 | for (i = 0; i < n; i++) { |
798 | @@ -274,7 +272,7 @@ |
799 | } |
800 | } |
801 | |
802 | -@@ -251,6 +245,71 @@ add_ip6_config (GString *str, NMIP6Confi |
803 | +@@ -248,6 +242,71 @@ add_ip6_config (GString *str, NMIP6Confi |
804 | } |
805 | |
806 | static gboolean |
807 | @@ -346,7 +344,7 @@ |
808 | update (NMDnsPlugin *plugin, |
809 | const GSList *vpn_configs, |
810 | const GSList *dev_configs, |
811 | -@@ -258,24 +317,29 @@ update (NMDnsPlugin *plugin, |
812 | +@@ -255,24 +314,29 @@ update (NMDnsPlugin *plugin, |
813 | const char *hostname) |
814 | { |
815 | NMDnsDnsmasq *self = NM_DNS_DNSMASQ (plugin); |
816 | @@ -389,7 +387,7 @@ |
817 | |
818 | /* Work on a copy of the vpn_configs list because we might want to remove |
819 | * some items from it, yet not affect other DNS plugins that might run |
820 | -@@ -292,9 +356,9 @@ update (NMDnsPlugin *plugin, |
821 | +@@ -289,9 +353,9 @@ update (NMDnsPlugin *plugin, |
822 | might_default = !nm_ip6_config_get_never_default (iter->data); |
823 | if (might_default) { |
824 | if (NM_IS_IP4_CONFIG (iter->data)) |
825 | @@ -401,7 +399,7 @@ |
826 | vpn_configs_copy = g_slist_remove (vpn_configs_copy, iter->data); |
827 | break; |
828 | } |
829 | -@@ -303,9 +367,9 @@ update (NMDnsPlugin *plugin, |
830 | +@@ -300,9 +364,9 @@ update (NMDnsPlugin *plugin, |
831 | /* Use split DNS for remaining VPN configs */ |
832 | for (iter = (GSList *) vpn_configs_copy; iter; iter = g_slist_next (iter)) { |
833 | if (NM_IS_IP4_CONFIG (iter->data)) |
834 | @@ -413,7 +411,7 @@ |
835 | } |
836 | |
837 | /* Now add interface configs without split DNS, unless some VPN |
838 | -@@ -316,62 +380,84 @@ update (NMDnsPlugin *plugin, |
839 | +@@ -313,62 +377,84 @@ update (NMDnsPlugin *plugin, |
840 | if (!might_default) { |
841 | for (iter = (GSList *) dev_configs; iter; iter = g_slist_next (iter)) { |
842 | if (NM_IS_IP4_CONFIG (iter->data)) |
843 | @@ -532,7 +530,7 @@ |
844 | static const char * |
845 | dm_exit_code_to_msg (int status) |
846 | { |
847 | -@@ -449,13 +535,31 @@ nm_dns_dnsmasq_new (void) |
848 | +@@ -446,13 +532,31 @@ nm_dns_dnsmasq_new (void) |
849 | static void |
850 | nm_dns_dnsmasq_init (NMDnsDnsmasq *self) |
851 | { |
852 | @@ -564,8 +562,6 @@ |
853 | G_OBJECT_CLASS (nm_dns_dnsmasq_parent_class)->dispose (object); |
854 | } |
855 | |
856 | -Index: b/src/dns-manager/nm-dns-plugin.c |
857 | -=================================================================== |
858 | --- a/src/dns-manager/nm-dns-plugin.c |
859 | +++ b/src/dns-manager/nm-dns-plugin.c |
860 | @@ -44,6 +44,7 @@ G_DEFINE_TYPE_EXTENDED (NMDnsPlugin, nm_ |
861 | @@ -605,8 +601,6 @@ |
862 | NULL, NULL, |
863 | g_cclosure_marshal_VOID__VOID, |
864 | G_TYPE_NONE, 0); |
865 | -Index: b/src/dns-manager/nm-dns-manager.c |
866 | -=================================================================== |
867 | --- a/src/dns-manager/nm-dns-manager.c |
868 | +++ b/src/dns-manager/nm-dns-manager.c |
869 | @@ -768,6 +768,27 @@ update_dns (NMDnsManager *self, |
870 | @@ -647,8 +641,6 @@ |
871 | g_signal_connect (plugin, NM_DNS_PLUGIN_FAILED, |
872 | G_CALLBACK (plugin_failed), |
873 | self); |
874 | -Index: b/src/dns-manager/nm-dns-plugin.h |
875 | -=================================================================== |
876 | --- a/src/dns-manager/nm-dns-plugin.h |
877 | +++ b/src/dns-manager/nm-dns-plugin.h |
878 | @@ -30,6 +30,7 @@ |
879 | |
880 | === modified file 'debian/patches/dnsmasq-vpn-dns-filtering.patch' |
881 | --- debian/patches/dnsmasq-vpn-dns-filtering.patch 2013-02-22 16:20:01 +0000 |
882 | +++ debian/patches/dnsmasq-vpn-dns-filtering.patch 2014-06-20 21:41:36 +0000 |
883 | @@ -6,11 +6,9 @@ |
884 | src/dns-manager/nm-dns-dnsmasq.c | 48 +++++++++++++++++++++++++++++++-------- |
885 | 1 file changed, 39 insertions(+), 9 deletions(-) |
886 | |
887 | -Index: b/src/dns-manager/nm-dns-dnsmasq.c |
888 | -=================================================================== |
889 | --- a/src/dns-manager/nm-dns-dnsmasq.c |
890 | +++ b/src/dns-manager/nm-dns-dnsmasq.c |
891 | -@@ -255,12 +255,13 @@ update (NMDnsPlugin *plugin, |
892 | +@@ -254,12 +254,13 @@ update (NMDnsPlugin *plugin, |
893 | { |
894 | NMDnsDnsmasq *self = NM_DNS_DNSMASQ (plugin); |
895 | GString *conf; |
896 | @@ -25,7 +23,7 @@ |
897 | |
898 | /* Kill the old dnsmasq; there doesn't appear to be a way to get dnsmasq |
899 | * to reread the config file using SIGHUP or similar. This is a small race |
900 | -@@ -272,20 +273,49 @@ update (NMDnsPlugin *plugin, |
901 | +@@ -271,20 +272,49 @@ update (NMDnsPlugin *plugin, |
902 | /* Build up the new dnsmasq config file */ |
903 | conf = g_string_sized_new (150); |
904 | |
905 | |
906 | === modified file 'debian/patches/dont-check-secrets-for-ofono.patch' |
907 | --- debian/patches/dont-check-secrets-for-ofono.patch 2014-05-01 17:36:54 +0000 |
908 | +++ debian/patches/dont-check-secrets-for-ofono.patch 2014-06-20 21:41:36 +0000 |
909 | @@ -9,11 +9,9 @@ |
910 | src/modem-manager/nm-modem-ofono.c | 12 +++++++++--- |
911 | 1 file changed, 9 insertions(+), 3 deletions(-) |
912 | |
913 | -Index: b/src/modem-manager/nm-modem-ofono.c |
914 | -=================================================================== |
915 | --- a/src/modem-manager/nm-modem-ofono.c |
916 | +++ b/src/modem-manager/nm-modem-ofono.c |
917 | -@@ -1048,8 +1048,13 @@ act_stage1_prepare (NMModem *modem, |
918 | +@@ -1049,8 +1049,13 @@ act_stage1_prepare (NMModem *modem, |
919 | id[2]); |
920 | g_strfreev (id); |
921 | |
922 | @@ -29,7 +27,7 @@ |
923 | gboolean enabled = nm_modem_get_mm_enabled (modem); |
924 | |
925 | if (priv->connect_properties) |
926 | -@@ -1065,7 +1070,8 @@ act_stage1_prepare (NMModem *modem, |
927 | +@@ -1066,7 +1071,8 @@ act_stage1_prepare (NMModem *modem, |
928 | do_context_activate (self, priv->context_path); |
929 | } |
930 | } else { |
931 | |
932 | === modified file 'debian/patches/enable-ipv6-privacy.patch' |
933 | --- debian/patches/enable-ipv6-privacy.patch 2012-03-08 22:06:06 +0000 |
934 | +++ debian/patches/enable-ipv6-privacy.patch 2014-06-20 21:41:36 +0000 |
935 | @@ -5,11 +5,9 @@ |
936 | libnm-util/nm-setting-ip6-config.c | 2 +- |
937 | 1 file changed, 1 insertion(+), 1 deletion(-) |
938 | |
939 | -Index: b/libnm-util/nm-setting-ip6-config.c |
940 | -=================================================================== |
941 | --- a/libnm-util/nm-setting-ip6-config.c |
942 | +++ b/libnm-util/nm-setting-ip6-config.c |
943 | -@@ -1084,7 +1084,7 @@ nm_setting_ip6_config_class_init (NMSett |
944 | +@@ -1171,7 +1171,7 @@ nm_setting_ip6_config_class_init (NMSett |
945 | "2: enabled (prefer temporary addresses).", |
946 | NM_SETTING_IP6_CONFIG_PRIVACY_UNKNOWN, |
947 | NM_SETTING_IP6_CONFIG_PRIVACY_PREFER_TEMP_ADDR, |
948 | |
949 | === removed file 'debian/patches/git_agent_removing_requests_b2312d4.patch' |
950 | --- debian/patches/git_agent_removing_requests_b2312d4.patch 2014-01-29 10:05:27 +0000 |
951 | +++ debian/patches/git_agent_removing_requests_b2312d4.patch 1970-01-01 00:00:00 +0000 |
952 | @@ -1,120 +0,0 @@ |
953 | -From b2312d45c473088de450a4a6e6b4e173b855f18d Mon Sep 17 00:00:00 2001 |
954 | -From: Jiřà Klimeš <jklimes@redhat.com> |
955 | -Date: Wed, 27 Nov 2013 11:52:42 +0000 |
956 | -Subject: agents: fix removing requests from hash table while iterating it |
957 | - |
958 | -GLib-CRITICAL **: g_hash_table_iter_next: assertion 'ri->version == ri->hash_table->version' failed |
959 | - |
960 | -It is not allowed to modify hash table while it is iterated. Unfortunately, |
961 | -request_remove_agent() may remove the request from the 'requests' hash table, |
962 | -making it not usable in the loop hash table looping. |
963 | - |
964 | -Test case: |
965 | -1. start NM and nm-applet |
966 | -2. activate a Wi-Fi WPA connection |
967 | -3. nm-applet displays a dialog asking for a password |
968 | -4. kill nm-applet |
969 | ---- |
970 | -diff --git a/src/settings/nm-agent-manager.c b/src/settings/nm-agent-manager.c |
971 | -index bf27419..e20afe3 100644 |
972 | ---- a/src/settings/nm-agent-manager.c |
973 | -+++ b/src/settings/nm-agent-manager.c |
974 | -@@ -74,7 +74,7 @@ static void request_add_agent (Request *req, |
975 | - NMSecretAgent *agent, |
976 | - NMSessionMonitor *session_monitor); |
977 | - |
978 | --static void request_remove_agent (Request *req, NMSecretAgent *agent); |
979 | -+static void request_remove_agent (gpointer key, gpointer value, gpointer user_data); |
980 | - |
981 | - static void impl_agent_manager_register (NMAgentManager *self, |
982 | - const char *identifier, |
983 | -@@ -101,13 +101,60 @@ nm_agent_manager_error_quark (void) |
984 | - |
985 | - /*************************************************************/ |
986 | - |
987 | -+/*----------------------------------------------------------------------------*/ |
988 | -+/* GHashTable safe iterating function: x_g_hash_table_safe_for_each() |
989 | -+ * GHashTable can't be modified while iterating, the common solution for that is |
990 | -+ * to flatten the hash table first and iterate over list. |
991 | -+ * Taken from https://github.com/linuxmint/nemo/blob/master/eel/eel-glib-extensions.c |
992 | -+ */ |
993 | -+typedef struct { |
994 | -+ GList *keys; |
995 | -+ GList *values; |
996 | -+} FlattenedHashTable; |
997 | -+ |
998 | -+static void |
999 | -+flatten_hash_table_element (gpointer key, gpointer value, gpointer callback_data) |
1000 | -+{ |
1001 | -+ FlattenedHashTable *flattened_table; |
1002 | -+ |
1003 | -+ flattened_table = callback_data; |
1004 | -+ flattened_table->keys = g_list_prepend |
1005 | -+ (flattened_table->keys, key); |
1006 | -+ flattened_table->values = g_list_prepend |
1007 | -+ (flattened_table->values, value); |
1008 | -+} |
1009 | -+ |
1010 | -+static void |
1011 | -+x_g_hash_table_safe_for_each (GHashTable *hash_table, |
1012 | -+ GHFunc callback, |
1013 | -+ gpointer callback_data) |
1014 | -+{ |
1015 | -+ FlattenedHashTable flattened; |
1016 | -+ GList *p, *q; |
1017 | -+ |
1018 | -+ flattened.keys = NULL; |
1019 | -+ flattened.values = NULL; |
1020 | -+ |
1021 | -+ g_hash_table_foreach (hash_table, |
1022 | -+ flatten_hash_table_element, |
1023 | -+ &flattened); |
1024 | -+ |
1025 | -+ for (p = flattened.keys, q = flattened.values; |
1026 | -+ p != NULL; |
1027 | -+ p = p->next, q = q->next) { |
1028 | -+ (* callback) (p->data, q->data, callback_data); |
1029 | -+ } |
1030 | -+ |
1031 | -+ g_list_free (flattened.keys); |
1032 | -+ g_list_free (flattened.values); |
1033 | -+} |
1034 | -+/*----------------------------------------------------------------------------*/ |
1035 | -+ |
1036 | - static gboolean |
1037 | - remove_agent (NMAgentManager *self, const char *owner) |
1038 | - { |
1039 | - NMAgentManagerPrivate *priv = NM_AGENT_MANAGER_GET_PRIVATE (self); |
1040 | - NMSecretAgent *agent; |
1041 | -- GHashTableIter iter; |
1042 | -- gpointer data; |
1043 | - |
1044 | - g_return_val_if_fail (owner != NULL, FALSE); |
1045 | - |
1046 | -@@ -119,10 +166,8 @@ remove_agent (NMAgentManager *self, const char *owner) |
1047 | - nm_log_dbg (LOGD_AGENTS, "(%s) agent unregistered", |
1048 | - nm_secret_agent_get_description (agent)); |
1049 | - |
1050 | -- /* Remove this agent to any in-progress secrets requests */ |
1051 | -- g_hash_table_iter_init (&iter, priv->requests); |
1052 | -- while (g_hash_table_iter_next (&iter, NULL, &data)) |
1053 | -- request_remove_agent ((Request *) data, agent); |
1054 | -+ /* Remove this agent from any in-progress secrets requests */ |
1055 | -+ x_g_hash_table_safe_for_each (priv->requests, request_remove_agent, agent); |
1056 | - |
1057 | - /* And dispose of the agent */ |
1058 | - g_hash_table_remove (priv->agents, owner); |
1059 | -@@ -594,8 +639,10 @@ request_add_agents (NMAgentManager *self, Request *req) |
1060 | - } |
1061 | - |
1062 | - static void |
1063 | --request_remove_agent (Request *req, NMSecretAgent *agent) |
1064 | -+request_remove_agent (gpointer key, gpointer value, gpointer user_data) |
1065 | - { |
1066 | -+ Request *req = (Request *) value; |
1067 | -+ NMSecretAgent *agent = (NMSecretAgent *) user_data; |
1068 | - gboolean try_next = FALSE; |
1069 | - const char *detail = ""; |
1070 | - |
1071 | --- |
1072 | -cgit v0.9.0.2-2-gbebe |
1073 | |
1074 | === removed file 'debian/patches/git_default_route_active_device_9820258.patch' |
1075 | --- debian/patches/git_default_route_active_device_9820258.patch 2014-05-01 17:36:54 +0000 |
1076 | +++ debian/patches/git_default_route_active_device_9820258.patch 1970-01-01 00:00:00 +0000 |
1077 | @@ -1,127 +0,0 @@ |
1078 | -From 98202586d069bcb7aad3aa99a136d8519c1f3549 Mon Sep 17 00:00:00 2001 |
1079 | -From: Thomas Haller <thaller@redhat.com> |
1080 | -Date: Thu, 27 Feb 2014 15:27:57 +0000 |
1081 | -Subject: core: default route should stay on the current active device |
1082 | - |
1083 | -get_best_ip4_device() and get_best_ip6_device() iterate over |
1084 | -the list of devices to find the device with the default route. |
1085 | -The order of iteration is arbitrarly choosen. |
1086 | - |
1087 | -Before, if two devices had the same priority, it would choose |
1088 | -the first one. Change it so that the device which currently has |
1089 | -the default route keeps it -- until it gets deactivated or a higher |
1090 | -priorty device gets connected. |
1091 | - |
1092 | -Signed-off-by: Thomas Haller <thaller@redhat.com> |
1093 | - |
1094 | -(cherry picked from commit 033285062757f912f39bec9fc0fab5e5127386f5) |
1095 | ---- |
1096 | -diff --git a/src/nm-policy.c b/src/nm-policy.c |
1097 | -index c6ce0b5..f95caf9 100644 |
1098 | ---- a/src/nm-policy.c |
1099 | -+++ b/src/nm-policy.c |
1100 | -@@ -97,16 +97,14 @@ static void schedule_activate_all (NMPolicy *policy); |
1101 | - |
1102 | - |
1103 | - static NMDevice * |
1104 | --get_best_ip4_device (NMManager *manager, gboolean fully_activated) |
1105 | -+get_best_ip4_device (NMPolicy *self, gboolean fully_activated) |
1106 | - { |
1107 | -+ NMPolicyPrivate *priv = NM_POLICY_GET_PRIVATE (self); |
1108 | - GSList *devices, *iter; |
1109 | - NMDevice *best = NULL; |
1110 | - int best_prio = G_MAXINT; |
1111 | - |
1112 | -- g_return_val_if_fail (manager != NULL, NULL); |
1113 | -- g_return_val_if_fail (NM_IS_MANAGER (manager), NULL); |
1114 | -- |
1115 | -- devices = nm_manager_get_devices (manager); |
1116 | -+ devices = nm_manager_get_devices (priv->manager); |
1117 | - for (iter = devices; iter; iter = g_slist_next (iter)) { |
1118 | - NMDevice *dev = NM_DEVICE (iter->data); |
1119 | - NMDeviceType devtype = nm_device_get_device_type (dev); |
1120 | -@@ -167,7 +165,9 @@ get_best_ip4_device (NMManager *manager, gboolean fully_activated) |
1121 | - } |
1122 | - |
1123 | - prio = nm_device_get_priority (dev); |
1124 | -- if (prio > 0 && prio < best_prio) { |
1125 | -+ if ( prio < best_prio |
1126 | -+ || (priv->default_device4 == dev && prio == best_prio) |
1127 | -+ || !best) { |
1128 | - best = dev; |
1129 | - best_prio = prio; |
1130 | - } |
1131 | -@@ -191,16 +191,14 @@ get_best_ip4_device (NMManager *manager, gboolean fully_activated) |
1132 | - } |
1133 | - |
1134 | - static NMDevice * |
1135 | --get_best_ip6_device (NMManager *manager, gboolean fully_activated) |
1136 | -+get_best_ip6_device (NMPolicy *self, gboolean fully_activated) |
1137 | - { |
1138 | -+ NMPolicyPrivate *priv = NM_POLICY_GET_PRIVATE (self); |
1139 | - GSList *devices, *iter; |
1140 | - NMDevice *best = NULL; |
1141 | - int best_prio = G_MAXINT; |
1142 | - |
1143 | -- g_return_val_if_fail (manager != NULL, NULL); |
1144 | -- g_return_val_if_fail (NM_IS_MANAGER (manager), NULL); |
1145 | -- |
1146 | -- devices = nm_manager_get_devices (manager); |
1147 | -+ devices = nm_manager_get_devices (priv->manager); |
1148 | - for (iter = devices; iter; iter = g_slist_next (iter)) { |
1149 | - NMDevice *dev = NM_DEVICE (iter->data); |
1150 | - NMDeviceType devtype = nm_device_get_device_type (dev); |
1151 | -@@ -257,7 +255,9 @@ get_best_ip6_device (NMManager *manager, gboolean fully_activated) |
1152 | - } |
1153 | - |
1154 | - prio = nm_device_get_priority (dev); |
1155 | -- if (prio > 0 && prio < best_prio) { |
1156 | -+ if ( prio < best_prio |
1157 | -+ || (priv->default_device6 == dev && prio == best_prio) |
1158 | -+ || !best) { |
1159 | - best = dev; |
1160 | - best_prio = prio; |
1161 | - } |
1162 | -@@ -383,9 +383,9 @@ update_system_hostname (NMPolicy *policy, NMDevice *best4, NMDevice *best6) |
1163 | - |
1164 | - /* Try automatically determined hostname from the best device's IP config */ |
1165 | - if (!best4) |
1166 | -- best4 = get_best_ip4_device (priv->manager, TRUE); |
1167 | -+ best4 = get_best_ip4_device (policy, TRUE); |
1168 | - if (!best6) |
1169 | -- best6 = get_best_ip6_device (priv->manager, TRUE); |
1170 | -+ best6 = get_best_ip6_device (policy, TRUE); |
1171 | - |
1172 | - if (!best4 && !best6) { |
1173 | - /* No best device; fall back to original hostname or if there wasn't |
1174 | -@@ -582,7 +582,7 @@ get_best_ip4_config (NMPolicy *policy, |
1175 | - |
1176 | - /* If no VPN connections, we use the best device instead */ |
1177 | - if (!ip4_config) { |
1178 | -- device = get_best_ip4_device (priv->manager, TRUE); |
1179 | -+ device = get_best_ip4_device (policy, TRUE); |
1180 | - if (device) { |
1181 | - ip4_config = nm_device_get_ip4_config (device); |
1182 | - g_assert (ip4_config); |
1183 | -@@ -766,7 +766,7 @@ get_best_ip6_config (NMPolicy *policy, |
1184 | - |
1185 | - /* If no VPN connections, we use the best device instead */ |
1186 | - if (!ip6_config) { |
1187 | -- device = get_best_ip6_device (priv->manager, TRUE); |
1188 | -+ device = get_best_ip6_device (policy, TRUE); |
1189 | - if (device) { |
1190 | - req = nm_device_get_act_request (device); |
1191 | - g_assert (req); |
1192 | -@@ -923,8 +923,8 @@ check_activating_devices (NMPolicy *policy) |
1193 | - GObject *object = G_OBJECT (policy); |
1194 | - NMDevice *best4, *best6 = NULL; |
1195 | - |
1196 | -- best4 = get_best_ip4_device (priv->manager, FALSE); |
1197 | -- best6 = get_best_ip6_device (priv->manager, FALSE); |
1198 | -+ best4 = get_best_ip4_device (policy, FALSE); |
1199 | -+ best6 = get_best_ip6_device (policy, FALSE); |
1200 | - |
1201 | - g_object_freeze_notify (object); |
1202 | - |
1203 | --- |
1204 | -cgit v0.9.0.2-2-gbebe |
1205 | |
1206 | === modified file 'debian/patches/git_disp_logging_crash_aca907f.patch' |
1207 | --- debian/patches/git_disp_logging_crash_aca907f.patch 2014-01-29 10:13:39 +0000 |
1208 | +++ debian/patches/git_disp_logging_crash_aca907f.patch 2014-06-20 21:41:36 +0000 |
1209 | @@ -21,8 +21,10 @@ |
1210 | |
1211 | Signed-off-by: Thomas Haller <thaller@redhat.com> |
1212 | --- |
1213 | -diff --git a/callouts/nm-dispatcher-action.c b/callouts/nm-dispatcher-action.c |
1214 | -index 0e4b11a..ed16a23 100644 |
1215 | +--- |
1216 | + callouts/nm-dispatcher-action.c | 28 +++++++++------------------- |
1217 | + 1 file changed, 9 insertions(+), 19 deletions(-) |
1218 | + |
1219 | --- a/callouts/nm-dispatcher-action.c |
1220 | +++ b/callouts/nm-dispatcher-action.c |
1221 | @@ -31,6 +31,7 @@ |
1222 | @@ -33,7 +35,7 @@ |
1223 | #include <dbus/dbus.h> |
1224 | #include <dbus/dbus-glib-lowlevel.h> |
1225 | #include <dbus/dbus-glib.h> |
1226 | -@@ -594,27 +595,15 @@ logging_shutdown (void) |
1227 | +@@ -596,27 +597,15 @@ logging_shutdown (void) |
1228 | closelog (); |
1229 | } |
1230 | |
1231 | @@ -54,21 +56,20 @@ |
1232 | -{ |
1233 | - struct sigaction action; |
1234 | - sigset_t mask; |
1235 | -- |
1236 | ++ g_message ("Caught signal %d, shutting down...", signo); |
1237 | ++ g_main_loop_quit (loop); |
1238 | + |
1239 | - sigemptyset (&mask); |
1240 | - action.sa_handler = signal_handler; |
1241 | - action.sa_mask = mask; |
1242 | - action.sa_flags = 0; |
1243 | - sigaction (SIGTERM, &action, NULL); |
1244 | - sigaction (SIGINT, &action, NULL); |
1245 | -+ g_message ("Caught signal %d, shutting down...", signo); |
1246 | -+ g_main_loop_quit (loop); |
1247 | -+ |
1248 | + return G_SOURCE_REMOVE; |
1249 | } |
1250 | |
1251 | int |
1252 | -@@ -645,7 +634,8 @@ main (int argc, char **argv) |
1253 | +@@ -647,7 +636,8 @@ main (int argc, char **argv) |
1254 | g_option_context_free (opt_ctx); |
1255 | |
1256 | g_type_init (); |
1257 | @@ -78,5 +79,3 @@ |
1258 | |
1259 | if (!debug) |
1260 | logging_setup (); |
1261 | --- |
1262 | -cgit v0.9.0.2-2-gbebe |
1263 | |
1264 | === removed file 'debian/patches/git_fix_shadowed_var_abe208e.patch' |
1265 | --- debian/patches/git_fix_shadowed_var_abe208e.patch 2014-01-29 10:38:25 +0000 |
1266 | +++ debian/patches/git_fix_shadowed_var_abe208e.patch 1970-01-01 00:00:00 +0000 |
1267 | @@ -1,34 +0,0 @@ |
1268 | -From abe208ed8d6c5dcd77300d46f599a2375c18fd10 Mon Sep 17 00:00:00 2001 |
1269 | -From: Dan Williams <dcbw@redhat.com> |
1270 | -Date: Wed, 18 Dec 2013 18:31:39 +0000 |
1271 | -Subject: core: fix shadowed local variable |
1272 | - |
1273 | ---- |
1274 | -diff --git a/src/nm-system.c b/src/nm-system.c |
1275 | -index 7f6de91..3998342 100644 |
1276 | ---- a/src/nm-system.c |
1277 | -+++ b/src/nm-system.c |
1278 | -@@ -1696,15 +1696,15 @@ nm_system_bond_enslave (gint master_ifindex, |
1279 | - g_assert (!nm_system_iface_is_up (slave_ifindex)); |
1280 | - |
1281 | - if (nm_system_iface_get_flags (slave_ifindex) & IFF_SLAVE) { |
1282 | -- struct rtnl_link *link; |
1283 | -+ struct rtnl_link *lk; |
1284 | - int existing_master = -1; |
1285 | - |
1286 | - /* Get the ifindex of the existing master device */ |
1287 | -- link = nm_netlink_index_to_rtnl_link (slave_ifindex); |
1288 | -- g_warn_if_fail (link != NULL); |
1289 | -- if (link) { |
1290 | -- existing_master = rtnl_link_get_master (link); |
1291 | -- rtnl_link_put (link); |
1292 | -+ lk = nm_netlink_index_to_rtnl_link (slave_ifindex); |
1293 | -+ g_warn_if_fail (lk != NULL); |
1294 | -+ if (lk) { |
1295 | -+ existing_master = rtnl_link_get_master (lk); |
1296 | -+ rtnl_link_put (lk); |
1297 | - } |
1298 | - |
1299 | - if (existing_master > 0) { |
1300 | --- |
1301 | -cgit v0.9.0.2-2-gbebe |
1302 | |
1303 | === removed file 'debian/patches/git_kernel_ipv6_default_route_77de91e.patch' |
1304 | --- debian/patches/git_kernel_ipv6_default_route_77de91e.patch 2012-05-22 22:10:35 +0000 |
1305 | +++ debian/patches/git_kernel_ipv6_default_route_77de91e.patch 1970-01-01 00:00:00 +0000 |
1306 | @@ -1,121 +0,0 @@ |
1307 | -From 77de91e5a8b1c1993ae65c54b37e0411e78e6fe6 Mon Sep 17 00:00:00 2001 |
1308 | -From: Dan Winship <danw@gnome.org> |
1309 | -Date: Thu, 19 Apr 2012 18:27:12 +0000 |
1310 | -Subject: core: don't fight with the kernel over the default IPv6 route |
1311 | - |
1312 | -The kernel wants there to be a default route over every RA-ed IPv6 |
1313 | -interface, and it gets confused and annoyed if we remove that default |
1314 | -route and replace it with our own (causing it to effectively drop all |
1315 | -further RAs on the floor, which is particularly bad if some of the |
1316 | -information in the earlier RA had an expiration time). |
1317 | - |
1318 | -So, rather than replacing the kernel's default route(s), just add an |
1319 | -additional one of our own, with a lower (ie, higher priority) metric. |
1320 | - |
1321 | -https://bugzilla.redhat.com/show_bug.cgi?id=785772 |
1322 | ---- |
1323 | -diff --git a/src/nm-system.c b/src/nm-system.c |
1324 | -index 91153ec..4cebb13 100644 |
1325 | ---- a/src/nm-system.c |
1326 | -+++ b/src/nm-system.c |
1327 | -@@ -1023,7 +1023,7 @@ add_ip6_route_to_gateway (int ifindex, const struct in6_addr *gw) |
1328 | - } |
1329 | - |
1330 | - static int |
1331 | --replace_default_ip6_route (int ifindex, const struct in6_addr *gw) |
1332 | -+add_default_ip6_route (int ifindex, const struct in6_addr *gw) |
1333 | - { |
1334 | - struct rtnl_route *route = NULL; |
1335 | - struct nl_sock *nlh; |
1336 | -@@ -1037,22 +1037,36 @@ replace_default_ip6_route (int ifindex, const struct in6_addr *gw) |
1337 | - route = nm_netlink_route_new (ifindex, AF_INET6, 0, |
1338 | - NMNL_PROP_SCOPE, RT_SCOPE_UNIVERSE, |
1339 | - NMNL_PROP_TABLE, RT_TABLE_MAIN, |
1340 | -+ NMNL_PROP_PRIO, 1, |
1341 | - NULL); |
1342 | - g_return_val_if_fail (route != NULL, -ENOMEM); |
1343 | - |
1344 | - /* Add the new default route */ |
1345 | -- err = nm_netlink_route6_add (route, &in6addr_any, 0, gw, NLM_F_REPLACE); |
1346 | -- if (err == -NLE_EXIST) { |
1347 | -- /* FIXME: even though we use NLM_F_REPLACE the kernel won't replace |
1348 | -- * the route if it's the same. Suppress the pointless error. |
1349 | -- */ |
1350 | -+ err = nm_netlink_route6_add (route, &in6addr_any, 0, gw, NLM_F_CREATE); |
1351 | -+ if (err == -NLE_EXIST) |
1352 | - err = 0; |
1353 | -- } |
1354 | - |
1355 | - rtnl_route_put (route); |
1356 | - return err; |
1357 | - } |
1358 | - |
1359 | -+static struct rtnl_route * |
1360 | -+find_static_default_routes (struct rtnl_route *route, |
1361 | -+ struct nl_addr *dst, |
1362 | -+ const char *iface, |
1363 | -+ gpointer user_data) |
1364 | -+{ |
1365 | -+ GList **def_routes = user_data; |
1366 | -+ |
1367 | -+ if ( nl_addr_get_prefixlen (dst) == 0 |
1368 | -+ && rtnl_route_get_protocol (route) == RTPROT_STATIC) { |
1369 | -+ rtnl_route_get (route); |
1370 | -+ *def_routes = g_list_prepend (*def_routes, route); |
1371 | -+ } |
1372 | -+ |
1373 | -+ return NULL; |
1374 | -+} |
1375 | -+ |
1376 | - /* |
1377 | - * nm_system_replace_default_ip6_route |
1378 | - * |
1379 | -@@ -1062,12 +1076,35 @@ replace_default_ip6_route (int ifindex, const struct in6_addr *gw) |
1380 | - gboolean |
1381 | - nm_system_replace_default_ip6_route (int ifindex, const struct in6_addr *gw) |
1382 | - { |
1383 | -- struct rtnl_route *gw_route = NULL; |
1384 | -+ GList *def_routes, *iter; |
1385 | -+ struct rtnl_route *route, *gw_route = NULL; |
1386 | - gboolean success = FALSE; |
1387 | - char *iface; |
1388 | - int err; |
1389 | - |
1390 | -- err = replace_default_ip6_route (ifindex, gw); |
1391 | -+ /* We can't just use NLM_F_REPLACE here like in the IPv4 case, because |
1392 | -+ * the kernel doesn't like it if we replace the default routes it |
1393 | -+ * creates. (See rh#785772.) So we delete any non-kernel default routes, |
1394 | -+ * and then add a new default route of our own with a lower metric than |
1395 | -+ * the kernel ones. |
1396 | -+ */ |
1397 | -+ def_routes = NULL; |
1398 | -+ nm_netlink_foreach_route (ifindex, AF_INET6, RT_SCOPE_UNIVERSE, TRUE, |
1399 | -+ find_static_default_routes, &def_routes); |
1400 | -+ for (iter = def_routes; iter; iter = iter->next) { |
1401 | -+ route = iter->data; |
1402 | -+ if (!nm_netlink_route_delete (route)) { |
1403 | -+ iface = nm_netlink_index_to_iface (ifindex); |
1404 | -+ nm_log_err (LOGD_DEVICE | LOGD_IP6, |
1405 | -+ "(%s): failed to delete existing IPv6 default route", |
1406 | -+ iface); |
1407 | -+ g_free (iface); |
1408 | -+ } |
1409 | -+ rtnl_route_put (route); |
1410 | -+ } |
1411 | -+ g_list_free (def_routes); |
1412 | -+ |
1413 | -+ err = add_default_ip6_route (ifindex, gw); |
1414 | - if (err == 0) |
1415 | - return TRUE; |
1416 | - |
1417 | -@@ -1091,7 +1128,7 @@ nm_system_replace_default_ip6_route (int ifindex, const struct in6_addr *gw) |
1418 | - goto out; |
1419 | - |
1420 | - /* Try adding the original route again */ |
1421 | -- err = replace_default_ip6_route (ifindex, gw); |
1422 | -+ err = add_default_ip6_route (ifindex, gw); |
1423 | - if (err != 0) { |
1424 | - nm_netlink_route_delete (gw_route); |
1425 | - nm_log_err (LOGD_DEVICE | LOGD_IP6, |
1426 | --- |
1427 | -cgit v0.9.0.2-2-gbebe |
1428 | |
1429 | === removed file 'debian/patches/git_remove_ifpppstatsreq_6b64e4d.patch' |
1430 | --- debian/patches/git_remove_ifpppstatsreq_6b64e4d.patch 2012-05-23 19:28:33 +0000 |
1431 | +++ debian/patches/git_remove_ifpppstatsreq_6b64e4d.patch 1970-01-01 00:00:00 +0000 |
1432 | @@ -1,42 +0,0 @@ |
1433 | -From 6b64e4db2f3c9cfc0e0e240cf0bc58f3b3e90c1f Mon Sep 17 00:00:00 2001 |
1434 | -From: Jiřà Klimeš <jklimes@redhat.com> |
1435 | -Date: Wed, 28 Mar 2012 14:42:24 +0000 |
1436 | -Subject: ppp: don't use struct ifpppstatsreq that was removed from linux/ip_ppp.h |
1437 | - |
1438 | -in recent kernels. |
1439 | - |
1440 | -We can use ifreq and ppp_stats structures separately. They needn't have to |
1441 | -to be packed in a structure. |
1442 | ---- |
1443 | -diff --git a/src/ppp-manager/nm-ppp-manager.c b/src/ppp-manager/nm-ppp-manager.c |
1444 | -index 59698c3..243d2e1 100644 |
1445 | ---- a/src/ppp-manager/nm-ppp-manager.c |
1446 | -+++ b/src/ppp-manager/nm-ppp-manager.c |
1447 | -@@ -304,18 +304,20 @@ monitor_cb (gpointer user_data) |
1448 | - { |
1449 | - NMPPPManager *manager = NM_PPP_MANAGER (user_data); |
1450 | - NMPPPManagerPrivate *priv = NM_PPP_MANAGER_GET_PRIVATE (manager); |
1451 | -- struct ifpppstatsreq req; |
1452 | -+ struct ifreq req; |
1453 | -+ struct ppp_stats stats; |
1454 | - |
1455 | - memset (&req, 0, sizeof (req)); |
1456 | -- req.stats_ptr = (caddr_t) &req.stats; |
1457 | -+ memset (&stats, 0, sizeof (stats)); |
1458 | -+ req.ifr_data = (caddr_t) &stats; |
1459 | - |
1460 | -- strncpy (req.ifr__name, priv->ip_iface, sizeof (req.ifr__name)); |
1461 | -+ strncpy (req.ifr_name, priv->ip_iface, sizeof (req.ifr_name)); |
1462 | - if (ioctl (priv->monitor_fd, SIOCGPPPSTATS, &req) < 0) { |
1463 | - nm_log_warn (LOGD_PPP, "could not read ppp stats: %s", strerror (errno)); |
1464 | - } else { |
1465 | - g_signal_emit (manager, signals[STATS], 0, |
1466 | -- req.stats.p.ppp_ibytes, |
1467 | -- req.stats.p.ppp_obytes); |
1468 | -+ stats.p.ppp_ibytes, |
1469 | -+ stats.p.ppp_obytes); |
1470 | - } |
1471 | - |
1472 | - return TRUE; |
1473 | --- |
1474 | -cgit v0.9.0.2-2-gbebe |
1475 | |
1476 | === removed file 'debian/patches/git_segfault_nmagentmanager_3227cf0.patch' |
1477 | --- debian/patches/git_segfault_nmagentmanager_3227cf0.patch 2014-01-29 09:38:05 +0000 |
1478 | +++ debian/patches/git_segfault_nmagentmanager_3227cf0.patch 1970-01-01 00:00:00 +0000 |
1479 | @@ -1,25 +0,0 @@ |
1480 | -From 3227cf0ca907fa00a00d68946092990a82c11e85 Mon Sep 17 00:00:00 2001 |
1481 | -From: Thomas Haller <thaller@redhat.com> |
1482 | -Date: Mon, 18 Nov 2013 18:43:51 +0000 |
1483 | -Subject: core: fix segfault in NMAgentManager (rh #1031196) |
1484 | - |
1485 | -https://bugzilla.redhat.com/show_bug.cgi?id=1031196 |
1486 | - |
1487 | -Signed-off-by: Thomas Haller <thaller@redhat.com> |
1488 | ---- |
1489 | -diff --git a/src/settings/nm-agent-manager.c b/src/settings/nm-agent-manager.c |
1490 | -index 531fabc..bf27419 100644 |
1491 | ---- a/src/settings/nm-agent-manager.c |
1492 | -+++ b/src/settings/nm-agent-manager.c |
1493 | -@@ -604,7 +604,8 @@ request_remove_agent (Request *req, NMSecretAgent *agent) |
1494 | - |
1495 | - /* If this agent is being asked right now, cancel the request */ |
1496 | - if (agent == req->current) { |
1497 | -- req->cancel_callback (req); |
1498 | -+ if (req->cancel_callback) |
1499 | -+ req->cancel_callback (req); |
1500 | - req->current_has_modify = FALSE; |
1501 | - req->current = NULL; |
1502 | - req->current_call_id = NULL; |
1503 | --- |
1504 | -cgit v0.9.0.2-2-gbebe |
1505 | |
1506 | === modified file 'debian/patches/ignore_rfkill_if_urfkill_is_present.patch' |
1507 | --- debian/patches/ignore_rfkill_if_urfkill_is_present.patch 2014-05-21 19:30:08 +0000 |
1508 | +++ debian/patches/ignore_rfkill_if_urfkill_is_present.patch 2014-06-20 21:41:36 +0000 |
1509 | @@ -12,8 +12,6 @@ |
1510 | src/nm-urfkill-manager.h | 49 +++++++ |
1511 | 6 files changed, 496 insertions(+), 1 deletion(-) |
1512 | |
1513 | -Index: b/src/nm-manager.c |
1514 | -=================================================================== |
1515 | --- a/src/nm-manager.c |
1516 | +++ b/src/nm-manager.c |
1517 | @@ -59,6 +59,7 @@ |
1518 | @@ -24,17 +22,17 @@ |
1519 | #include "nm-hostname-provider.h" |
1520 | #include "nm-bluez-manager.h" |
1521 | #include "nm-bluez-common.h" |
1522 | -@@ -222,6 +223,9 @@ typedef struct { |
1523 | - guint dbus_connection_changed_id; |
1524 | +@@ -223,6 +224,9 @@ typedef struct { |
1525 | NMUdevManager *udev_mgr; |
1526 | NMBluezManager *bluez_mgr; |
1527 | + NMSessionMonitor *session_monitor; |
1528 | +#if WITH_URFKILL |
1529 | + NMUrfkillManager *urfkill_mgr; |
1530 | +#endif |
1531 | |
1532 | /* List of NMDeviceFactoryFunc pointers sorted in priority order */ |
1533 | GSList *factories; |
1534 | -@@ -251,6 +255,8 @@ typedef struct { |
1535 | +@@ -252,6 +256,8 @@ typedef struct { |
1536 | |
1537 | guint timestamp_update_id; |
1538 | |
1539 | @@ -43,7 +41,7 @@ |
1540 | GHashTable *nm_bridges; |
1541 | |
1542 | gboolean disposed; |
1543 | -@@ -4326,6 +4332,76 @@ out: |
1544 | +@@ -4403,6 +4409,76 @@ out: |
1545 | return DBUS_HANDLER_RESULT_HANDLED; |
1546 | } |
1547 | |
1548 | @@ -120,7 +118,7 @@ |
1549 | static NMManager *singleton = NULL; |
1550 | |
1551 | NMManager * |
1552 | -@@ -4335,6 +4411,28 @@ nm_manager_get (void) |
1553 | +@@ -4412,6 +4488,28 @@ nm_manager_get (void) |
1554 | return g_object_ref (singleton); |
1555 | } |
1556 | |
1557 | @@ -149,9 +147,9 @@ |
1558 | NMManager * |
1559 | nm_manager_new (NMSettings *settings, |
1560 | const char *state_file, |
1561 | -@@ -4436,11 +4534,33 @@ nm_manager_new (NMSettings *settings, |
1562 | - G_CALLBACK (bluez_manager_bdaddr_removed_cb), |
1563 | - singleton); |
1564 | +@@ -4515,11 +4613,33 @@ nm_manager_new (NMSettings *settings, |
1565 | + |
1566 | + priv->session_monitor = nm_session_monitor_get (); |
1567 | |
1568 | +#if WITH_URFKILL |
1569 | + priv->urfkill_mgr = nm_urfkill_manager_new (); |
1570 | @@ -184,8 +182,6 @@ |
1571 | |
1572 | return singleton; |
1573 | } |
1574 | -Index: b/src/nm-urfkill-manager.c |
1575 | -=================================================================== |
1576 | --- /dev/null |
1577 | +++ b/src/nm-urfkill-manager.c |
1578 | @@ -0,0 +1,304 @@ |
1579 | @@ -493,8 +489,6 @@ |
1580 | + G_TYPE_NONE, 1, G_TYPE_BOOLEAN); |
1581 | +} |
1582 | + |
1583 | -Index: b/src/nm-urfkill-manager.h |
1584 | -=================================================================== |
1585 | --- /dev/null |
1586 | +++ b/src/nm-urfkill-manager.h |
1587 | @@ -0,0 +1,49 @@ |
1588 | @@ -547,11 +541,9 @@ |
1589 | +G_END_DECLS |
1590 | + |
1591 | +#endif /* __NM_URFKILL_MANAGER_H__ */ |
1592 | -Index: b/src/Makefile.am |
1593 | -=================================================================== |
1594 | --- a/src/Makefile.am |
1595 | +++ b/src/Makefile.am |
1596 | -@@ -202,6 +202,13 @@ NetworkManager_SOURCES = \ |
1597 | +@@ -206,6 +206,13 @@ NetworkManager_SOURCES = \ |
1598 | nm-connectivity.c \ |
1599 | nm-connectivity.h |
1600 | |
1601 | @@ -565,11 +557,9 @@ |
1602 | if SESSION_TRACKING_SYSTEMD |
1603 | NetworkManager_SOURCES += nm-session-monitor-systemd.c |
1604 | else |
1605 | -Index: b/configure.ac |
1606 | -=================================================================== |
1607 | --- a/configure.ac |
1608 | +++ b/configure.ac |
1609 | -@@ -199,6 +199,17 @@ else |
1610 | +@@ -201,6 +201,17 @@ else |
1611 | fi |
1612 | |
1613 | dnl |
1614 | @@ -587,7 +577,7 @@ |
1615 | dnl Checks for libm - needed for pow() |
1616 | dnl |
1617 | LT_LIB_M |
1618 | -@@ -778,6 +789,7 @@ echo " ppp: $enable_ppp" |
1619 | +@@ -795,6 +806,7 @@ echo " ppp: $enable_ppp" |
1620 | echo " modemmanager-1: $with_modem_manager_1" |
1621 | echo " concheck: $enable_concheck" |
1622 | echo " bluez 4: $enable_bluez4" |
1623 | @@ -595,11 +585,9 @@ |
1624 | echo |
1625 | |
1626 | echo "Configuration plugins" |
1627 | -Index: b/config.h.in |
1628 | -=================================================================== |
1629 | --- a/config.h.in |
1630 | +++ b/config.h.in |
1631 | -@@ -97,6 +97,9 @@ |
1632 | +@@ -106,6 +106,9 @@ |
1633 | /* Define if you have Linux Wireless Extensions support */ |
1634 | #undef HAVE_WEXT |
1635 | |
1636 | |
1637 | === modified file 'debian/patches/ignore_rmnet_devices.patch' |
1638 | --- debian/patches/ignore_rmnet_devices.patch 2013-07-03 15:51:38 +0000 |
1639 | +++ debian/patches/ignore_rmnet_devices.patch 2014-06-20 21:41:36 +0000 |
1640 | @@ -4,11 +4,9 @@ |
1641 | src/nm-device-ethernet.c | 4 ++++ |
1642 | 1 file changed, 4 insertions(+) |
1643 | |
1644 | -Index: b/src/nm-device-ethernet.c |
1645 | -=================================================================== |
1646 | --- a/src/nm-device-ethernet.c |
1647 | +++ b/src/nm-device-ethernet.c |
1648 | -@@ -502,6 +502,10 @@ get_generic_capabilities (NMDevice *dev) |
1649 | +@@ -503,6 +503,10 @@ get_generic_capabilities (NMDevice *dev) |
1650 | if (strstr (nm_device_get_iface (dev), "cipsec")) |
1651 | return NM_DEVICE_CAP_NONE; |
1652 | |
1653 | |
1654 | === modified file 'debian/patches/lp1025498_link-local_dns_with_null_iface.patch' |
1655 | --- debian/patches/lp1025498_link-local_dns_with_null_iface.patch 2012-07-20 18:32:41 +0000 |
1656 | +++ debian/patches/lp1025498_link-local_dns_with_null_iface.patch 2014-06-20 21:41:36 +0000 |
1657 | @@ -7,11 +7,9 @@ |
1658 | src/dns-manager/nm-dns-dnsmasq.c | 6 ++++-- |
1659 | 1 file changed, 4 insertions(+), 2 deletions(-) |
1660 | |
1661 | -Index: b/src/dns-manager/nm-dns-dnsmasq.c |
1662 | -=================================================================== |
1663 | --- a/src/dns-manager/nm-dns-dnsmasq.c |
1664 | +++ b/src/dns-manager/nm-dns-dnsmasq.c |
1665 | -@@ -168,8 +168,10 @@ ip6_addr_to_string (const struct in6_add |
1666 | +@@ -169,8 +169,10 @@ ip6_addr_to_string (const struct in6_add |
1667 | * only since version 2.58 and up |
1668 | */ |
1669 | *p = '@'; |
1670 | |
1671 | === modified file 'debian/patches/lp1099983_ignore-p2p-wifi-devices.patch' |
1672 | --- debian/patches/lp1099983_ignore-p2p-wifi-devices.patch 2013-06-05 20:34:22 +0000 |
1673 | +++ debian/patches/lp1099983_ignore-p2p-wifi-devices.patch 2014-06-20 21:41:36 +0000 |
1674 | @@ -1,8 +1,10 @@ |
1675 | -Index: nm-0.9.6.0+git201301221753.{revno}-0~pkg{revno:debian}/src/nm-manager.c |
1676 | -=================================================================== |
1677 | ---- nm-0.9.6.0+git201301221753.{revno}-0~pkg{revno:debian}.orig/src/nm-manager.c 2013-01-22 12:55:32.353177930 -0500 |
1678 | -+++ nm-0.9.6.0+git201301221753.{revno}-0~pkg{revno:debian}/src/nm-manager.c 2013-01-22 13:26:36.849268166 -0500 |
1679 | -@@ -1665,6 +1665,17 @@ |
1680 | +--- |
1681 | + src/nm-manager.c | 11 +++++++++++ |
1682 | + 1 file changed, 11 insertions(+) |
1683 | + |
1684 | +--- a/src/nm-manager.c |
1685 | ++++ b/src/nm-manager.c |
1686 | +@@ -1943,6 +1943,17 @@ add_device (NMManager *self, NMDevice *d |
1687 | return; |
1688 | } |
1689 | |
1690 | |
1691 | === modified file 'debian/patches/lp191889_always_offline_with_unmanaged_devices.patch' |
1692 | --- debian/patches/lp191889_always_offline_with_unmanaged_devices.patch 2013-10-07 16:00:58 +0000 |
1693 | +++ debian/patches/lp191889_always_offline_with_unmanaged_devices.patch 2014-06-20 21:41:36 +0000 |
1694 | @@ -6,11 +6,9 @@ |
1695 | src/nm-manager.c | 6 ++++++ |
1696 | 1 file changed, 6 insertions(+) |
1697 | |
1698 | -Index: b/src/nm-manager.c |
1699 | -=================================================================== |
1700 | --- a/src/nm-manager.c |
1701 | +++ b/src/nm-manager.c |
1702 | -@@ -617,6 +617,12 @@ nm_manager_update_state (NMManager *mana |
1703 | +@@ -620,6 +620,12 @@ nm_manager_update_state (NMManager *mana |
1704 | } |
1705 | } |
1706 | |
1707 | |
1708 | === modified file 'debian/patches/lp859373_upgrade_policy_fix.patch' |
1709 | --- debian/patches/lp859373_upgrade_policy_fix.patch 2012-10-15 21:02:17 +0000 |
1710 | +++ debian/patches/lp859373_upgrade_policy_fix.patch 2014-06-20 21:41:36 +0000 |
1711 | @@ -2,8 +2,6 @@ |
1712 | policy/org.freedesktop.NetworkManager.policy.in.in | 9 +++++++++ |
1713 | 1 file changed, 9 insertions(+) |
1714 | |
1715 | -Index: b/policy/org.freedesktop.NetworkManager.policy.in.in |
1716 | -=================================================================== |
1717 | --- a/policy/org.freedesktop.NetworkManager.policy.in.in |
1718 | +++ b/policy/org.freedesktop.NetworkManager.policy.in.in |
1719 | @@ -108,5 +108,14 @@ |
1720 | |
1721 | === modified file 'debian/patches/lp912702_fix_multiple_dialogs.patch' |
1722 | --- debian/patches/lp912702_fix_multiple_dialogs.patch 2014-01-24 17:35:27 +0000 |
1723 | +++ debian/patches/lp912702_fix_multiple_dialogs.patch 2014-06-20 21:41:36 +0000 |
1724 | @@ -6,14 +6,12 @@ |
1725 | |
1726 | Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com> |
1727 | --- |
1728 | - src/nm-policy.c | 10 +++++++--- |
1729 | + src/nm-policy.c | 10 +++++++--- |
1730 | 1 file changed, 7 insertions(+), 3 deletions(-) |
1731 | |
1732 | -diff --git a/src/nm-policy.c b/src/nm-policy.c |
1733 | -index e6a0498..6c62f94 100644 |
1734 | --- a/src/nm-policy.c |
1735 | +++ b/src/nm-policy.c |
1736 | -@@ -1271,9 +1271,13 @@ reset_connections_retries (gpointer user_data) |
1737 | +@@ -1263,9 +1263,13 @@ reset_connections_retries (gpointer user |
1738 | if (con_stamp == 0) |
1739 | continue; |
1740 | if (con_stamp + RESET_RETRIES_TIMER <= now) { |
1741 | @@ -30,6 +28,3 @@ |
1742 | continue; |
1743 | } |
1744 | if (con_stamp < min_stamp) |
1745 | --- |
1746 | -1.8.5.2 |
1747 | - |
1748 | |
1749 | === modified file 'debian/patches/lp936712_dnsmasq_ip6_ns_ordering.patch' |
1750 | --- debian/patches/lp936712_dnsmasq_ip6_ns_ordering.patch 2012-02-21 22:08:22 +0000 |
1751 | +++ debian/patches/lp936712_dnsmasq_ip6_ns_ordering.patch 2014-06-20 21:41:36 +0000 |
1752 | @@ -14,11 +14,13 @@ |
1753 | include nameservers, search domains, etc.), the IPv4 data will be appended |
1754 | right after. |
1755 | |
1756 | -Index: network-manager-0.9.2.0+git201202161854.8572ecf/src/dns-manager/nm-dns-manager.c |
1757 | -=================================================================== |
1758 | ---- network-manager-0.9.2.0+git201202161854.8572ecf.orig/src/dns-manager/nm-dns-manager.c 2012-02-16 15:07:04.000000000 -0500 |
1759 | -+++ network-manager-0.9.2.0+git201202161854.8572ecf/src/dns-manager/nm-dns-manager.c 2012-02-21 16:21:42.090870401 -0500 |
1760 | -@@ -675,14 +675,14 @@ |
1761 | +--- |
1762 | + src/dns-manager/nm-dns-manager.c | 8 ++++---- |
1763 | + 1 file changed, 4 insertions(+), 4 deletions(-) |
1764 | + |
1765 | +--- a/src/dns-manager/nm-dns-manager.c |
1766 | ++++ b/src/dns-manager/nm-dns-manager.c |
1767 | +@@ -679,14 +679,14 @@ update_dns (NMDnsManager *self, |
1768 | * still use the domain information in each config to provide split DNS if |
1769 | * they want to. |
1770 | */ |
1771 | |
1772 | === modified file 'debian/patches/lp990011_use_tempaddr_sysctl_default.patch' |
1773 | --- debian/patches/lp990011_use_tempaddr_sysctl_default.patch 2014-04-08 00:30:45 +0000 |
1774 | +++ debian/patches/lp990011_use_tempaddr_sysctl_default.patch 2014-06-20 21:41:36 +0000 |
1775 | @@ -14,14 +14,12 @@ |
1776 | sysctl instead of trying to read these files, but this will do for now ;) |
1777 | |
1778 | --- |
1779 | - src/nm-device.c | 35 +++++++++++++++++++++++++---------- |
1780 | - 1 file changed, 25 insertions(+), 10 deletions(-) |
1781 | + src/nm-device.c | 33 +++++++++++++++++++++++---------- |
1782 | + 1 file changed, 23 insertions(+), 10 deletions(-) |
1783 | |
1784 | -Index: b/src/nm-device.c |
1785 | -=================================================================== |
1786 | --- a/src/nm-device.c |
1787 | +++ b/src/nm-device.c |
1788 | -@@ -2513,6 +2513,12 @@ addrconf6_cleanup (NMDevice *self) |
1789 | +@@ -2698,6 +2698,12 @@ addrconf6_cleanup (NMDevice *self) |
1790 | |
1791 | /******************************************/ |
1792 | |
1793 | @@ -34,7 +32,7 @@ |
1794 | /* Get net.ipv6.conf.default.use_tempaddr value from /etc/sysctl.conf or |
1795 | * /lib/sysctl.d/sysctl.conf |
1796 | */ |
1797 | -@@ -2522,24 +2528,30 @@ ip6_use_tempaddr (void) |
1798 | +@@ -2707,24 +2713,30 @@ ip6_use_tempaddr (void) |
1799 | char *contents = NULL; |
1800 | gsize len = 0; |
1801 | const char *group_name = "[forged_group]\n"; |
1802 | @@ -73,7 +71,7 @@ |
1803 | goto done; |
1804 | |
1805 | tmp = g_key_file_get_integer (keyfile, "forged_group", "net.ipv6.conf.default.use_tempaddr", &error); |
1806 | -@@ -2547,11 +2559,12 @@ ip6_use_tempaddr (void) |
1807 | +@@ -2732,11 +2744,12 @@ ip6_use_tempaddr (void) |
1808 | ret = tmp; |
1809 | |
1810 | done: |
1811 | |
1812 | === modified file 'debian/patches/nm-change-dnsmasq-parameters.diff' |
1813 | --- debian/patches/nm-change-dnsmasq-parameters.diff 2012-12-10 19:40:41 +0000 |
1814 | +++ debian/patches/nm-change-dnsmasq-parameters.diff 2014-06-20 21:41:36 +0000 |
1815 | @@ -11,11 +11,9 @@ |
1816 | src/dns-manager/nm-dns-dnsmasq.c | 2 +- |
1817 | 1 file changed, 1 insertion(+), 1 deletion(-) |
1818 | |
1819 | -Index: b/src/dns-manager/nm-dns-dnsmasq.c |
1820 | -=================================================================== |
1821 | --- a/src/dns-manager/nm-dns-dnsmasq.c |
1822 | +++ b/src/dns-manager/nm-dns-dnsmasq.c |
1823 | -@@ -315,7 +315,7 @@ update (NMDnsPlugin *plugin, |
1824 | +@@ -317,7 +317,7 @@ update (NMDnsPlugin *plugin, |
1825 | argv[idx++] = "--pid-file=" PIDFILE; |
1826 | argv[idx++] = "--listen-address=127.0.0.1"; /* Should work for both 4 and 6 */ |
1827 | argv[idx++] = "--conf-file=" CONFFILE; |
1828 | |
1829 | === modified file 'debian/patches/nm-ipv6-route-cache.patch' |
1830 | --- debian/patches/nm-ipv6-route-cache.patch 2012-08-29 20:38:44 +0000 |
1831 | +++ debian/patches/nm-ipv6-route-cache.patch 2014-06-20 21:41:36 +0000 |
1832 | @@ -5,11 +5,9 @@ |
1833 | src/ip6-manager/nm-ip6-manager.c | 6 ++++++ |
1834 | 1 file changed, 6 insertions(+) |
1835 | |
1836 | -Index: b/src/ip6-manager/nm-ip6-manager.c |
1837 | -=================================================================== |
1838 | --- a/src/ip6-manager/nm-ip6-manager.c |
1839 | +++ b/src/ip6-manager/nm-ip6-manager.c |
1840 | -@@ -923,6 +923,12 @@ process_route_change (NMIP6Manager *mana |
1841 | +@@ -918,6 +918,12 @@ process_route_change (NMIP6Manager *mana |
1842 | |
1843 | device = nm_ip6_manager_get_device (manager, rtnl_route_get_oif (rtnlroute)); |
1844 | |
1845 | |
1846 | === modified file 'debian/patches/nm-revert-core-dont-enumerate-unint-devices-udev.patch' |
1847 | --- debian/patches/nm-revert-core-dont-enumerate-unint-devices-udev.patch 2013-06-05 20:24:48 +0000 |
1848 | +++ debian/patches/nm-revert-core-dont-enumerate-unint-devices-udev.patch 2014-06-20 21:41:36 +0000 |
1849 | @@ -8,14 +8,12 @@ |
1850 | |
1851 | Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com> |
1852 | --- |
1853 | - src/nm-udev-manager.c | 14 ++------------ |
1854 | + src/nm-udev-manager.c | 14 ++------------ |
1855 | 1 file changed, 2 insertions(+), 12 deletions(-) |
1856 | |
1857 | -diff --git a/src/nm-udev-manager.c b/src/nm-udev-manager.c |
1858 | -index de657e9..018460d 100644 |
1859 | --- a/src/nm-udev-manager.c |
1860 | +++ b/src/nm-udev-manager.c |
1861 | -@@ -520,35 +520,25 @@ void |
1862 | +@@ -523,35 +523,25 @@ void |
1863 | nm_udev_manager_query_devices (NMUdevManager *self) |
1864 | { |
1865 | NMUdevManagerPrivate *priv = NM_UDEV_MANAGER_GET_PRIVATE (self); |
1866 | @@ -53,6 +51,3 @@ |
1867 | } |
1868 | |
1869 | static void |
1870 | --- |
1871 | -1.8.1.2 |
1872 | - |
1873 | |
1874 | === modified file 'debian/patches/nm-source-stanza.patch' |
1875 | --- debian/patches/nm-source-stanza.patch 2014-01-23 20:22:18 +0000 |
1876 | +++ debian/patches/nm-source-stanza.patch 2014-06-20 21:41:36 +0000 |
1877 | @@ -5,10 +5,16 @@ |
1878 | http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=48ed1abca77195ed9b36645593733da143e3be3f |
1879 | http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=4e09b87d5404580ec5a75234fe48d4c6137c4e40 |
1880 | |
1881 | -Index: network-manager-0.9.8.4/src/settings/plugins/ifupdown/interface_parser.c |
1882 | -=================================================================== |
1883 | ---- network-manager-0.9.8.4.orig/src/settings/plugins/ifupdown/interface_parser.c 2014-01-23 10:55:18.150494764 +0000 |
1884 | -+++ network-manager-0.9.8.4/src/settings/plugins/ifupdown/interface_parser.c 2014-01-23 10:55:18.146494765 +0000 |
1885 | +--- |
1886 | + src/settings/plugins/ifupdown/interface_parser.c | 81 +++++++++- |
1887 | + src/settings/plugins/ifupdown/tests/test-ifupdown.c | 27 +++ |
1888 | + src/settings/plugins/ifupdown/tests/test20-source-stanza | 1 |
1889 | + src/settings/plugins/ifupdown/tests/test20-source-stanza.eth0 | 2 |
1890 | + src/settings/plugins/ifupdown/tests/test20-source-stanza.eth1 | 2 |
1891 | + 5 files changed, 107 insertions(+), 6 deletions(-) |
1892 | + |
1893 | +--- a/src/settings/plugins/ifupdown/interface_parser.c |
1894 | ++++ b/src/settings/plugins/ifupdown/interface_parser.c |
1895 | @@ -25,6 +25,8 @@ |
1896 | #include <stdio.h> |
1897 | #include <stdlib.h> |
1898 | @@ -18,7 +24,7 @@ |
1899 | #include "nm-utils.h" |
1900 | |
1901 | if_block* first; |
1902 | -@@ -96,21 +98,33 @@ |
1903 | +@@ -96,21 +98,33 @@ static char *join_values_with_spaces(cha |
1904 | return(dst); |
1905 | } |
1906 | |
1907 | @@ -55,7 +61,7 @@ |
1908 | while (!feof(inp)) |
1909 | { |
1910 | char *token[128]; // 255 chars can only be split into 127 tokens |
1911 | -@@ -175,8 +189,9 @@ |
1912 | +@@ -175,8 +189,9 @@ void ifparser_init (const char *eni_file |
1913 | continue; |
1914 | } |
1915 | |
1916 | @@ -67,7 +73,7 @@ |
1917 | |
1918 | // iface stanza takes at least 3 parameters |
1919 | if (strcmp(token[0], "iface") == 0) { |
1920 | -@@ -211,17 +226,71 @@ |
1921 | +@@ -211,17 +226,71 @@ void ifparser_init (const char *eni_file |
1922 | add_block(token[0], token[i]); |
1923 | skip_to_block = 0; |
1924 | } |
1925 | @@ -140,11 +146,9 @@ |
1926 | } |
1927 | |
1928 | void _destroy_data(if_data *ifd) |
1929 | -Index: network-manager-0.9.8.4/src/settings/plugins/ifupdown/tests/test-ifupdown.c |
1930 | -=================================================================== |
1931 | ---- network-manager-0.9.8.4.orig/src/settings/plugins/ifupdown/tests/test-ifupdown.c 2014-01-23 10:55:18.150494764 +0000 |
1932 | -+++ network-manager-0.9.8.4/src/settings/plugins/ifupdown/tests/test-ifupdown.c 2014-01-23 10:55:18.146494765 +0000 |
1933 | -@@ -903,6 +903,32 @@ |
1934 | +--- a/src/settings/plugins/ifupdown/tests/test-ifupdown.c |
1935 | ++++ b/src/settings/plugins/ifupdown/tests/test-ifupdown.c |
1936 | +@@ -903,6 +903,32 @@ test19_read_static_ipv4_plen (const char |
1937 | g_object_unref (connection); |
1938 | } |
1939 | |
1940 | @@ -177,7 +181,7 @@ |
1941 | |
1942 | #if GLIB_CHECK_VERSION(2,25,12) |
1943 | typedef GTestFixtureFunc TCFunc; |
1944 | -@@ -947,6 +973,7 @@ |
1945 | +@@ -947,6 +973,7 @@ int main (int argc, char **argv) |
1946 | g_test_suite_add (suite, TESTCASE (test17_read_static_ipv4, TEST_ENI_DIR)); |
1947 | g_test_suite_add (suite, TESTCASE (test18_read_static_ipv6, TEST_ENI_DIR)); |
1948 | g_test_suite_add (suite, TESTCASE (test19_read_static_ipv4_plen, TEST_ENI_DIR)); |
1949 | @@ -185,23 +189,17 @@ |
1950 | |
1951 | return g_test_run (); |
1952 | } |
1953 | -Index: network-manager-0.9.8.4/src/settings/plugins/ifupdown/tests/test20-source-stanza |
1954 | -=================================================================== |
1955 | ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 |
1956 | -+++ network-manager-0.9.8.4/src/settings/plugins/ifupdown/tests/test20-source-stanza 2014-01-23 10:55:18.146494765 +0000 |
1957 | +--- /dev/null |
1958 | ++++ b/src/settings/plugins/ifupdown/tests/test20-source-stanza |
1959 | @@ -0,0 +1 @@ |
1960 | +source test20-source-stanza.eth* |
1961 | -Index: network-manager-0.9.8.4/src/settings/plugins/ifupdown/tests/test20-source-stanza.eth0 |
1962 | -=================================================================== |
1963 | ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 |
1964 | -+++ network-manager-0.9.8.4/src/settings/plugins/ifupdown/tests/test20-source-stanza.eth0 2014-01-23 10:55:18.146494765 +0000 |
1965 | +--- /dev/null |
1966 | ++++ b/src/settings/plugins/ifupdown/tests/test20-source-stanza.eth0 |
1967 | @@ -0,0 +1,2 @@ |
1968 | +auto eth0 |
1969 | +iface eth0 inet dhcp |
1970 | -Index: network-manager-0.9.8.4/src/settings/plugins/ifupdown/tests/test20-source-stanza.eth1 |
1971 | -=================================================================== |
1972 | ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 |
1973 | -+++ network-manager-0.9.8.4/src/settings/plugins/ifupdown/tests/test20-source-stanza.eth1 2014-01-23 10:55:18.146494765 +0000 |
1974 | +--- /dev/null |
1975 | ++++ b/src/settings/plugins/ifupdown/tests/test20-source-stanza.eth1 |
1976 | @@ -0,0 +1,2 @@ |
1977 | +auto eth1 |
1978 | +iface eth1 inet dhcp |
1979 | |
1980 | === modified file 'debian/patches/prioritize_3g_later.patch' |
1981 | --- debian/patches/prioritize_3g_later.patch 2013-06-05 20:36:07 +0000 |
1982 | +++ debian/patches/prioritize_3g_later.patch 2014-06-20 21:41:36 +0000 |
1983 | @@ -5,8 +5,6 @@ |
1984 | src/nm-device.c | 16 ++++++++++------ |
1985 | 1 file changed, 10 insertions(+), 6 deletions(-) |
1986 | |
1987 | -Index: b/src/nm-device.c |
1988 | -=================================================================== |
1989 | --- a/src/nm-device.c |
1990 | +++ b/src/nm-device.c |
1991 | @@ -688,6 +688,10 @@ nm_device_get_priority (NMDevice *dev) |
1992 | |
1993 | === modified file 'debian/patches/provisioning_wait_ofono_properties.patch' |
1994 | --- debian/patches/provisioning_wait_ofono_properties.patch 2013-09-24 15:19:55 +0000 |
1995 | +++ debian/patches/provisioning_wait_ofono_properties.patch 2014-06-20 21:41:36 +0000 |
1996 | @@ -13,11 +13,9 @@ |
1997 | src/modem-manager/nm-modem-ofono.c | 331 ++++++++++++++++++++----------------- |
1998 | 1 file changed, 184 insertions(+), 147 deletions(-) |
1999 | |
2000 | -Index: b/src/modem-manager/nm-modem-ofono.c |
2001 | -=================================================================== |
2002 | --- a/src/modem-manager/nm-modem-ofono.c |
2003 | +++ b/src/modem-manager/nm-modem-ofono.c |
2004 | -@@ -106,6 +106,8 @@ typedef struct { |
2005 | +@@ -107,6 +107,8 @@ typedef struct { |
2006 | gboolean gprs_attached; |
2007 | gboolean gprs_powered; |
2008 | |
2009 | @@ -26,7 +24,7 @@ |
2010 | NMModemState state; |
2011 | } NMModemOfonoPrivate; |
2012 | |
2013 | -@@ -332,7 +334,7 @@ ofono_read_contexts (NMModemOfono *self) |
2014 | +@@ -333,7 +335,7 @@ ofono_read_contexts (NMModemOfono *self) |
2015 | char *imsi = NULL; |
2016 | |
2017 | nm_log_dbg (LOGD_MB, "in %s", __func__); |
2018 | @@ -35,7 +33,7 @@ |
2019 | |
2020 | bus = nm_dbus_manager_get_connection (priv->dbus_mgr); |
2021 | |
2022 | -@@ -402,7 +404,6 @@ ofono_properties_changed (DBusGProxy *pr |
2023 | +@@ -403,7 +405,6 @@ ofono_properties_changed (DBusGProxy *pr |
2024 | } else if (g_strcmp0 (key, "Interfaces") == 0 && G_VALUE_HOLDS_BOXED (value)) { |
2025 | gboolean found_simmanager = FALSE; |
2026 | gboolean found_conn_manager = FALSE; |
2027 | @@ -43,7 +41,7 @@ |
2028 | int i; |
2029 | |
2030 | priv->interfaces = (char **) g_value_get_boxed (value); |
2031 | -@@ -413,58 +414,62 @@ ofono_properties_changed (DBusGProxy *pr |
2032 | +@@ -414,58 +415,62 @@ ofono_properties_changed (DBusGProxy *pr |
2033 | found_simmanager = TRUE; |
2034 | if (g_strrstr (priv->interfaces[i], "ConnectionManager")) |
2035 | found_conn_manager = TRUE; |
2036 | @@ -134,7 +132,7 @@ |
2037 | g_object_unref (priv->connman_proxy); |
2038 | priv->connman_proxy = NULL; |
2039 | |
2040 | -@@ -476,16 +481,6 @@ ofono_properties_changed (DBusGProxy *pr |
2041 | +@@ -477,16 +482,6 @@ ofono_properties_changed (DBusGProxy *pr |
2042 | priv->gprs_attached = FALSE; |
2043 | } |
2044 | } |
2045 | @@ -151,7 +149,7 @@ |
2046 | } |
2047 | } |
2048 | |
2049 | -@@ -570,26 +565,132 @@ stage1_prepare_done (DBusGProxy *proxy, |
2050 | +@@ -571,26 +566,132 @@ stage1_prepare_done (DBusGProxy *proxy, |
2051 | priv->connect_properties = NULL; |
2052 | } |
2053 | |
2054 | @@ -297,7 +295,7 @@ |
2055 | do_context_activate (NMModemOfono *self, char *context_path) |
2056 | { |
2057 | NMModemOfonoPrivate *priv = NM_MODEM_OFONO_GET_PRIVATE (self); |
2058 | -@@ -623,6 +724,23 @@ do_context_activate (NMModemOfono *self, |
2059 | +@@ -624,6 +725,23 @@ do_context_activate (NMModemOfono *self, |
2060 | return; |
2061 | } |
2062 | |
2063 | @@ -321,7 +319,7 @@ |
2064 | dbus_g_proxy_begin_call_with_timeout (priv->context_proxy, |
2065 | "SetProperty", stage1_prepare_done, |
2066 | self, NULL, 20000, |
2067 | -@@ -967,108 +1085,22 @@ act_stage1_prepare (NMModem *modem, |
2068 | +@@ -942,108 +1060,22 @@ act_stage1_prepare (NMModem *modem, |
2069 | return NM_ACT_STAGE_RETURN_POSTPONE; |
2070 | } |
2071 | |
2072 | @@ -438,7 +436,7 @@ |
2073 | } |
2074 | |
2075 | static gboolean |
2076 | -@@ -1239,6 +1271,8 @@ nm_modem_ofono_init (NMModemOfono *self) |
2077 | +@@ -1226,6 +1258,8 @@ nm_modem_ofono_init (NMModemOfono *self) |
2078 | priv->modem_online = FALSE; |
2079 | priv->gprs_powered = FALSE; |
2080 | priv->gprs_attached = FALSE; |
2081 | @@ -447,7 +445,7 @@ |
2082 | } |
2083 | |
2084 | static GObject* |
2085 | -@@ -1290,6 +1324,9 @@ dispose (GObject *object) |
2086 | +@@ -1277,6 +1311,9 @@ dispose (GObject *object) |
2087 | if (priv->connect_properties) |
2088 | g_hash_table_destroy (priv->connect_properties); |
2089 | |
2090 | |
2091 | === modified file 'debian/patches/quit_dhclient_on_exit.patch' |
2092 | --- debian/patches/quit_dhclient_on_exit.patch 2014-04-08 00:30:45 +0000 |
2093 | +++ debian/patches/quit_dhclient_on_exit.patch 2014-06-20 21:41:36 +0000 |
2094 | @@ -25,11 +25,9 @@ |
2095 | src/nm-manager.c | 2 ++ |
2096 | 2 files changed, 4 insertions(+) |
2097 | |
2098 | -Index: b/src/nm-device.c |
2099 | -=================================================================== |
2100 | --- a/src/nm-device.c |
2101 | +++ b/src/nm-device.c |
2102 | -@@ -3801,6 +3801,7 @@ dispose (GObject *object) |
2103 | +@@ -4271,6 +4271,7 @@ dispose (GObject *object) |
2104 | |
2105 | priv->disposed = TRUE; |
2106 | |
2107 | @@ -37,7 +35,7 @@ |
2108 | /* Don't down can-assume-connection capable devices that are activated with |
2109 | * a connection that can be assumed. |
2110 | */ |
2111 | -@@ -3825,6 +3826,7 @@ dispose (GObject *object) |
2112 | +@@ -4295,6 +4296,7 @@ dispose (GObject *object) |
2113 | take_down = FALSE; |
2114 | } |
2115 | } |
2116 | @@ -45,11 +43,9 @@ |
2117 | |
2118 | /* Clear any queued transitions */ |
2119 | nm_device_queued_state_clear (self); |
2120 | -Index: b/src/nm-manager.c |
2121 | -=================================================================== |
2122 | --- a/src/nm-manager.c |
2123 | +++ b/src/nm-manager.c |
2124 | -@@ -525,6 +525,7 @@ remove_one_device (NMManager *manager, |
2125 | +@@ -680,6 +680,7 @@ remove_one_device (NMManager *manager, |
2126 | NMManagerPrivate *priv = NM_MANAGER_GET_PRIVATE (manager); |
2127 | |
2128 | if (nm_device_get_managed (device)) { |
2129 | @@ -57,7 +53,7 @@ |
2130 | /* When quitting, we want to leave up interfaces & connections |
2131 | * that can be taken over again (ie, "assumed") when NM restarts |
2132 | * so that '/etc/init.d/NetworkManager restart' will not distrupt |
2133 | -@@ -536,6 +537,7 @@ remove_one_device (NMManager *manager, |
2134 | +@@ -691,6 +692,7 @@ remove_one_device (NMManager *manager, |
2135 | if ( !nm_device_can_assume_connections (device) |
2136 | || (nm_device_get_state (device) != NM_DEVICE_STATE_ACTIVATED) |
2137 | || !quitting) |
2138 | |
2139 | === modified file 'debian/patches/series' |
2140 | --- debian/patches/series 2014-05-01 17:36:54 +0000 |
2141 | +++ debian/patches/series 2014-06-20 21:41:36 +0000 |
2142 | @@ -1,8 +1,4 @@ |
2143 | -git_segfault_nmagentmanager_3227cf0.patch |
2144 | -git_agent_removing_requests_b2312d4.patch |
2145 | git_disp_logging_crash_aca907f.patch |
2146 | -git_fix_shadowed_var_abe208e.patch |
2147 | -git_default_route_active_device_9820258.patch |
2148 | fix-vapigen-detection.patch |
2149 | lp191889_always_offline_with_unmanaged_devices.patch |
2150 | lp859373_upgrade_policy_fix.patch |
2151 | |
2152 | === modified file 'debian/patches/track_ip_settings_post_connection.patch' |
2153 | --- debian/patches/track_ip_settings_post_connection.patch 2013-10-02 17:41:30 +0000 |
2154 | +++ debian/patches/track_ip_settings_post_connection.patch 2014-06-20 21:41:36 +0000 |
2155 | @@ -5,11 +5,9 @@ |
2156 | src/modem-manager/nm-modem-ofono.c | 24 +++++++++++++++++++----- |
2157 | 1 file changed, 19 insertions(+), 5 deletions(-) |
2158 | |
2159 | -Index: b/src/modem-manager/nm-modem-ofono.c |
2160 | -=================================================================== |
2161 | --- a/src/modem-manager/nm-modem-ofono.c |
2162 | +++ b/src/modem-manager/nm-modem-ofono.c |
2163 | -@@ -167,6 +167,8 @@ disconnect_done (DBusGProxy *proxy, DBus |
2164 | +@@ -168,6 +168,8 @@ disconnect_done (DBusGProxy *proxy, DBus |
2165 | } |
2166 | |
2167 | simple_disconnect_context_free (ctx); |
2168 | @@ -18,7 +16,7 @@ |
2169 | } |
2170 | |
2171 | static void |
2172 | -@@ -230,8 +232,12 @@ update_ofono_enabled (NMModemOfono *self |
2173 | +@@ -231,8 +233,12 @@ update_ofono_enabled (NMModemOfono *self |
2174 | NM_MODEM_ENABLED, new_enabled, |
2175 | NULL); |
2176 | nm_log_info (LOGD_MB, "(%s) marked enabled: %d", nm_modem_get_path (NM_MODEM (self)), new_enabled); |
2177 | @@ -32,7 +30,7 @@ |
2178 | } |
2179 | |
2180 | static void |
2181 | -@@ -595,8 +601,6 @@ ofono_context_get_ip_properties (NMModem |
2182 | +@@ -596,8 +602,6 @@ ofono_context_get_ip_properties (NMModem |
2183 | |
2184 | nm_log_dbg (LOGD_MB, "in %s", __func__); |
2185 | |
2186 | @@ -41,7 +39,7 @@ |
2187 | prop_dict = dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_VALUE); |
2188 | dbus_g_proxy_call_with_timeout (priv->context_proxy, |
2189 | "GetProperties", |
2190 | -@@ -607,9 +611,14 @@ ofono_context_get_ip_properties (NMModem |
2191 | +@@ -608,9 +612,14 @@ ofono_context_get_ip_properties (NMModem |
2192 | |
2193 | if (!error) { |
2194 | settings = g_hash_table_lookup (properties, "Settings"); |
2195 | @@ -57,7 +55,7 @@ |
2196 | nm_log_info (LOGD_MB, "(%s): IPv4 static configuration:", |
2197 | nm_modem_get_uid (NM_MODEM (self))); |
2198 | |
2199 | -@@ -617,6 +626,8 @@ ofono_context_get_ip_properties (NMModem |
2200 | +@@ -618,6 +627,8 @@ ofono_context_get_ip_properties (NMModem |
2201 | if (iface) |
2202 | g_object_set (self, NM_MODEM_DATA_PORT, iface, NULL); |
2203 | |
2204 | @@ -66,7 +64,7 @@ |
2205 | priv->ip4_config = nm_ip4_config_new (); |
2206 | addr = nm_ip4_address_new (); |
2207 | |
2208 | -@@ -673,7 +684,8 @@ out: |
2209 | +@@ -674,7 +685,8 @@ out: |
2210 | } |
2211 | } |
2212 | |
2213 | @@ -76,7 +74,7 @@ |
2214 | } |
2215 | |
2216 | static void |
2217 | -@@ -1097,6 +1109,8 @@ static_stage3_ip4_config_start (NMModem |
2218 | +@@ -1072,6 +1084,8 @@ static_stage3_ip4_config_start (NMModem |
2219 | |
2220 | if (priv->ip4_config) { |
2221 | g_signal_emit_by_name (self, NM_MODEM_IP4_CONFIG_RESULT, priv->ip4_config, error); |
2222 | |
2223 | === modified file 'debian/patches/whoopsie-daisy-dbus-support.patch' |
2224 | --- debian/patches/whoopsie-daisy-dbus-support.patch 2012-03-27 15:36:38 +0000 |
2225 | +++ debian/patches/whoopsie-daisy-dbus-support.patch 2014-06-20 21:41:36 +0000 |
2226 | @@ -5,11 +5,13 @@ |
2227 | the information NM keeps about devices to avoid sending data over the network |
2228 | when connected to 3G or other systems that are potentially billable. |
2229 | |
2230 | -Index: b/src/org.freedesktop.NetworkManager.conf |
2231 | -=================================================================== |
2232 | +--- |
2233 | + src/org.freedesktop.NetworkManager.conf | 18 ++++++++++++++++++ |
2234 | + 1 file changed, 18 insertions(+) |
2235 | + |
2236 | --- a/src/org.freedesktop.NetworkManager.conf |
2237 | +++ b/src/org.freedesktop.NetworkManager.conf |
2238 | -@@ -88,6 +88,24 @@ |
2239 | +@@ -87,6 +87,24 @@ |
2240 | send_interface="org.freedesktop.NetworkManager" |
2241 | send_member="wake"/> |
2242 | </policy> |
2243 | |
2244 | === modified file 'debian/watch' |
2245 | --- debian/watch 2011-05-03 21:26:20 +0000 |
2246 | +++ debian/watch 2014-06-20 21:41:36 +0000 |
2247 | @@ -1,3 +1,3 @@ |
2248 | version=3 |
2249 | |
2250 | -http://download.gnome.org/sources/NetworkManager/([\d\.]+)/NetworkManager-(.*)\.tar\.bz2 |
2251 | +http://download.gnome.org/sources/NetworkManager/([\d\.]+)/NetworkManager-(.*)\.tar\.xz |
Sorry about the delay in noticing this. Since we're already past that release, marking as Rejected. We'll need to start thinking about merge 1.0 or later, now.