aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2012-09-06 17:07:18 +0200
committerGuido Günther <agx@sigxcpu.org>2014-02-05 08:38:29 +0100
commit799f4d09e026520b452de22ae649d6f49703a9bb (patch)
tree1c771e64791c36f710e73ef8c868453d98d42772
parent4626127e4d13dc922e1201b31ee8673e14e30982 (diff)
Imported Debian patch 0.5.2.0-2debian/0.5.2.0-2
-rw-r--r--debian/changelog10
-rw-r--r--debian/patches/dbus_remove_max_replies_per_connection_limit.patch33
-rw-r--r--debian/patches/series1
3 files changed, 44 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index e5b9fb5..791cafa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+modemmanager (0.5.2.0-2) unstable; urgency=low
+
+ * debian/patches/dbus_remove_max_replies_per_connection_limit.patch: Remove
+ 'max_replies_per_connection' limit from D-Bus configuration which sets it
+ to 512. It was intended to increase the limit from its historical value of
+ 32. However, since 2007 the default limit has been 8192, so this is actually
+ a reduction. (Closes: #678964)
+
+ -- Michael Biebl <biebl@debian.org> Thu, 06 Sep 2012 17:07:18 +0200
+
modemmanager (0.5.2.0-1) unstable; urgency=low
* Upload to unstable.
diff --git a/debian/patches/dbus_remove_max_replies_per_connection_limit.patch b/debian/patches/dbus_remove_max_replies_per_connection_limit.patch
new file mode 100644
index 0000000..904fa12
--- /dev/null
+++ b/debian/patches/dbus_remove_max_replies_per_connection_limit.patch
@@ -0,0 +1,33 @@
+commit f651ac2160b24f8e08f5a18c583cb1bd38c3b248
+Author: Jiří Klimeš <jklimes@redhat.com>
+Date: Wed May 23 10:50:28 2012 +0200
+
+ dbus: remove 'max_replies_per_connection' limit from D-Bus configuration
+
+ It is leftover from times when D-Bus default limit was 32. Now, it is 8192, see
+ http://cgit.freedesktop.org/dbus/dbus/commit/?id=8d3d8ff55739eebd84d0d53a20a025329feafc3b
+
+diff --git a/org.freedesktop.ModemManager.conf.nopolkit b/org.freedesktop.ModemManager.conf.nopolkit
+index 2f33161..0dd5ee7 100644
+--- a/org.freedesktop.ModemManager.conf.nopolkit
++++ b/org.freedesktop.ModemManager.conf.nopolkit
+@@ -11,7 +11,5 @@
+ <policy user="root">
+ <allow own="org.freedesktop.ModemManager"/>
+ </policy>
+-
+- <limit name="max_replies_per_connection">512</limit>
+ </busconfig>
+
+diff --git a/org.freedesktop.ModemManager.conf.polkit b/org.freedesktop.ModemManager.conf.polkit
+index 25490e3..768b2ad 100644
+--- a/org.freedesktop.ModemManager.conf.polkit
++++ b/org.freedesktop.ModemManager.conf.polkit
+@@ -148,7 +148,5 @@
+ <allow own="org.freedesktop.ModemManager"/>
+ <allow send_destination="org.freedesktop.ModemManager"/>
+ </policy>
+-
+- <limit name="max_replies_per_connection">512</limit>
+ </busconfig>
+
diff --git a/debian/patches/series b/debian/patches/series
index aee824d..d0860eb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
qdl-blacklist.patch
lp700316_usb_blacklist.patch
arduino-blacklist.patch
+dbus_remove_max_replies_per_connection_limit.patch