diff options
author | Rick Farina <zerochaos@gentoo.org> | 2022-04-04 10:56:00 -0400 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2022-04-04 10:56:19 -0400 |
commit | d139db15d7d615eeafd457bc4a23432aa6684d0d (patch) | |
tree | 83280b2246578adabaf576bc81c034403dc8109b /net-wireless | |
parent | net-wireless/wireless-regdb: drop 20201120 (diff) | |
download | gentoo-d139db15d7d615eeafd457bc4a23432aa6684d0d.tar.gz gentoo-d139db15d7d615eeafd457bc4a23432aa6684d0d.tar.bz2 gentoo-d139db15d7d615eeafd457bc4a23432aa6684d0d.zip |
net-wireless/wireless-regdb: add 20220218
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/wireless-regdb/Manifest | 1 | ||||
-rw-r--r-- | net-wireless/wireless-regdb/wireless-regdb-20220218.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/net-wireless/wireless-regdb/Manifest b/net-wireless/wireless-regdb/Manifest index ec30def29bb3..d1762f470d07 100644 --- a/net-wireless/wireless-regdb/Manifest +++ b/net-wireless/wireless-regdb/Manifest @@ -1 +1,2 @@ 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 diff --git a/net-wireless/wireless-regdb/wireless-regdb-20220218.ebuild b/net-wireless/wireless-regdb/wireless-regdb-20220218.ebuild new file mode 100644 index 000000000000..050550bee28b --- /dev/null +++ b/net-wireless/wireless-regdb/wireless-regdb-20220218.ebuild @@ -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 ~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 +} |