Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-firmware/intel-microcode/
Date: Sun, 07 Jan 2018 20:48:38
Message-Id: 1515358103.fe65cc7bc14f41f05bb9c41f7318f280a1a31b5e.whissi@gentoo
1 commit: fe65cc7bc14f41f05bb9c41f7318f280a1a31b5e
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 7 20:48:05 2018 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 7 20:48:23 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe65cc7b
7
8 sys-firmware/intel-microcode: Bump to add additional microcode updates
9
10 Added:
11 (06-3c-03): 0x0022 -> 0x0023
12 (06-3d-04): 0x0025 -> 0x0028
13 (06-45-01): 0x0020 -> 0x0021
14 (06-4e-03): 0x00ba -> 0x00c2
15 (06-5c-09): 0x002c -> 0x002e
16 (06-8e-09): 0x0062 -> 0x007c
17 (06-9e-09): 0x005e -> 0x007c
18
19 Bug: https://bugs.gentoo.org/643794
20 Package-Manager: Portage-2.3.19, Repoman-2.3.6
21
22 sys-firmware/intel-microcode/Manifest | 1 +
23 .../intel-microcode-20171117_p20171215-r1.ebuild | 39 ++++++++++++++++++++++
24 2 files changed, 40 insertions(+)
25
26 diff --git a/sys-firmware/intel-microcode/Manifest b/sys-firmware/intel-microcode/Manifest
27 index 22f1ac958e3..27d1b399f22 100644
28 --- a/sys-firmware/intel-microcode/Manifest
29 +++ b/sys-firmware/intel-microcode/Manifest
30 @@ -9,4 +9,5 @@ DIST microcode-20161104.tgz 1290125 BLAKE2B 9274bebe3f9104f0afc6378ae40810b2a634
31 DIST microcode-20170511.tgz 2143617 BLAKE2B a2185b44cfca9832d2a80f12a189c49365ed323692b8fd94e99a0f4e8d3f0102a21cfce806ad9e53f172c3ae038f4ffafbafc8421bea6668bfbfdd1262bbd8e9 SHA512 4e2066096d56430c2df73631f15cf16f2317c1d8ff745d7b7cdd784ebccc2b797565eb52703cce9b4238774dbfdcaecacd892d729b7869fdfd7644008ce74a60
32 DIST microcode-20170707.tgz 2908882 BLAKE2B 545d94ee9292d1ba730932f11660d0e0378b4a6f2a5232cdcc26333a8d707ec13b040d41617fb28c17e4b81f1df5bc4180f1979925d2fa5198f2edfb3623967c SHA512 2f0643c332318e9c818b9a23a996b59086e86e80e649589e43dbab19f13083d6d9505b8557f67b45ce56de0da043c753a14bb146e597b6669f24fe543656c65f
33 DIST microcode-20171117.tgz 3594762 BLAKE2B 7a02c28ec6b9b22a367f8fd7d59f244d0195fef3b256fa2542bca734026e869fdefc7b368a230e94ac0554473d18d1b80aa00511ad4ab6580279f512a106c17d SHA512 b1f09dd7bb04c00e456e34bf42bf786c780aba6d2ef3231a45769216a093876e9bb15123c82ddb7d8ef5426fe10b946509f363770af3b4eba16ba76043a064b4
34 +DIST microcode-20171117_p20171215-r1.tgz 1477015 BLAKE2B 3911aed3bbbd350be69a99bc855cdec6e8dc2a77f64c4d3a6c1aa24455d5c97eb1c03917eddb4cac2018f6da20a1751cc819a5f27f866f64fc56c7279b5ca40f SHA512 05466e16f9778a3ab148fa5485cd605bca7990067040aa9133ec4c3c1b007519cb260fe8811b44df1192ca0e84237f00d7afccfa11103f3dd4a99c08c692ecb0
35 DIST microcode-20171117_p20171215.tgz 1468587 BLAKE2B 58777a39f843ae880f7dd8971a9570dbfc176d69541bb9d3cdc948d7be71a7df2559265fb1c8a199bc7567bb5a60176ade1d2c36624d0193dbac98d82401d0dd SHA512 25db94dbf18b1fea9497ec1e61bb5349d7bc78b0578d8869546bc3ec579b96bee7cd62657e66ebd3d4616805e85d790ac7ee7c0fed70b5db30236ffd12b33293
36
37 diff --git a/sys-firmware/intel-microcode/intel-microcode-20171117_p20171215-r1.ebuild b/sys-firmware/intel-microcode/intel-microcode-20171117_p20171215-r1.ebuild
38 new file mode 100644
39 index 00000000000..a72525d1f3f
40 --- /dev/null
41 +++ b/sys-firmware/intel-microcode/intel-microcode-20171117_p20171215-r1.ebuild
42 @@ -0,0 +1,39 @@
43 +# Copyright 1999-2018 Gentoo Foundation
44 +# Distributed under the terms of the GNU General Public License v2
45 +
46 +EAPI="6"
47 +
48 +inherit toolchain-funcs
49 +
50 +# Find updates by searching and clicking the first link (hopefully it's the one):
51 +# http://www.intel.com/content/www/us/en/search.html?keyword=Processor+Microcode+Data+File
52 +
53 +NUM="27337"
54 +DESCRIPTION="Intel IA32/IA64 microcode update data"
55 +HOMEPAGE="http://inertiawar.com/microcode/ https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=${NUM}"
56 +#SRC_URI="http://downloadmirror.intel.com/${NUM}/eng/microcode-${PV}.tgz"
57 +SRC_URI="mirror://gentoo/microcode-${PV}-r1.tgz
58 + https://dev.gentoo.org/~whissi/dist/${PN}/microcode-${PV}-r1.tgz"
59 +
60 +LICENSE="intel-ucode"
61 +SLOT="0"
62 +KEYWORDS="-* ~amd64 ~x86"
63 +IUSE="initramfs +split-ucode"
64 +REQUIRED_USE="|| ( initramfs split-ucode )"
65 +
66 +DEPEND="initramfs? ( sys-apps/iucode_tool )"
67 +RDEPEND="!<sys-apps/microcode-ctl-1.17-r2" #268586
68 +
69 +S=${WORKDIR}
70 +
71 +src_compile() {
72 + if use initramfs ; then
73 + iucode_tool --write-earlyfw=microcode.cpio intel-ucode/ || die
74 + fi
75 +}
76 +
77 +src_install() {
78 + insinto /lib/firmware
79 + use initramfs && doins microcode.cpio
80 + use split-ucode && doins -r intel-ucode
81 +}