Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: [email protected]
Control: affects -1 + src:wireless-regdb
User: [email protected]
Usertags: pu

[ Reason ]
Provide current information about national radio regulations to the
Linux Wi-Fi stack.

[ Impact ]
Users may accidentally configure Wi-Fi hardware to use channels or
power levels that are not permitted, or may be unable to use channels
that are permitted.

[ Tests ]
- The signatures on regulatory.db are checked against the kernel trust
  list by an autopkgtest test case.
- The database itself is identical to the version in unstable, and
  currently identical to the upstream version.

[ Risks ]
The package is fairly trivial.  The only risk I see is that the new
database could conceivably differ from the actual regulations in a
more serious way.

[ Checklist ]
  [X] *all* changes are documented in the d/changelog
  [X] I reviewed all changes and I approve them
  [X] attach debdiff against the package in (old)stable
  [X] the issue is verified as fixed in unstable

[ Changes ]
This is a backport from testing/unstable, because every suite should
get the latest rules.

Upstream changes:
- Updated the regulatory database (db.txt) following various national
  radio regulatory changes.
- Regenerated the binaries and signatures (regulatory.bin,
  regulatory.db, regulatory.db.p7s) and checksum (sha1sum.txt) from
  db.txt.

Debian changes:
- Regenerated my signature for the regulatory database
- Removed Build-Depends: python-is-python3, which lintian flags as an
  error.  Reapplied the patch that was previously used to make
  upstream scripts run with Python 3.  I wouldn't have bothered to do
  this for trixie, but this is a backport from forky.
- Disabled the uscan CI job, which would fail on trixie and doesn't
  matter
diff -Nru wireless-regdb-2026.05.30/db.txt wireless-regdb-2026.09.03/db.txt
--- wireless-regdb-2026.05.30/db.txt    2026-05-30 16:36:17.000000000 +0100
+++ wireless-regdb-2026.09.03/db.txt    2026-09-03 06:50:37.000000000 +0100
@@ -892,7 +892,7 @@
        (5250 - 5350 @ 80), (23), DFS, AUTO-BW, NO-OUTDOOR
        (5470 - 5730 @ 160), (27), DFS
        (5730 - 5850 @ 80), (36)
-       (5945 - 6425 @ 160), (24), NO-OUTDOOR
+       (5945 - 6425 @ 320), (24), NO-OUTDOOR
 
 # Source:
 # https://www.conatel.gob.hn/doc/Regulacion/resoluciones/2023/NR05-23.pdf
@@ -1962,7 +1962,7 @@
        (5150 - 5350 @ 80), (20), DFS
        (5470 - 5850 @ 160), (27), DFS
        (5925 - 6425 @ 320), (23), DFS, NO-OUTDOOR
-       (57000 - 66000 @2160), (40), DFS
+       (57000 - 66000 @ 2160), (40)
 
 # Source:
 # https://ratchakitcha.soc.go.th/documents/140D100S0000000004000.pdf
@@ -2189,10 +2189,11 @@
 
 # Source: 
https://www.gov.za/sites/default/files/gcis_document/202305/48643gon1822.pdf
 country ZA: DFS-ETSI
-       (2402 - 2482 @ 40), (20)
-       (5170 - 5250 @ 80), (20), AUTO-BW
-       (5250 - 5330 @ 80), (20), DFS, AUTO-BW
-       (5490 - 5710 @ 160), (30)
+       (2400 - 2483.5 @ 40), (100 mW)
+       (5150 - 5250 @ 80), (23), NO-OUTDOOR, AUTO-BW
+       (5250 - 5350 @ 80), (20), NO-OUTDOOR, DFS, AUTO-BW
+       (5470 - 5725 @ 160), (27), DFS
+       (5725 - 5875 @ 80), (25 mW)
        (5925 - 6425 @ 320), (23), NO-OUTDOOR
 
 country ZW: DFS-ETSI
diff -Nru wireless-regdb-2026.05.30/debian/changelog 
wireless-regdb-2026.09.03/debian/changelog
--- wireless-regdb-2026.05.30/debian/changelog  2026-06-05 18:02:04.000000000 
+0100
+++ wireless-regdb-2026.09.03/debian/changelog  2026-11-05 22:38:16.000000000 
+0000
@@ -1,3 +1,20 @@
+wireless-regdb (2026.09.03-1~deb13u1) trixie; urgency=medium
+
+  * Backported to trixie:
+    - d/salsa-ci.yml: Disable uscan job which fails and doesn't matter
+
+ -- Ben Hutchings <[email protected]>  Thu, 05 Nov 2026 22:38:16 +0000
+
+wireless-regdb (2026.09.03-1) unstable; urgency=medium
+
+  * New upstream version:
+    - Remove DFS flag from 60 GHz band for Togo (TG)
+    - Update 2.4 and 5 GHz rules for South Africa (ZA)
+    - allow 320MHz channel width for Hong Kong (HK)
+  * Reapply "Run scripts with Python 3" and remove B-D: python-is-python3
+
+ -- Ben Hutchings <[email protected]>  Sun, 20 Sep 2026 13:28:48 +0200
+
 wireless-regdb (2026.05.30-1~deb13u1) trixie; urgency=medium
 
   * Rebuild for trixie
