Package: release.debian.org Severity: normal User: release.debian....@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 <deb...@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