forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net-wireless/wireless-regdb: add 20220606
Signed-off-by: Rick Farina <[email protected]> This new release adds wifi 6E support for a few countries.
- Loading branch information
1 parent
ec5870f
commit 1a8df31
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DIST wireless-regdb-2021.04.21.tar.xz 24944 BLAKE2B 4af782ceefe67c311cb90d1f64d830d9e5d2ccb7bc1aebcd8a176079522c21f1d8ef70cad0bd7223e9d56d46e6d20030af2349da9944d7ee3590bad28aeba467 SHA512 0ffbee04ec08c2025a34b60adc11198d64cb258a6ce53caf758667d25b733a242ca592d76ebd08e5692047917f5f42bb67a176f67a7d6bd11ad9178378cd0d26 | ||
DIST wireless-regdb-2022.02.18.tar.xz 25908 BLAKE2B 1237537a5d9ed249cc53b838b65effa83ceecd06bb76b11388a6c7673cd61322026617f033bea53d024f15a58ca19c4ab51bb624f2ee8fb1f2233b8e99140d4a SHA512 133fadd331dc0bd3f23e7dab54c3dfb1c55d8271bdaf9f393207fccd6c4d1d3d8f6428c1bebad54b2f3fd4837c4b6930b2fb33b3dc07abb53e41bdc8a54d8de4 | ||
DIST wireless-regdb-2022.04.08.tar.xz 26308 BLAKE2B 30d3be06709c9dac3c034ded733f24a2261be06adfb9723cfb5bfec79439b89383be8b2d2acb41ea98c2138532b227b8fc14ba92512fa40b61ae7c3294d9a284 SHA512 328ccd6df67241faf03674820e4f799572764af580254b3aa4c834a9535a2732d303bcfe3ce503404f608074849424f1f8599b0f567dc00d7393dbcff7f07cf8 | ||
DIST wireless-regdb-2022.06.06.tar.xz 26636 BLAKE2B e7695b1d4173ec239645a1f9c0bdd8f9cef92da86d918f3b2a7904487787b1a8b6fce5a75d0b7fad7d8a25f1419a4771e509977a5e3b13dff03bc53e976609f6 SHA512 ee6e79eeef3bf995120d31741bac9592771cbf918401f83d0ee059ba4119f7d9667607c5218bd9eeb0011dd7083264cf39a1a0ad3ebfd37dcfd957b01f248e0d |
37 changes: 37 additions & 0 deletions
37
net-wireless/wireless-regdb/wireless-regdb-20220606.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Copyright 1999-2022 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
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}" | ||
|
||
LICENSE="ISC" | ||
SLOT="0" | ||
KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86" | ||
|
||
src_compile() { | ||
einfo "Recompiling regulatory.bin from db.txt would break CRDA verify. Installing unmodified binary version." | ||
} | ||
|
||
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 sforshee.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 | ||
} |