diff options
| author | Michael Biebl <biebl@debian.org> | 2010-11-29 19:10:45 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2010-11-29 19:10:45 +0100 |
| commit | 11e42814ef9ba6dee532865bd2c6736bf1040784 (patch) | |
| tree | 307a731f76cd251fe57ee85ff293ad75f42dba2e | |
| parent | 7b27f622bdf9d01afcbcaeed27c3866302232b28 (diff) | |
Remove patches, merged upstream
- debian/patches/10-dont_require_ifup_for_lo.patch - debian/patches/30-typo_fix.patch
| -rw-r--r-- | debian/changelog | 3 | ||||
| -rw-r--r-- | debian/patches/10-dont_require_ifup_for_lo.patch | 30 | ||||
| -rw-r--r-- | debian/patches/30-typo_fix.patch | 136 | ||||
| -rw-r--r-- | debian/patches/series | 2 | ||||
| -rw-r--r-- | src/NetworkManager.conf | 45 |
5 files changed, 3 insertions, 213 deletions
diff --git a/debian/changelog b/debian/changelog index c7997aa1..226ac62f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,9 @@ network-manager (0.8.2-1) UNRELEASED; urgency=low * New upstream release. - Set timestamp for system connections. (Closes: #509817) + * Remove patches, merged upstream + - debian/patches/10-dont_require_ifup_for_lo.patch + - debian/patches/30-typo_fix.patch -- Michael Biebl <biebl@debian.org> Mon, 29 Nov 2010 19:03:34 +0100 diff --git a/debian/patches/10-dont_require_ifup_for_lo.patch b/debian/patches/10-dont_require_ifup_for_lo.patch deleted file mode 100644 index ffea6ff0..00000000 --- a/debian/patches/10-dont_require_ifup_for_lo.patch +++ /dev/null @@ -1,30 +0,0 @@ -commit 7e87d79de6d1eeeb47c8e43fb44962bce9c70664 -Author: Dan Williams <dcbw@redhat.com> -Date: Tue Aug 3 11:36:59 2010 -0700 - - debian: don't require ifup for enabling loopback (bgo #625427) - - But use it if it's installed. - -diff --git a/src/backends/NetworkManagerDebian.c b/src/backends/NetworkManagerDebian.c -index ef9475a..37eb645 100644 ---- a/src/backends/NetworkManagerDebian.c -+++ b/src/backends/NetworkManagerDebian.c -@@ -1,3 +1,4 @@ -+/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ - /* NetworkManager -- Network link manager - * - * Matthew Garrett <mjg59@srcf.ucam.org> -@@ -44,7 +45,11 @@ - */ - void nm_system_enable_loopback (void) - { -- nm_spawn_process ("/sbin/ifup lo"); -+ /* ifupdown isn't always installed (bgo #625427) */ -+ if (g_file_test ("/sbin/ifup", G_FILE_TEST_EXISTS)) -+ nm_spawn_process ("/sbin/ifup lo"); -+ else -+ nm_generic_enable_loopback (); - } - - /* diff --git a/debian/patches/30-typo_fix.patch b/debian/patches/30-typo_fix.patch deleted file mode 100644 index 2d8edfaa..00000000 --- a/debian/patches/30-typo_fix.patch +++ /dev/null @@ -1,136 +0,0 @@ -diff --git a/ChangeLog b/ChangeLog -index d529664..b611b3d 100644 ---- a/ChangeLog -+++ b/ChangeLog -@@ -1317,7 +1317,7 @@ - 2008-09-30 Dan Williams <dcbw@redhat.com> - - * src/NetworkManagerPolicy.c -- - (lookup_thread_worker): don't store the idle handler ID becuase the -+ - (lookup_thread_worker): don't store the idle handler ID because the - idle handler could have already run and freed the LookupThread - structure - -@@ -8391,7 +8391,7 @@ - internally; clients should provide a setting that applies to - the device with 'autoconnect: True'. Problem was that these - internally auto-created connections don't have a proxy or service -- name becuase they weren't created by a settings daemon, and therefore -+ name because they weren't created by a settings daemon, and therefore - clients have no idea what to do with them. - - 2007-10-03 Dan Williams <dcbw@redhat.com> -@@ -9794,7 +9794,7 @@ - * libnm-glib/nm-settings.c - libnm-glib/nm-settings.h - - make the dbus path a property of the object, and autogenerate it. -- It can't be composed of the 'id' field becuase that's not available -+ It can't be composed of the 'id' field because that's not available - yet during the GObject creation in nm_connection_settings_init() - - 2007-08-29 Dan Williams <dcbw@redhat.com> -diff --git a/README b/README -index acb807b..286cabc 100644 ---- a/README -+++ b/README -@@ -66,11 +66,11 @@ those drivers that are shipped with the upstream Linux kernel, because only - those drivers can be easily fixed and debugged. ndiswrapper, vendor binary - drivers, or other out-of-tree drivers may or may not work well with - NetworkManager, precisely because they have not been vetted and improved by the --open-source community, and becuase problems in these drivers usually cannot -+open-source community, and because problems in these drivers usually cannot - be fixed. - - Sometimes, command-line tools like 'iwconfig' will work, but NetworkManager will --fail. This is again often due to buggy drivers, becuase these drivers simply -+fail. This is again often due to buggy drivers, because these drivers simply - aren't expecting the dynamic requests that NetworkManager and wpa_supplicant - make. Driver bugs should be filed in the bug tracker of the distribution being - run, since often distributions customize their kernel and drivers. -diff --git a/libnm-glib/nm-device.c b/libnm-glib/nm-device.c -index 5e9eb50..120be3f 100644 ---- a/libnm-glib/nm-device.c -+++ b/libnm-glib/nm-device.c -@@ -1084,7 +1084,7 @@ nm_device_update_description (NMDevice *device) - * vendor and device ID information off it. - */ - -- /* Ref the device again becuase we have to unref it each iteration, -+ /* Ref the device again because we have to unref it each iteration, - * as g_udev_device_get_parent() returns a ref-ed object. - */ - tmpdev = g_object_ref (udev_device); -diff --git a/src/dhcp-manager/nm-dhcp-dhclient.c b/src/dhcp-manager/nm-dhcp-dhclient.c -index bb5cd2e..26a2b7b 100644 ---- a/src/dhcp-manager/nm-dhcp-dhclient.c -+++ b/src/dhcp-manager/nm-dhcp-dhclient.c -@@ -385,7 +385,7 @@ merge_dhclient_config (const char *iface, - } - - /* If the client ID is just hex digits and : then don't use quotes, -- * becuase dhclient expects either a quoted ASCII string, or a byte -+ * because dhclient expects either a quoted ASCII string, or a byte - * array formated as hex octets separated by : - */ - if (is_octets) -diff --git a/src/nm-device.c b/src/nm-device.c -index 176d90f..906abd4 100644 ---- a/src/nm-device.c -+++ b/src/nm-device.c -@@ -3683,7 +3683,7 @@ nm_device_state_changed (NMDevice *device, - case NM_DEVICE_STATE_UNAVAILABLE: - /* If the device can activate now (ie, it's got a carrier, the supplicant - * is active, or whatever) schedule a delayed transition to DISCONNECTED -- * to get things rolling. The device can't transition immediately becuase -+ * to get things rolling. The device can't transition immediately because - * we can't change states again from the state handler for a variety of - * reasons. - */ -@@ -3704,7 +3704,7 @@ nm_device_state_changed (NMDevice *device, - case NM_DEVICE_STATE_FAILED: - nm_log_warn (LOGD_DEVICE, "Activation (%s) failed.", nm_device_get_iface (device)); - /* Schedule the transition to DISCONNECTED. The device can't transition -- * immediately becuase we can't change states again from the state -+ * immediately because we can't change states again from the state - * handler for a variety of reasons. - */ - priv->failed_to_disconnected_id = g_idle_add (failed_to_disconnected, device); -diff --git a/system-settings/plugins/ifcfg-rh/reader.c b/system-settings/plugins/ifcfg-rh/reader.c -index 1c7e8eb..3697737 100644 ---- a/system-settings/plugins/ifcfg-rh/reader.c -+++ b/system-settings/plugins/ifcfg-rh/reader.c -@@ -1874,7 +1874,7 @@ parse_wpa_psk (shvarFile *ifcfg, - char *psk = NULL, *p, *hashed = NULL; - gboolean quoted = FALSE; - -- /* Passphrase must be between 10 and 66 characters in length becuase WPA -+ /* Passphrase must be between 10 and 66 characters in length because WPA - * hex keys are exactly 64 characters (no quoting), and WPA passphrases - * are between 8 and 63 characters (inclusive), plus optional quoting if - * the passphrase contains spaces. -diff --git a/system-settings/plugins/keyfile/io/reader.c b/system-settings/plugins/keyfile/io/reader.c -index 5582733..cbcb42c 100644 ---- a/system-settings/plugins/keyfile/io/reader.c -+++ b/system-settings/plugins/keyfile/io/reader.c -@@ -738,7 +738,7 @@ typedef struct { - void (*parser) (NMSetting *setting, const char *key, GKeyFile *keyfile); - } KeyParser; - --/* A table of keys that require further parsing/conversion becuase they are -+/* A table of keys that require further parsing/conversion because they are - * stored in a format that can't be automatically read using the key's type. - * i.e. IPv4 addresses, which are stored in NetworkManager as guint32, but are - * stored in keyfiles as strings, eg "10.1.1.2" or IPv6 addresses stored -diff --git a/system-settings/plugins/keyfile/io/writer.c b/system-settings/plugins/keyfile/io/writer.c -index 348fa51..06b5b85 100644 ---- a/system-settings/plugins/keyfile/io/writer.c -+++ b/system-settings/plugins/keyfile/io/writer.c -@@ -460,7 +460,7 @@ typedef struct { - void (*writer) (GKeyFile *keyfile, NMSetting *setting, const char *key, const GValue *value); - } KeyWriter; - --/* A table of keys that require further parsing/conversion becuase they are -+/* A table of keys that require further parsing/conversion because they are - * stored in a format that can't be automatically read using the key's type. - * i.e. IPv4 addresses, which are stored in NetworkManager as guint32, but are - * stored in keyfiles as strings, eg "10.1.1.2" or IPv6 addresses stored diff --git a/debian/patches/series b/debian/patches/series index 365331c3..c40ab33b 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,4 +1,2 @@ # Debian patches for network-manager 02-dbus_access_network_manager.patch -10-dont_require_ifup_for_lo.patch -30-typo_fix.patch diff --git a/src/NetworkManager.conf b/src/NetworkManager.conf index 31216bd5..1f1ed49b 100644 --- a/src/NetworkManager.conf +++ b/src/NetworkManager.conf @@ -12,51 +12,6 @@ <allow send_destination="org.freedesktop.NetworkManager" send_interface="org.freedesktop.NetworkManager.PPP"/> </policy> - <policy group="netdev"> - <allow send_destination="org.freedesktop.NetworkManager"/> - - <allow send_destination="org.freedesktop.NetworkManager" - send_interface="org.freedesktop.DBus.Introspectable"/> - - <allow send_destination="org.freedesktop.NetworkManager" - send_interface="org.freedesktop.DBus.Properties"/> - - <allow send_destination="org.freedesktop.NetworkManager" - send_interface="org.freedesktop.NetworkManager"/> - - <allow send_destination="org.freedesktop.NetworkManager" - send_interface="org.freedesktop.NetworkManager.AccessPoint"/> - - <allow send_destination="org.freedesktop.NetworkManager" - send_interface="org.freedesktop.NetworkManager.Connection.Active"/> - - <allow send_destination="org.freedesktop.NetworkManager" - send_interface="org.freedesktop.NetworkManager.Device.Cdma"/> - - <allow send_destination="org.freedesktop.NetworkManager" - send_interface="org.freedesktop.NetworkManager.Device.Wired"/> - - <allow send_destination="org.freedesktop.NetworkManager" - send_interface="org.freedesktop.NetworkManager.Device.Gsm"/> - - <allow send_destination="org.freedesktop.NetworkManager" - send_interface="org.freedesktop.NetworkManager.Device.Serial"/> - - <allow send_destination="org.freedesktop.NetworkManager" - send_interface="org.freedesktop.NetworkManager.Device.Wireless"/> - - <allow send_destination="org.freedesktop.NetworkManager" - send_interface="org.freedesktop.NetworkManager.Device"/> - - <allow send_destination="org.freedesktop.NetworkManager" - send_interface="org.freedesktop.NetworkManager.DHCP4Config"/> - - <allow send_destination="org.freedesktop.NetworkManager" - send_interface="org.freedesktop.NetworkManager.IP4Config"/> - - <allow send_destination="org.freedesktop.NetworkManager" - send_interface="org.freedesktop.NetworkManager.VPN.Connection"/> - </policy> <policy at_console="true"> <allow send_destination="org.freedesktop.NetworkManager"/> |