Accepting request 283190 from home:dimstar:branches:network

Update to 1.12.0

OBS-URL: https://build.opensuse.org/request/show/283190
OBS-URL: https://build.opensuse.org/package/show/network/libqmi?expand=0&rev=6
This commit is contained in:
Ismail Dönmez 2015-01-29 09:48:52 +00:00 committed by Git OBS Bridge
parent 80a03cce0c
commit be1e9e7453
5 changed files with 45 additions and 22 deletions

View File

@ -1,16 +0,0 @@
diff -Ndur libqmi-1.10.2/utils/qmi-network.in libqmi-1.10.2-fix-bashisms/utils/qmi-network.in
--- libqmi-1.10.2/utils/qmi-network.in 2014-06-16 17:39:11.000000000 +0300
+++ libqmi-1.10.2-fix-bashisms/utils/qmi-network.in 2014-11-27 03:10:12.692197726 +0200
@@ -47,10 +47,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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0d70b10810e45aebb4af902db59972d756441ca1e301240c5c529ef0f08bf80f
size 643256

3
libqmi-1.12.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7bf0a5b70a6e8214932ec32c264e59d5290c6bd181fa1341c028a063181f64ff
size 686016

View File

@ -1,3 +1,44 @@
-------------------------------------------------------------------
Wed Jan 28 15:58:56 UTC 2015 - dimstar@opensuse.org
- Update to version 1.12.0:
+ New `--enable-qmi-username' option during configure, which
allows specifying which will be the user owning the
/dev/cdc-wdm character devices of all QMI modems (udev rules
are installed to change file ownership). If this option is
used, the qmi-proxy will only allow connections from processes
running by the specified user or by the root user.
+ New TLV builder and reader API, which is much more strict and
secure. The autogenerated code will no longer first check if
there is enough space available in the output message buffer
and then write the parsed contents. Instead, the new reader API
will be used, which is able to check for the expected size
directly before writing in the buffer.
+ New unit tests to check messages built by the libqmi-glib
library, using a fake proxy. In order to support these, the
QmiDevice has two new properties:
- "device-no-file-check": instructs the QmiDevice to avoid
checking if the specified file exists.
- "device-proxy-path": specifies a custom abstract socket path
for the QmiProxy, to avoid using the default one.
+ New A-GPS support in the PDS service:
- pds: added "Get Default Tracking Session" request/response.
- pds: added "Set Default Tracking Session" request/response.
- pds: added "Get AGPS Config" request/response.
- pds: added "Set AGPS Config" request/response.
+ Updated minumum available version of several messages:
- dms: "UIM Get IMSI" seems to be available in DMS 1.1 already.
- dms: "UIM Get ICCID" seems to be available in DMS 1.1
already.
+ Other bugfixes and minor improvements:
- Attach timeout and idle events to the thread-default context.
- Fix bashisms in the qmi-network script.
- Fix qmi_message_set_transaction_id() in non-CTL messages.
- Fix segfault due to race condition in the QmiProxy.
- Fixed printing contents of structs with fixed sized strings
in qmi-codegen.
- Drop libqmi-1.10.2-fix-bashisms.patch: fixed upstream.
-------------------------------------------------------------------
Thu Nov 27 01:11:00 UTC 2014 - Led <ledest@gmail.com>

View File

@ -19,7 +19,7 @@
Name: libqmi
%define _soname libqmi-glib1
Version: 1.10.2
Version: 1.12.0
Release: 0
# NOTE: The file headers state LESSER GPL, which is a mistake. The upstream intended license is LIBRARY GPL 2.0+
Summary: Library to control QMI devices
@ -28,7 +28,6 @@ Group: System/Libraries
Url: http://cgit.freedesktop.org/libqmi/
Source0: http://www.freedesktop.org/software/libqmi/%{name}-%{version}.tar.xz
Source99: libqmi-rpmlintrc
Patch0: %{name}-1.10.2-fix-bashisms.patch
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.32
BuildRequires: pkgconfig(gobject-2.0)
@ -67,7 +66,6 @@ This package contains files required to link sources against libqmi.
%prep
%setup -q
%patch0 -p1
%build
%configure \