summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-firmware
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
commit623ee73d661e5ed8475cb264511f683407d87365 (patch)
tree993eb27c93ec7a2d2d19550300d888fc1fed9e69 /sys-kernel/linux-firmware
parentceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff)
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'sys-kernel/linux-firmware')
-rw-r--r--sys-kernel/linux-firmware/Manifest22
-rw-r--r--sys-kernel/linux-firmware/linux-firmware-20190603.ebuild299
-rw-r--r--sys-kernel/linux-firmware/linux-firmware-20190815.ebuild2
-rw-r--r--sys-kernel/linux-firmware/linux-firmware-20190923.ebuild2
-rw-r--r--sys-kernel/linux-firmware/linux-firmware-20191008.ebuild354
-rw-r--r--sys-kernel/linux-firmware/linux-firmware-20191022.ebuild2
-rw-r--r--sys-kernel/linux-firmware/linux-firmware-20191108.ebuild354
-rw-r--r--sys-kernel/linux-firmware/linux-firmware-20191215.ebuild2
-rw-r--r--sys-kernel/linux-firmware/linux-firmware-20200122.ebuild2
-rw-r--r--sys-kernel/linux-firmware/linux-firmware-20200316.ebuild (renamed from sys-kernel/linux-firmware/linux-firmware-20190904.ebuild)8
-rw-r--r--sys-kernel/linux-firmware/linux-firmware-99999999.ebuild8
11 files changed, 23 insertions, 1032 deletions
diff --git a/sys-kernel/linux-firmware/Manifest b/sys-kernel/linux-firmware/Manifest
index 7c41bf5949e5..577e5b62dc8e 100644
--- a/sys-kernel/linux-firmware/Manifest
+++ b/sys-kernel/linux-firmware/Manifest
@@ -1,20 +1,14 @@
-DIST linux-firmware-20190603.tar.gz 186855626 BLAKE2B 66e3bf709ae9a3df1ac9b7b9bd4e1fa556b07696896e7db086c7b60887a8e8854638d86ecead091d32b3d9a83adc1ab88e8b2fde730f8f97a3225492c2229512 SHA512 9027ae7f649b7e1ff15177c1edb23def93d8fe90a63a90e72e7ab98414d557c9f4545ced30363c68eb1715cd74d19c0dd9e395e82320427b4aab2432a173e62b
DIST linux-firmware-20190815.tar.gz 195268794 BLAKE2B bc67b4501e1d0c4375000bbcbae754b072a3769703eb214f85468d910f29becbe79f6989d3bf223ffa259326c964cbf153326b64d7756882165d29b576e13703 SHA512 99bcc1372ed51be1692cbc3c7b7c34940ee2f9b89f611afa5266b2b0825ed602cde27ff383edb776c1239eaf37002cd19be7cbb7cdf81e0721c3167d38018e9a
-DIST linux-firmware-20190904.tar.gz 196829538 BLAKE2B b45b03b26908fab0602ad7e6ff8b5a2028b56a2d4d200de6fda332e9f589e6fa898cfc5eb7a28b585b1eadefb3bc7a06e5e5685928f2a087ddba39b792ff9ca2 SHA512 5469754181b3ddbe7233958d517d845c1220890758769995f90605e2f70cd34ed29d1904e8b0388293515191795deef8be1f457f9cb196c9cf01a65707534aff
DIST linux-firmware-20190923.tar.gz 198130120 BLAKE2B 21f337e8ef693513b5569ab67bf3ae2323f2c9109ce3fc7d6d0d071974dc8c53301eb21e0b1c279753e867873e4bb04274c0b2b5bfb1160aeaff2f2c92d7f26c SHA512 1421f283602fe889b6fba5d84eab1199c63c597a4fb487583bee188cfa01c7d41bde4ac53eee992a6aa1bb95a77126eee786f96fb682cd7992c5ec581601db54
-DIST linux-firmware-20191008.tar.gz 198940781 BLAKE2B 35d7bca55473264c4f713bc97d26367ceee4013e57c3f310038674290dd1fc0a0a1a1cf8aa26dcb06c6dc0d7df7b927e47455d2b94f7aaf331650f4b4e3335b8 SHA512 a47be88327f59b6ee9964370ebd0e813de3d22d780971815c5696dacbaad402996ad0f312fffa110beb1f588a450618e24b12181a984bb4383f011f4ae53c875
DIST linux-firmware-20191022.tar.gz 198935619 BLAKE2B 94d90a8e85af7104f08c398d3df20a88dc4d6f86d638565ab6e45e7fc5dff53e4e56a62a859585438812a1438ea7f7c4e4e47ce4adb22b0adf69439feb5803b4 SHA512 2cc99664c8d0275b670373581d7c6e29699f8b84cd6403949182cc1970c3241e5d9c388c34643630a237d87962b7c8e891445969ca9817ac92a4bbbe74e0dc0d
-DIST linux-firmware-20191108.tar.gz 203746264 BLAKE2B cd756ac1b1bde9706cd8321133da2e4e620a3236614427ae9836fc5e98fbc62e79060e6cf50717b41391fba9d56e16140f722ffcc5764e4b81ad2e798d1b41ec SHA512 75eb78ef642cc48dc3d8d2cdd7e5312b82ee3c9ebd6ead40a02fdc1d4329c5a9226237fa0ec8e617fc358cc12144dacf4ef6c1441fe444974c1506ef21ea70a0
DIST linux-firmware-20191215.tar.gz 203746264 BLAKE2B cd756ac1b1bde9706cd8321133da2e4e620a3236614427ae9836fc5e98fbc62e79060e6cf50717b41391fba9d56e16140f722ffcc5764e4b81ad2e798d1b41ec SHA512 75eb78ef642cc48dc3d8d2cdd7e5312b82ee3c9ebd6ead40a02fdc1d4329c5a9226237fa0ec8e617fc358cc12144dacf4ef6c1441fe444974c1506ef21ea70a0
DIST linux-firmware-20200122.tar.gz 219807963 BLAKE2B 976cf7f8da61213a1210348cffdda8cae1b3f3a2d46aac05fe331fdff37e954620c2768f8941e0d4b6fff8c7b69d68b86516c9df9b9cf96538a4463b0957d1a2 SHA512 23500cc99d31597fe691341404cbe9375f7995783b4bf055a53a67ace380bdf9db1c247f12ae7e63ac02e4078e5089aa33e5cc6c2622b26dfaab4a65bfab1db3
-EBUILD linux-firmware-20190603.ebuild 8029 BLAKE2B 5faf4b9e39b62eed3444a5cd9cda818627db6947ffa6a7ab958ab180b05a54f67d2f3fb24ade2f5a5e18f097e356b0ba0c7c6dce7905d6a160b52bd9d3c2af56 SHA512 87d97e0ea8005dda3ba32e00ba8403ea21038afafd090e61cc6159ed291887402e5cb2998fc2ba7111f929e9aa41f07e53fa43f4e441de5d006de101f5658d94
-EBUILD linux-firmware-20190815.ebuild 9650 BLAKE2B 20a270b1d1f9b9f71b65a811970f584c55d35d929ed9bc94b904bbe761b75c8bfd9b9b9e06ba5b05dcd35f279bcc924bc1cb78d824072a61ed78310a2cc6b1bb SHA512 6f70b6e954cb7a482d14e01cc73ca46fb556c1cbce2d5c31f74d3a1fe4fb1e8486769324ea384e2c06bedc4734c3ff4edbe2348e67db7babca81e04ba3e26166
-EBUILD linux-firmware-20190904.ebuild 9650 BLAKE2B e826e186e5a51cf000c7e8db5552edfb71cc20261b3fc4bf1aabc8b8a67778b37ff46c320b479f44dad9094f27c782800a16b14f5956debdb05b687f2ac986f7 SHA512 f5bff770a5499e35b28fb22f6dd08a622e9d4f97be5c1568e7381e2d5b09a5000fb22ed20109b10595993419df7d3cfde847fa5be6ce022d2fdbe5a0335cc508
-EBUILD linux-firmware-20190923.ebuild 9650 BLAKE2B 17f128700e811182ad2052256dd835b4d91803d894f3d4739423cc92ae3f1cb6d1b5cab142e70b2e6e991a41af873b705fc8107f94dcb6d0b4c2ea8ffbbe1a85 SHA512 0255d6e71aae687879c7db81a35cdd2c210cff83b53c480ba224e9bf0e0150ed9f3d2c60098722034519df302d7861e101e9589e5f69bf145ef457c4d5ad3eda
-EBUILD linux-firmware-20191008.ebuild 9650 BLAKE2B b25665e5b2560e1fe3abef1f6f4ff51abfe4aac70338f31eab8e480ac8be8309950be4bd8d1576272d136b3a81c875d5005dfc27473774a6b6ae0465bd9b974b SHA512 0fb492af1ad07d431a02f609e4096cae1c6ca6f912770f4b60c7898574c56bfc6414fc3f628ef4bcc77b76dd5cc6fa13b2242277a9457320847deeb448dc44da
-EBUILD linux-firmware-20191022.ebuild 9650 BLAKE2B 774886d688fde74a765ba32fc0af18cf3bd8b108c30bccfb98e567e1d05cc210fc5c7fa8fed66250fb013ea16fc1e9f5aae2918aebcf150e0f65b09f5fa905bf SHA512 c97b9b0460020810f034633e428955f968d029a442024c938b9871254063c667362d35cf1b075437ed7e7c56d8d340e7d5c31f442e25b4c9fcce633a690cc935
-EBUILD linux-firmware-20191108.ebuild 9650 BLAKE2B 9613c850df1f7edb61f5f4882b5a79574d087933160adbb92040b412adb6f0d72eed83634fcfebe5787c140d68df557832fa1c5ac96b96d7066ebeef1eb06959 SHA512 9810f36388d786750fafde0cbf88a271cea7670fb54e9ea7b730b9370e846b619404e91a4aa8c60a7ec12ae784e7615c3d5f3879aa308303836373751ae53834
-EBUILD linux-firmware-20191215.ebuild 9650 BLAKE2B 9613c850df1f7edb61f5f4882b5a79574d087933160adbb92040b412adb6f0d72eed83634fcfebe5787c140d68df557832fa1c5ac96b96d7066ebeef1eb06959 SHA512 9810f36388d786750fafde0cbf88a271cea7670fb54e9ea7b730b9370e846b619404e91a4aa8c60a7ec12ae784e7615c3d5f3879aa308303836373751ae53834
-EBUILD linux-firmware-20200122.ebuild 9650 BLAKE2B 107d9c400a6d7bc94475e49035088b9c99355ba6d0c5ad8f5bad9daa6b2dbbaf8d2541a78037cfb7982b7f1acdee72616a68f8766e3e922486340eeb84301f53 SHA512 1ddfeff273d2ae053bd06b6b0680b21169c598dc95eb2b79938fe351c8d420808552a9a6ea8fa22de107a8217f57769e7b934e0f65a99c4b980e2f41af4b5547
-EBUILD linux-firmware-99999999.ebuild 9621 BLAKE2B 1a3ff9ddab3ceee929a91747a1195528405e37eee8a1f9f02a385ab66c5b153c69004dc3d46ca20c0cbeea59006838c50e15b68a63431f9cdafdf721ceba031f SHA512 44e9cef586b7d908ae2c9057827edc25929677fa4d865674524f022dd6b7ea4caad4a9996993deed6629480c89d50e4773596ce2c3e5639a67075ea8adb157d9
+DIST linux-firmware-20200316.tar.gz 221745284 BLAKE2B 6ab4944927420dd8c50d3a97beb32aff22917ab13b283c3358de9f5331479c2a4353dde68a221ac221e9ff5202e46cdaaab9b65cd0431a3984877ab44e2bd0ab SHA512 2fb16fcc474753902ab0236cbb116cdd5de10080d5ad5fc19a015ad3881a203c42beeccf5745e18346fc028a5c743d3d6439f0a04b86b2e0abf9f32aa5f55bad
+EBUILD linux-firmware-20190815.ebuild 9648 BLAKE2B 0db410cd671af196fdea060a6e199a1658e13684fc6fcb2880b8b31fc5c8108efebd478b2235a1fb0d93c959697946fb74c71c7e6665c0f61822f4f7c0ec0242 SHA512 91f5c8a7157a5b32073d791758f66f50816a3ade7d3045ccc68708110fc42dbd692820334371fe298f32871b054df275eabe96217ecc5432c766ca2b8b62b895
+EBUILD linux-firmware-20190923.ebuild 9648 BLAKE2B 7c661531b5e7800ebce4bd8720d58f99e036bd4282982a34a8f14c4c75e7031b301c8bfdf15016aa4df082f3f3c45fbe7b0b63370096467a395bc1ac4922c9ae SHA512 fde2a958629a49f6b51a8443aad1158d4a3655ffcdb0c1d872ab507cef1b07420c63661a5846390c78eb81d7cd6d36782875d1b2c2399aef9937ce02e97bcd5c
+EBUILD linux-firmware-20191022.ebuild 9648 BLAKE2B 8d8fb50d68faae58e2f6af8f6bac97917749756318a5baa04c7c3530b10d494d8cdb9d56e412806c1c8f97a3d0e2b7c1e5ada2373f1c39c5c068ab92a49a56a7 SHA512 95889ab2a87066138ad59adccbdc9e1281c29b5ed4504fe1f0594416841ceee9ede3ebaa4b249ae3ea4504be9635b5334c33124647772f97e62fb3a11ab8a461
+EBUILD linux-firmware-20191215.ebuild 9648 BLAKE2B bdd9169b53bbacec33a2264810ad3cc8cdc68d05036c37b2635abda96426322b680504978e61015d9761fe65688c4c7a7ce8521f2629c159872f4c83e4cb5e90 SHA512 6e0fa4b4792100099fb85d5726485d31bda067be9ce3b252c2f531acddf6bb5a49c8fd2188812daa8e8905012d728e15d701ba6679dcfb2e4a084d3842053cbd
+EBUILD linux-firmware-20200122.ebuild 9648 BLAKE2B cce67724bab2e103203d4a55802fbc75a3c924d8b897dd2baac302276f47b70fcfe25bae3ff7d540a5d2ec2c70b126dfd4c4d9d782a37471223cd739ed1388af SHA512 991c72eac102ff6444f70e86a7a5e9c4f8781c8cf376e8dc68e21b1315cd4601d017d7aa701427246810fc21f6e653c6f1014986a2faaa3835dce494379c470c
+EBUILD linux-firmware-20200316.ebuild 9660 BLAKE2B 6368aae540fb7bb98a57d4ad70741873094fdfd3aa36bef754562a5f8c48093079f86e2c8e909c2d1e66c2793a826334c0469511cb4a719d4bb0c7755b23ea47 SHA512 c90a9722986f83c90fe9b2b9878c99eba98e986c13fb88268fd3609a978d43aabae0928d2e4ed515fb702a4661e07a20a3ce7c499dcf72684e2d3b74287aa4fe
+EBUILD linux-firmware-99999999.ebuild 9661 BLAKE2B b32eb941d517abf7a0249c1e7b09765249740d117732e32bf5c5bc3930ff231eb798fa1865d654c7064dbbde318298c2450dfc86095dcac985e2d38045349749 SHA512 985b209c055103931971e0ef662d908aa73c79dceb32431614ac9d9cbbf459f363336281d2b18124ada15fd37ffe16a8ab19dc9800194f980e217c6f8c83a0bb
MISC metadata.xml 867 BLAKE2B db510434e654367fb0ae439b1a3ca3fc170f558022f07634a534ea982f2445ff656fa618b9dac5ebb6ac2f64d9ee93dcc59525c1f3d429eda4ebce05a678298c SHA512 5429e7424fac663e3448e80dad98365239b855f09522fe7ea3cd2c731bec37fee29209cc8ead46e73ea03cd85a3e9c8fafe18ddf4a35e5bb55513d63ad5ae7ff
diff --git a/sys-kernel/linux-firmware/linux-firmware-20190603.ebuild b/sys-kernel/linux-firmware/linux-firmware-20190603.ebuild
deleted file mode 100644
index 875b922e60ba..000000000000
--- a/sys-kernel/linux-firmware/linux-firmware-20190603.ebuild
+++ /dev/null
@@ -1,299 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit savedconfig
-
-if [[ ${PV} == 99999999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git"
-else
- GIT_COMMIT="1884732e01bec25affbd5d3366b187b757b095db"
- SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
-fi
-
-DESCRIPTION="Linux firmware files"
-HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git"
-
-LICENSE="GPL-2 GPL-2+ GPL-3 BSD MIT || ( MPL-1.1 GPL-2 )
- redistributable? (
- linux-fw-redistributable ( BSD-2 BSD BSD-4 ISC MIT no-source-code ) )
- unknown-license? ( all-rights-reserved )"
-SLOT="0"
-IUSE="+redistributable savedconfig unknown-license"
-RESTRICT="binchecks strip
- unknown-license? ( bindist )"
-
-RDEPEND="!savedconfig? (
- redistributable? (
- !sys-firmware/alsa-firmware[alsa_cards_ca0132]
- !media-tv/cx18-firmware
- !<sys-firmware/ivtv-firmware-20080701-r1
- !media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx]
- !media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885]
- !media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700]
- !net-dialup/ueagle-atm
- !net-dialup/ueagle4-atm
- !net-wireless/ar9271-firmware
- !net-wireless/i2400m-fw
- !net-wireless/libertas-firmware
- !sys-firmware/rt61-firmware
- !net-wireless/rt73-firmware
- !net-wireless/rt2860-firmware
- !net-wireless/rt2870-firmware
- !sys-block/qla-fc-firmware
- !sys-firmware/amd-ucode
- !sys-firmware/iwl1000-ucode
- !sys-firmware/iwl2000-ucode
- !sys-firmware/iwl2030-ucode
- !sys-firmware/iwl3945-ucode
- !sys-firmware/iwl4965-ucode
- !sys-firmware/iwl5000-ucode
- !sys-firmware/iwl5150-ucode
- !sys-firmware/iwl6000-ucode
- !sys-firmware/iwl6005-ucode
- !sys-firmware/iwl6030-ucode
- !sys-firmware/iwl6050-ucode
- !sys-firmware/iwl3160-ucode
- !sys-firmware/iwl7260-ucode
- !sys-firmware/iwl7265-ucode
- !sys-firmware/iwl3160-7260-bt-ucode
- !sys-firmware/radeon-ucode
- )
- unknown-license? (
- !sys-firmware/alsa-firmware[alsa_cards_korg1212]
- !sys-firmware/alsa-firmware[alsa_cards_maestro3]
- !sys-firmware/alsa-firmware[alsa_cards_sb16]
- !sys-firmware/alsa-firmware[alsa_cards_ymfpci]
- )
- )"
-
-#add anything else that collides to this
-
-src_unpack() {
- if [[ ${PV} == 99999999* ]]; then
- git-r3_src_unpack
- else
- default
- # rename directory from git snapshot tarball
- mv ${PN}-*/ ${P} || die
- fi
-}
-
-src_prepare() {
- # source and documentation files, not to be installed
- local source_files=(
- README
- WHENCE
- "LICEN[CS]E*"
- "GPL*"
- configure
- Makefile
- check_whence.py
- atusb/ChangeLog
- av7110/Boot.S
- av7110/Makefile
- carl9170fw/
- cis/Makefile
- cis/src/
- dsp56k/bootstrap.asm
- dsp56k/concat-bootstrap.pl
- dsp56k/Makefile
- "isci/*.[ch]"
- isci/Makefile
- isci/README
- "keyspan_pda/*.S"
- keyspan_pda/Makefile
- usbdux/
- )
-
- # whitelist of images with a free software license
- local free_software=(
- # keyspan_pda (GPL-2+)
- keyspan_pda/keyspan_pda.fw
- keyspan_pda/xircom_pgs.fw
- # dsp56k (GPL-2+)
- dsp56k/bootstrap.bin
- # ath9k_htc (BSD GPL-2+ MIT)
- ath9k_htc/htc_7010-1.4.0.fw
- ath9k_htc/htc_9271-1.4.0.fw
- # pcnet_cs, 3c589_cs, 3c574_cs, serial_cs (dual GPL-2/MPL-1.1)
- cis/LA-PCM.cis
- cis/PCMLM28.cis
- cis/DP83903.cis
- cis/NE2K.cis
- cis/tamarack.cis
- cis/PE-200.cis
- cis/PE520.cis
- cis/3CXEM556.cis
- cis/3CCFEM556.cis
- cis/MT5634ZLX.cis
- cis/RS-COM-2P.cis
- cis/COMpad2.cis
- cis/COMpad4.cis
- # serial_cs (GPL-3)
- cis/SW_555_SER.cis
- cis/SW_7xx_SER.cis
- cis/SW_8xx_SER.cis
- # dvb-ttpci (GPL-2+)
- av7110/bootcode.bin
- # usbdux, usbduxfast, usbduxsigma (GPL-2+)
- usbdux_firmware.bin
- usbduxfast_firmware.bin
- usbduxsigma_firmware.bin
- # brcmfmac (GPL-2+)
- brcm/brcmfmac4330-sdio.Prowise-PT301.txt
- brcm/brcmfmac43340-sdio.meegopad-t08.txt
- brcm/brcmfmac43362-sdio.cubietech,cubietruck.txt
- brcm/brcmfmac43362-sdio.lemaker,bananapro.txt
- brcm/brcmfmac43430a0-sdio.jumper-ezpad-mini3.txt
- "brcm/brcmfmac43430a0-sdio.ONDA-V80 PLUS.txt"
- brcm/brcmfmac43430-sdio.AP6212.txt
- brcm/brcmfmac43430-sdio.Hampoo-D2D3_Vi8A1.txt
- brcm/brcmfmac43430-sdio.MUR1DX.txt
- brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt
- brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt
- brcm/brcmfmac4356-pcie.gpd-win-pocket.txt
- # isci (GPL-2)
- isci/isci_firmware.bin
- # carl9170 (GPL-2+)
- carl9170-1.fw
- # atusb (GPL-2+)
- atusb/atusb-0.2.dfu
- atusb/atusb-0.3.dfu
- atusb/rzusb-0.3.bin
- # mlxsw_spectrum (dual BSD/GPL-2)
- mellanox/mlxsw_spectrum-13.1420.122.mfa2
- mellanox/mlxsw_spectrum-13.1530.152.mfa2
- mellanox/mlxsw_spectrum-13.1620.192.mfa2
- mellanox/mlxsw_spectrum-13.1702.6.mfa2
- mellanox/mlxsw_spectrum-13.1703.4.mfa2
- mellanox/mlxsw_spectrum-13.1910.622.mfa2
- mellanox/mlxsw_spectrum-13.2000.1122.mfa2
- )
-
- # blacklist of images with unknown license
- local unknown_license=(
- atmsar11.fw
- korg/k1212.dsp
- ess/maestro3_assp_kernel.fw
- ess/maestro3_assp_minisrc.fw
- yamaha/ds1_ctrl.fw
- yamaha/ds1_dsp.fw
- yamaha/ds1e_ctrl.fw
- tr_smctr.bin
- ttusb-budget/dspbootcode.bin
- emi62/bitstream.fw
- emi62/loader.fw
- emi62/midi.fw
- emi62/spdif.fw
- ti_3410.fw
- ti_5052.fw
- mts_mt9234mu.fw
- mts_mt9234zba.fw
- whiteheat.fw
- whiteheat_loader.fw
- intelliport2.bin
- cpia2/stv0672_vp4.bin
- vicam/firmware.fw
- edgeport/boot.fw
- edgeport/boot2.fw
- edgeport/down.fw
- edgeport/down2.fw
- edgeport/down3.bin
- sb16/mulaw_main.csp
- sb16/alaw_main.csp
- sb16/ima_adpcm_init.csp
- sb16/ima_adpcm_playback.csp
- sb16/ima_adpcm_capture.csp
- sun/cassini.bin
- acenic/tg1.bin
- acenic/tg2.bin
- adaptec/starfire_rx.bin
- adaptec/starfire_tx.bin
- yam/1200.bin
- yam/9600.bin
- 3com/3C359.bin
- ositech/Xilinx7OD.bin
- qlogic/isp1000.bin
- myricom/lanai.bin
- yamaha/yss225_registers.bin
- lgs8g75.fw
- )
-
- default
-
- # remove sources and documentation (wildcards are expanded)
- rm -r ${source_files[@]} || die
- rm -rf .git
-
- if use !unknown-license; then
- # remove files in unknown_license
- rm "${unknown_license[@]}" || die
- fi
-
- if use !redistributable; then
- # remove files _not_ in the free_software or unknown_license lists
- # everything else is confirmed (or assumed) to be redistributable
- # based on upstream acceptance policy
- local IFS=$'\n'
- find ! -type d -printf "%P\n" \
- | grep -Fvx -e "${free_software[*]}" -e "${unknown_license[*]}" \
- | xargs -d '\n' rm || die
- IFS=$' \t\n'
- fi
-
- echo "# Remove files that shall not be installed from this list." > ${PN}.conf
- find * ! -type d ! -name ${PN}.conf >> ${PN}.conf
-
- if use savedconfig; then
- restore_config ${PN}.conf
-
- ebegin "Removing all files not listed in config"
- find ! -type d ! -name ${PN}.conf -printf "%P\n" \
- | grep -Fvx -f <(grep -v '^#' ${PN}.conf \
- || die "grep failed, empty config file?") \
- | xargs -d '\n' --no-run-if-empty rm
- eend $? || die
- fi
-
- # remove empty directories, bug #396073
- find -type d -empty -delete || die
-}
-
-src_install() {
- save_config ${PN}.conf
- rm ${PN}.conf || die
-
- if ! ( shopt -s failglob; : * ) 2>/dev/null; then
- eerror "No files to install. Check your USE flag settings"
- eerror "and the list of files in your saved configuration."
- die "Refusing to install an empty package"
- fi
-
- insinto /lib/firmware/
- doins -r *
-}
-
-pkg_preinst() {
- if use savedconfig; then
- ewarn "USE=savedconfig is active. You must handle file collisions manually."
- fi
-}
-
-pkg_postinst() {
- elog "If you are only interested in particular firmware files, edit the saved"
- elog "configfile and remove those that you do not want."
-
- local ver
- for ver in ${REPLACING_VERSIONS}; do
- if ver_test ${ver} -lt 20190514; then
- elog
- elog 'Starting with version 20190514, installation of many firmware'
- elog 'files is controlled by USE flags. Please review your USE flag'
- elog 'and package.license settings if you are missing some files.'
- break
- fi
- done
-}
diff --git a/sys-kernel/linux-firmware/linux-firmware-20190815.ebuild b/sys-kernel/linux-firmware/linux-firmware-20190815.ebuild
index abb61dcfafad..cf65c9dc98fb 100644
--- a/sys-kernel/linux-firmware/linux-firmware-20190815.ebuild
+++ b/sys-kernel/linux-firmware/linux-firmware-20190815.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == 99999999* ]]; then
else
GIT_COMMIT="07b925b450bfb4cf3e141c612ec5b104658cd020"
SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
+ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86"
fi
DESCRIPTION="Linux firmware files"
diff --git a/sys-kernel/linux-firmware/linux-firmware-20190923.ebuild b/sys-kernel/linux-firmware/linux-firmware-20190923.ebuild
index 110889f51609..e212d2e40887 100644
--- a/sys-kernel/linux-firmware/linux-firmware-20190923.ebuild
+++ b/sys-kernel/linux-firmware/linux-firmware-20190923.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == 99999999* ]]; then
else
GIT_COMMIT="417a9c6e197a8d3eec792494efc87a2b42f76324"
SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
+ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86"
fi
DESCRIPTION="Linux firmware files"
diff --git a/sys-kernel/linux-firmware/linux-firmware-20191008.ebuild b/sys-kernel/linux-firmware/linux-firmware-20191008.ebuild
deleted file mode 100644
index 8f6faf530c22..000000000000
--- a/sys-kernel/linux-firmware/linux-firmware-20191008.ebuild
+++ /dev/null
@@ -1,354 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit mount-boot savedconfig
-
-if [[ ${PV} == 99999999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git"
-else
- GIT_COMMIT="aa95e90b2c638f1ca6647d12b2d1b18284428f9c"
- SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
-fi
-
-DESCRIPTION="Linux firmware files"
-HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git"
-
-LICENSE="GPL-2 GPL-2+ GPL-3 BSD MIT || ( MPL-1.1 GPL-2 )
- redistributable? (
- linux-fw-redistributable ( BSD-2 BSD BSD-4 ISC MIT no-source-code ) )
- unknown-license? ( all-rights-reserved )"
-SLOT="0"
-IUSE="initramfs +redistributable savedconfig unknown-license"
-RESTRICT="binchecks strip
- unknown-license? ( bindist )"
-
-REQUIRED_USE="initramfs? ( redistributable )"
-
-BDEPEND="initramfs? ( app-arch/cpio )"
-
-#add anything else that collides to this
-RDEPEND="!savedconfig? (
- redistributable? (
- !sys-firmware/alsa-firmware[alsa_cards_ca0132]
- !media-tv/cx18-firmware
- !<sys-firmware/ivtv-firmware-20080701-r1
- !media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx]
- !media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885]
- !media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700]
- !net-dialup/ueagle-atm
- !net-dialup/ueagle4-atm
- !net-wireless/ar9271-firmware
- !net-wireless/i2400m-fw
- !net-wireless/libertas-firmware
- !sys-firmware/rt61-firmware
- !net-wireless/rt73-firmware
- !net-wireless/rt2860-firmware
- !net-wireless/rt2870-firmware
- !sys-block/qla-fc-firmware
- !sys-firmware/amd-ucode
- !sys-firmware/iwl1000-ucode
- !sys-firmware/iwl2000-ucode
- !sys-firmware/iwl2030-ucode
- !sys-firmware/iwl3945-ucode
- !sys-firmware/iwl4965-ucode
- !sys-firmware/iwl5000-ucode
- !sys-firmware/iwl5150-ucode
- !sys-firmware/iwl6000-ucode
- !sys-firmware/iwl6005-ucode
- !sys-firmware/iwl6030-ucode
- !sys-firmware/iwl6050-ucode
- !sys-firmware/iwl3160-ucode
- !sys-firmware/iwl7260-ucode
- !sys-firmware/iwl7265-ucode
- !sys-firmware/iwl3160-7260-bt-ucode
- !sys-firmware/radeon-ucode
- )
- unknown-license? (
- !sys-firmware/alsa-firmware[alsa_cards_korg1212]
- !sys-firmware/alsa-firmware[alsa_cards_maestro3]
- !sys-firmware/alsa-firmware[alsa_cards_sb16]
- !sys-firmware/alsa-firmware[alsa_cards_ymfpci]
- )
- )"
-
-pkg_pretend() {
- use initramfs && mount-boot_pkg_pretend
-}
-
-src_unpack() {
- if [[ ${PV} == 99999999* ]]; then
- git-r3_src_unpack
- else
- default
- # rename directory from git snapshot tarball
- mv ${PN}-*/ ${P} || die
- fi
-}
-
-src_prepare() {
- # source and documentation files, not to be installed
- local source_files=(
- README
- WHENCE
- "LICEN[CS]E*"
- "GPL*"
- configure
- Makefile
- check_whence.py
- atusb/ChangeLog
- av7110/Boot.S
- av7110/Makefile
- carl9170fw/
- cis/Makefile
- cis/src/
- dsp56k/bootstrap.asm
- dsp56k/concat-bootstrap.pl
- dsp56k/Makefile
- "isci/*.[ch]"
- isci/Makefile
- isci/README
- "keyspan_pda/*.S"
- keyspan_pda/Makefile
- usbdux/
- )
-
- # whitelist of images with a free software license
- local free_software=(
- # keyspan_pda (GPL-2+)
- keyspan_pda/keyspan_pda.fw
- keyspan_pda/xircom_pgs.fw
- # dsp56k (GPL-2+)
- dsp56k/bootstrap.bin
- # ath9k_htc (BSD GPL-2+ MIT)
- ath9k_htc/htc_7010-1.4.0.fw
- ath9k_htc/htc_9271-1.4.0.fw
- # pcnet_cs, 3c589_cs, 3c574_cs, serial_cs (dual GPL-2/MPL-1.1)
- cis/LA-PCM.cis
- cis/PCMLM28.cis
- cis/DP83903.cis
- cis/NE2K.cis
- cis/tamarack.cis
- cis/PE-200.cis
- cis/PE520.cis
- cis/3CXEM556.cis
- cis/3CCFEM556.cis
- cis/MT5634ZLX.cis
- cis/RS-COM-2P.cis
- cis/COMpad2.cis
- cis/COMpad4.cis
- # serial_cs (GPL-3)
- cis/SW_555_SER.cis
- cis/SW_7xx_SER.cis
- cis/SW_8xx_SER.cis
- # dvb-ttpci (GPL-2+)
- av7110/bootcode.bin
- # usbdux, usbduxfast, usbduxsigma (GPL-2+)
- usbdux_firmware.bin
- usbduxfast_firmware.bin
- usbduxsigma_firmware.bin
- # brcmfmac (GPL-2+)
- brcm/brcmfmac4330-sdio.Prowise-PT301.txt
- brcm/brcmfmac43340-sdio.meegopad-t08.txt
- brcm/brcmfmac43362-sdio.cubietech,cubietruck.txt
- brcm/brcmfmac43362-sdio.lemaker,bananapro.txt
- brcm/brcmfmac43430a0-sdio.jumper-ezpad-mini3.txt
- "brcm/brcmfmac43430a0-sdio.ONDA-V80 PLUS.txt"
- brcm/brcmfmac43430-sdio.AP6212.txt
- brcm/brcmfmac43430-sdio.Hampoo-D2D3_Vi8A1.txt
- brcm/brcmfmac43430-sdio.MUR1DX.txt
- brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt
- brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt
- brcm/brcmfmac4356-pcie.gpd-win-pocket.txt
- # isci (GPL-2)
- isci/isci_firmware.bin
- # carl9170 (GPL-2+)
- carl9170-1.fw
- # atusb (GPL-2+)
- atusb/atusb-0.2.dfu
- atusb/atusb-0.3.dfu
- atusb/rzusb-0.3.bin
- # mlxsw_spectrum (dual BSD/GPL-2)
- mellanox/mlxsw_spectrum-13.1420.122.mfa2
- mellanox/mlxsw_spectrum-13.1530.152.mfa2
- mellanox/mlxsw_spectrum-13.1620.192.mfa2
- mellanox/mlxsw_spectrum-13.1702.6.mfa2
- mellanox/mlxsw_spectrum-13.1703.4.mfa2
- mellanox/mlxsw_spectrum-13.1910.622.mfa2
- mellanox/mlxsw_spectrum-13.2000.1122.mfa2
- )
-
- # blacklist of images with unknown license
- local unknown_license=(
- atmsar11.fw
- korg/k1212.dsp
- ess/maestro3_assp_kernel.fw
- ess/maestro3_assp_minisrc.fw
- yamaha/ds1_ctrl.fw
- yamaha/ds1_dsp.fw
- yamaha/ds1e_ctrl.fw
- tr_smctr.bin
- ttusb-budget/dspbootcode.bin
- emi62/bitstream.fw
- emi62/loader.fw
- emi62/midi.fw
- emi62/spdif.fw
- ti_3410.fw
- ti_5052.fw
- mts_mt9234mu.fw
- mts_mt9234zba.fw
- whiteheat.fw
- whiteheat_loader.fw
- intelliport2.bin
- cpia2/stv0672_vp4.bin
- vicam/firmware.fw
- edgeport/boot.fw
- edgeport/boot2.fw
- edgeport/down.fw
- edgeport/down2.fw
- edgeport/down3.bin
- sb16/mulaw_main.csp
- sb16/alaw_main.csp
- sb16/ima_adpcm_init.csp
- sb16/ima_adpcm_playback.csp
- sb16/ima_adpcm_capture.csp
- sun/cassini.bin
- acenic/tg1.bin
- acenic/tg2.bin
- adaptec/starfire_rx.bin
- adaptec/starfire_tx.bin
- yam/1200.bin
- yam/9600.bin
- 3com/3C359.bin
- ositech/Xilinx7OD.bin
- qlogic/isp1000.bin
- myricom/lanai.bin
- yamaha/yss225_registers.bin
- lgs8g75.fw
- )
-
- default
-
- # remove sources and documentation (wildcards are expanded)
- rm -r ${source_files[@]} || die
- rm -rf .git
-
- if use !unknown-license; then
- # remove files in unknown_license
- rm "${unknown_license[@]}" || die
- fi
-
- if use !redistributable; then
- # remove files _not_ in the free_software or unknown_license lists
- # everything else is confirmed (or assumed) to be redistributable
- # based on upstream acceptance policy
- local IFS=$'\n'
- find ! -type d -printf "%P\n" \
- | grep -Fvx -e "${free_software[*]}" -e "${unknown_license[*]}" \
- | xargs -d '\n' rm || die
- IFS=$' \t\n'
- fi
-
- if use initramfs; then
- if [[ -d "${S}/amd-ucode" ]]; then
- local UCODETMP="${T}/ucode_tmp"
- local UCODEDIR="${UCODETMP}/kernel/x86/microcode"
- mkdir -p "${UCODEDIR}" || die
- echo 1 > "${UCODETMP}/early_cpio"
-
- local amd_ucode_file="${UCODEDIR}/AuthenticAMD.bin"
- cat "${S}"/amd-ucode/*.bin > "${amd_ucode_file}" || die "Failed to concat amd cpu ucode"
-
- if [[ ! -s "${amd_ucode_file}" ]]; then
- die "Sanity check failed: '${amd_ucode_file}' is empty!"
- fi
-
- pushd "${UCODETMP}" &>/dev/null || die
- find . -print0 | cpio --quiet --null -o -H newc -R 0:0 > "${S}"/amd-uc.img
- popd &>/dev/null || die
- if [[ ! -s "${S}/amd-uc.img" ]]; then
- die "Failed to create '${S}/amd-uc.img'!"
- fi
- else
- # If this will ever happen something has changed which
- # must be reviewed
- die "'${S}/amd-ucode' not found!"
- fi
- fi
-
- echo "# Remove files that shall not be installed from this list." > ${PN}.conf
- find * ! -type d ! \( -name ${PN}.conf -o -name amd-uc.img \) >> ${PN}.conf
-
- if use savedconfig; then
- restore_config ${PN}.conf
-
- ebegin "Removing all files not listed in config"
- find ! -type d ! \( -name ${PN}.conf -o -name amd-uc.img \) -printf "%P\n" \
- | grep -Fvx -f <(grep -v '^#' ${PN}.conf \
- || die "grep failed, empty config file?") \
- | xargs -d '\n' --no-run-if-empty rm
- eend $? || die
- fi
-
- # remove empty directories, bug #396073
- find -type d -empty -delete || die
-}
-
-src_install() {
- save_config ${PN}.conf
- rm ${PN}.conf || die
-
- if use initramfs ; then
- mkdir "${ED}/boot" || die
- mv "${S}"/amd-uc.img "${ED}/boot" || die
- fi
-
- if ! ( shopt -s failglob; : * ) 2>/dev/null; then
- eerror "No files to install. Check your USE flag settings"
- eerror "and the list of files in your saved configuration."
- die "Refusing to install an empty package"
- fi
-
- insinto /lib/firmware/
- doins -r *
-}
-
-pkg_preinst() {
- if use savedconfig; then
- ewarn "USE=savedconfig is active. You must handle file collisions manually."
- fi
-
- # Make sure /boot is available if needed.
- use initramfs && mount-boot_pkg_preinst
-}
-
-pkg_postinst() {
- elog "If you are only interested in particular firmware files, edit the saved"
- elog "configfile and remove those that you do not want."
-
- local ver
- for ver in ${REPLACING_VERSIONS}; do
- if ver_test ${ver} -lt 20190514; then
- elog
- elog 'Starting with version 20190514, installation of many firmware'
- elog 'files is controlled by USE flags. Please review your USE flag'
- elog 'and package.license settings if you are missing some files.'
- break
- fi
- done
-
- # Don't forget to umount /boot if it was previously mounted by us.
- use initramfs && mount-boot_pkg_postinst
-}
-
-pkg_prerm() {
- # Make sure /boot is mounted so that we can remove /boot/amd-uc.img!
- use initramfs && mount-boot_pkg_prerm
-}
-
-pkg_postrm() {
- # Don't forget to umount /boot if it was previously mounted by us.
- use initramfs && mount-boot_pkg_postrm
-}
diff --git a/sys-kernel/linux-firmware/linux-firmware-20191022.ebuild b/sys-kernel/linux-firmware/linux-firmware-20191022.ebuild
index 0feb90debe1d..b5f0efd8ab05 100644
--- a/sys-kernel/linux-firmware/linux-firmware-20191022.ebuild
+++ b/sys-kernel/linux-firmware/linux-firmware-20191022.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == 99999999* ]]; then
else
GIT_COMMIT="2b016afc348ba4b5fb2016ffcb2822f4a293da0c"
SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
+ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86"
fi
DESCRIPTION="Linux firmware files"
diff --git a/sys-kernel/linux-firmware/linux-firmware-20191108.ebuild b/sys-kernel/linux-firmware/linux-firmware-20191108.ebuild
deleted file mode 100644
index e3c4d975db32..000000000000
--- a/sys-kernel/linux-firmware/linux-firmware-20191108.ebuild
+++ /dev/null
@@ -1,354 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit mount-boot savedconfig
-
-if [[ ${PV} == 99999999* ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git"
-else
- GIT_COMMIT="f1100ddf581f49aa79a54b56fe6ef0815a7ae57e"
- SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
-fi
-
-DESCRIPTION="Linux firmware files"
-HOMEPAGE="https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git"
-
-LICENSE="GPL-2 GPL-2+ GPL-3 BSD MIT || ( MPL-1.1 GPL-2 )
- redistributable? (
- linux-fw-redistributable ( BSD-2 BSD BSD-4 ISC MIT no-source-code ) )
- unknown-license? ( all-rights-reserved )"
-SLOT="0"
-IUSE="initramfs +redistributable savedconfig unknown-license"
-RESTRICT="binchecks strip
- unknown-license? ( bindist )"
-
-REQUIRED_USE="initramfs? ( redistributable )"
-
-BDEPEND="initramfs? ( app-arch/cpio )"
-
-#add anything else that collides to this
-RDEPEND="!savedconfig? (
- redistributable? (
- !sys-firmware/alsa-firmware[alsa_cards_ca0132]
- !media-tv/cx18-firmware
- !<sys-firmware/ivtv-firmware-20080701-r1
- !media-tv/linuxtv-dvb-firmware[dvb_cards_cx231xx]
- !media-tv/linuxtv-dvb-firmware[dvb_cards_cx23885]
- !media-tv/linuxtv-dvb-firmware[dvb_cards_usb-dib0700]
- !net-dialup/ueagle-atm
- !net-dialup/ueagle4-atm
- !net-wireless/ar9271-firmware
- !net-wireless/i2400m-fw
- !net-wireless/libertas-firmware
- !sys-firmware/rt61-firmware
- !net-wireless/rt73-firmware
- !net-wireless/rt2860-firmware
- !net-wireless/rt2870-firmware
- !sys-block/qla-fc-firmware
- !sys-firmware/amd-ucode
- !sys-firmware/iwl1000-ucode
- !sys-firmware/iwl2000-ucode
- !sys-firmware/iwl2030-ucode
- !sys-firmware/iwl3945-ucode
- !sys-firmware/iwl4965-ucode
- !sys-firmware/iwl5000-ucode
- !sys-firmware/iwl5150-ucode
- !sys-firmware/iwl6000-ucode
- !sys-firmware/iwl6005-ucode
- !sys-firmware/iwl6030-ucode
- !sys-firmware/iwl6050-ucode
- !sys-firmware/iwl3160-ucode
- !sys-firmware/iwl7260-ucode
- !sys-firmware/iwl7265-ucode
- !sys-firmware/iwl3160-7260-bt-ucode
- !sys-firmware/radeon-ucode
- )
- unknown-license? (
- !sys-firmware/alsa-firmware[alsa_cards_korg1212]
- !sys-firmware/alsa-firmware[alsa_cards_maestro3]
- !sys-firmware/alsa-firmware[alsa_cards_sb16]
- !sys-firmware/alsa-firmware[alsa_cards_ymfpci]
- )
- )"
-
-pkg_pretend() {
- use initramfs && mount-boot_pkg_pretend
-}
-
-src_unpack() {
- if [[ ${PV} == 99999999* ]]; then
- git-r3_src_unpack
- else
- default
- # rename directory from git snapshot tarball
- mv ${PN}-*/ ${P} || die
- fi
-}
-
-src_prepare() {
- # source and documentation files, not to be installed
- local source_files=(
- README
- WHENCE
- "LICEN[CS]E*"
- "GPL*"
- configure
- Makefile
- check_whence.py
- atusb/ChangeLog
- av7110/Boot.S
- av7110/Makefile
- carl9170fw/
- cis/Makefile
- cis/src/
- dsp56k/bootstrap.asm
- dsp56k/concat-bootstrap.pl
- dsp56k/Makefile
- "isci/*.[ch]"
- isci/Makefile
- isci/README
- "keyspan_pda/*.S"
- keyspan_pda/Makefile
- usbdux/
- )
-
- # whitelist of images with a free software license
- local free_software=(
- # keyspan_pda (GPL-2+)
- keyspan_pda/keyspan_pda.fw
- keyspan_pda/xircom_pgs.fw
- # dsp56k (GPL-2+)
- dsp56k/bootstrap.bin
- # ath9k_htc (BSD GPL-2+ MIT)
- ath9k_htc/htc_7010-1.4.0.fw
- ath9k_htc/htc_9271-1.4.0.fw
- # pcnet_cs, 3c589_cs, 3c574_cs, serial_cs (dual GPL-2/MPL-1.1)
- cis/LA-PCM.cis
- cis/PCMLM28.cis
- cis/DP83903.cis
- cis/NE2K.cis
- cis/tamarack.cis
- cis/PE-200.cis
- cis/PE520.cis
- cis/3CXEM556.cis
- cis/3CCFEM556.cis
- cis/MT5634ZLX.cis
- cis/RS-COM-2P.cis
- cis/COMpad2.cis
- cis/COMpad4.cis
- # serial_cs (GPL-3)
- cis/SW_555_SER.cis
- cis/SW_7xx_SER.cis
- cis/SW_8xx_SER.cis
- # dvb-ttpci (GPL-2+)
- av7110/bootcode.bin
- # usbdux, usbduxfast, usbduxsigma (GPL-2+)
- usbdux_firmware.bin
- usbduxfast_firmware.bin
- usbduxsigma_firmware.bin
- # brcmfmac (GPL-2+)
- brcm/brcmfmac4330-sdio.Prowise-PT301.txt
- brcm/brcmfmac43340-sdio.meegopad-t08.txt
- brcm/brcmfmac43362-sdio.cubietech,cubietruck.txt
- brcm/brcmfmac43362-sdio.lemaker,bananapro.txt
- brcm/brcmfmac43430a0-sdio.jumper-ezpad-mini3.txt
- "brcm/brcmfmac43430a0-sdio.ONDA-V80 PLUS.txt"
- brcm/brcmfmac43430-sdio.AP6212.txt
- brcm/brcmfmac43430-sdio.Hampoo-D2D3_Vi8A1.txt
- brcm/brcmfmac43430-sdio.MUR1DX.txt
- brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt
- brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt
- brcm/brcmfmac4356-pcie.gpd-win-pocket.txt
- # isci (GPL-2)
- isci/isci_firmware.bin
- # carl9170 (GPL-2+)
- carl9170-1.fw
- # atusb (GPL-2+)
- atusb/atusb-0.2.dfu
- atusb/atusb-0.3.dfu
- atusb/rzusb-0.3.bin
- # mlxsw_spectrum (dual BSD/GPL-2)
- mellanox/mlxsw_spectrum-13.1420.122.mfa2
- mellanox/mlxsw_spectrum-13.1530.152.mfa2
- mellanox/mlxsw_spectrum-13.1620.192.mfa2
- mellanox/mlxsw_spectrum-13.1702.6.mfa2
- mellanox/mlxsw_spectrum-13.1703.4.mfa2
- mellanox/mlxsw_spectrum-13.1910.622.mfa2
- mellanox/mlxsw_spectrum-13.2000.1122.mfa2
- )
-
- # blacklist of images with unknown license
- local unknown_license=(
- atmsar11.fw
- korg/k1212.dsp
- ess/maestro3_assp_kernel.fw
- ess/maestro3_assp_minisrc.fw
- yamaha/ds1_ctrl.fw
- yamaha/ds1_dsp.fw
- yamaha/ds1e_ctrl.fw
- tr_smctr.bin
- ttusb-budget/dspbootcode.bin
- emi62/bitstream.fw
- emi62/loader.fw
- emi62/midi.fw
- emi62/spdif.fw
- ti_3410.fw
- ti_5052.fw
- mts_mt9234mu.fw
- mts_mt9234zba.fw
- whiteheat.fw
- whiteheat_loader.fw
- intelliport2.bin
- cpia2/stv0672_vp4.bin
- vicam/firmware.fw
- edgeport/boot.fw
- edgeport/boot2.fw
- edgeport/down.fw
- edgeport/down2.fw
- edgeport/down3.bin
- sb16/mulaw_main.csp
- sb16/alaw_main.csp
- sb16/ima_adpcm_init.csp
- sb16/ima_adpcm_playback.csp
- sb16/ima_adpcm_capture.csp
- sun/cassini.bin
- acenic/tg1.bin
- acenic/tg2.bin
- adaptec/starfire_rx.bin
- adaptec/starfire_tx.bin
- yam/1200.bin
- yam/9600.bin
- 3com/3C359.bin
- ositech/Xilinx7OD.bin
- qlogic/isp1000.bin
- myricom/lanai.bin
- yamaha/yss225_registers.bin
- lgs8g75.fw
- )
-
- default
-
- # remove sources and documentation (wildcards are expanded)
- rm -r ${source_files[@]} || die
- rm -rf .git
-
- if use !unknown-license; then
- # remove files in unknown_license
- rm "${unknown_license[@]}" || die
- fi
-
- if use !redistributable; then
- # remove files _not_ in the free_software or unknown_license lists
- # everything else is confirmed (or assumed) to be redistributable
- # based on upstream acceptance policy
- local IFS=$'\n'
- find ! -type d -printf "%P\n" \
- | grep -Fvx -e "${free_software[*]}" -e "${unknown_license[*]}" \
- | xargs -d '\n' rm || die
- IFS=$' \t\n'
- fi
-
- if use initramfs; then
- if [[ -d "${S}/amd-ucode" ]]; then
- local UCODETMP="${T}/ucode_tmp"
- local UCODEDIR="${UCODETMP}/kernel/x86/microcode"
- mkdir -p "${UCODEDIR}" || die
- echo 1 > "${UCODETMP}/early_cpio"
-
- local amd_ucode_file="${UCODEDIR}/AuthenticAMD.bin"
- cat "${S}"/amd-ucode/*.bin > "${amd_ucode_file}" || die "Failed to concat amd cpu ucode"
-
- if [[ ! -s "${amd_ucode_file}" ]]; then
- die "Sanity check failed: '${amd_ucode_file}' is empty!"
- fi
-
- pushd "${UCODETMP}" &>/dev/null || die
- find . -print0 | cpio --quiet --null -o -H newc -R 0:0 > "${S}"/amd-uc.img
- popd &>/dev/null || die
- if [[ ! -s "${S}/amd-uc.img" ]]; then
- die "Failed to create '${S}/amd-uc.img'!"
- fi
- else
- # If this will ever happen something has changed which
- # must be reviewed
- die "'${S}/amd-ucode' not found!"
- fi
- fi
-
- echo "# Remove files that shall not be installed from this list." > ${PN}.conf
- find * ! -type d ! \( -name ${PN}.conf -o -name amd-uc.img \) >> ${PN}.conf
-
- if use savedconfig; then
- restore_config ${PN}.conf
-
- ebegin "Removing all files not listed in config"
- find ! -type d ! \( -name ${PN}.conf -o -name amd-uc.img \) -printf "%P\n" \
- | grep -Fvx -f <(grep -v '^#' ${PN}.conf \
- || die "grep failed, empty config file?") \
- | xargs -d '\n' --no-run-if-empty rm
- eend $? || die
- fi
-
- # remove empty directories, bug #396073
- find -type d -empty -delete || die
-}
-
-src_install() {
- save_config ${PN}.conf
- rm ${PN}.conf || die
-
- if use initramfs ; then
- mkdir "${ED}/boot" || die
- mv "${S}"/amd-uc.img "${ED}/boot" || die
- fi
-
- if ! ( shopt -s failglob; : * ) 2>/dev/null; then
- eerror "No files to install. Check your USE flag settings"
- eerror "and the list of files in your saved configuration."
- die "Refusing to install an empty package"
- fi
-
- insinto /lib/firmware/
- doins -r *
-}
-
-pkg_preinst() {
- if use savedconfig; then
- ewarn "USE=savedconfig is active. You must handle file collisions manually."
- fi
-
- # Make sure /boot is available if needed.
- use initramfs && mount-boot_pkg_preinst
-}
-
-pkg_postinst() {
- elog "If you are only interested in particular firmware files, edit the saved"
- elog "configfile and remove those that you do not want."
-
- local ver
- for ver in ${REPLACING_VERSIONS}; do
- if ver_test ${ver} -lt 20190514; then
- elog
- elog 'Starting with version 20190514, installation of many firmware'
- elog 'files is controlled by USE flags. Please review your USE flag'
- elog 'and package.license settings if you are missing some files.'
- break
- fi
- done
-
- # Don't forget to umount /boot if it was previously mounted by us.
- use initramfs && mount-boot_pkg_postinst
-}
-
-pkg_prerm() {
- # Make sure /boot is mounted so that we can remove /boot/amd-uc.img!
- use initramfs && mount-boot_pkg_prerm
-}
-
-pkg_postrm() {
- # Don't forget to umount /boot if it was previously mounted by us.
- use initramfs && mount-boot_pkg_postrm
-}
diff --git a/sys-kernel/linux-firmware/linux-firmware-20191215.ebuild b/sys-kernel/linux-firmware/linux-firmware-20191215.ebuild
index e3c4d975db32..9ab4a3265a20 100644
--- a/sys-kernel/linux-firmware/linux-firmware-20191215.ebuild
+++ b/sys-kernel/linux-firmware/linux-firmware-20191215.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == 99999999* ]]; then
else
GIT_COMMIT="f1100ddf581f49aa79a54b56fe6ef0815a7ae57e"
SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
+ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86"
fi
DESCRIPTION="Linux firmware files"
diff --git a/sys-kernel/linux-firmware/linux-firmware-20200122.ebuild b/sys-kernel/linux-firmware/linux-firmware-20200122.ebuild
index 2736b49b914b..48f34fefc553 100644
--- a/sys-kernel/linux-firmware/linux-firmware-20200122.ebuild
+++ b/sys-kernel/linux-firmware/linux-firmware-20200122.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == 99999999* ]]; then
else
GIT_COMMIT="1eb2408c6feacccd10b02a49214745f15d1c6fb7"
SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
+ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86"
fi
DESCRIPTION="Linux firmware files"
diff --git a/sys-kernel/linux-firmware/linux-firmware-20190904.ebuild b/sys-kernel/linux-firmware/linux-firmware-20200316.ebuild
index 6a83e8d27e42..814bbfb764de 100644
--- a/sys-kernel/linux-firmware/linux-firmware-20190904.ebuild
+++ b/sys-kernel/linux-firmware/linux-firmware-20200316.ebuild
@@ -8,9 +8,9 @@ if [[ ${PV} == 99999999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git"
else
- GIT_COMMIT="6ddb9d9704e2171d91439c9c42c5965bf3863de8"
+ GIT_COMMIT="20200316"
SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
+ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86"
fi
DESCRIPTION="Linux firmware files"
@@ -84,7 +84,9 @@ src_unpack() {
else
default
# rename directory from git snapshot tarball
- mv ${PN}-*/ ${P} || die
+ if [[ ${#GIT_COMMIT} -gt 8 ]]; then
+ mv ${PN}-*/ ${P} || die
+ fi
fi
}
diff --git a/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild b/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild
index 7bc4d9624e2d..9e0ee88c040a 100644
--- a/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild
+++ b/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -10,7 +10,7 @@ if [[ ${PV} == 99999999* ]]; then
else
GIT_COMMIT=""
SRC_URI="https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
fi
DESCRIPTION="Linux firmware files"
@@ -84,7 +84,9 @@ src_unpack() {
else
default
# rename directory from git snapshot tarball
- mv ${PN}-*/ ${P} || die
+ if [[ ${#GIT_COMMIT} -gt 8 ]]; then
+ mv ${PN}-*/ ${P} || die
+ fi
fi
}