[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1106541: marked as done (unblock: smstools/3.1.21-5)



Your message dated Mon, 26 May 2025 16:13:27 +0000
with message-id <E1uJaS7-002jFv-1J@respighi.debian.org>
and subject line unblock smstools
has caused the Debian Bug report #1106541,
regarding unblock: smstools/3.1.21-5
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1106541: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1106541
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package smstools

[ Reason ]
Some telco in Australia switched some bits needed for their registration
of SMS only modems. smstools needs to follow and be able to process
the new statuses.

[ Impact ]
smstools no longer works with certain telcos.

[ Tests ]
The patch was created by a customer of said telco and smstools works
again.

[ Risks ]
Only additional statuses are processed, so others should not be affected.

[ Checklist ]
  [x] almost all changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in testing

(the additional salsa-ci.yml was added some time before to the git repo
but should not do any harm)

unblock smstools/3.1.21-5
diff -Nru smstools-3.1.21/debian/changelog smstools-3.1.21/debian/changelog
--- smstools-3.1.21/debian/changelog	2020-08-05 21:39:26.000000000 +0200
+++ smstools-3.1.21/debian/changelog	2025-05-25 18:39:26.000000000 +0200
@@ -1,3 +1,10 @@
+smstools (3.1.21-5) unstable; urgency=medium
+
+  * add sms-only-registration.patch
+    a Telco in the wild changed some bits
+
+ -- Thorsten Alteholz <debian@alteholz.de>  Sun, 25 May 2025 18:39:26 +0200
+
 smstools (3.1.21-4) unstable; urgency=medium
 
   * take care of gcc10 errors (Closes: #957818)
diff -Nru smstools-3.1.21/debian/patches/series smstools-3.1.21/debian/patches/series
--- smstools-3.1.21/debian/patches/series	2020-08-05 21:02:48.000000000 +0200
+++ smstools-3.1.21/debian/patches/series	2025-05-25 18:39:26.000000000 +0200
@@ -9,3 +9,4 @@
 
 gcc10.patch
 
+sms-only-registration.patch
diff -Nru smstools-3.1.21/debian/patches/sms-only-registration.patch smstools-3.1.21/debian/patches/sms-only-registration.patch
--- smstools-3.1.21/debian/patches/sms-only-registration.patch	1970-01-01 01:00:00.000000000 +0100
+++ smstools-3.1.21/debian/patches/sms-only-registration.patch	2025-05-25 18:39:26.000000000 +0200
@@ -0,0 +1,27 @@
+Description: more registration statuses are available
+ 6 = Registered for “SMS only”, home network
+     (applicable only when <Act> indicates E-UTRAN)
+ 7 = Registered for “SMS only”, roaming
+     (applicable only when <Act> indicates E-UTRAN)
+Index: smstools/src/modeminit.c
+===================================================================
+--- smstools.orig/src/modeminit.c	2017-05-04 00:24:40.000000000 +0930
++++ smstools/src/modeminit.c	2025-05-14 16:12:53.462613657 +0930
+@@ -2721,6 +2721,17 @@
+       writelogfile(LOG_INFO, 0, "Modem is registered to a roaming partner network");
+       success = 1;
+     }
++    // Patch for extra registration modes
++    else if (strstr(answer, ",6"))
++    {
++      writelogfile(LOG_INFO, 0, "Modem is registered as SMS-only to the network");
++      success = 1;
++    }
++    else if (strstr(answer, ",7"))
++    {
++      writelogfile(LOG_INFO, 0, "Modem is registered as SMS-only to a roaming partner network");
++      success = 1;
++    }
+     // 3.1.1: 3 - Registration denied is handled
+     else if (strstr(answer, ",3"))
+     {
diff -Nru smstools-3.1.21/debian/salsa-ci.yml smstools-3.1.21/debian/salsa-ci.yml
--- smstools-3.1.21/debian/salsa-ci.yml	1970-01-01 01:00:00.000000000 +0100
+++ smstools-3.1.21/debian/salsa-ci.yml	2025-05-25 18:39:26.000000000 +0200
@@ -0,0 +1,3 @@
+---
+include:
+  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml

--- End Message ---
--- Begin Message ---
Unblocked.

--- End Message ---

Reply to: