From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH 2/6] crda: removal from kernel 4.15 and onwards.
Date: Fri, 09 Jul 2021 12:20:37 +0200 [thread overview]
Message-ID: <41421927-7dde-d6ff-b297-01ec41721687@ipfire.org> (raw)
In-Reply-To: <4ff905fdb41cbe70329e72d1222160aa@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 5980 bytes --]
Hi Arne,
On 09/07/2021 08:26, Arne Fitzenreiter wrote:
> Removing regdump from crda package will break the hostapd webif because
> this is used to
> generate the countrylist from wireless-regdb.
I thought things had gone too smoothly. Oh well.
I have searched in the hostapd mail list for crda in the subject.
Nothing found all the way back to mid 2020 when there was a two year
break in any mails listed.
I can't find any way to search the body of the mails for any mention of
crda and doing a google search for "hostapd crda" didn't flag anything
useful up.
So I think I need to mail the hostapd list to see what their plans are
to not use crda (with its python2 dependency) in hostapd.
Does anyone have any other thoughts on how to deal with this?
Regards,
Adolf.
>
> Arne
>
> Am 2021-06-28 21:13, schrieb Adolf Belka:
>> - From kernel 4.15 and onwards the function of what crda does is built
>> into the kernel.
>> - Tested the removal of crda with kernel 4.14.232 and kernel 5.10.45
>> Country code set by "iw reg set NL" was recognised with kernel
>> 5.10.45 and set at
>> the global value of 00 with kernel 4.14.232 confirming the kernel
>> built in option is
>> working without the prescence of crda
>>
>> Tested-by: Adolf Belka <adolf.belka(a)ipfire.org>
>> Signed-off-by: Adolf Belka <adolf.belka(a)ipfire.org>
>> ---
>> config/rootfiles/common/crda | 14 -------
>> lfs/crda | 78 ------------------------------------
>> 2 files changed, 92 deletions(-)
>> delete mode 100644 config/rootfiles/common/crda
>> delete mode 100644 lfs/crda
>>
>> diff --git a/config/rootfiles/common/crda b/config/rootfiles/common/crda
>> deleted file mode 100644
>> index 5f93bc254..000000000
>> --- a/config/rootfiles/common/crda
>> +++ /dev/null
>> @@ -1,14 +0,0 @@
>> -lib/udev/rules.d/85-regulatory.rules
>> -#root/.python-eggs
>> -#root/.python-eggs/M2Crypto-0.21.1-py2.7-linux-xxxMACHINExxx.egg-tmp
>> -#root/.python-eggs/M2Crypto-0.21.1-py2.7-linux-xxxMACHINExxx.egg-tmp/M2Crypto
>>
>> -#root/.python-eggs/M2Crypto-0.21.1-py2.7-linux-xxxMACHINExxx.egg-tmp/M2Crypto/__m2crypto.so
>>
>> -sbin/crda
>> -sbin/regdbdump
>> -#usr/include/reglib
>> -#usr/include/reglib/nl80211.h
>> -#usr/include/reglib/regdb.h
>> -#usr/include/reglib/reglib.h
>> -usr/lib/libreg.so
>> -#usr/share/man/man8/crda.8.gz
>> -#usr/share/man/man8/regdbdump.8.gz
>> diff --git a/lfs/crda b/lfs/crda
>> deleted file mode 100644
>> index bd812942e..000000000
>> --- a/lfs/crda
>> +++ /dev/null
>> @@ -1,78 +0,0 @@
>> -###############################################################################
>>
>> -# #
>> -# IPFire.org - A linux based firewall #
>> -# Copyright (C) 2007-2018 IPFire Team <info(a)ipfire.org> #
>> -# #
>> -# This program is free software: you can redistribute it and/or
>> modify #
>> -# it under the terms of the GNU General Public License as published
>> by #
>> -# the Free Software Foundation, either version 3 of the License, or
>> #
>> -# (at your option) any later version. #
>> -# #
>> -# This program is distributed in the hope that it will be useful,
>> #
>> -# but WITHOUT ANY WARRANTY; without even the implied warranty of
>> #
>> -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
>> -# GNU General Public License for more details. #
>> -# #
>> -# You should have received a copy of the GNU General Public License
>> #
>> -# along with this program. If not, see
>> <http://www.gnu.org/licenses/>. #
>> -# #
>> -###############################################################################
>>
>> -
>> -###############################################################################
>>
>> -# Definitions
>> -###############################################################################
>>
>> -
>> -include Config
>> -
>> -VER = 4.14
>> -
>> -THISAPP = crda-$(VER)
>> -DL_FILE = $(THISAPP).tar.gz
>> -DL_FROM = $(URL_IPFIRE)
>> -DIR_APP = $(DIR_SRC)/$(THISAPP)
>> -
>> -TARGET = $(DIR_INFO)/$(THISAPP)
>> -
>> -###############################################################################
>>
>> -# Top-level Rules
>> -###############################################################################
>>
>> -
>> -objects = $(DL_FILE)
>> -
>> -$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>> -
>> -$(DL_FILE)_MD5 = cac7ba8de3e2e6aa46918e0c76df7d67
>> -
>> -install : $(TARGET)
>> -
>> -check : $(patsubst %,$(DIR_CHK)/%,$(objects))
>> -
>> -download :$(patsubst %,$(DIR_DL)/%,$(objects))
>> -
>> -md5 : $(subst %,%_MD5,$(objects))
>> -
>> -###############################################################################
>>
>> -# Downloading, checking, md5sum
>> -###############################################################################
>>
>> -
>> -$(patsubst %,$(DIR_CHK)/%,$(objects)) :
>> - @$(CHECK)
>> -
>> -$(patsubst %,$(DIR_DL)/%,$(objects)) :
>> - @$(LOAD)
>> -
>> -$(subst %,%_MD5,$(objects)) :
>> - @$(MD5)
>> -
>> -###############################################################################
>>
>> -# Installation Details
>> -###############################################################################
>>
>> -
>> -$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
>> - @$(PREBUILD)
>> - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
>> - cd $(DIR_APP) && sed -e "s/-Werror//g" -i Makefile
>> - cd $(DIR_APP) && make $(MAKETUNING)
>> - cd $(DIR_APP) && make install
>> - @rm -rf $(DIR_APP)
>> - @$(POSTBUILD)
--
Sent from my laptop
next prev parent reply other threads:[~2021-07-09 10:20 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-28 19:13 [PATCH 1/6] make.sh: Remove crda and remaining python2 modules Adolf Belka
2021-06-28 19:13 ` [PATCH 2/6] crda: removal from kernel 4.15 and onwards Adolf Belka
2021-07-09 6:26 ` Arne Fitzenreiter
2021-07-09 10:20 ` Adolf Belka [this message]
2021-07-10 7:25 ` Arne Fitzenreiter
2021-07-10 11:17 ` Adolf Belka
2021-07-11 11:29 ` Adolf Belka
2021-07-11 12:51 ` Michael Tremer
2021-07-16 12:28 ` Adolf Belka
2021-07-28 17:44 ` Adolf Belka
2021-06-28 19:13 ` [PATCH 3/6] python-m2crypto: removal of python2 module Adolf Belka
2021-06-28 19:13 ` [PATCH 4/6] python-typing: Removal of this " Adolf Belka
2021-06-28 19:13 ` [PATCH 5/6] python-setuptools: " Adolf Belka
2021-06-28 19:14 ` [PATCH 6/6] ipaddr: " Adolf Belka
2021-07-05 16:39 ` [PATCH 1/6] make.sh: Remove crda and remaining python2 modules Michael Tremer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41421927-7dde-d6ff-b297-01ec41721687@ipfire.org \
--to=adolf.belka@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox