mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-01-30 12:02:57 +01:00
wireless-regdb: drop 20220606-r1
This commit is contained in:
parent
f13187a254
commit
fc9693ea06
2 changed files with 0 additions and 65 deletions
|
|
@ -1,2 +1 @@
|
|||
DIST wireless-regdb-2022.06.06.tar.xz 26636 BLAKE2B e7695b1d4173ec239645a1f9c0bdd8f9cef92da86d918f3b2a7904487787b1a8b6fce5a75d0b7fad7d8a25f1419a4771e509977a5e3b13dff03bc53e976609f6 SHA512 ee6e79eeef3bf995120d31741bac9592771cbf918401f83d0ee059ba4119f7d9667607c5218bd9eeb0011dd7083264cf39a1a0ad3ebfd37dcfd957b01f248e0d
|
||||
DIST wireless-regdb-2023.05.03.tar.xz 27260 BLAKE2B e880be3bacd7409719ede3e104ea6af870e0fb4edaefa6c61615ca74a8169a159348d631a4c296e273f6cc6e01ced2089e56c10080dd15a7439d8b4510eff7b8 SHA512 9de4852a1d351c11399ca55ea2ad61be23f488c61595b5c5afa3498d76488adc8120c6c77644275c460efcd1bb5bb68fa25597e73bec22ae847321bb55f7af27
|
||||
|
|
|
|||
|
|
@ -1,64 +0,0 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit python-any-r1
|
||||
|
||||
MY_P="wireless-regdb-${PV:0:4}.${PV:4:2}.${PV:6:2}"
|
||||
DESCRIPTION="Binary regulatory database for CRDA"
|
||||
HOMEPAGE="https://wireless.wiki.kernel.org/en/developers/regulatory/wireless-regdb"
|
||||
SRC_URI="https://www.kernel.org/pub/software/network/${PN}/${MY_P}.tar.xz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
IUSE="pentoo"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
#This doesn't seem to work right without CRDA and I need to fix that because crda is being removed soon
|
||||
#KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
|
||||
|
||||
BDEPEND="${PYTHON_DEPS}
|
||||
$(python_gen_any_dep 'dev-python/m2crypto[${PYTHON_USEDEP}]')"
|
||||
|
||||
python_check_deps() {
|
||||
python_has_version "dev-python/m2crypto[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}"/no-no-ir.patch
|
||||
eapply_user
|
||||
}
|
||||
|
||||
#TODO: add pentoo use flag to not patch the regdb, maybe adjust deps
|
||||
|
||||
src_compile() {
|
||||
if use pentoo; then
|
||||
emake -j1 --shuffle=none install-distro-key || die "make install-distro-key failed"
|
||||
emake -j1 --shuffle=none || die "emake failed"
|
||||
fi
|
||||
true
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# This file is not ABI-specific, and crda itself always hardcodes
|
||||
# this path. So install into a common location for all ABIs to use.
|
||||
insinto /usr/lib/crda
|
||||
doins regulatory.bin
|
||||
|
||||
insinto /etc/wireless-regdb/pubkeys
|
||||
doins *.key.pub.pem
|
||||
|
||||
# Linux 4.15 now complains if the firmware loader
|
||||
# can't find these files #643520
|
||||
insinto /lib/firmware
|
||||
doins regulatory.db
|
||||
doins regulatory.db.p7s
|
||||
|
||||
doman regulatory.bin.5
|
||||
dodoc README db.txt
|
||||
}
|
||||
Loading…
Reference in a new issue