[arch-commits] Commit in modemmanager/trunk (PKGBUILD bus-signals.patch)

Jan Steffens heftig at archlinux.org
Fri Oct 9 00:22:14 UTC 2015


    Date: Friday, October 9, 2015 @ 02:22:14
  Author: heftig
Revision: 248674

1.4.12

Modified:
  modemmanager/trunk/PKGBUILD
Deleted:
  modemmanager/trunk/bus-signals.patch

-------------------+
 PKGBUILD          |   11 ++++-------
 bus-signals.patch |   43 -------------------------------------------
 2 files changed, 4 insertions(+), 50 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-10-08 19:53:44 UTC (rev 248673)
+++ PKGBUILD	2015-10-09 00:22:14 UTC (rev 248674)
@@ -4,8 +4,8 @@
 
 pkgbase=modemmanager
 pkgname=(modemmanager libmm-glib)
-pkgver=1.4.10
-pkgrel=2
+pkgver=1.4.12
+pkgrel=1
 pkgdesc="Mobile broadband modem management service"
 arch=(i686 x86_64)
 url="http://www.freedesktop.org/wiki/Software/ModemManager/"
@@ -12,14 +12,11 @@
 license=(GPL2 LGPL2.1)
 depends=(systemd libgudev polkit ppp libqmi libmbim hicolor-icon-theme)
 makedepends=(intltool gtk-doc gobject-introspection vala)
-source=(http://www.freedesktop.org/software/ModemManager/ModemManager-${pkgver}.tar.xz
-        bus-signals.patch)
-sha256sums=('107ba0b4d0749aebb0347691a39f60891cc6004aeca8b2128d69c50557049a63'
-            '2bf544ace3e79276f8e9c113fe3468506da74eb7f4ce1de5b33ea0e955dfd09e')
+source=(http://www.freedesktop.org/software/ModemManager/ModemManager-${pkgver}.tar.xz)
+sha256sums=('7ef5035375a953b285a742591df0a65fd442f4641ce4d8f4392a41d6d6bc70b3')
 
 prepare() {
   cd ModemManager-$pkgver
-  patch -Np1 -i ../bus-signals.patch
 }
 
 build() {

Deleted: bus-signals.patch
===================================================================
--- bus-signals.patch	2015-10-08 19:53:44 UTC (rev 248673)
+++ bus-signals.patch	2015-10-09 00:22:14 UTC (rev 248674)
@@ -1,43 +0,0 @@
-From a043f8064b6d1fb1ce5ee4b1d263117ea6eac505 Mon Sep 17 00:00:00 2001
-From: David Herrmann <dh.herrmann at gmail.com>
-Date: Wed, 15 Jul 2015 13:49:49 +0200
-Subject: policy: don't prevent us from receiving signals
-
-By using:
-    <deny send_destination="org.freedesktop.ModemManager1"/>
-
-..we prevent anyone on the system from sending us signals, even if we
-subscribed to them. This is clearly not what this line intended. More
-importantly, we silently break mm-auth-provider-polkit, as we never
-receiver 'changed' signals via PolkitAuthority. Right now, this is not
-required by the implementation of PolkitAuthority, but ModemManager
-should not place restrictions on the implementation of external
-libraries.
-
-So make sure we only prevent Method-Calls to be sent to us. Any other
-message that we didn't expect is automatically discarded by gdbus,
-anyway.
-
-Without this change, debugging dbus policies constantly shows messages
-that Polkit couldn't send the 'changed' signal to ModemManager. This is
-suppressed in non-debugging mode. But it would make debugging a lot
-easier, if we'd avoid force-dropping those events and not clutter the
-debug-log.
-
-diff --git a/data/org.freedesktop.ModemManager1.conf.polkit b/data/org.freedesktop.ModemManager1.conf.polkit
-index d1ea166..6b90b4b 100644
---- a/data/org.freedesktop.ModemManager1.conf.polkit
-+++ b/data/org.freedesktop.ModemManager1.conf.polkit
-@@ -3,7 +3,8 @@
-  "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
- <busconfig>
-   <policy context="default">
--    <deny send_destination="org.freedesktop.ModemManager1"/>
-+    <deny send_destination="org.freedesktop.ModemManager1"
-+          send_type="method_call"/>
- 
-     <!-- Methods listed here are explicitly allowed or PolicyKit protected.
-          The rest are restricted to root for security.
--- 
-cgit v0.10.2
-



More information about the arch-commits mailing list