diff -Nru wireless-regdb-2026.05.30/debian/control 
wireless-regdb-2026.09.03/debian/control
--- wireless-regdb-2026.05.30/debian/control    2026-06-05 18:02:04.000000000 
+0100
+++ wireless-regdb-2026.09.03/debian/control    2026-11-05 22:38:16.000000000 
+0000
@@ -6,7 +6,6 @@
 Build-Depends: debhelper-compat (= 12),
  openssl,
  python3,
- python-is-python3,
  quilt
 Rules-Requires-Root: no
 Standards-Version: 4.5.0
diff -Nru 
wireless-regdb-2026.05.30/debian/patches/run-scripts-with-python-3.patch 
wireless-regdb-2026.09.03/debian/patches/run-scripts-with-python-3.patch
--- wireless-regdb-2026.05.30/debian/patches/run-scripts-with-python-3.patch    
1970-01-01 01:00:00.000000000 +0100
+++ wireless-regdb-2026.09.03/debian/patches/run-scripts-with-python-3.patch    
2026-11-05 22:38:16.000000000 +0000
@@ -0,0 +1,46 @@
+From: Ben Hutchings <[email protected]>
+Date: Wed, 29 Jan 2020 13:31:51 +0000
+Subject: Run scripts with Python 3
+Bug-Debian: https://bugs.debian.org/938829
+
+All the Python scripts here are meant to be Python 3 compatible, but
+they still use "/usr/bin/env python" as their interpreter.  Since
+Debian is deprecating Python 2 but not (yet) changing "python" to
+Python 3, change the shebang lines.
+
+---
+ db2bin.py  | 2 +-
+ db2fw.py   | 2 +-
+ dbparse.py | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/db2bin.py b/db2bin.py
+index d1b7fc6..3e781ca 100755
+--- a/db2bin.py
++++ b/db2bin.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ 
+ from io import BytesIO, open
+ import struct
+diff --git a/db2fw.py b/db2fw.py
+index 3affd5a..84bfb1c 100755
+--- a/db2fw.py
++++ b/db2fw.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ 
+ from io import BytesIO, open
+ import struct
+diff --git a/dbparse.py b/dbparse.py
+index 5f7e082..dfd15fd 100755
+--- a/dbparse.py
++++ b/dbparse.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ 
+ from functools import total_ordering
+ import sys, math
diff -Nru wireless-regdb-2026.05.30/debian/patches/series 
wireless-regdb-2026.09.03/debian/patches/series
--- wireless-regdb-2026.05.30/debian/patches/series     2026-06-05 
18:02:04.000000000 +0100
+++ wireless-regdb-2026.09.03/debian/patches/series     2026-11-05 
22:38:16.000000000 +0000
@@ -1 +1,2 @@
 dont_auto_create_keypair
+run-scripts-with-python-3.patch
Binary files 
/var/tmp/I5noJRZSD7/wireless-regdb-2026.05.30/debian/regulatory.db.p7s and 
/var/tmp/vOchqpGcVM/wireless-regdb-2026.09.03/debian/regulatory.db.p7s differ
diff -Nru wireless-regdb-2026.05.30/debian/salsa-ci.yml 
wireless-regdb-2026.09.03/debian/salsa-ci.yml
--- wireless-regdb-2026.05.30/debian/salsa-ci.yml       2026-06-05 
18:02:04.000000000 +0100
+++ wireless-regdb-2026.09.03/debian/salsa-ci.yml       2026-11-05 
22:38:16.000000000 +0000
@@ -9,3 +9,5 @@
   SALSA_CI_DISABLE_BUILD_PACKAGE_I386: 'true'
   SALSA_CI_DISABLE_BUILD_PACKAGE_ANY: 'true'
   SALSA_CI_DISABLE_CROSSBUILD_ARM64: 'true'
+  # watch version 5 isn't supported in trixie, but that doesn't matter
+  SALSA_CI_DISABLE_USCAN: 'true'
Binary files /var/tmp/I5noJRZSD7/wireless-regdb-2026.05.30/regulatory.bin and 
/var/tmp/vOchqpGcVM/wireless-regdb-2026.09.03/regulatory.bin differ
Binary files /var/tmp/I5noJRZSD7/wireless-regdb-2026.05.30/regulatory.db and 
/var/tmp/vOchqpGcVM/wireless-regdb-2026.09.03/regulatory.db differ
Binary files /var/tmp/I5noJRZSD7/wireless-regdb-2026.05.30/regulatory.db.p7s 
and /var/tmp/vOchqpGcVM/wireless-regdb-2026.09.03/regulatory.db.p7s differ
diff -Nru wireless-regdb-2026.05.30/sha1sum.txt 
wireless-regdb-2026.09.03/sha1sum.txt
--- wireless-regdb-2026.05.30/sha1sum.txt       2026-05-30 16:36:17.000000000 
+0100
+++ wireless-regdb-2026.09.03/sha1sum.txt       2026-09-03 06:50:37.000000000 
+0100
@@ -1 +1 @@
-84e1c61b29afb342f41c18ec6f4f67abc1f09901  db.txt
+fc937a14c290604212303e2f4caad3796e70e414  db.txt

Reply via email to