diff --git a/.linux-firmware.metadata b/.linux-firmware.metadata new file mode 100644 index 0000000..b945955 --- /dev/null +++ b/.linux-firmware.metadata @@ -0,0 +1 @@ +eb3eebff893035c990797b3340fe1cef23c7520e SOURCES/linux-firmware-20131106.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/linux-firmware.spec b/SPECS/linux-firmware.spec new file mode 100644 index 0000000..56fad45 --- /dev/null +++ b/SPECS/linux-firmware.spec @@ -0,0 +1,540 @@ +%global checkout 7d0c7a8 +%global iwlwifi_release 27 + +Name: linux-firmware +Version: 20131106 +Release: 0.1.git%{checkout}%{?dist} +Summary: Firmware files used by the Linux kernel + +Group: System Environment/Kernel +License: GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted +URL: https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/ +# Source0 creation: "git archive --format=tar [gitid] | gzip > [srcdir]/%{name}-%{version}.tar.gz" +Source0: %{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +Provides: kernel-firmware = %{version} xorg-x11-drv-ati-firmware = 7.0 +Obsoletes: kernel-firmware < %{version} xorg-x11-drv-ati-firmware <= 6.13.0-0.22 +Obsoletes: ueagle-atm4-firmware <= 1.0-5 +Obsoletes: netxen-firmware <= 4.0.534-9 +Obsoletes: ql2100-firmware <= 1.19.38-7 +Obsoletes: ql2200-firmware <= 2.02.08-7 +Obsoletes: ql23xx-firmware <= 3.03.28-5 +Obsoletes: ql2400-firmware <= 5.08.00-2 +Obsoletes: ql2500-firmware <= 5.08.00-2 +Obsoletes: rt61pci-firmware <= 1.2-11 +Obsoletes: rt73usb-firmware <= 1.8-11 +Obsoletes: bfa-firmware <= 3.2.21.1-1 + +%description +Kernel-firmware includes firmware files required for some devices to +operate. + +%package -n iwl100-firmware +Summary: Firmware for Intel(R) Wireless WiFi Link 100 Series Adapters +License: Redistributable, no modification permitted +Version: 39.31.5.1 +Release: %{iwlwifi_release}%{?dist} +Obsoletes: iwl100-firmware < iwl100-firmware-39.31.5.1-4 +%description -n iwl100-firmware +This package contains the firmware required by the iwlagn driver +for Linux to support the iwl100 hardware. Usage of the firmware +is subject to the terms and conditions contained inside the provided +LICENSE file. Please read it carefully. + +%package -n iwl105-firmware +Summary: Firmware for Intel(R) Centrino Wireless-N 105 Series Adapters +License: Redistributable, no modification permitted +Version: 18.168.6.1 +Release: %{iwlwifi_release}%{?dist} +%description -n iwl105-firmware +This package contains the firmware required by the iwlagn driver +for Linux to support the iwl105 hardware. Usage of the firmware +is subject to the terms and conditions contained inside the provided +LICENSE file. Please read it carefully. + +%package -n iwl135-firmware +Summary: Firmware for Intel(R) Centrino Wireless-N 135 Series Adapters +License: Redistributable, no modification permitted +Version: 18.168.6.1 +Release: %{iwlwifi_release}%{?dist} +%description -n iwl135-firmware +This package contains the firmware required by the iwlagn driver +for Linux to support the iwl135 hardware. Usage of the firmware +is subject to the terms and conditions contained inside the provided +LICENSE file. Please read it carefully. + +%package -n iwl1000-firmware +Summary: Firmware for Intel® PRO/Wireless 1000 B/G/N network adaptors +License: Redistributable, no modification permitted +Version: 39.31.5.1 +Epoch: 1 +Release: %{iwlwifi_release}%{?dist} +Obsoletes: iwl1000-firmware < 1:39.31.5.1-3 +%description -n iwl1000-firmware +This package contains the firmware required by the iwlagn driver +for Linux to support the iwl1000 hardware. Usage of the firmware +is subject to the terms and conditions contained inside the provided +LICENSE file. Please read it carefully. + +%package -n iwl2000-firmware +Summary: Firmware for Intel(R) Centrino Wireless-N 2000 Series Adapters +License: Redistributable, no modification permitted +Version: 18.168.6.1 +Release: %{iwlwifi_release}%{?dist} +%description -n iwl2000-firmware +This package contains the firmware required by the iwlagn driver +for Linux to support the iwl2000 hardware. Usage of the firmware +is subject to the terms and conditions contained inside the provided +LICENSE file. Please read it carefully. + +%package -n iwl2030-firmware +Summary: Firmware for Intel(R) Centrino Wireless-N 2030 Series Adapters +License: Redistributable, no modification permitted +Version: 18.168.6.1 +Release: %{iwlwifi_release}%{?dist} +%description -n iwl2030-firmware +This package contains the firmware required by the iwlagn driver +for Linux to support the iwl2030 hardware. Usage of the firmware +is subject to the terms and conditions contained inside the provided +LICENSE file. Please read it carefully. + +%package -n iwl3160-firmware +Summary: Firmware for Intel(R) Dual Band Wireless-AC 3160 Series Adapters +License: Redistributable, no modification permitted +Version: 22.0.7.0 +Release: %{iwlwifi_release}%{?dist} +%description -n iwl3160-firmware +This package contains the firmware required by the iwlagn driver +for Linux to support the iwl3160 hardware. Usage of the firmware +is subject to the terms and conditions contained inside the provided +LICENSE file. Please read it carefully. + +%package -n iwl3945-firmware +Summary: Firmware for Intel® PRO/Wireless 3945 A/B/G network adaptors +License: Redistributable, no modification permitted +Version: 15.32.2.9 +Release: %{iwlwifi_release}%{?dist} +Obsoletes: iwl3945-firmware < 15.32.2.9-7 +%description -n iwl3945-firmware +This package contains the firmware required by the iwl3945 driver +for Linux. Usage of the firmware is subject to the terms and conditions +contained inside the provided LICENSE file. Please read it carefully. + +%package -n iwl4965-firmware +Summary: Firmware for Intel® PRO/Wireless 4965 A/G/N network adaptors +License: Redistributable, no modification permitted +Version: 228.61.2.24 +Release: %{iwlwifi_release}%{?dist} +Obsoletes: iwl4965-firmware < 228.61.2.24-5 +%description -n iwl4965-firmware +This package contains the firmware required by the iwl4965 driver +for Linux. Usage of the firmware is subject to the terms and conditions +contained inside the provided LICENSE file. Please read it carefully. + +%package -n iwl5000-firmware +Summary: Firmware for Intel® PRO/Wireless 5000 A/G/N network adaptors +License: Redistributable, no modification permitted +Version: 8.83.5.1_1 +Release: %{iwlwifi_release}%{?dist} +Obsoletes: iwl5000-firmware < 8.83.5.1_1-3 +%description -n iwl5000-firmware +This package contains the firmware required by the iwl5000 driver +for Linux. Usage of the firmware is subject to the terms and conditions +contained inside the provided LICENSE file. Please read it carefully. + +%package -n iwl5150-firmware +Summary: Firmware for Intel® PRO/Wireless 5150 A/G/N network adaptors +License: Redistributable, no modification permitted +Version: 8.24.2.2 +Release: %{iwlwifi_release}%{?dist} +Obsoletes: iwl5150-firmware < 8.24.2.2-4 +%description -n iwl5150-firmware +This package contains the firmware required by the iwl5150 driver +for Linux. Usage of the firmware is subject to the terms and conditions +contained inside the provided LICENSE file. Please read it carefully. + +%package -n iwl6000-firmware +Summary: Firmware for Intel(R) Wireless WiFi Link 6000 AGN Adapter +License: Redistributable, no modification permitted +Version: 9.221.4.1 +Release: %{iwlwifi_release}%{?dist} +Obsoletes: iwl6000-firmware < 9.221.4.1-4 +%description -n iwl6000-firmware +This package contains the firmware required by the iwlagn driver +for Linux. Usage of the firmware is subject to the terms and conditions +contained inside the provided LICENSE file. Please read it carefully. + +%package -n iwl6000g2a-firmware +Summary: Firmware for Intel(R) Wireless WiFi Link 6005 Series Adapters +License: Redistributable, no modification permitted +Version: 17.168.5.3 +Release: %{iwlwifi_release}%{?dist} +Obsoletes: iwl6000g2a-firmware < 17.168.5.3-3 +%description -n iwl6000g2a-firmware +This package contains the firmware required by the iwlagn driver +for Linux. Usage of the firmware is subject to the terms and conditions +contained inside the provided LICENSE file. Please read it carefully. + +%package -n iwl6000g2b-firmware +Summary: Firmware for Intel(R) Wireless WiFi Link 6030 Series Adapters +License: Redistributable, no modification permitted +Version: 17.168.5.2 +Release: %{iwlwifi_release}%{?dist} +Obsoletes: iwl6000g2b-firmware < 17.168.5.2-3 +%description -n iwl6000g2b-firmware +This package contains the firmware required by the iwlagn driver +for Linux. Usage of the firmware is subject to the terms and conditions +contained inside the provided LICENSE file. Please read it carefully. + +%package -n iwl6050-firmware +Summary: Firmware for Intel(R) Wireless WiFi Link 6050 Series Adapters +License: Redistributable, no modification permitted +Version: 41.28.5.1 +Release: %{iwlwifi_release}%{?dist} +Obsoletes: iwl6050-firmware < 41.28.5.1-5 +%description -n iwl6050-firmware +This package contains the firmware required by the iwlagn driver +for Linux. Usage of the firmware is subject to the terms and conditions +contained inside the provided LICENSE file. Please read it carefully. + +%package -n iwl7260-firmware +Summary: Firmware for Intel(R) Dual Band Wireless-AC 7260 Series Adapters +License: Redistributable, no modification permitted +Version: 22.0.7.0 +Release: %{iwlwifi_release}%{?dist} +%description -n iwl7260-firmware +This package contains the firmware required by the iwlagn driver +for Linux. Usage of the firmware is subject to the terms and conditions +contained inside the provided LICENSE file. Please read it carefully. + +%package -n libertas-usb8388-firmware +Summary: Firmware for Marvell Libertas USB 8388 Network Adapter +License: Redistributable, no modification permitted +Epoch: 2 +Obsoletes: libertas-usb8388-firmware < 2:5.110.22.p23-8 +%description -n libertas-usb8388-firmware +Firmware for Marvell Libertas USB 8388 Network Adapter + +%package -n libertas-usb8388-olpc-firmware +Summary: OLPC firmware for Marvell Libertas USB 8388 Network Adapter +License: Redistributable, no modification permitted +%description -n libertas-usb8388-olpc-firmware +Firmware for Marvell Libertas USB 8388 Network Adapter with OLPC mesh network +support. + +%package -n libertas-sd8686-firmware +Summary: Firmware for Marvell Libertas SD 8686 Network Adapter +License: Redistributable, no modification permitted +Obsoletes: libertas-sd8686-firmware < 9.70.20.p0-4 +%description -n libertas-sd8686-firmware +Firmware for Marvell Libertas SD 8686 Network Adapter + +%package -n libertas-sd8787-firmware +Summary: Firmware for Marvell Libertas SD 8787 Network Adapter +License: Redistributable, no modification permitted +%description -n libertas-sd8787-firmware +Firmware for Marvell Libertas SD 8787 Network Adapter + +%prep +#setup -q -n linux-firmware-#{checkout} +%setup -q -c -n linux-firmware-%{checkout} + +%build +# Remove firmware shipped in separate packages already +# Perhaps these should be built as subpackages of linux-firmware? +rm -rf ess korg sb16 yamaha +# And _some_ conexant firmware. +rm v4l-cx23418-apu.fw v4l-cx23418-cpu.fw v4l-cx23418-dig.fw v4l-cx25840.fw + +# Remove source files we don't need to install +rm -f usbdux/*dux */*.asm +rm -rf carl9170fw + +# No need to install old firmware versions where we also provide newer versions +# which are preferred and support the same (or more) hardware +rm -f libertas/sd8686_v8* +rm -f libertas/usb8388_v5.bin + +# Due to bug 1007411, nuke the amd microcode for now +rm -rf LICENSE.amd-ucode amd-ucode + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/lib/firmware +mkdir -p $RPM_BUILD_ROOT/lib/firmware/updates +cp -r * $RPM_BUILD_ROOT/lib/firmware +rm $RPM_BUILD_ROOT/lib/firmware/{WHENCE,LICENCE.*,LICENSE.*} + +# Create file list but exclude firmwares that we place in subpackages +FILEDIR=`pwd` +pushd $RPM_BUILD_ROOT/lib/firmware +find . \! -type d > $FILEDIR/linux-firmware.files +find . -type d | sed -e '/^.$/d' > $FILEDIR/linux-firmware.dirs +popd +sed -i -e 's:^./::' linux-firmware.{files,dirs} +sed -i -e '/^iwlwifi/d' \ + -i -e '/^libertas\/sd8686/d' \ + -i -e '/^libertas\/usb8388/d' \ + -i -e '/^mrvl\/sd8787/d' \ + linux-firmware.files +sed -i -e 's/^/\/lib\/firmware\//' linux-firmware.{files,dirs} +sed -e 's/^/%%dir /' linux-firmware.dirs >> linux-firmware.files + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -n iwl100-firmware +%defattr(-,root,root,-) +%doc WHENCE LICENCE.iwlwifi_firmware +/lib/firmware/iwlwifi-100-5.ucode + +%files -n iwl105-firmware +%defattr(-,root,root,-) +%doc WHENCE LICENCE.iwlwifi_firmware +/lib/firmware/iwlwifi-105-*.ucode + +%files -n iwl135-firmware +%defattr(-,root,root,-) +%doc WHENCE LICENCE.iwlwifi_firmware +/lib/firmware/iwlwifi-135-*.ucode + +%files -n iwl1000-firmware +%defattr(-,root,root,-) +%doc WHENCE LICENCE.iwlwifi_firmware +/lib/firmware/iwlwifi-1000-*.ucode + +%files -n iwl2000-firmware +%defattr(-,root,root,-) +%doc WHENCE LICENCE.iwlwifi_firmware +/lib/firmware/iwlwifi-2000-*.ucode + +%files -n iwl2030-firmware +%defattr(-,root,root,-) +%doc WHENCE LICENCE.iwlwifi_firmware +/lib/firmware/iwlwifi-2030-*.ucode + +%files -n iwl3160-firmware +%defattr(-,root,root,-) +%doc WHENCE LICENCE.iwlwifi_firmware +/lib/firmware/iwlwifi-3160-7.ucode + +%files -n iwl3945-firmware +%defattr(-,root,root,-) +%doc WHENCE LICENCE.iwlwifi_firmware +/lib/firmware/iwlwifi-3945-*.ucode + +%files -n iwl4965-firmware +%defattr(-,root,root,-) +%doc WHENCE LICENCE.iwlwifi_firmware +/lib/firmware/iwlwifi-4965-*.ucode + +%files -n iwl5000-firmware +%defattr(-,root,root,-) +%doc WHENCE LICENCE.iwlwifi_firmware +/lib/firmware/iwlwifi-5000-*.ucode + +%files -n iwl5150-firmware +%defattr(-,root,root,-) +%doc WHENCE LICENCE.iwlwifi_firmware +/lib/firmware/iwlwifi-5150-*.ucode + +%files -n iwl6000-firmware +%defattr(-,root,root,-) +%doc WHENCE LICENCE.iwlwifi_firmware +/lib/firmware/iwlwifi-6000-*.ucode + +%files -n iwl6000g2a-firmware +%defattr(-,root,root,-) +%doc WHENCE LICENCE.iwlwifi_firmware +/lib/firmware/iwlwifi-6000g2a-*.ucode + +%files -n iwl6000g2b-firmware +%defattr(-,root,root,-) +%doc WHENCE LICENCE.iwlwifi_firmware +/lib/firmware/iwlwifi-6000g2b-*.ucode + +%files -n iwl6050-firmware +%defattr(-,root,root,-) +%doc WHENCE LICENCE.iwlwifi_firmware +/lib/firmware/iwlwifi-6050-*.ucode + +%files -n iwl7260-firmware +%defattr(-,root,root,-) +%doc WHENCE LICENCE.iwlwifi_firmware +/lib/firmware/iwlwifi-7260-7.ucode + +%files -n libertas-usb8388-firmware +%defattr(-,root,root,-) +%doc WHENCE LICENCE.Marvell +%dir /lib/firmware/libertas +/lib/firmware/libertas/usb8388_v9.bin + +%files -n libertas-usb8388-olpc-firmware +%defattr(-,root,root,-) +%doc WHENCE LICENCE.Marvell +%dir /lib/firmware/libertas +/lib/firmware/libertas/usb8388_olpc.bin + +%files -n libertas-sd8686-firmware +%defattr(-,root,root,-) +%doc WHENCE LICENCE.Marvell +%dir /lib/firmware/libertas +/lib/firmware/libertas/sd8686* + +%files -n libertas-sd8787-firmware +%defattr(-,root,root,-) +%doc WHENCE LICENCE.Marvell +%dir /lib/firmware/mrvl +/lib/firmware/mrvl/sd8787* + +%files -f linux-firmware.files +%defattr(-,root,root,-) +%dir /lib/firmware +%dir /lib/firmware/updates +%doc WHENCE LICENCE.* LICENSE.* + +%changelog +* Wed Nov 06 2013 Jarod Wilson - 20131106-0.1.git7d0c7a8 +- Update to latest upstream linux-firmware to pick up bfa firmware (rhbz 1013426) +- Fix up Obsoletes to all use <= comparisons + +* Fri Sep 20 2013 Jarod Wilson - 20130820-0.4.git600caef +- Drop amd-ucode to avoid bug 1007411 for now + +* Tue Aug 20 2013 Jarod Wilson - 20130820-0.3.git600caef +- Put in proper URL and URL-less Source0 location, and a note about how + we generate the tarball by hand from a git tree + +* Tue Aug 20 2013 Jarod Wilson - 20130820-0.2.git600caef +- Fix up build breakage from split nvr for iwlwifi + +* Tue Aug 20 2013 Jarod Wilson - 20130820-0.1.git600caef +- Update to latest upstream git tree + +* Thu Apr 18 2013 Josh Boyer - 20130418-0.1.gitb584174 +- Update to latest upstream git tree + +* Tue Mar 19 2013 Josh Boyer +- Own the firmware directories (rhbz 919249) + +* Thu Feb 21 2013 Josh Boyer - 20130201-0.4.git65a5163 +- Obsolete netxen-firmware. Again. (rhbz 913680) + +* Fri Feb 04 2013 Josh Boyer - 20130201-0.3.git65a5163 +- Obsolete ql2[45]00-firmware packages (rhbz 906898) + +* Fri Feb 01 2013 Josh Boyer +- Update to latest upstream release +- Provide firmware for carl9170 (rhbz 866051) + +* Wed Jan 23 2013 Ville Skyttä - 20121218-0.2.gitbda53ca +- Own subdirs created in /lib/firmware (rhbz 902005) + +* Wed Jan 23 2013 Josh Boyer +- Correctly obsolete the libertas-usb8388-firmware packages (rhbz 902265) + +* Tue Dec 18 2012 Josh Boyer +- Update to latest upstream. Adds brcm firmware updates + +* Wed Oct 10 2012 Josh Boyer +- Consolidate rt61pci-firmware and rt73usb-firmware packages (rhbz 864959) +- Consolidate netxen-firmware and ql2[123]xx-firmware packages (rhbz 864959) + +* Tue Sep 25 2012 Josh Boyer +- Update to latest upstream. Adds marvell wifi updates (rhbz 858388) + +* Tue Sep 18 2012 Josh Boyer +- Add patch to create libertas subpackages from Daniel Drake (rhbz 853198) + +* Fri Sep 07 2012 Josh Boyer 20120720-0.2.git7560108 +- Add epoch to iwl1000 subpackage to preserve upgrade patch (rhbz 855426) + +* Fri Jul 20 2012 Josh Boyer 20120720-0.1.git7560108 +- Update to latest upstream. Adds more realtek firmware and bcm4334 + +* Tue Jul 17 2012 Josh Boyer 20120717-0.1.gitf1f86bb +- Update to latest upstream. Adds updated realtek firmware + +* Thu Jun 07 2012 Josh Boyer 20120510-0.5.git375e954 +- Bump release to get around koji + +* Thu Jun 07 2012 Josh Boyer 20120510-0.4.git375e954 +- Drop udev requires. Systemd now provides udev + +* Tue Jun 05 2012 Josh Boyer 20120510-0.3.git375e954 +- Fix location of BuildRequires so git is inclued in the buildroot +- Create iwlXXXX-firmware subpackages (rhbz 828050) + +* Thu May 10 2012 Josh Boyer 20120510-0.1.git375e954 +- Update to latest upstream. Adds new bnx2x and radeon firmware + +* Wed Apr 18 2012 Josh Boyer 20120418-0.1.git85fbcaa +- Update to latest upstream. Adds new rtl and ath firmware + +* Wed Mar 21 2012 Dave Airlie 20120206-0.3.git06c8f81 +- use git to apply the radeon firmware + +* Wed Mar 21 2012 Dave Airlie 20120206-0.2.git06c8f81 +- add radeon southern islands/trinity firmware + +* Tue Feb 07 2012 Josh Boyer 20120206-0.1.git06c8f81 +- Update to latest upstream git snapshot. Fixes rhbz 786937 + +* Fri Jan 13 2012 Fedora Release Engineering - 20110731-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Thu Aug 04 2011 Tom Callaway 20110731-2 +- resolve conflict with netxen-firmware + +* Wed Aug 03 2011 David Woodhouse 20110731-1 +- Latest firmware release with v1.3 ath9k firmware (#727702) + +* Sun Jun 05 2011 Peter Lemenkov 20110601-2 +- Remove duplicated licensing files from /lib/firmware + +* Wed Jun 01 2011 Dave Airlie 20110601-1 +- Latest firmware release with AMD llano support. + +* Thu Mar 10 2011 Dave Airlie 20110304-1 +- update to latest upstream for radeon ni/cayman, drop nouveau fw we don't use it anymore + +* Tue Feb 08 2011 Fedora Release Engineering - 20110125-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Jan 25 2011 David Woodhouse 20110125-1 +- Update to linux-firmware-20110125 (new bnx2 firmware) + +* Fri Jan 07 2011 Dave Airlie 20101221-1 +- rebase to upstream release + add new radeon NI firmwares. + +* Thu Aug 12 2010 Hicham HAOUARI 20100806-4 +- Really obsolete ueagle-atm4-firmware + +* Thu Aug 12 2010 Hicham HAOUARI 20100806-3 +- Obsolete ueagle-atm4-firmware + +* Fri Aug 06 2010 David Woodhouse 20100806-2 +- Remove duplicate radeon firmwares; they're upstream now + +* Fri Aug 06 2010 David Woodhouse 20100806-1 +- Update to linux-firmware-20100806 (more legacy firmwares from kernel source) + +* Fri Apr 09 2010 Dave Airlie 20100106-4 +- Add further radeon firmwares + +* Wed Feb 10 2010 Dave Airlie 20100106-3 +- add radeon RLC firmware - submitted upstream to dwmw2 already. + +* Tue Feb 09 2010 Ben Skeggs 20090106-2 +- Add firmware needed for nouveau to operate correctly (this is Fedora + only - do not upstream yet - we just moved it here from Fedora kernel) + +* Wed Jan 06 2010 David Woodhouse 20090106-1 +- Update + +* Fri Aug 21 2009 David Woodhouse 20090821-1 +- Update, fix typos, remove some files which conflict with other packages. + +* Thu Mar 19 2009 David Woodhouse 20090319-1 +- First standalone kernel-firmware package.