From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka 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 Message-ID: <41421927-7dde-d6ff-b297-01ec41721687@ipfire.org> In-Reply-To: <4ff905fdb41cbe70329e72d1222160aa@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5627730928484677128==" List-Id: --===============5627730928484677128== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Arne, On 09/07/2021 08:26, Arne Fitzenreiter wrote: > Removing regdump from crda package will break the hostapd webif because=20 > 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.=20 Nothing found all the way back to mid 2020 when there was a two year=20 break in any mails listed. I can't find any way to search the body of the mails for any mention of=20 crda and doing a google search for "hostapd crda" didn't flag anything=20 useful up. So I think I need to mail the hostapd list to see what their plans are=20 to not use crda (with its python2 dependency) in hostapd. Does anyone have any other thoughts on how to deal with this? Regards, Adolf. >=20 > Arne >=20 > 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 >> =C2=A0=C2=A0 Country code set by "iw reg set NL" was recognised with kernel >> 5.10.45 and set at >> =C2=A0=C2=A0 the global value of 00 with kernel 4.14.232 confirming the ke= rnel >> built in option is >> =C2=A0=C2=A0 working without the prescence of crda >> >> Tested-by: Adolf Belka >> Signed-off-by: Adolf Belka >> --- >> =C2=A0config/rootfiles/common/crda | 14 ------- >> =C2=A0lfs/crda=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 78 -----------= ------------------------- >> =C2=A02 files changed, 92 deletions(-) >> =C2=A0delete mode 100644 config/rootfiles/common/crda >> =C2=A0delete 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/M2Cr= ypto=20 >> >> -#root/.python-eggs/M2Crypto-0.21.1-py2.7-linux-xxxMACHINExxx.egg-tmp/M2Cr= ypto/__m2crypto.so=20 >> >> -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 @@ >> -#########################################################################= ######=20 >> >> -# =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # >> -# IPFire.org - A linux based firewall =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 # >> -# Copyright (C) 2007-2018=C2=A0 IPFire Team=C2=A0 =C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # >> -# =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # >> -# This program is free software: you can redistribute it and/or=20 >> modify =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # >> -# it under the terms of the GNU General Public License as published=20 >> by =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # >> -# the Free Software Foundation, either version 3 of the License, or=20 >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # >> -# (at your option) any later version. =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 # >> -# =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # >> -# This program is distributed in the hope that it will be useful,=20 >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # >> -# but WITHOUT ANY WARRANTY; without even the implied warranty of=20 >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # >> -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.=C2=A0 See the =C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # >> -# GNU General Public License for more details. =C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 # >> -# =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # >> -# You should have received a copy of the GNU General Public License=20 >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # >> -# along with this program.=C2=A0 If not, see=20 >> .=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # >> -# =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 # >> -#########################################################################= ######=20 >> >> - >> -#########################################################################= ######=20 >> >> -# Definitions >> -#########################################################################= ######=20 >> >> - >> -include Config >> - >> -VER=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 4.14 >> - >> -THISAPP=C2=A0=C2=A0=C2=A0 =3D crda-$(VER) >> -DL_FILE=C2=A0=C2=A0=C2=A0 =3D $(THISAPP).tar.gz >> -DL_FROM=C2=A0=C2=A0=C2=A0 =3D $(URL_IPFIRE) >> -DIR_APP=C2=A0=C2=A0=C2=A0 =3D $(DIR_SRC)/$(THISAPP) >> - >> -TARGET =3D $(DIR_INFO)/$(THISAPP) >> - >> -#########################################################################= ######=20 >> >> -# Top-level Rules >> -#########################################################################= ######=20 >> >> - >> -objects =3D $(DL_FILE) >> - >> -$(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) >> - >> -$(DL_FILE)_MD5 =3D cac7ba8de3e2e6aa46918e0c76df7d67 >> - >> -install : $(TARGET) >> - >> -check : $(patsubst %,$(DIR_CHK)/%,$(objects)) >> - >> -download :$(patsubst %,$(DIR_DL)/%,$(objects)) >> - >> -md5 : $(subst %,%_MD5,$(objects)) >> - >> -#########################################################################= ######=20 >> >> -# Downloading, checking, md5sum >> -#########################################################################= ######=20 >> >> - >> -$(patsubst %,$(DIR_CHK)/%,$(objects)) : >> -=C2=A0=C2=A0=C2=A0 @$(CHECK) >> - >> -$(patsubst %,$(DIR_DL)/%,$(objects)) : >> -=C2=A0=C2=A0=C2=A0 @$(LOAD) >> - >> -$(subst %,%_MD5,$(objects)) : >> -=C2=A0=C2=A0=C2=A0 @$(MD5) >> - >> -#########################################################################= ######=20 >> >> -# Installation Details >> -#########################################################################= ######=20 >> >> - >> -$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) >> -=C2=A0=C2=A0=C2=A0 @$(PREBUILD) >> -=C2=A0=C2=A0=C2=A0 @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_D= L)/$(DL_FILE) >> -=C2=A0=C2=A0=C2=A0 cd $(DIR_APP) && sed -e "s/-Werror//g" -i Makefile >> -=C2=A0=C2=A0=C2=A0 cd $(DIR_APP) && make $(MAKETUNING) >> -=C2=A0=C2=A0=C2=A0 cd $(DIR_APP) && make install >> -=C2=A0=C2=A0=C2=A0 @rm -rf $(DIR_APP) >> -=C2=A0=C2=A0=C2=A0 @$(POSTBUILD) --=20 Sent from my laptop --===============5627730928484677128==--