From dd5344048ec289e5e8124c72fa56bb459ec29050 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Tue, 26 Nov 2024 15:29:02 +0300 Subject: [PATCH] import ModemManager-1.22.0-5.el10 --- .ModemManager.metadata | 1 + .gitignore | 1 + ...i-do-not-leak-a-string-in-error-path.patch | 29 + ...x-propagation-of-URAT-response-parse.patch | 38 + ...fix-a-potential-leak-in-cusd_process.patch | 31 + ...mi-fix-a-leak-in-error-handling-path.patch | 30 + ...ectel-shared-do-not-leak-name-string.patch | 34 + .../0006-port-qmi-fix-array-bound-check.patch | 26 + ...li-sms-do-not-leak-message_reference.patch | 25 + ...-bearer-qmi-fix-a-copy-n-paste-error.patch | 27 + ...i-do-not-leak-access-technology-name.patch | 33 + ...glib-signal-fix-a-copy-n-paste-error.patch | 25 + ...elpers-do-not-leak-past-PDP-on-error.patch | 39 + SPECS/ModemManager.spec | 792 ++++++++++++++++++ 14 files changed, 1131 insertions(+) create mode 100644 .ModemManager.metadata create mode 100644 .gitignore create mode 100644 SOURCES/0001-shared-qmi-do-not-leak-a-string-in-error-path.patch create mode 100644 SOURCES/0002-ublox-helpers-fix-propagation-of-URAT-response-parse.patch create mode 100644 SOURCES/0003-broadband-modem-fix-a-potential-leak-in-cusd_process.patch create mode 100644 SOURCES/0004-shared-qmi-fix-a-leak-in-error-handling-path.patch create mode 100644 SOURCES/0005-quectel-shared-do-not-leak-name-string.patch create mode 100644 SOURCES/0006-port-qmi-fix-array-bound-check.patch create mode 100644 SOURCES/0007-mmcli-sms-do-not-leak-message_reference.patch create mode 100644 SOURCES/0008-bearer-qmi-fix-a-copy-n-paste-error.patch create mode 100644 SOURCES/0009-sim-qmi-do-not-leak-access-technology-name.patch create mode 100644 SOURCES/0010-libmm-glib-signal-fix-a-copy-n-paste-error.patch create mode 100644 SOURCES/0011-modem-helpers-do-not-leak-past-PDP-on-error.patch create mode 100644 SPECS/ModemManager.spec diff --git a/.ModemManager.metadata b/.ModemManager.metadata new file mode 100644 index 0000000..73b36a1 --- /dev/null +++ b/.ModemManager.metadata @@ -0,0 +1 @@ +c55bb358cda73f50f936e4c479a04c4dfe3773d8 SOURCES/ModemManager-1.22.0.tar.bz2 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9135d24 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/ModemManager-1.22.0.tar.bz2 diff --git a/SOURCES/0001-shared-qmi-do-not-leak-a-string-in-error-path.patch b/SOURCES/0001-shared-qmi-do-not-leak-a-string-in-error-path.patch new file mode 100644 index 0000000..7459ad8 --- /dev/null +++ b/SOURCES/0001-shared-qmi-do-not-leak-a-string-in-error-path.patch @@ -0,0 +1,29 @@ +From 4c28ea13d9b1e75d0bc0dfa4c588b478635c12c0 Mon Sep 17 00:00:00 2001 +From: Lubomir Rintel +Date: Thu, 23 May 2024 14:43:15 +0200 +Subject: [PATCH 01/11] shared-qmi: do not leak a string in error path + +--- + src/mm-shared-qmi.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/src/mm-shared-qmi.c b/src/mm-shared-qmi.c +index 8da4ecc69..923c6b51a 100644 +--- a/src/mm-shared-qmi.c ++++ b/src/mm-shared-qmi.c +@@ -4905,9 +4905,10 @@ loc_location_get_server_indication_cb (QmiClientLoc *client, + str = g_strdup (""); + + out: +- if (error) ++ if (error) { ++ g_free (str); + g_task_return_error (task, error); +- else { ++ } else { + g_assert (str); + g_task_return_pointer (task, str, g_free); + } +-- +2.45.2 + diff --git a/SOURCES/0002-ublox-helpers-fix-propagation-of-URAT-response-parse.patch b/SOURCES/0002-ublox-helpers-fix-propagation-of-URAT-response-parse.patch new file mode 100644 index 0000000..3bfe541 --- /dev/null +++ b/SOURCES/0002-ublox-helpers-fix-propagation-of-URAT-response-parse.patch @@ -0,0 +1,38 @@ +From d550a24ffdae4492e9f9e18fdf294adcda28fb65 Mon Sep 17 00:00:00 2001 +From: Lubomir Rintel +Date: Thu, 23 May 2024 14:45:22 +0200 +Subject: [PATCH 02/11] ublox/helpers: fix propagation of +URAT response parse + error + +We have been constructing a GError too late, just leaking it instead of +propagating. +--- + src/plugins/ublox/mm-modem-helpers-ublox.c | 9 ++++----- + 1 file changed, 4 insertions(+), 5 deletions(-) + +diff --git a/src/plugins/ublox/mm-modem-helpers-ublox.c b/src/plugins/ublox/mm-modem-helpers-ublox.c +index 0fd1c5b0b..ffb1374de 100644 +--- a/src/plugins/ublox/mm-modem-helpers-ublox.c ++++ b/src/plugins/ublox/mm-modem-helpers-ublox.c +@@ -1813,14 +1813,13 @@ mm_ublox_parse_urat_read_response (const gchar *response, + } + + out: +- if (inner_error) { +- g_propagate_error (error, inner_error); +- return FALSE; +- } +- + if (allowed == MM_MODEM_MODE_NONE) { + inner_error = g_error_new (MM_CORE_ERROR, MM_CORE_ERROR_FAILED, + "Couldn't parse +URAT response: %s", response); ++ } ++ ++ if (inner_error) { ++ g_propagate_error (error, inner_error); + return FALSE; + } + +-- +2.45.2 + diff --git a/SOURCES/0003-broadband-modem-fix-a-potential-leak-in-cusd_process.patch b/SOURCES/0003-broadband-modem-fix-a-potential-leak-in-cusd_process.patch new file mode 100644 index 0000000..cce513c --- /dev/null +++ b/SOURCES/0003-broadband-modem-fix-a-potential-leak-in-cusd_process.patch @@ -0,0 +1,31 @@ +From eebd31b92e4e60078911decd87a8c6e658d20cd1 Mon Sep 17 00:00:00 2001 +From: Lubomir Rintel +Date: Thu, 23 May 2024 14:54:03 +0200 +Subject: [PATCH 03/11] broadband-modem: fix a potential leak in + cusd_process_string() error handling + +On error, *converted may already be allocated and we need to free it +(but not in case we're returning it from the task). +--- + src/mm-broadband-modem.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/mm-broadband-modem.c b/src/mm-broadband-modem.c +index 41906c2e5..b924c3a96 100644 +--- a/src/mm-broadband-modem.c ++++ b/src/mm-broadband-modem.c +@@ -6306,9 +6306,10 @@ out: + if (error) + g_task_return_error (task, error); + else if (converted) +- g_task_return_pointer (task, converted, g_free); ++ g_task_return_pointer (task, g_steal_pointer(&converted), g_free); + else + g_assert_not_reached (); ++ g_clear_pointer (&converted, g_free); + return; + } + +-- +2.45.2 + diff --git a/SOURCES/0004-shared-qmi-fix-a-leak-in-error-handling-path.patch b/SOURCES/0004-shared-qmi-fix-a-leak-in-error-handling-path.patch new file mode 100644 index 0000000..ec46872 --- /dev/null +++ b/SOURCES/0004-shared-qmi-fix-a-leak-in-error-handling-path.patch @@ -0,0 +1,30 @@ +From 4a3542b2d00c4104e9735af9eea906c703faed20 Mon Sep 17 00:00:00 2001 +From: Lubomir Rintel +Date: Thu, 23 May 2024 14:56:40 +0200 +Subject: [PATCH 04/11] shared-qmi: fix a leak in error handling path + +str needs to be freed in pds_get_agps_config_ready(). +--- + src/mm-shared-qmi.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/src/mm-shared-qmi.c b/src/mm-shared-qmi.c +index 923c6b51a..789b92a4d 100644 +--- a/src/mm-shared-qmi.c ++++ b/src/mm-shared-qmi.c +@@ -4795,9 +4795,10 @@ pds_get_agps_config_ready (QmiClientPds *client, + str = g_strdup (""); + + out: +- if (error) ++ if (error) { ++ g_free (str); + g_task_return_error (task, error); +- else { ++ } else { + g_assert (str); + g_task_return_pointer (task, str, g_free); + } +-- +2.45.2 + diff --git a/SOURCES/0005-quectel-shared-do-not-leak-name-string.patch b/SOURCES/0005-quectel-shared-do-not-leak-name-string.patch new file mode 100644 index 0000000..2a1fd18 --- /dev/null +++ b/SOURCES/0005-quectel-shared-do-not-leak-name-string.patch @@ -0,0 +1,34 @@ +From 84941606219fe440f59fbbc6057ab3782c09bba4 Mon Sep 17 00:00:00 2001 +From: Lubomir Rintel +Date: Sun, 26 May 2024 23:42:41 +0200 +Subject: [PATCH] quectel/shared: do not leak name string + +--- + src/plugins/quectel/mm-shared-quectel.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/plugins/quectel/mm-shared-quectel.c b/src/plugins/quectel/mm-shared-quectel.c +index 816a570..acd7c3c 100644 +--- a/src/plugins/quectel/mm-shared-quectel.c ++++ b/src/plugins/quectel/mm-shared-quectel.c +@@ -285,8 +285,8 @@ quectel_at_port_get_firmware_revision_ready (MMBaseModem *self, + MMFirmwareUpdateSettings *update_settings; + MMModemFirmwareUpdateMethod update_methods; + const gchar *revision; +- const gchar *name; + const gchar *id; ++ gchar *name; + g_autoptr(GPtrArray) ids = NULL; + GError *error = NULL; + +@@ -309,6 +309,7 @@ quectel_at_port_get_firmware_revision_ready (MMBaseModem *self, + mm_obj_dbg (self, "revision %s converted to modem name %s", revision, name); + id = (const gchar *) g_ptr_array_index (ids, 0); + g_ptr_array_insert (ids, 0, g_strdup_printf ("%s&NAME_%s", id, name)); ++ g_free (name); + } + + mm_firmware_update_settings_set_device_ids (update_settings, (const gchar **)ids->pdata); +-- +2.45.2 + diff --git a/SOURCES/0006-port-qmi-fix-array-bound-check.patch b/SOURCES/0006-port-qmi-fix-array-bound-check.patch new file mode 100644 index 0000000..8ba7935 --- /dev/null +++ b/SOURCES/0006-port-qmi-fix-array-bound-check.patch @@ -0,0 +1,26 @@ +From 02d893f8abaffa51ad61b0bb6ce67f55de5cd217 Mon Sep 17 00:00:00 2001 +From: Lubomir Rintel +Date: Sun, 26 May 2024 23:54:50 +0200 +Subject: [PATCH 06/11] port-qmi: fix array bound check + +There's an off-by-one error. +--- + src/mm-port-qmi.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/mm-port-qmi.c b/src/mm-port-qmi.c +index f3c64464a..38703bc20 100644 +--- a/src/mm-port-qmi.c ++++ b/src/mm-port-qmi.c +@@ -1641,7 +1641,7 @@ check_data_format_combination (GTask *task) + + /* go on to the next supported combination */ + for (++ctx->data_format_combination_i; +- ctx->data_format_combination_i <= (gint)G_N_ELEMENTS (data_format_combinations); ++ ctx->data_format_combination_i < (gint)G_N_ELEMENTS (data_format_combinations); + ctx->data_format_combination_i++) { + const DataFormatCombination *combination; + g_autofree gchar *kernel_data_mode_str = NULL; +-- +2.45.2 + diff --git a/SOURCES/0007-mmcli-sms-do-not-leak-message_reference.patch b/SOURCES/0007-mmcli-sms-do-not-leak-message_reference.patch new file mode 100644 index 0000000..9c4121e --- /dev/null +++ b/SOURCES/0007-mmcli-sms-do-not-leak-message_reference.patch @@ -0,0 +1,25 @@ +From 7658e4be92a26c5e0245a3169fb61922f0e96811 Mon Sep 17 00:00:00 2001 +From: Lubomir Rintel +Date: Sun, 26 May 2024 23:58:41 +0200 +Subject: [PATCH 07/11] mmcli/sms: do not leak message_reference + +--- + cli/mmcli-sms.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/cli/mmcli-sms.c b/cli/mmcli-sms.c +index 6586d0373..46bc95ef8 100644 +--- a/cli/mmcli-sms.c ++++ b/cli/mmcli-sms.c +@@ -191,6 +191,8 @@ print_sms_info (MMSms *sms) + mmcli_output_string (MMC_F_SMS_PROPERTIES_DELIVERY_STATE, delivery_state); + mmcli_output_string (MMC_F_SMS_PROPERTIES_DISCH_TIMESTAMP, mm_sms_get_discharge_timestamp (sms)); + mmcli_output_dump (); ++ ++ g_free (message_reference); + } + + static void +-- +2.45.2 + diff --git a/SOURCES/0008-bearer-qmi-fix-a-copy-n-paste-error.patch b/SOURCES/0008-bearer-qmi-fix-a-copy-n-paste-error.patch new file mode 100644 index 0000000..11e5cf9 --- /dev/null +++ b/SOURCES/0008-bearer-qmi-fix-a-copy-n-paste-error.patch @@ -0,0 +1,27 @@ +From f8f41b677a234f98085854253b2a1a42b0f09d6f Mon Sep 17 00:00:00 2001 +From: Lubomir Rintel +Date: Sun, 26 May 2024 23:59:47 +0200 +Subject: [PATCH 08/11] bearer/qmi: fix a copy'n'paste error + +Probably not a real issue, given if there's a password there's probably +an user name too. +--- + src/mm-bearer-qmi.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/mm-bearer-qmi.c b/src/mm-bearer-qmi.c +index 504134759..4e64e220c 100644 +--- a/src/mm-bearer-qmi.c ++++ b/src/mm-bearer-qmi.c +@@ -1330,7 +1330,7 @@ build_start_network_input (ConnectContext *ctx) + if (ctx->auth != QMI_WDS_AUTHENTICATION_NONE) { + if (ctx->user) + qmi_message_wds_start_network_input_set_username (input, ctx->user, NULL); +- if (ctx->user) ++ if (ctx->password) + qmi_message_wds_start_network_input_set_password (input, ctx->password, NULL); + } + } +-- +2.45.2 + diff --git a/SOURCES/0009-sim-qmi-do-not-leak-access-technology-name.patch b/SOURCES/0009-sim-qmi-do-not-leak-access-technology-name.patch new file mode 100644 index 0000000..9d939da --- /dev/null +++ b/SOURCES/0009-sim-qmi-do-not-leak-access-technology-name.patch @@ -0,0 +1,33 @@ +From 6a11c906d0604748db9a81bf470c821db2b862fb Mon Sep 17 00:00:00 2001 +From: Lubomir Rintel +Date: Mon, 27 May 2024 00:03:23 +0200 +Subject: [PATCH 09/11] sim/qmi: do not leak access technology name + +--- + src/mm-sim-qmi.c | 8 +++++--- + 1 file changed, 5 insertions(+), 3 deletions(-) + +diff --git a/src/mm-sim-qmi.c b/src/mm-sim-qmi.c +index 03a442403..1d24c23b4 100644 +--- a/src/mm-sim-qmi.c ++++ b/src/mm-sim-qmi.c +@@ -991,11 +991,13 @@ set_preferred_networks_reload_ready (MMBaseSim *self, + } + /* Check if there are access technology bits requested but unset */ + if ((loaded_act & set_act) != set_act) { +- MMModemAccessTechnology unset = set_act & ~loaded_act; ++ MMModemAccessTechnology unset = set_act & ~loaded_act; ++ gchar *act; + ++ act = mm_modem_access_technology_build_string_from_mask (unset); + mm_obj_warn (self, "access technologies '%s' not set for operator code '%s'", +- mm_modem_access_technology_build_string_from_mask (unset), +- set_op_code); ++ act, set_op_code); ++ g_free (act); + error = g_error_new (MM_CORE_ERROR, MM_CORE_ERROR_UNSUPPORTED, + "Access technology unsupported by modem or SIM"); + break; +-- +2.45.2 + diff --git a/SOURCES/0010-libmm-glib-signal-fix-a-copy-n-paste-error.patch b/SOURCES/0010-libmm-glib-signal-fix-a-copy-n-paste-error.patch new file mode 100644 index 0000000..f2c0147 --- /dev/null +++ b/SOURCES/0010-libmm-glib-signal-fix-a-copy-n-paste-error.patch @@ -0,0 +1,25 @@ +From 91f7bbf85b1fccc0c3297acf4203f32b1f195397 Mon Sep 17 00:00:00 2001 +From: Lubomir Rintel +Date: Mon, 27 May 2024 00:04:38 +0200 +Subject: [PATCH 10/11] libmm-glib/signal: fix a copy'n'paste error + +--- + libmm-glib/mm-signal.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libmm-glib/mm-signal.c b/libmm-glib/mm-signal.c +index e71cd24ba..f8d8c4aa5 100644 +--- a/libmm-glib/mm-signal.c ++++ b/libmm-glib/mm-signal.c +@@ -379,7 +379,7 @@ mm_signal_get_string (MMSignal *self) + g_string_append_printf (printable, "%serror rate: %f %%", printable->len ? ", " : "", self->priv->error_rate); + if (self->priv->rscp != MM_SIGNAL_UNKNOWN) + g_string_append_printf (printable, "%sRSCP: %f dBm", printable->len ? ", " : "", self->priv->rscp); +- if (self->priv->rscp != MM_SIGNAL_UNKNOWN) ++ if (self->priv->rsrp != MM_SIGNAL_UNKNOWN) + g_string_append_printf (printable, "%sRSRP: %f dBm", printable->len ? ", " : "", self->priv->rsrp); + if (self->priv->rsrq != MM_SIGNAL_UNKNOWN) + g_string_append_printf (printable, "%sRSRQ: %f dB", printable->len ? ", " : "", self->priv->rsrq); +-- +2.45.2 + diff --git a/SOURCES/0011-modem-helpers-do-not-leak-past-PDP-on-error.patch b/SOURCES/0011-modem-helpers-do-not-leak-past-PDP-on-error.patch new file mode 100644 index 0000000..cf53f97 --- /dev/null +++ b/SOURCES/0011-modem-helpers-do-not-leak-past-PDP-on-error.patch @@ -0,0 +1,39 @@ +From a877ed8015a4fcfb05961b5bfe9d03f47cdc55a5 Mon Sep 17 00:00:00 2001 +From: Lubomir Rintel +Date: Mon, 27 May 2024 00:06:45 +0200 +Subject: [PATCH 11/11] modem-helpers: do not leak past PDP on error + +If CID parsing from the +CGDCONT response fails, the very last PDP +structure allocated is not put on the list yet and therefore +mm_3gpp_pdp_context_list_free() wouldn't free it. + +Let's put it on the list first, as to not leak it on error. +--- + src/mm-modem-helpers.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/mm-modem-helpers.c b/src/mm-modem-helpers.c +index 8dad5a398..9f0c8a8ce 100644 +--- a/src/mm-modem-helpers.c ++++ b/src/mm-modem-helpers.c +@@ -1870,6 +1870,8 @@ mm_3gpp_parse_cgdcont_read_response (const gchar *reply, + MM3gppPdpContext *pdp; + + pdp = g_slice_new0 (MM3gppPdpContext); ++ list = g_list_prepend (list, pdp); ++ + if (!mm_get_uint_from_match_info (match_info, 1, &pdp->cid)) { + inner_error = g_error_new (MM_CORE_ERROR, + MM_CORE_ERROR_FAILED, +@@ -1879,8 +1881,6 @@ mm_3gpp_parse_cgdcont_read_response (const gchar *reply, + } + pdp->pdp_type = ip_family; + pdp->apn = mm_get_string_unquoted_from_match_info (match_info, 3); +- +- list = g_list_prepend (list, pdp); + } + + g_free (str); +-- +2.45.2 + diff --git a/SPECS/ModemManager.spec b/SPECS/ModemManager.spec new file mode 100644 index 0000000..ce6b66c --- /dev/null +++ b/SPECS/ModemManager.spec @@ -0,0 +1,792 @@ +%global glib2_version %(pkg-config --modversion glib-2.0 2>/dev/null || echo bad) +%global qmi_version %(pkg-config --modversion qmi-glib 2>/dev/null || echo bad) +%global mbim_version %(pkg-config --modversion mbim-glib 2>/dev/null || echo bad) +%global qrtr_version %(pkg-config --modversion qrtr-glib 2>/dev/null || echo bad) + +Name: ModemManager +Version: 1.22.0 +Release: 5%{?dist} +Summary: Mobile broadband modem management service +License: GPL-2.0-or-later +URL: http://www.freedesktop.org/wiki/Software/ModemManager/ +Source: https://gitlab.com/linux-mobile-broadband/ModemManager/-/archive/%{version}/%{name}-%{version}.tar.bz2 + +# All of these are applied upstream. Can frop on rebase to 1.24 +Patch0: 0001-shared-qmi-do-not-leak-a-string-in-error-path.patch +Patch1: 0002-ublox-helpers-fix-propagation-of-URAT-response-parse.patch +Patch2: 0003-broadband-modem-fix-a-potential-leak-in-cusd_process.patch +Patch3: 0004-shared-qmi-fix-a-leak-in-error-handling-path.patch +Patch4: 0005-quectel-shared-do-not-leak-name-string.patch +Patch5: 0006-port-qmi-fix-array-bound-check.patch +Patch6: 0007-mmcli-sms-do-not-leak-message_reference.patch +Patch7: 0008-bearer-qmi-fix-a-copy-n-paste-error.patch +Patch8: 0009-sim-qmi-do-not-leak-access-technology-name.patch +Patch9: 0010-libmm-glib-signal-fix-a-copy-n-paste-error.patch +Patch10: 0011-modem-helpers-do-not-leak-past-PDP-on-error.patch + +# For mbim-proxy and qmi-proxy +Requires: libmbim-utils +Requires: libqmi-utils +Requires: %{name}-glib%{?_isa} = %{version}-%{release} + +# Don't allow older versions of these than what we built against, +# because they add new API w/o versioning it or bumping the SONAME +Conflicts: glib2%{?_isa} < %{glib2_version} +Conflicts: libqmi%{?_isa} < %{qmi_version} +Conflicts: libmbim%{?_isa} < %{mbim_version} +Conflicts: libqrtr-glib%{?_isa} < %{qrtr_version} + +Requires(post): systemd +Requires(postun): systemd +Requires(preun): systemd + +Requires: polkit + +BuildRequires: meson >= 0.53 +BuildRequires: dbus-devel +BuildRequires: dbus-daemon +BuildRequires: gettext-devel >= 0.19.8 +BuildRequires: glib2-devel >= 2.56 +BuildRequires: gobject-introspection-devel >= 1.38 +BuildRequires: gtk-doc +BuildRequires: libgudev1-devel >= 232 +BuildRequires: libmbim-devel >= 1.30.0 +BuildRequires: libqmi-devel >= 1.32.0 +BuildRequires: libqrtr-glib-devel >= 1.0.0 +BuildRequires: systemd +BuildRequires: systemd-devel >= 209 +BuildRequires: vala +BuildRequires: polkit-devel + +%global __provides_exclude ^libmm-plugin- + +%description +The ModemManager service manages WWAN modems and provides a consistent API for +interacting with these devices to client applications. + + +%package devel +Summary: Libraries and headers for adding ModemManager support to applications +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: pkgconfig + +%description devel +This package contains various headers for accessing some ModemManager functionality +from applications. + + +%package glib +Summary: Libraries for adding ModemManager support to applications that use glib. +License: LGPL-2.1-or-later +Requires: glib2 >= %{glib2_version} + +%description glib +This package contains the libraries that make it easier to use some ModemManager +functionality from applications that use glib. + + +%package glib-devel +Summary: Libraries and headers for adding ModemManager support to applications that use glib. +License: LGPL-2.1-or-later +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name}-devel%{?_isa} = %{version}-%{release} +Requires: %{name}-glib%{?_isa} = %{version}-%{release} +Requires: glib2-devel >= %{glib2_version} +Requires: pkgconfig + +%description glib-devel +This package contains various headers for accessing some ModemManager functionality +from glib applications. + + +%package vala +Summary: Vala bindings for ModemManager +License: LGPL-2.1-or-later +Requires: vala +Requires: %{name}-glib%{?_isa} = %{version}-%{release} + +%description vala +Vala bindings for ModemManager + + +%prep +%autosetup -p1 + + +%build +# Let's avoid BuildRequiring bash-completion because it changes behavior +# of shell, at least until the .pc file gets into the -devel subpackage. +# We'll just install the bash-completion file ourselves. +%meson \ + -Ddist_version='"%{version}-%{release}"' \ + -Dudevdir=/usr/lib/udev \ + -Dsystemdsystemunitdir=%{_unitdir} \ + -Dvapi=true \ + -Dgtk_doc=true \ + -Dpolkit=permissive \ + -Dbash_completion=false +%meson_build + + +%install +%meson_install +find %{buildroot}%{_datadir}/gtk-doc |xargs touch --reference meson.build +%find_lang %{name} +mkdir -p %{buildroot}%{_datadir}/bash-completion/completions/ +cp -a cli/mmcli-completion %{buildroot}%{_datadir}/bash-completion/completions/mmcli + + +%check +# meson_test + + +%ldconfig_scriptlets glib + + +%post +%systemd_post ModemManager.service + + +%preun +%systemd_preun ModemManager.service + + +%postun +%systemd_postun ModemManager.service + + +%files -f %{name}.lang +%license COPYING +%doc README +%{_sysconfdir}/dbus-1/system.d/org.freedesktop.ModemManager1.conf +%{_datadir}/dbus-1/system-services/org.freedesktop.ModemManager1.service +%attr(0755,root,root) %{_sbindir}/ModemManager +%attr(0755,root,root) %{_bindir}/mmcli +%dir %{_libdir}/%{name} +%attr(0755,root,root) %{_libdir}/%{name}/*.so* +%{_udevrulesdir}/* +%{_datadir}/polkit-1/actions/*.policy +%{_unitdir}/ModemManager.service +%{_datadir}/icons/hicolor/22x22/apps/*.png +%{_datadir}/bash-completion +%{_datadir}/ModemManager +%{_mandir}/man1/* +%{_mandir}/man8/* + + +%files devel +%{_includedir}/ModemManager/ +%dir %{_datadir}/gtk-doc/html/%{name} +%{_datadir}/gtk-doc/html/%{name}/* +%{_libdir}/pkgconfig/%{name}.pc +%{_datadir}/dbus-1/interfaces/*.xml + + +%files glib +%license COPYING +%{_libdir}/libmm-glib.so.* +%{_libdir}/girepository-1.0/*.typelib + + +%files glib-devel +%{_libdir}/libmm-glib.so +%dir %{_includedir}/libmm-glib +%{_includedir}/libmm-glib/*.h +%{_libdir}/pkgconfig/mm-glib.pc +%dir %{_datadir}/gtk-doc/html/libmm-glib +%{_datadir}/gtk-doc/html/libmm-glib/* +%{_datadir}/gir-1.0/*.gir + + +%files vala +%{_datadir}/vala/vapi/libmm-glib.* + + +%changelog +* Tue Jun 25 2024 Lubomir Rintel - 1.22.0-5 +- Add patches for a couple of bugs that make static analysis unhappy (RHEL-38991) + +* Mon Jun 24 2024 Troy Dawson - 1.22.0-4 +- Bump release for June 2024 mass rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 1.22.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 19 2024 Fedora Release Engineering - 1.22.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Tue Jan 09 2024 Dennis Gilmore - 1.22.0-1 +- update to 1.22.0 + +* Sun Jul 30 2023 Tao Jin - 1.20.6-3 +- Rebuilt for RHBZ#2226577 + +* Wed Jul 19 2023 Fedora Release Engineering - 1.20.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Mar 24 2023 Lubomir Rintel - 1.20.6-1 +- Update to 1.20.6 + +* Wed Jan 18 2023 Fedora Release Engineering - 1.20.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Tue Jan 10 2023 Lubomir Rintel - 1.20.2-3 +- Version the qrtr-glib dependency + +* Sun Jan 08 2023 Lubomir Rintel - 1.20.2-2 +- Switch to build using meson + +* Tue Nov 22 2022 Lubomir Rintel - 1.20.2-1 +- Update to 1.20.2 + +* Wed Jul 20 2022 Fedora Release Engineering - 1.18.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat May 14 2022 Peter Robinson - 1.18.8-1 +- Update to 1.18.8 + +* Sat Feb 12 2022 Peter Robinson - 1.18.6-1 +- Update to 1.18.6 + +* Wed Jan 19 2022 Fedora Release Engineering - 1.18.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Sun Sep 19 2021 Peter Robinson - 1.18.2-1 +- update to 1.18.2 + +* Mon Sep 13 2021 Thomas Haller - 1.18.0-2 +- depend ModemManager on polkit package + +* Sun Sep 12 2021 Peter Robinson - 1.18.0-1 +- Update to 1.18.0 + +* Sat Aug 14 2021 Peter Robinson - 1.17.900-1 +- Update to 1.18.0 RC1 + +* Wed Aug 04 2021 Peter Robinson - 1.16.8-4 +- Rebuild for new libmbim/libqmi + +* Thu Jul 29 2021 Bastien Nocera - 1.16.8-3 ++ ModemManager-1.16.8-3 +- Add polkit support as used upstream + +* Wed Jul 21 2021 Fedora Release Engineering - 1.16.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Sat Jul 17 2021 Peter Robinson - 1.16.8-1 +- Update to 1.16.8 + +* Mon Jun 07 2021 Peter Robinson - 1.16.6-1 +- Update to 1.16.6 + +* Fri Apr 30 2021 Peter Robinson - 1.16.4-1 +- Update to 1.16.4 + +* Mon Jan 25 2021 Fedora Release Engineering - 1.14.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sat Jan 16 2021 Peter Robinson - 1.14.10-1 +- Update to 1.14.10 +- Spec clean up + +* Mon Dec 28 2020 Peter Robinson - 1.14.8-2 +- Drop unneeded libxslt dependency + +* Mon Dec 28 2020 Peter Robinson - 1.14.8-1 +- Update to 1.14.8 + +* Tue Nov 3 2020 Peter Robinson - 1.14.6-1 +- Update to 1.14.6 + +* Thu Aug 20 2020 Peter Robinson - 1.14.2-1 +- Update to 1.14.2 + +* Mon Jul 27 2020 Peter Robinson - 1.14.0-1 +- Update to 1.14.0 + +* Mon Jul 27 2020 Fedora Release Engineering - 1.12.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Mar 24 2020 Lubomir Rintel - 1.12.8-1 +- Update to 1.12.8 release + +* Thu Mar 5 2020 Peter Robinson 1.12.6-1 +- Update to 1.12.6 release + +* Tue Jan 28 2020 Fedora Release Engineering - 1.10.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Nov 29 2019 Lubomir Rintel - 1.10.8-1 +- Update to 1.10.8 release + +* Mon Sep 23 2019 Lubomir Rintel - 1.10.6-2 +- Don't grab cdc_ether devices on Sierra QMI modems + +* Mon Sep 23 2019 Lubomir Rintel - 1.10.6-1 +- Update to 1.10.6 release + +* Wed Jul 24 2019 Fedora Release Engineering - 1.10.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Wed Jul 10 2019 Lubomir Rintel - 1.10.4-1 +- Update to 1.10.4 release + +* Fri Jun 14 2019 Lubomir Rintel - 1.10.2-1 +- Update to 1.10.2 release +- Don't grab cdc_ether devices on Sierra QMI modems + +* Wed Mar 27 2019 Richard Hughes 1.10.0-1 +- Update to the release tarball. + +* Mon Feb 04 2019 Kalev Lember - 1.10.0-0.3.rc1 +- Update BRs for vala packaging changes + +* Thu Jan 31 2019 Fedora Release Engineering - 1.10.0-0.2.rc1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Jan 15 2019 Lubomir Rintel - 1.10.0-0.1.rc1 +- Update to 1.10 release candidate 1 + +* Tue Jan 15 2019 Lubomir Rintel - 1.8.2-1 +- Update to 1.8.2 release + +* Tue Jul 31 2018 Florian Weimer - 1.8.0-4 +- Rebuild with fixed binutils + +* Sun Jul 29 2018 Rex Dieter - 1.8.0-3 +- -devel: own %%_includedir/ModemManager/ +- %%build: --disable-silent-rules +- use %%make_build %%make_install + +* Thu Jul 12 2018 Fedora Release Engineering - 1.8.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Sun Jun 03 2018 Lubomir Rintel - 1.8.0-1 +- Update to 1.8.0 release + +* Tue Apr 24 2018 Lubomir Rintel - 1.8.0-0.rc2.1 +- Update to 1.8 release candidate 2 + +* Wed Feb 07 2018 Fedora Release Engineering - 1.6.12-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Feb 03 2018 Igor Gnatenko - 1.6.12-2 +- Switch to %%ldconfig_scriptlets + +* Mon Jan 22 2018 Lubomir Rintel - 1.6.12-1 +- Update to 1.6.12 release +- Require libmbim and libqmi we were built with (rh #1534945) +- Restore the scriptlets where they are needed + +* Fri Jan 05 2018 Igor Gnatenko - 1.6.10-2 +- Remove obsolete scriptlets + +* Sun Oct 22 2017 Lubomir Rintel - 1.6.10-1 +- Update to 1.6.10 release + +* Tue Aug 29 2017 Lubomir Rintel - 1.6.8-1 +- Update to 1.6.8 release + +* Wed Aug 02 2017 Fedora Release Engineering - 1.6.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.6.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.6.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Nov 15 2016 Lubomir Rintel - 1.6.4-1 +- Update to 1.6.4 release + +* Tue Oct 04 2016 Lubomir Rintel - 1.6.2-1 +- Update to 1.6.2 release + +* Tue Jul 26 2016 Lubomir Rintel - 1.6.0-1 +- Update to 1.6.0 release + +* Fri Jul 08 2016 Lubomir Rintel - 1.6-0.4.rc4 +- Enable suspend/resume support (rh#1341303) + +* Fri Jul 08 2016 Lubomir Rintel - 1.6-0.3.rc4 +- Update to 1.6 release candidate 4 + +* Mon May 02 2016 Francesco Giudici - 1.6-0.3.rc3 +- Update to 1.6 release candidate 3 + +* Tue Apr 12 2016 Than Ngo - 1.6-0.3.rc2 +- add better fix for big endian issue on s390x/ppc64 + +* Thu Apr 07 2016 Than Ngo - 1.6-0.2.rc2 +- fix big endian issue on s390x/ppc64 + +* Fri Mar 25 2016 Lubomir Rintel - 1.6-0.1.rc2 +- Update to 1.6 release candidate 2 + +* Mon Mar 21 2016 Lubomir Rintel - 1.6-0.1.rc1 +- Update to 1.6 release candidate + +* Mon Mar 21 2016 Lubomir Rintel - 1.4.14-1 +- Update to 1.4.14 release + +* Mon Feb 29 2016 Yaakov Selkowitz - 1.4.10-4 +- Disable -Werror (#1307284) + +* Wed Feb 03 2016 Fedora Release Engineering - 1.4.10-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Mon Sep 07 2015 Lubomir Rintel - 1.4.10-2 +- Ensure systemctl's around when we preset the service (rh #1227424) + +* Tue Aug 18 2015 Lubomir Rintel - 1.4.10-1 +- Update to 1.4.10 release + +* Tue Jun 16 2015 Fedora Release Engineering - 1.4.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun Mar 29 2015 Lubomir Rintel - 1.4.6-1 +- Update to 1.4.6 release + +* Mon Mar 2 2015 Dan Williams - 1.4.4-2 +- Don't print location information in logs (rh #1194492) + +* Wed Feb 11 2015 Lubomir Rintel - 1.4.4-1 +- Update to 1.4.4 release + +* Thu Jan 15 2015 Dan Williams - 1.4.2-1 +- Update to 1.4.2 release + +* Wed Aug 27 2014 Dan Williams - 1.4.0-1 +- Update to 1.4.0 release +- Quiet debug messages about access technology changes +- Improve network time support for Huawei 3GPP devices +- Always use DHCP for QMI bearers (fixes some Huawei devices) + +* Fri Aug 15 2014 Fedora Release Engineering - 1.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Tue Aug 5 2014 Dan Williams - 1.3.0-1 +- Update to git development snapshot +- Add IPv6 support for many devices +- Updated blacklist for non-modem USB devices +- Support for more MBIM devices from various manufacturers +- Support for more Huawei devices with network ports +- Add new "unmanaged" GPS location mode +- Many bug fixes for various modems + +* Tue Jul 22 2014 Kalev Lember - 1.2.0-3 +- Rebuilt for gobject-introspection 1.41.4 + +* Fri Jun 06 2014 Fedora Release Engineering - 1.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Feb 1 2014 poma - 1.2.0-1 +- Update to 1.2.0 release + +* Fri Sep 13 2013 Dan Williams - 1.1.0-2.git20130913 +- Build with MBIM support +- Enable Vala bindings + +* Fri Sep 6 2013 Dan Williams - 1.1.0-1.git20130906 +- Update to latest git snapshot + +* Mon Aug 26 2013 Dan Williams - 1.0.1-2.git20130723 +- Fix udev rules file paths +- Remove 'dia' from BuildRequires + +* Tue Jul 23 2013 Dan Williams - 1.0.1-1.git20130723 +- Update to 1.0.1 release +- Enable QMI support + +* Wed Jul 10 2013 Dan Williams - 0.7.991-2.git20130710 +- Handle PNP connected devices +- Fall back to AT for messaging if QMI modem doesn't support the WMS service +- Fix IPv6 bearer creation for HSO devices +- Fix detection of supported modes on Icera-based modems +- Fix handling of some Icera-based modems with limited capability ports +- Add support for Olivetti Olicard 200 + +* Fri Jun 7 2013 Dan Williams - 0.7.991-1.git20130607 +- Update to 0.7.991 snapshot +- Fix SMS validity parsing +- Allow registration changes to 'searching' without disconnecting +- Fix reading SMS messages from some QMI-based devices +- Increase connection timeout for Novatel E362 +- Fix PIN retries checking when unlocking Ericsson devices +- Better handling of supported and preferred modes (eg 2G, 3G, 4G preference) + +* Wed May 22 2013 Kalev Lember - 0.7.990-3.git20130515 +- Install the libmm-glib.so symlink in -glib-devel +- Include the /usr/share/libmm-glib directory in -glib-devel +- Make sure -glib-devel subpackage depends on the base -glib package + +* Thu May 16 2013 Bruno Wolff III - 0.7.990-2.git20130515 +- Removed epoch macro references + +* Wed May 15 2013 Dan Williams - 0.7.990-1.git20130515 +- Update to 0.8 snapshot + +* Thu Jan 31 2013 Tom Callaway - 0.6.0.0-3 +- blacklist common arduino devices (rh #861620) + +* Tue Nov 27 2012 Jiří Klimeš - 0.6.0.0-2 +- core: fix a crash in g_utf8_validate() (rh #862341) + +* Tue Sep 4 2012 Dan Williams - 0.6.0.0-1 +- Update to 0.6.0 +- core: fix SMS notifications on many Qualcomm devices +- core: use SMS PDU mode by default (more compatible) +- novatel: fix CDMA roaming indication +- zte: support more devices +- zte: power down modems when disabled +- mbm: power down modems when disabled +- mbm: add support for Ericsson H5321 +- sierra: fix detection of secondary ports +- sierra: more reliable connections with USB 305/AT&T Lightning + +* Fri Jul 20 2012 Dan Williams - 0.5.3.96-1 +- Update to 0.5.3.96 (0.5.4-rc2) +- core: fix SMS handling on a number of devices +- zte: support for devices that use Icera chipsets +- core: ignore unsupported QMI WWAN ports (rh #835153) + +* Wed Mar 14 2012 Dan Williams - 0.5.2.0-1 +- Update to 0.5.2 +- core: retry sending SMS in PDU mode if text fails +- hso: fix connection regression due to Nokia device fixes + +* Sat Feb 25 2012 Dan Williams - 0.5.1.97-1 +- Update to 0.5.2-rc1 +- core: fix a few crashes +- nokia: fix issues with various Nokia devices +- huawei: fix modem crashes with older Huawei devices (like E220) + +* Tue Feb 7 2012 Dan Williams - 0.5.1.96-1 +- Update to git snapshot of 0.5.2 +- option: fix handling of access technology reporting +- cdma: fix handling of EVDO registration states +- mbm: fix problems reconnecting on Ericsson F5521gw modems +- gsm: fix connections using the Motorola Flipout +- gsm: better detection of registration state when connecting +- mbm: add support for more Ericsson modems +- gobi: ensure rebranded Gobi devices are driven by Gobi +- gsm: fix SMS multipart messages, PDU-only mode, and text-mode message listing +- huawei: fix USSD handling +- nokia: add support for Nokia Internet Sticks +- gsm: fix registration response handling on some newer devices +- sierra: add support for Icera-based devices (USB305, AT&T Lightning) + +* Thu Jan 12 2012 Fedora Release Engineering - 0.4.998-2.git20110706 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Thu Jul 7 2011 Dan Williams - 0.4.998-1.git20110706 +- Update to 0.5-beta4 +- gsm: various USSD fixes +- samsung: support for Y3400 module and various other fixes +- gobi: support access technology reporting while disconnected +- nokia: fix issues with N900 USB connected operation (rh #583691) + +* Mon Jun 6 2011 Dan Williams - 0.4.997-1 +- Update to 0.5-beta3 +- samsung: only support Y3300 (fixes issues with other Samsung modems) +- longcheer: restrict to only supported devices +- simtech: add support for Prolink PH-300 +- gsm: various SMS cleanups and fixes +- x22x: add support for access technology reporting and the Alcatel X200 modem + +* Wed Apr 27 2011 Dan Williams 0.4-8.git20110427 +- samsung: add support for Samsung Y3300 GSM modem +- huawei: fixes for probing and handling various Huawei devices +- wavecom: add support for some Wavecom modems +- zte: fix crashes with Icera-based devices +- mbm: add support for Lenovo F5521gw module +- core: add support for basic SMS reception +- core: faster probing for devices that support it (option, samsung) + +* Fri Feb 25 2011 Rex Dieter 0.4-7.git20110201.1 +- hack around FTBFS on sparc + +* Mon Feb 07 2011 Fedora Release Engineering - 0.4-7.git20110201 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Feb 1 2011 Dan Williams - 0.4-6.git20110201 +- Attempt to fix Icera plugin crash on second dial + +* Tue Feb 1 2011 Dan Williams - 0.4-5.git20110201 +- core: add device and SIM identifier properties +- dbus: fix property access permissions via D-Bus (rh #58594) +- cdma: better detection of EVDO registration +- cdma: recognize dual-mode devices as CDMA instead of GSM +- gsm: better handling of wrong PIN entry +- gsm: allow usage of older GSM character encoding schemes +- gsm: preliminary USSD support +- gsm: fix handling of modems that report signal strength via +CIND +- sierra: fix handling of Sierra CnS ports mistakenly recognized as QCDM +- sierra: ensure packet-switched network attachment before dialing +- zte: add support for T-Mobile Rocket 2.0 +- mbm: add support for HP-branded Ericsson devices +- linktop: add support for Linktop/Teracom LW273 +- x22x: add support for various Alcatel devices (like the X220D) + +* Tue Jul 20 2010 Dan Williams - 0.4-4.git20100720 +- gsm: fix location services API signals +- gsm: fix issue with invalid operator names (rh #597088) +- novatel: fix S720 signal strength reporting +- novatel: detect CDMA home/roaming status + +* Wed Jun 30 2010 Dan Williams - 0.4-3.git20100630 +- gsm: enable the location services API + +* Mon Jun 28 2010 Dan Williams - 0.4-2.git20100628 +- core: fix crash during probing when a plugin doesn't support all ports (rh #603294) +- gsm: better registration state checking when devices don't support AT+CREG (Blackberries) +- gsm: add support for getting remaining unlock retry counts + +* Tue Jun 22 2010 Dan Williams - 0.4-1.git20100622 +- core: fix occasional crash when device is unplugged (rh #591728) +- core: ensure errors are correctly returned when device is unplugged +- core: ensure claimed ports don't fall back to Generic (rh #597296) +- gsm: better compatibility with various phones +- mbm: better detection of connection errors +- simtech: add plugin for Simtech devices (like Airlink 3GU) +- sierra: fix CDMA roaming detection + +* Fri May 7 2010 Dan Williams - 0.3-13.git20100507 +- core: fix crash when plugging in some Sierra and Option NV devices (rh #589798) +- gsm: better compatibility with various Sony Ericsson phones +- longcheer: better support for Alcatel X060s modems + +* Tue May 4 2010 Dan Williams - 0.3-12.git20100504 +- core: fix data port assignments (rh #587400) + +* Sun May 2 2010 Dan Williams - 0.3-11.git20100502 +- core: ignore some failures on disconnect (rh #578280) +- core: add support for platform serial devices +- gsm: better Blackberry DUN support +- gsm: periodically poll access technology +- cdma: prevent crash on modem removal (rh #571921) +- mbm: add support for Sony Ericsson MD400, Dell 5541, and Dell 5542 modems +- novatel: better signal strength reporting on CDMA cards +- novatel: add access technology and mode preference support on GSM cards +- zte: fix mode preference retrieval +- longcheer: add support for Zoom modems (4595, 4596, etc) +- longcheer: add access technology and mode preference support + +* Fri Apr 30 2010 Matthias Clasen - 0.3-10.git20100409 +- Silence %%post +- Update scripts + +* Fri Apr 9 2010 Dan Williams - 0.3-9.git20100409 +- gsm: fix parsing Blackberry supported character sets response + +* Thu Apr 8 2010 Dan Williams - 0.3-8.git20100408 +- mbm: fix retrieval of current allowed mode +- gsm: fix initialization issues with some devices (like Blackberries) + +* Mon Apr 5 2010 Dan Williams - 0.3-7.git20100405 +- core: fix detection of some generic devices (rh #579247) +- core: fix detection regression of some Huawei devices in 0.3-5 +- cdma: periodically poll registration state and signal quality +- cdma: really fix registration detection on various devices (rh #569067) + +* Wed Mar 31 2010 Dan Williams - 0.3-6.git20100331 +- core: fix PPC/SPARC/etc builds + +* Wed Mar 31 2010 Dan Williams - 0.3-5.git20100331 +- core: only export a modem when all its ports are handled (rh #540438, rh #569067, rh #552121) +- cdma: handle signal quality requests while connected for more devices +- cdma: handle serving system requests while connected for more devices +- gsm: determine current access technology earlier +- huawei: work around automatic registration issues on some devices + +* Tue Mar 23 2010 Dan Williams - 0.3-4.git20100323 +- core: ensure enabled modems are disabled when MM stops +- core: better capability detection for Blackberry devices (rh #573510) +- cdma: better checking of registration states (rh #540438, rh #569067, rh #552121) +- gsm: don't block modem when it requires PIN2 +- option: fix access technology updates + +* Wed Mar 17 2010 Dan Williams - 0.3-3.git20100317 +- mbm: add device IDs for C3607w +- mbm: fail earlier during connection failures +- mbm: fix username/password authentication when checked by the network +- hso: implement asynchronous signal quality updates +- option: implement asynchronous signal quality updates +- novatel: correctly handle CDMA signal quality +- core: basic PolicyKit support +- core: fix direct GSM registration information requests +- core: general GSM PIN/PUK unlock fixes +- core: poll GSM registration state internally for quicker status updates +- core: implement GSM 2G/3G preference +- core: implement GSM roaming allowed/disallowed preference +- core: emit signals on access technology changes +- core: better handling of disconnections +- core: fix simple CDMA status requests + +* Thu Feb 11 2010 Dan Williams - 0.3-2.git20100211 +- core: startup speed improvements +- core: GSM PIN checking improvements +- huawei: fix EVDO-only connections on various devices (rh #553199) +- longcheer: add support for more devices + +* Tue Jan 19 2010 Dan Williams - 0.3-1.git20100119 +- anydata: new plugin for AnyData CDMA modems (rh #547294) +- core: fix crashes when devices are unplugged during operation (rh #553953) +- cdma: prefer primary port for status/registration queries +- core: fix probing/detection of some PIN-locked devices (rh #551376) +- longcheer: add plugin for Alcatel (X020, X030, etc) and other devices +- gsm: fix Nokia N80 network scan parsing + +* Fri Jan 1 2010 Dan Williams - 0.2.997-5.git20100101 +- core: fix apparent hangs by limiting retried serial writes +- gsm: ensure modem state is reset when disabled + +* Fri Dec 18 2009 Dan Williams - 0.2.997-4.git20091218 +- sierra: fix CDMA registration detection in some cases (rh #547513) + +* Wed Dec 16 2009 Dan Williams - 0.2.997-3.git20091216 +- sierra: ensure CDMA device is powered up when trying to use it +- cdma: better signal quality parsing (fixes ex Huawei EC168C) +- zte: handle unsolicited messages better during probing + +* Mon Dec 14 2009 Dan Williams - 0.2.997-2.git20091214 +- cdma: fix signal strength reporting on some devices +- cdma: better registration state detection when dialing (ex Sierra 5275) +- option: always use the correct tty for dialing commands + +* Mon Dec 7 2009 Dan Williams - 0.2.997-1 +- core: fix reconnect after manual disconnect (rh #541314) +- core: fix various segfaults during registration +- core: fix probing of various modems on big-endian architectures (ie PPC) +- core: implement modem states to avoid duplicate operations +- hso: fix authentication for Icera-based devices like iCON 505 +- zte: use correct port for new devices +- nozomi: fix detection + +* Thu Nov 5 2009 Dan Williams - 0.2-4.20091105 +- Update to latest git +- core: fix pppd 2.4.5 errors about 'baudrate 0' +- cdma: wait for network registration before trying to connect +- gsm: add cell access technology reporting +- gsm: allow longer-running network scans +- mbm: various fixes for Ericsson F3507g/F3607gw/Dell 5530 +- nokia: don't power down phones on disconnect +- hso: fix disconnection/disable + +* Wed Aug 26 2009 Dan Williams - 0.2-3.20090826 +- Fixes for Motorola and Ericsson devices +- Fixes for CDMA "serving-system" command parsing + +* Fri Jul 31 2009 Matthias Clasen +- Fix a typo in one of the udev rules files + +* Fri Jul 24 2009 Fedora Release Engineering - 0.2-2.20090707 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Tue Jul 7 2009 Dan Williams - 0.2-1.20090707 +- Fix source repo location +- Fix directory ownership + +* Tue Jul 7 2009 Dan Williams - 0.2-0.20090707 +- Initial version +