From 2c34503a91d49f35a81c8e17c6d9915cdcff9ac6568ad95664ff76cedcf8ff32 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 20 Jul 2016 11:40:44 +0000 Subject: [PATCH 1/2] Accepting request 407815 from home:bruno_friedmann:branches:network Find the last update of libmbim to version 1.14. It will be needed to have the final new ModemManager 1.6 submitted for TW. + New support for the 'QMI over MBIM' service, so that clients can use libqmi to build messages and libmbim to transport them. + The GUDev library, which we use to read the max message size from the USB descriptor, is now optional. When configuring, it will be used by default only if it's found. It can also be explicitly disabled using the new configure switch '--without-udev' or explicitly enabled using '--with-udev'. If GUDev isn't used, libmbim-glib will rely on sysfs directly. + libmbim-glib updates: Added support for building messages of custom services. + mbim-network updates: Added support for loading profiles from different paths using the new '--profile' option. This makes it possible to use mbim-network with multiple devices running in the same system. Added support to allow specifying APN user (APN_USER), password (APN_PASS) and authentication type (APN_AUTH) in the profile. Added support to allow using the mbim-proxy setup by configuring it in the profile file (PROXY=yes). + Several other minor improvements and fixes. The following features which were backported to 1.12.x releases are also present in libmbim 1.14.0: + mbimcli updates: Updated '--connect' arguments to allow specifying "key=value" pairs. The old legacy "[(APN),(PAP|CHAP|MSCHAPV2),(Username) ,(Password)]" format is kept as valid for backwards compatibility, although it should be assumed deprecated. Longer timeouts for connect/register operations. Report IP configuration when connected. Allow specifying session ids. OBS-URL: https://build.opensuse.org/request/show/407815 OBS-URL: https://build.opensuse.org/package/show/network/libmbim?expand=0&rev=16 --- libmbim-1.12.4.tar.xz | 3 --- libmbim-1.14.0.tar.xz | 3 +++ libmbim.changes | 42 ++++++++++++++++++++++++++++++++++++++++++ libmbim.spec | 17 ++++++++++++++++- 4 files changed, 61 insertions(+), 4 deletions(-) delete mode 100644 libmbim-1.12.4.tar.xz create mode 100644 libmbim-1.14.0.tar.xz diff --git a/libmbim-1.12.4.tar.xz b/libmbim-1.12.4.tar.xz deleted file mode 100644 index be81db2..0000000 --- a/libmbim-1.12.4.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7bd9af154e88ee1cccaf2fedd05e0f5cb82e3359ab6ad2a75cfec98bf57f973a -size 401816 diff --git a/libmbim-1.14.0.tar.xz b/libmbim-1.14.0.tar.xz new file mode 100644 index 0000000..0a5e689 --- /dev/null +++ b/libmbim-1.14.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca8d52a95a18cbabae8f15f83f1572316e888b6504f946e6645d24405127ab5b +size 401460 diff --git a/libmbim.changes b/libmbim.changes index 16bf48a..e52a798 100644 --- a/libmbim.changes +++ b/libmbim.changes @@ -1,3 +1,45 @@ +------------------------------------------------------------------- +Mon Jul 11 20:03:00 UTC 2016 - bruno@ioda-net.ch + +- Update to libmbim 1.14 + + New support for the 'QMI over MBIM' service, so that clients + can use libqmi to build messages and libmbim to transport them. + + The GUDev library, which we use to read the max message size + from the USB descriptor, is now optional. When configuring, it + will be used by default only if it's found. It can also be + explicitly disabled using the new configure switch + '--without-udev' or explicitly enabled using '--with-udev'. + If GUDev isn't used, libmbim-glib will rely on sysfs directly. + + libmbim-glib updates: + Added support for building messages of custom services. + + mbim-network updates: + Added support for loading profiles from different paths using + the new '--profile' option. This makes it possible to use + mbim-network with multiple devices running in the same system. + Added support to allow specifying APN user (APN_USER), password + (APN_PASS) and authentication type (APN_AUTH) in the profile. + Added support to allow using the mbim-proxy setup by + configuring it in the profile file (PROXY=yes). + + Several other minor improvements and fixes. + + The following features which were backported to 1.12.x releases + are also present in libmbim 1.14.0: + + mbimcli updates: + Updated '--connect' arguments to allow specifying "key=value" + pairs. The old legacy "[(APN),(PAP|CHAP|MSCHAPV2),(Username) + ,(Password)]" format is kept as valid for backwards + compatibility, although it should be assumed deprecated. + Longer timeouts for connect/register operations. + Report IP configuration when connected. + Allow specifying session ids. + + + libmbim-glib updates: + Probing retry interval increased to 5s.- + +- Packaging: + + Add mbimcli-bash-completion package + + Use --with-udev flag + ------------------------------------------------------------------- Fri Mar 18 15:03:56 UTC 2016 - zaitor@opensuse.org diff --git a/libmbim.spec b/libmbim.spec index f50bb22..6278d11 100644 --- a/libmbim.spec +++ b/libmbim.spec @@ -18,7 +18,7 @@ Name: libmbim -Version: 1.12.4 +Version: 1.14.0 Release: 0 Summary: Mobile Interface Broadband Model (MBIM) protocol License: GPL-2.0+ and LGPL-2.0+ @@ -54,11 +54,23 @@ Requires: libmbim-glib4 = %{version} libmbim is a glib-based library for talking to WWAN modems and devices which speak the Mobile Interface Broadband Model (MBIM) protocol. +%package -n mbimcli-bash-completion +Summary: Bash completion for mbimcli +License: GPL-2.0+ and LGPL-2.0+ +Group: Productivity/Networking/System +Supplements: packageand(%{name}:bash-completion) +BuildRequires: bash-completion +Requires: bash-completion + +%description -n mbimcli-bash-completion +This package contain de bash completion command for mbimcli tools. + %prep %setup -q %build %configure \ + --with-udev \ --disable-static make %{?_smp_mflags} @@ -90,4 +102,7 @@ find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print %{_libdir}/libmbim-glib.so %{_libdir}/pkgconfig/mbim-glib.pc +%files -n mbimcli-bash-completion +%{_datadir}/bash-completion/completions/mbimcli + %changelog From e4717a98e4ddc2ef80ec772f22525bc22cbf1d099622fbe19775c03f431d318e Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 20 Jul 2016 11:46:34 +0000 Subject: [PATCH 2/2] tweak OBS-URL: https://build.opensuse.org/package/show/network/libmbim?expand=0&rev=17 --- libmbim.changes | 72 ++++++++++++++++++++++++------------------------- libmbim.spec | 1 + 2 files changed, 37 insertions(+), 36 deletions(-) diff --git a/libmbim.changes b/libmbim.changes index e52a798..cce6c76 100644 --- a/libmbim.changes +++ b/libmbim.changes @@ -1,44 +1,44 @@ ------------------------------------------------------------------- Mon Jul 11 20:03:00 UTC 2016 - bruno@ioda-net.ch -- Update to libmbim 1.14 - + New support for the 'QMI over MBIM' service, so that clients - can use libqmi to build messages and libmbim to transport them. - + The GUDev library, which we use to read the max message size - from the USB descriptor, is now optional. When configuring, it - will be used by default only if it's found. It can also be - explicitly disabled using the new configure switch - '--without-udev' or explicitly enabled using '--with-udev'. - If GUDev isn't used, libmbim-glib will rely on sysfs directly. - + libmbim-glib updates: - Added support for building messages of custom services. +- Update to version 1.14.0: + + New support for the 'QMI over MBIM' service, so that clients + can use libqmi to build messages and libmbim to transport them. + + The GUDev library, which we use to read the max message size + from the USB descriptor, is now optional. When configuring, it + will be used by default only if it's found. It can also be + explicitly disabled using the new configure switch + '--without-udev' or explicitly enabled using '--with-udev'. + If GUDev isn't used, libmbim-glib will rely on sysfs directly. + + libmbim-glib updates: Added support for building messages of + custom services. + mbim-network updates: - Added support for loading profiles from different paths using - the new '--profile' option. This makes it possible to use - mbim-network with multiple devices running in the same system. - Added support to allow specifying APN user (APN_USER), password - (APN_PASS) and authentication type (APN_AUTH) in the profile. - Added support to allow using the mbim-proxy setup by - configuring it in the profile file (PROXY=yes). + - Added support for loading profiles from different paths using + the new '--profile' option. This makes it possible to use + mbim-network with multiple devices running in the same + system. + - Added support to allow specifying APN user (APN_USER), + password (APN_PASS) and authentication type (APN_AUTH) in the + profile. + - Added support to allow using the mbim-proxy setup by + configuring it in the profile file (PROXY=yes). + Several other minor improvements and fixes. - - The following features which were backported to 1.12.x releases - are also present in libmbim 1.14.0: - + mbimcli updates: - Updated '--connect' arguments to allow specifying "key=value" - pairs. The old legacy "[(APN),(PAP|CHAP|MSCHAPV2),(Username) - ,(Password)]" format is kept as valid for backwards - compatibility, although it should be assumed deprecated. - Longer timeouts for connect/register operations. - Report IP configuration when connected. - Allow specifying session ids. - - + libmbim-glib updates: - Probing retry interval increased to 5s.- - -- Packaging: - + Add mbimcli-bash-completion package - + Use --with-udev flag + + The following features which were backported to 1.12.x releases + are also present in libmbim 1.14.0: + - mbimcli updates: + . Updated '--connect' arguments to allow specifying + "key=value" pairs. The old legacy + "[(APN),(PAP|CHAP|MSCHAPV2),(Username),(Password)]" format + is kept as valid for backwards compatibility, although it + should be assumed deprecated. + . Longer timeouts for connect/register operations. + . Report IP configuration when connected. + . Allow specifying session ids. + + libmbim-glib updates: Probing retry interval increased to 5s. + - Split out mbimcli-bash-completion package, requiring and + supplementing bash-completion. +- Pass --with-udev to configure: new config parameter, but keeping + the old behavior (it was non-optional before). ------------------------------------------------------------------- Fri Mar 18 15:03:56 UTC 2016 - zaitor@opensuse.org diff --git a/libmbim.spec b/libmbim.spec index 6278d11..e5510ec 100644 --- a/libmbim.spec +++ b/libmbim.spec @@ -103,6 +103,7 @@ find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print %{_libdir}/pkgconfig/mbim-glib.pc %files -n mbimcli-bash-completion +%defattr(-,root,root) %{_datadir}/bash-completion/completions/mbimcli %changelog