diff --git a/libmbim-1.10.0-fix-bashisms.patch b/libmbim-1.10.0-fix-bashisms.patch deleted file mode 100644 index 2c482cd..0000000 --- a/libmbim-1.10.0-fix-bashisms.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -Ndur libmbim-1.10.0/utils/mbim-network.in libmbim-1.10.0-fix-bashisms/utils/mbim-network.in ---- libmbim-1.10.0/utils/mbim-network.in 2014-01-22 12:17:48.000000000 +0200 -+++ libmbim-1.10.0-fix-bashisms/utils/mbim-network.in 2014-11-27 02:57:48.792248052 +0200 -@@ -50,10 +50,10 @@ - } - - if [ $# -ne 2 ]; then -- if [ $1 == "--help" ]; then -+ if [ "$1" = "--help" ]; then - help - exit 0 -- elif [ $1 == "--version" ]; then -+ elif [ "$1" = "--version" ]; then - version - exit 0 - fi diff --git a/libmbim-1.10.0.tar.xz b/libmbim-1.10.0.tar.xz deleted file mode 100644 index 8de20d2..0000000 --- a/libmbim-1.10.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4e5eade46a61d0cd1f8b6ad47bee938868766eca617a64e7acd2d0b72ff38b6e -size 384480 diff --git a/libmbim-1.12.0.tar.xz b/libmbim-1.12.0.tar.xz new file mode 100644 index 0000000..e99e90e --- /dev/null +++ b/libmbim-1.12.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b5b9e72d6b0a4d9e5a92b913c16426946f8f6cf60e648635306ebade44ace553 +size 397056 diff --git a/libmbim.changes b/libmbim.changes index 586df34..b9b0657 100644 --- a/libmbim.changes +++ b/libmbim.changes @@ -1,3 +1,33 @@ +------------------------------------------------------------------- +Wed Jan 28 15:46:04 UTC 2015 - dimstar@opensuse.org + +- Update to version 1.12.0: + + New `--enable-mbim-username' option during configure, which + allows specifying which will be the user owning the + /dev/cdc-wdm character devices of all MBIM modems (udev rules + are installed to change file ownership). If this option is + used, the mbim-proxy will only allow connections from processes + running by the specified user or by the root user. + + Function error messages can now be returned by the MbimDevice + as responses to `Command', `Open' or `Close' messages. Users of + the library should not assume the type of message returned to + the previous actions. + + The MbimProxy will monitor for 'NotOpened' errors, and when one + detected it will directly close the internal MbimDevice. Any + subsequent request sent by clients to that specific device will + be aborted with a proxy-generated 'NotOpened' error. Clients + will need to explicitly reopen the ports in that case. + + The API now has a new mbim_message_response_get_result() method + which allows getting a GError from a message which may be of a + specific type (e.g. a `Command Done' message in response to a + `Command' request) or instead the generic `Function Error' + message type. Users of the library can use this new method to + avoid assuming the type of message returned. + + Other bugfixes and minor improvements: + - Attach timeout and idle events to the thread-default context. + - Fix bashisms in the mbim-network script. +- Drop libmbim-1.10.0-fix-bashisms.patch: fixed upstream. + ------------------------------------------------------------------- Thu Nov 27 01:00:00 UTC 2014 - Led diff --git a/libmbim.spec b/libmbim.spec index d591983..7b67755 100644 --- a/libmbim.spec +++ b/libmbim.spec @@ -1,7 +1,7 @@ # # spec file for package libmbim # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2013 Dominique Leuenberger, Amsterdam, The Netherlands # # All modifications and additions to the file contributed by third parties @@ -18,15 +18,13 @@ Name: libmbim -Version: 1.10.0 +Version: 1.12.0 Release: 0 Summary: Mobile Interface Broadband Model (MBIM) protocol License: GPL-2.0+ and LGPL-2.0+ Group: Productivity/Networking/System Url: http://www.freedesktop.org/wiki/Software/libmbim/ -Source: http://www.freedesktop.org/software/libmbim/libmbim-%{version}.tar.xz -# PATCH-FIX-UPSTREAM libmbim-1.10.0-fix-bashisms.patch ledest@gmail.com -Patch1: libmbim-1.10.0-fix-bashisms.patch +Source: http://www.freedesktop.org/software/libmbim/%{name}-%{version}.tar.xz BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(glib-2.0) >= 2.32 BuildRequires: pkgconfig(gobject-2.0) @@ -58,7 +56,6 @@ which speak the Mobile Interface Broadband Model (MBIM) protocol. %prep %setup -q -%patch1 -p1 %build %configure \