From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- sys-firmware/iwl3160-ucode/Manifest | 8 ++++ .../iwl3160-ucode/iwl3160-ucode-0.10.11.23.ebuild | 47 ++++++++++++++++++++++ .../iwl3160-ucode/iwl3160-ucode-0.10.15.23.ebuild | 47 ++++++++++++++++++++++ .../iwl3160-ucode/iwl3160-ucode-0.12.16.25.ebuild | 47 ++++++++++++++++++++++ .../iwl3160-ucode/iwl3160-ucode-0.7.1.22.ebuild | 46 +++++++++++++++++++++ .../iwl3160-ucode/iwl3160-ucode-0.8.15.22.ebuild | 47 ++++++++++++++++++++++ .../iwl3160-ucode/iwl3160-ucode-0.8.24.22.ebuild | 47 ++++++++++++++++++++++ .../iwl3160-ucode/iwl3160-ucode-0.9.214.23.ebuild | 47 ++++++++++++++++++++++ .../iwl3160-ucode/iwl3160-ucode-0.9.228.25.ebuild | 47 ++++++++++++++++++++++ sys-firmware/iwl3160-ucode/metadata.xml | 10 +++++ 10 files changed, 393 insertions(+) create mode 100644 sys-firmware/iwl3160-ucode/Manifest create mode 100644 sys-firmware/iwl3160-ucode/iwl3160-ucode-0.10.11.23.ebuild create mode 100644 sys-firmware/iwl3160-ucode/iwl3160-ucode-0.10.15.23.ebuild create mode 100644 sys-firmware/iwl3160-ucode/iwl3160-ucode-0.12.16.25.ebuild create mode 100644 sys-firmware/iwl3160-ucode/iwl3160-ucode-0.7.1.22.ebuild create mode 100644 sys-firmware/iwl3160-ucode/iwl3160-ucode-0.8.15.22.ebuild create mode 100644 sys-firmware/iwl3160-ucode/iwl3160-ucode-0.8.24.22.ebuild create mode 100644 sys-firmware/iwl3160-ucode/iwl3160-ucode-0.9.214.23.ebuild create mode 100644 sys-firmware/iwl3160-ucode/iwl3160-ucode-0.9.228.25.ebuild create mode 100644 sys-firmware/iwl3160-ucode/metadata.xml (limited to 'sys-firmware/iwl3160-ucode') diff --git a/sys-firmware/iwl3160-ucode/Manifest b/sys-firmware/iwl3160-ucode/Manifest new file mode 100644 index 000000000000..64949b7cc800 --- /dev/null +++ b/sys-firmware/iwl3160-ucode/Manifest @@ -0,0 +1,8 @@ +DIST iwl3160-ucode-0.10.11.23.tgz 334243 SHA256 b5adfb05dc81fdfa773a34f8d752ce690777f898bb1a3697ce651cf4bf7b5746 SHA512 14aeedd0e7069d5f65d388f36b7d30bb0e3f90c2c721a582e761aa2a27402f6ad8616dd07c44812b8e62bfa0c6eabb57adae71aa2a48053cf85757fbb6548432 WHIRLPOOL 8cefd369781f015bc7763d777b61e8c0e8276027602e6a706a8679627af62113d4e64753f0a01b38809bcf38ab45d34d3cfb623ecce98071651bb260cc199548 +DIST iwl3160-ucode-0.10.15.23.tgz 335313 SHA256 5e9639b1abb809e5507d562dda677140751946f37706119c262307ad80563da4 SHA512 a939cba5dbfb73c3178844e6045d0c6b70e75df4bb1bdfc6a3ce34c82de2521f598fbb402ebd4961fbab8e33878172f156e4641c9e02566f7ab754087d857b9b WHIRLPOOL 12ef58326d170950aa5ed95d57e8fa792b3546a5f1bba3bcdd97bb99e4a95573973dc4835a264a43c023885079e6bbd07c1d1a77bdd2af9b51f595af16dccac5 +DIST iwl3160-ucode-0.12.16.25.tgz 337890 SHA256 84ba0b93efb085ec72e574095f550b7e2e508fad7bb1d725b2938989c407d595 SHA512 247906e813e5fc49889a02532cc5813f204ccdeaa9600f856d66904e3491471e9a881daffed4ed1e08f8cae14238802773c0820785d05a90406bd9f2f8df31dd WHIRLPOOL a23546e44c8e7116fac1885a15b3729600335fc501391df3d4da998ee9ad00e8b7e3c6a2072ba6f91be2395543d88dcba9c6605a2e664d963f2b33f83bea43d6 +DIST iwl3160-ucode-0.7.1.22.tgz 332285 SHA256 6350d23db66e7f5346a716fb74bb853ae798b70ad56f20f134ac99dd4941d561 SHA512 5f379edc87d0cb743bd91cecd5a1879edfd18033c02d29269ea55e046663fa47c3363a19441d0edb52ea99c58e757c81872545c8ece634459675d927f46a4392 WHIRLPOOL 35d80a4f6901bdce4ec1c34fcc3ad38a0f869f5fddebcd4c29866e5eb0fd65cebbc37fce966400d15eb3053a4f7902cd9c2397a8eaf8a857ad444a0ebc115bd2 +DIST iwl3160-ucode-0.8.15.22.tgz 328351 SHA256 101a0466a4411f5e1492dd8e559f549f1196de045b084718354ece3896c7b370 SHA512 33e8842068c285bd62cd58629855c4be82a5b19129bcaefc4ac622245562085ec4ae155dba719937f71767d3f26e0d309553c9362fe7995943f2e95a9bc5d1fd WHIRLPOOL 5c6be623389b28c585f89e370a3202874d364d7daf9b61b7c95c7824c5b4243280a723b94848c47a1b449545162e8cb6cd073a1a4f748a100310e472ec911e10 +DIST iwl3160-ucode-0.8.24.22.tgz 334306 SHA256 44082d3b70e3101343702d614e4785e498c5596117bb144e167ea8a11b5c63cb SHA512 afa9d1c081f21ec8cb3d427be79475853c9f078fb4f3d60ada154df0c58fe3dec4655dc2f54095dc395cf064563e0de9f69d55478b28ee07b7f19c0b93fb6097 WHIRLPOOL 8a18b409e5211d69d0df80498caa7b572d0d9f462417e6101c159185194db203627019fa6caea9ba3cb3c478c2975e362e3011be21d58f4f572c5c6bee77ca1b +DIST iwl3160-ucode-0.9.214.23.tgz 335384 SHA256 37e3c7b0ef26ad1d7e3089dc100f0451045caccaab6a503e2bae98ec75befb95 SHA512 93812c6de01ba97da7192f53b33e6c4dca94a5ea2e29b519b47af3bf1f19b41cc1638b6ba92015c4faf840bf4abe8a2abfd6cff1a76557ff93024e095d246f16 WHIRLPOOL b45af6873c74887a6557a43c802e6117db0bd2bc180ba5559c0dd28b62056d0112f398385e252b2ee542623549544469d812974e5680c7ac1aa587bcba8db1c8 +DIST iwl3160-ucode-0.9.228.25.tgz 337276 SHA256 6856a994b8f92785ab220eb2a04233690cf3824a1b51252802a8af206e81b388 SHA512 95f1d3bddbb05d32a66250c6e714d74b17902b8f6d9451a5107cf2d061f1cdf90dfb3cf8b0375f6104dfb2fe1bc201dab8baa1c6bdffda944aa5fe8aad568a16 WHIRLPOOL 15838747dd6e7daa646489be95e8213c4e35fe44caad26ebeb35636796feb74da0c88ec5e1970c4a5a5384770783cad0ba583996fa63e08ae2ea411bac733f85 diff --git a/sys-firmware/iwl3160-ucode/iwl3160-ucode-0.10.11.23.ebuild b/sys-firmware/iwl3160-ucode/iwl3160-ucode-0.10.11.23.ebuild new file mode 100644 index 000000000000..1ea60da304dd --- /dev/null +++ b/sys-firmware/iwl3160-ucode/iwl3160-ucode-0.10.11.23.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit linux-info versionator + +DEV_N="${PN:3:4}" +vc=($(get_all_version_components "${PV}")) +MY_PV="${vc[6]}.${vc[4]}.${vc[2]}.${vc[0]}" +MY_PN="iwlwifi-${DEV_N}-ucode" + +DV_MAJOR="3" +DV_MINOR="17" +DV_PATCH="0" + +DESCRIPTION="Firmware for Intel (R) Dual Band Wireless-AC ${DEV_N}" +HOMEPAGE="http://wireless.kernel.org/en/users/Drivers/iwlwifi" +SRC_URI="http://wireless.kernel.org/en/users/Drivers/iwlwifi?action=AttachFile&do=get&target=${MY_PN}-${MY_PV}.tgz -> ${P}.tgz" + +LICENSE="ipw3945" +SLOT="${vc[2]}" +KEYWORDS="~amd64 ~x86" +IUSE="bluetooth" + +DEPEND="" +RDEPEND="bluetooth? ( sys-firmware/iwl3160-7260-bt-ucode ) + !sys-kernel/linux-firmware[-savedconfig]" + +S="${WORKDIR}/${MY_PN}-${MY_PV}" + +CONFIG_CHECK="~IWLMVM" +ERROR_IWLMVM="CONFIG_IWLMVM is required to be enabled in /usr/src/linux/.config for the kernel to be able to load the ${DEV_N} firmware" + +pkg_pretend() { + if kernel_is lt "${DV_MAJOR}" "${DV_MINOR}" "${DV_PATCH}"; then + ewarn "Your kernel version is ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}." + ewarn "This microcode image requires a kernel >= ${DV_MAJOR}.${DV_MINOR}.${DV_PATCH}." + ewarn "For kernel versions < ${DV_MAJOR}.${DV_MINOR}.${DV_PATCH}, you may install older SLOTS" + fi +} + +src_install() { + insinto /lib/firmware + doins "${S}/iwlwifi-${DEV_N}-${vc[2]}.ucode" + dodoc README* +} diff --git a/sys-firmware/iwl3160-ucode/iwl3160-ucode-0.10.15.23.ebuild b/sys-firmware/iwl3160-ucode/iwl3160-ucode-0.10.15.23.ebuild new file mode 100644 index 000000000000..541f1a04258c --- /dev/null +++ b/sys-firmware/iwl3160-ucode/iwl3160-ucode-0.10.15.23.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit linux-info versionator + +DEV_N="${PN:3:4}" +vc=($(get_all_version_components "${PV}")) +MY_PV="${vc[6]}.${vc[4]}.${vc[2]}.${vc[0]}" +MY_PN="iwlwifi-${DEV_N}-ucode" + +DV_MAJOR="3" +DV_MINOR="17" +DV_PATCH="0" + +DESCRIPTION="Firmware for Intel (R) Dual Band Wireless-AC ${DEV_N}" +HOMEPAGE="http://wireless.kernel.org/en/users/Drivers/iwlwifi" +SRC_URI="https://wireless.wiki.kernel.org/_media/en/users/drivers/${MY_PN}-${MY_PV}.tgz -> ${P}.tgz" + +LICENSE="ipw3945" +SLOT="${vc[2]}" +KEYWORDS="~amd64 ~x86" +IUSE="bluetooth" + +DEPEND="" +RDEPEND="bluetooth? ( sys-firmware/iwl3160-7260-bt-ucode ) + !sys-kernel/linux-firmware[-savedconfig]" + +S="${WORKDIR}/${MY_PN}-${MY_PV}" + +CONFIG_CHECK="~IWLMVM" +ERROR_IWLMVM="CONFIG_IWLMVM is required to be enabled in /usr/src/linux/.config for the kernel to be able to load the ${DEV_N} firmware" + +pkg_pretend() { + if kernel_is lt "${DV_MAJOR}" "${DV_MINOR}" "${DV_PATCH}"; then + ewarn "Your kernel version is ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}." + ewarn "This microcode image requires a kernel >= ${DV_MAJOR}.${DV_MINOR}.${DV_PATCH}." + ewarn "For kernel versions < ${DV_MAJOR}.${DV_MINOR}.${DV_PATCH}, you may install older SLOTS" + fi +} + +src_install() { + insinto /lib/firmware + doins "${S}/iwlwifi-${DEV_N}-${vc[2]}.ucode" + dodoc README* +} diff --git a/sys-firmware/iwl3160-ucode/iwl3160-ucode-0.12.16.25.ebuild b/sys-firmware/iwl3160-ucode/iwl3160-ucode-0.12.16.25.ebuild new file mode 100644 index 000000000000..ea395cca3c84 --- /dev/null +++ b/sys-firmware/iwl3160-ucode/iwl3160-ucode-0.12.16.25.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit linux-info versionator + +DEV_N="${PN:3:4}" +vc=($(get_all_version_components "${PV}")) +MY_PV="${vc[6]}.${vc[4]}.${vc[2]}.${vc[0]}" +MY_PN="iwlwifi-${DEV_N}-ucode" + +DV_MAJOR="3" +DV_MINOR="19" +DV_PATCH="0" + +DESCRIPTION="Firmware for Intel (R) Dual Band Wireless-AC ${DEV_N}" +HOMEPAGE="http://wireless.kernel.org/en/users/Drivers/iwlwifi" +SRC_URI="https://wireless.wiki.kernel.org/_media/en/users/drivers/${MY_PN}-${MY_PV}.tgz -> ${P}.tgz" + +LICENSE="ipw3945" +SLOT="${vc[2]}" +KEYWORDS="~amd64 ~x86" +IUSE="bluetooth" + +DEPEND="" +RDEPEND="bluetooth? ( sys-firmware/iwl3160-7260-bt-ucode ) + !sys-kernel/linux-firmware[-savedconfig]" + +S="${WORKDIR}/${MY_PN}-${MY_PV}" + +CONFIG_CHECK="~IWLMVM" +ERROR_IWLMVM="CONFIG_IWLMVM is required to be enabled in /usr/src/linux/.config for the kernel to be able to load the ${DEV_N} firmware" + +pkg_pretend() { + if kernel_is lt "${DV_MAJOR}" "${DV_MINOR}" "${DV_PATCH}"; then + ewarn "Your kernel version is ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}." + ewarn "This microcode image requires a kernel >= ${DV_MAJOR}.${DV_MINOR}.${DV_PATCH}." + ewarn "For kernel versions < ${DV_MAJOR}.${DV_MINOR}.${DV_PATCH}, you may install older SLOTS" + fi +} + +src_install() { + insinto /lib/firmware + doins "${S}/iwlwifi-${DEV_N}-${vc[2]}.ucode" + dodoc README* +} diff --git a/sys-firmware/iwl3160-ucode/iwl3160-ucode-0.7.1.22.ebuild b/sys-firmware/iwl3160-ucode/iwl3160-ucode-0.7.1.22.ebuild new file mode 100644 index 000000000000..5dbac8c44f96 --- /dev/null +++ b/sys-firmware/iwl3160-ucode/iwl3160-ucode-0.7.1.22.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit linux-info versionator + +DEV_N="${PN:3:4}" +vc=($(get_all_version_components "${PV}")) +MY_PV="${vc[6]}.${vc[4]}.${vc[2]}.${vc[0]}" +MY_PN="iwlwifi-${DEV_N}-ucode" + +DV_MAJOR="3" +DV_MINOR="10" +DV_PATH="0" + +DESCRIPTION="Firmware for Intel (R) Dual Band Wireless-AC ${DEV_N}" +HOMEPAGE="http://wireless.kernel.org/en/users/Drivers/iwlwifi" +SRC_URI="http://wireless.kernel.org/en/users/Drivers/iwlwifi?action=AttachFile&do=get&target=${MY_PN}-${MY_PV}.tgz -> ${P}.tgz" + +LICENSE="ipw3945" +SLOT="${vc[2]}" +KEYWORDS="~amd64 ~x86" +IUSE="bluetooth" + +DEPEND="" +RDEPEND="bluetooth? ( sys-firmware/iwl3160-7260-bt-ucode ) + !sys-kernel/linux-firmware[-savedconfig]" + +S="${WORKDIR}/${MY_PN}-${MY_PV}" + +CONFIG_CHECK="~IWLMVM" +ERROR_IWLMVM="CONFIG_IWLMVM is required to be enabled in /usr/src/linux/.config for the kernel to be able to load the ${DEV_N} firmware" + +pkg_pretend() { + if kernel_is lt "${DV_MAJOR}" "${DV_MINOR}" "${DV_PATCH}"; then + ewarn "Your kernel version is ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}." + ewarn "This microcode image requires a kernel >= ${DV_MAJOR}.${DV_MINOR}.${DV_PATCH}." + fi +} + +src_install() { + insinto /lib/firmware + doins "${S}/iwlwifi-${DEV_N}-${vc[2]}.ucode" + dodoc README* +} diff --git a/sys-firmware/iwl3160-ucode/iwl3160-ucode-0.8.15.22.ebuild b/sys-firmware/iwl3160-ucode/iwl3160-ucode-0.8.15.22.ebuild new file mode 100644 index 000000000000..7bc7d2c6ec25 --- /dev/null +++ b/sys-firmware/iwl3160-ucode/iwl3160-ucode-0.8.15.22.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit linux-info versionator + +DEV_N="${PN:3:4}" +vc=($(get_all_version_components "${PV}")) +MY_PV="${vc[6]}.${vc[4]}.${vc[2]}.${vc[0]}" +MY_PN="iwlwifi-${DEV_N}-ucode" + +DV_MAJOR="3" +DV_MINOR="13" +DV_PATH="0" + +DESCRIPTION="Firmware for Intel (R) Dual Band Wireless-AC ${DEV_N}" +HOMEPAGE="http://wireless.kernel.org/en/users/Drivers/iwlwifi" +SRC_URI="http://wireless.kernel.org/en/users/Drivers/iwlwifi?action=AttachFile&do=get&target=${MY_PN}-${MY_PV}.tgz -> ${P}.tgz" + +LICENSE="ipw3945" +SLOT="${vc[2]}" +KEYWORDS="~amd64 ~x86" +IUSE="bluetooth" + +DEPEND="" +RDEPEND="bluetooth? ( sys-firmware/iwl3160-7260-bt-ucode ) + !sys-kernel/linux-firmware[-savedconfig]" + +S="${WORKDIR}/${MY_PN}-${MY_PV}" + +CONFIG_CHECK="~IWLMVM" +ERROR_IWLMVM="CONFIG_IWLMVM is required to be enabled in /usr/src/linux/.config for the kernel to be able to load the ${DEV_N} firmware" + +pkg_pretend() { + if kernel_is lt "${DV_MAJOR}" "${DV_MINOR}" "${DV_PATCH}"; then + ewarn "Your kernel version is ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}." + ewarn "This microcode image requires a kernel >= ${DV_MAJOR}.${DV_MINOR}.${DV_PATCH}." + ewarn "For kernel versions < ${DV_MAJOR}.${DV_MINOR}.${DV_PATCH}, you may install older SLOTS" + fi +} + +src_install() { + insinto /lib/firmware + doins "${S}/iwlwifi-${DEV_N}-${vc[2]}.ucode" + dodoc README* +} diff --git a/sys-firmware/iwl3160-ucode/iwl3160-ucode-0.8.24.22.ebuild b/sys-firmware/iwl3160-ucode/iwl3160-ucode-0.8.24.22.ebuild new file mode 100644 index 000000000000..3fa588e323e1 --- /dev/null +++ b/sys-firmware/iwl3160-ucode/iwl3160-ucode-0.8.24.22.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit linux-info versionator + +DEV_N="${PN:3:4}" +vc=($(get_all_version_components "${PV}")) +MY_PV="${vc[6]}.${vc[4]}.${vc[2]}.${vc[0]}" +MY_PN="iwlwifi-${DEV_N}-ucode" + +DV_MAJOR="3" +DV_MINOR="13" +DV_PATCH="0" + +DESCRIPTION="Firmware for Intel (R) Dual Band Wireless-AC ${DEV_N}" +HOMEPAGE="http://wireless.kernel.org/en/users/Drivers/iwlwifi" +SRC_URI="http://wireless.kernel.org/en/users/Drivers/iwlwifi?action=AttachFile&do=get&target=${MY_PN}-${MY_PV}.tgz -> ${P}.tgz" + +LICENSE="ipw3945" +SLOT="${vc[2]}" +KEYWORDS="~amd64 ~x86" +IUSE="bluetooth" + +DEPEND="" +RDEPEND="bluetooth? ( sys-firmware/iwl3160-7260-bt-ucode ) + !sys-kernel/linux-firmware[-savedconfig]" + +S="${WORKDIR}/${MY_PN}-${MY_PV}" + +CONFIG_CHECK="~IWLMVM" +ERROR_IWLMVM="CONFIG_IWLMVM is required to be enabled in /usr/src/linux/.config for the kernel to be able to load the ${DEV_N} firmware" + +pkg_pretend() { + if kernel_is lt "${DV_MAJOR}" "${DV_MINOR}" "${DV_PATCH}"; then + ewarn "Your kernel version is ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}." + ewarn "This microcode image requires a kernel >= ${DV_MAJOR}.${DV_MINOR}.${DV_PATCH}." + ewarn "For kernel versions < ${DV_MAJOR}.${DV_MINOR}.${DV_PATCH}, you may install older SLOTS" + fi +} + +src_install() { + insinto /lib/firmware + doins "${S}/iwlwifi-${DEV_N}-${vc[2]}.ucode" + dodoc README* +} diff --git a/sys-firmware/iwl3160-ucode/iwl3160-ucode-0.9.214.23.ebuild b/sys-firmware/iwl3160-ucode/iwl3160-ucode-0.9.214.23.ebuild new file mode 100644 index 000000000000..0c31b276f80a --- /dev/null +++ b/sys-firmware/iwl3160-ucode/iwl3160-ucode-0.9.214.23.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit linux-info versionator + +DEV_N="${PN:3:4}" +vc=($(get_all_version_components "${PV}")) +MY_PV="${vc[6]}.${vc[4]}.${vc[2]}.${vc[0]}" +MY_PN="iwlwifi-${DEV_N}-ucode" + +DV_MAJOR="3" +DV_MINOR="14" +DV_PATH="7" + +DESCRIPTION="Firmware for Intel (R) Dual Band Wireless-AC ${DEV_N}" +HOMEPAGE="http://wireless.kernel.org/en/users/Drivers/iwlwifi" +SRC_URI="http://wireless.kernel.org/en/users/Drivers/iwlwifi?action=AttachFile&do=get&target=${MY_PN}-${MY_PV}.tgz -> ${P}.tgz" + +LICENSE="ipw3945" +SLOT="${vc[2]}" +KEYWORDS="~amd64 ~x86" +IUSE="bluetooth" + +DEPEND="" +RDEPEND="bluetooth? ( sys-firmware/iwl3160-7260-bt-ucode ) + !sys-kernel/linux-firmware[-savedconfig]" + +S="${WORKDIR}/${MY_PN}-${MY_PV}" + +CONFIG_CHECK="~IWLMVM" +ERROR_IWLMVM="CONFIG_IWLMVM is required to be enabled in /usr/src/linux/.config for the kernel to be able to load the ${DEV_N} firmware" + +pkg_pretend() { + if kernel_is lt "${DV_MAJOR}" "${DV_MINOR}" "${DV_PATCH}"; then + ewarn "Your kernel version is ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}." + ewarn "This microcode image requires a kernel >= ${DV_MAJOR}.${DV_MINOR}.${DV_PATCH}." + ewarn "For kernel versions < ${DV_MAJOR}.${DV_MINOR}.${DV_PATCH}, you may install older SLOTS" + fi +} + +src_install() { + insinto /lib/firmware + doins "${S}/iwlwifi-${DEV_N}-${vc[2]}.ucode" + dodoc README* +} diff --git a/sys-firmware/iwl3160-ucode/iwl3160-ucode-0.9.228.25.ebuild b/sys-firmware/iwl3160-ucode/iwl3160-ucode-0.9.228.25.ebuild new file mode 100644 index 000000000000..a3e52cc510dc --- /dev/null +++ b/sys-firmware/iwl3160-ucode/iwl3160-ucode-0.9.228.25.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit linux-info versionator + +DEV_N="${PN:3:4}" +vc=($(get_all_version_components "${PV}")) +MY_PV="${vc[6]}.${vc[4]}.${vc[2]}.${vc[0]}" +MY_PN="iwlwifi-${DEV_N}-ucode" + +DV_MAJOR="3" +DV_MINOR="14" +DV_PATCH="9" + +DESCRIPTION="Firmware for Intel (R) Dual Band Wireless-AC ${DEV_N}" +HOMEPAGE="http://wireless.kernel.org/en/users/Drivers/iwlwifi" +SRC_URI="http://wireless.kernel.org/en/users/Drivers/iwlwifi?action=AttachFile&do=get&target=${MY_PN}-${MY_PV}.tgz -> ${P}.tgz" + +LICENSE="ipw3945" +SLOT="${vc[2]}" +KEYWORDS="~amd64 ~x86" +IUSE="bluetooth" + +DEPEND="" +RDEPEND="bluetooth? ( sys-firmware/iwl3160-7260-bt-ucode ) + !sys-kernel/linux-firmware[-savedconfig]" + +S="${WORKDIR}/${MY_PN}-${MY_PV}" + +CONFIG_CHECK="~IWLMVM" +ERROR_IWLMVM="CONFIG_IWLMVM is required to be enabled in /usr/src/linux/.config for the kernel to be able to load the ${DEV_N} firmware" + +pkg_pretend() { + if kernel_is lt "${DV_MAJOR}" "${DV_MINOR}" "${DV_PATCH}"; then + ewarn "Your kernel version is ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}." + ewarn "This microcode image requires a kernel >= ${DV_MAJOR}.${DV_MINOR}.${DV_PATCH}." + ewarn "For kernel versions < ${DV_MAJOR}.${DV_MINOR}.${DV_PATCH}, you may install older SLOTS" + fi +} + +src_install() { + insinto /lib/firmware + doins "${S}/iwlwifi-${DEV_N}-${vc[2]}.ucode" + dodoc README* +} diff --git a/sys-firmware/iwl3160-ucode/metadata.xml b/sys-firmware/iwl3160-ucode/metadata.xml new file mode 100644 index 000000000000..0188a22016aa --- /dev/null +++ b/sys-firmware/iwl3160-ucode/metadata.xml @@ -0,0 +1,10 @@ + + + + + gienah@gentoo.org + Feel free to bump and add yourself to the maintainer list, + please bump sys-firmware/iwl7260-ucode and maybe + sys-firmware/iwl3160-7260-bt-ucode as well. + + -- cgit v1.2.3-65-gdbad