public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH v2 1/8] make.sh: Remove crda and remaining python2 modules
@ 2021-07-28 17:29 Adolf Belka
  2021-07-28 17:29 ` [PATCH v2 2/8] crda: removal from kernel 4.15 and onwards Adolf Belka
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Adolf Belka @ 2021-07-28 17:29 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1878 bytes --]

- crda only works with python2 version of m2crypto
   python-m2crypto requires python-setuptools and python-typing
- With Linux kernel 4.15 and later the country code status check that crda did is built
   into the kernel.
- So from kernel 4.15, crda can be removed, which allows removal of m2crypto, setuptools
   and typing.
- python-typing is built into python3 so no additional python3 module required.
- python3 version of python-setuptools has already been installed.
- python3 version of python-m2crypto is not required. python-m2crypto is only used for the
   build of crda.
- ipaddr can be removed as the function of this python2 module is built into python3 with
   ipaddress.py
- removal of crda tested with 5.10.45 kernel and the setting of a country code was
   recognised. If this test carried out with crda removed and 4.14.232 kernel then country
   code stays defined as the global code "00".

Signed-off-by: Adolf Belka <adolf.belka(a)ipfire.org>
---
 make.sh | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/make.sh b/make.sh
index 13a48f461..57b83e432 100755
--- a/make.sh
+++ b/make.sh
@@ -1296,7 +1296,6 @@ buildipfire() {
   lfsmake2 whatmask
   lfsmake2 libtirpc
   lfsmake2 conntrack-tools
-  lfsmake2 ipaddr
   lfsmake2 iputils
   lfsmake2 l7-protocols
   lfsmake2 hwdata
@@ -1333,7 +1332,6 @@ buildipfire() {
   lfsmake2 XML-Parser
   lfsmake2 Crypt-PasswdMD5
   lfsmake2 Net-Telnet
-  lfsmake2 python-setuptools
   lfsmake2 python3-setuptools
   lfsmake2 python3-inotify
   lfsmake2 python3-docutils
@@ -1517,10 +1515,7 @@ buildipfire() {
   lfsmake2 swig
   lfsmake2 u-boot
   lfsmake2 u-boot-friendlyarm
-  lfsmake2 python-typing
-  lfsmake2 python-m2crypto
   lfsmake2 wireless-regdb
-  lfsmake2 crda
   lfsmake2 libsolv
   lfsmake2 ddns
   lfsmake2 python3-setuptools-scm
-- 
2.32.0


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-08-04 17:04 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-28 17:29 [PATCH v2 1/8] make.sh: Remove crda and remaining python2 modules Adolf Belka
2021-07-28 17:29 ` [PATCH v2 2/8] crda: removal from kernel 4.15 and onwards Adolf Belka
2021-07-28 17:29 ` [PATCH v2 3/8] python-m2crypto: removal of python2 module Adolf Belka
2021-07-28 17:29 ` [PATCH v2 4/8] python-typing: Removal of this " Adolf Belka
2021-07-28 17:29 ` [PATCH v2 5/8] python-setuptools: " Adolf Belka
2021-07-28 17:29 ` [PATCH v2 6/8] ipaddr: " Adolf Belka
2021-07-28 17:29 ` [PATCH v2 7/8] wireless-regdb: Use db.txt file for wlanap.cgi Adolf Belka
2021-08-04 14:34   ` Michael Tremer
2021-07-28 17:29 ` [PATCH v2 8/8] wlanap.cgi: Access db.txt in place of using regdbdump on regulatory.bin Adolf Belka
2021-08-04 14:32   ` Michael Tremer
2021-08-04 17:04     ` Adolf Belka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox