Date: Wednesday, April 4, 2018 @ 07:37:55
  Author: heftig
Revision: 320918

1.8rc2+1+g7e949283-1

Added:
  modemmanager/trunk/strict-filter.diff
Modified:
  modemmanager/trunk/PKGBUILD

--------------------+
 PKGBUILD           |   14 ++++++++++----
 strict-filter.diff |   13 +++++++++++++
 2 files changed, 23 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-04-04 07:26:04 UTC (rev 320917)
+++ PKGBUILD    2018-04-04 07:37:55 UTC (rev 320918)
@@ -4,7 +4,7 @@
 
 pkgbase=modemmanager
 pkgname=(modemmanager libmm-glib)
-pkgver=1.8rc1+6+g0f377f94
+pkgver=1.8rc2+1+g7e949283
 pkgrel=1
 pkgdesc="Mobile broadband modem management service"
 arch=(x86_64)
@@ -12,9 +12,11 @@
 license=(GPL2 LGPL2.1)
 depends=(systemd libgudev polkit ppp libqmi libmbim)
 makedepends=(gtk-doc gobject-introspection vala autoconf-archive git)
-_commit=0f377f943eeb81472fd73189f2c3d8fc65b8c609  # master
-source=("git+https://anongit.freedesktop.org/git/ModemManager/ModemManager#commit=$_commit";)
-sha256sums=('SKIP')
+_commit=7e94928301a971488ea53b17dd7d5ef37f468b1d  # master
+source=("git+https://anongit.freedesktop.org/git/ModemManager/ModemManager#commit=$_commit";
+        strict-filter.diff)
+sha256sums=('SKIP'
+            '0602cc5088b193426c3af3d6ce14a7fd6502b06f77982dc56291d834280f311e')
 
 pkgver() {
   cd ModemManager
@@ -23,6 +25,10 @@
 
 prepare() {
   cd ModemManager
+
+  # Recommended by upstream
+  patch -Np1 -i ../strict-filter.diff
+
   NOCONFIGURE=1 ./autogen.sh
 }
 

Added: strict-filter.diff
===================================================================
--- strict-filter.diff                          (rev 0)
+++ strict-filter.diff  2018-04-04 07:37:55 UTC (rev 320918)
@@ -0,0 +1,13 @@
+diff --git i/src/mm-context.c w/src/mm-context.c
+index 88d71384..fd17f830 100644
+--- i/src/mm-context.c
++++ w/src/mm-context.c
+@@ -38,7 +38,7 @@
+ static gboolean      help_flag;
+ static gboolean      version_flag;
+ static gboolean      debug;
+-static MMFilterRule  filter_policy = MM_FILTER_POLICY_DEFAULT;
++static MMFilterRule  filter_policy = MM_FILTER_POLICY_STRICT;
+ static gboolean      no_auto_scan = NO_AUTO_SCAN_DEFAULT;
+ static const gchar  *initial_kernel_events;
+ 

Reply via email to