summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-11-23 15:25:22 +0100
committerManuel Rüger <mrueg@gentoo.org>2017-11-23 15:25:22 +0100
commit4b55e9d585871b82acf9c9925fbfc6d586be1797 (patch)
tree1902061145e37c75bb10252e5343ff7bce9f6a59 /sys-kernel
parentapp-text/hunspell: Fix HOMEPAGE (diff)
downloadgentoo-4b55e9d585871b82acf9c9925fbfc6d586be1797.tar.gz
gentoo-4b55e9d585871b82acf9c9925fbfc6d586be1797.tar.bz2
gentoo-4b55e9d585871b82acf9c9925fbfc6d586be1797.zip
sys-kernel/linux-firmware: Update snapshot
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/linux-firmware/Manifest3
-rw-r--r--sys-kernel/linux-firmware/linux-firmware-20171123.ebuild112
2 files changed, 114 insertions, 1 deletions
diff --git a/sys-kernel/linux-firmware/Manifest b/sys-kernel/linux-firmware/Manifest
index d4efef71de67..25c0e62f1efd 100644
--- a/sys-kernel/linux-firmware/Manifest
+++ b/sys-kernel/linux-firmware/Manifest
@@ -2,4 +2,5 @@ DIST linux-firmware-20161205.tar.xz 40891260 SHA256 a1ab4b2d77b60b466f2312d5ee14
DIST linux-firmware-20170314.tar.xz 43175092 SHA256 9f07ee85524a95af1ec16e7008aa71eb07edf2edda07bf36f85b2d790452a67f SHA512 501e84d3ee9272d23e4d26a0a8bb7471f4e1edd16dee7c0c12a8ae8e90d6f5fa7f08276fc43eed6020bc3608c79b0914519c5c7082b6f013b6651d8afa7f79ae WHIRLPOOL 339a5f30f132d2f1688187d63df4dfdbe551fd3ca59d73e8f9e515fd1e26d62be62b87a8198437ad4934ce2d44287266f9628f7e82e53936f4957cf59d534827
DIST linux-firmware-20170622.tar.gz 104302528 SHA256 03d220c1747ed71b54b53ce04bfb178fe937ba585309b4a0b32eb351d709fcb0 SHA512 946b31666ef79a21e29a757340482dfdb70b43f7818ca47bf5e16fb6a79bb585822af014731b6c6034944dd37269ae948bbc23fc1f104bccfd7b7b405f41bbd5 WHIRLPOOL dedfef88d4ba7fdc9b5e7c07f6a04221d4d34256678e366f3182d4180d0e8de4071ded809d285c89aa0ab68bdf05cd9b9c0139084d9497df4d420e7e91ba48c8
DIST linux-firmware-20170906.tar.gz 106748426 SHA256 db961e03e8914360c36210bcd10367b6bab655c652a29046bc8ec66241dc034c SHA512 c21043600e0c8e9ee58f439c01f38981f4c4bb2dc9397e655fc8285e656f3c34560cbeff1ea16f3d0204fc06d83fd1982c600d78cf6851b8f6c307e1a7a92b71 WHIRLPOOL 7cf9e547c018e69b1f3b047cd6a4fc2db7363abaa51d38432db8ad0b76e5029827ef2c73883bfcea79313d67499d5dc145625a85e3a7a4eec759a62ef493cc8f
-DIST linux-firmware-20171009.tar.gz 106811352 SHA256 c95d7a4456c6fc89268e9bad546e3c0b9adb58aaa14971640c642c95c7d553ec SHA512 3a91f05197b03e8f4e51f4fb936c68a9b7d7ead58fe489e679da8626391dfa1ed72362c857a7522f49d055e6b349b93564542658f7e9da96068b15b52f5862f4 WHIRLPOOL d780cf11ba9088dc6c44b58349e7bb8744eba7a42bf30ea832ced43cc08f8dfdd6466e2d6b18f43545359fb68b4ee165c2e7864e334df1cfe6ef230d6ccd8f33
+DIST linux-firmware-20171009.tar.gz 106811352 BLAKE2B b4c18f3a72e16657244e77bbc39d905692cc2cc1aa95b89c0381f8948eeb6cac9b67688f6b4b2ef275eb53ee9ffd24b48b45b75f7632a7d26231fb3e92f6ea8b SHA512 3a91f05197b03e8f4e51f4fb936c68a9b7d7ead58fe489e679da8626391dfa1ed72362c857a7522f49d055e6b349b93564542658f7e9da96068b15b52f5862f4
+DIST linux-firmware-20171123.tar.gz 115603524 BLAKE2B cb2a4e4f849c1125f969e59104caf4abc4f195dd28d1ad7a8feb21bc29df82baea30b8236368bbc64c6dddde13aea5230763673b4580cd7c48736b64242b757b SHA512 6ac6fd05dc9b260686822d7eced94ceb2ec391626b88b68c6803224e5eb984caf8d28d446b7f348fe09f435e8f4faee716b53164d6f121dcb367e9ff753907e7
diff --git a/sys-kernel/linux-firmware/linux-firmware-20171123.ebuild b/sys-kernel/linux-firmware/linux-firmware-20171123.ebuild
new file mode 100644
index 000000000000..55ccd94bf7ca
--- /dev/null
+++ b/sys-kernel/linux-firmware/linux-firmware-20171123.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit savedconfig
+
+if [[ ${PV} == 99999999* ]]; then
+ inherit git-2
+ SRC_URI=""
+ EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/firmware/${PN}.git"
+ KEYWORDS=""
+else
+ GIT_COMMIT="90436ce9f11152483b35aac58dec7f99d52821aa"
+ 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="linux-firmware ( BSD ISC MIT no-source-code ) GPL-2 GPL-2+ freedist"
+SLOT="0"
+IUSE="savedconfig"
+
+DEPEND=""
+RDEPEND="!savedconfig? (
+ !sys-firmware/alsa-firmware[alsa_cards_ca0132]
+ !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]
+ !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
+ )"
+#add anything else that collides to this
+
+src_unpack() {
+ if [[ ${PV} == 99999999* ]]; then
+ git-2_src_unpack
+ else
+ default
+ # rename directory from git snapshot tarball
+ mv ${PN}-*/ ${P} || die
+ fi
+}
+
+src_prepare() {
+ default
+ echo "# Remove files that shall not be installed from this list." > ${PN}.conf
+ find * \( \! -type d -and \! -name ${PN}.conf \) >> ${PN}.conf
+
+ if use savedconfig; then
+ restore_config ${PN}.conf
+ ebegin "Removing all files not listed in config"
+ find * \( \! -type d -and \! -name ${PN}.conf \) \
+ | sort ${PN}.conf ${PN}.conf - \
+ | uniq -u | xargs -r rm
+ eend $? || die
+ # remove empty directories, bug #396073
+ find -type d -empty -delete || die
+ fi
+}
+
+src_install() {
+ if use !savedconfig; then
+ save_config ${PN}.conf
+ fi
+ rm ${PN}.conf || die
+ 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."
+}