diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-06-30 08:49:38 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-06-30 08:49:38 +0100 |
commit | b2be182d49eea46686b5cf2680d457df61e89dc4 (patch) | |
tree | c66442ced2011c5ca81c3114cc51041e314c6d33 /sys-firmware | |
parent | e23cdda4dbb0c83b9e682ab5e916085a35203da5 (diff) |
gentoo resync : 30.06.2018
Diffstat (limited to 'sys-firmware')
31 files changed, 9 insertions, 1559 deletions
diff --git a/sys-firmware/Manifest.gz b/sys-firmware/Manifest.gz Binary files differindex c7b230fc646f..bd075d462080 100644 --- a/sys-firmware/Manifest.gz +++ b/sys-firmware/Manifest.gz diff --git a/sys-firmware/intel-microcode/Manifest b/sys-firmware/intel-microcode/Manifest index 34838a5a4259..e6338b42d67c 100644 --- a/sys-firmware/intel-microcode/Manifest +++ b/sys-firmware/intel-microcode/Manifest @@ -1,41 +1,4 @@ -AUX intel-microcode2ucode.c 3484 BLAKE2B ff203133c00813884e61a7e1c3cfd5ca34cc8b6bbbac2940e0f9161594355d6d2ed9aa96e83c7d5dd64559ad7945e7daf0bb84d64831128a86970e4e1d3a73e1 SHA512 0e29f995dee47707026cfb6224580c2166d000e91af7b1afe12f00158be8606093d07cdbc0d583a0af79370cf1d9c16b5f35a306bae7f545a5c774ea253509b7 -AUX intel-microcode2ucode.c-r1 3533 BLAKE2B 5d6863c069526ae472bc4510b0900017ddd9d7723e86241536eff7b97a225c15bab8d53f14872a7bab7d5599ad0f0492b8df50baa5d3edc01c4d32808b1781ad SHA512 2b234a0080461f27440047d870b3a2769425499c35807f6ccc89a31e4ee87a14bc74ed2ca95a8b9744f07b93f8042a3d6486cda07011585e3e634663834ca49e -DIST intel-microcode-collection-20180527.tar.xz 4315096 BLAKE2B 2ab4fe3d8469d98bc890e7f1347e4da442d814e945253e2c400a0ba954925f6c622d259711a9ce89a2d013365c65b002e24e182afc5c53ebd4e14828b2f5631e SHA512 45e46905156a0b4d8b272760d84030651a034feaf2afbc564f99fff89303457c0d7d694f174de5abed666d5107f2f7db93c04acd3cc36a77b1cf1a0495584b1c DIST intel-microcode-collection-20180616.tar.xz 4413444 BLAKE2B 4ba5371914f64c8a7261720512dff128f83cc25950a4bdf8d41e9eeb724c6d3150212b1a7f2ee966a2b9c835a2622ac885625fada497ec2bc0aa3c435a2968e8 SHA512 5c0cd4e764397f8c2593153256d573db8f57cce1fc062f5e687a108e5a430c7ed506f63d0d324ea2b88cc8bf8762d3fec507252ee9890c55bb9d3b5604151afe -DIST microcode-20140430.tgz 785594 BLAKE2B e51a187ca99ad496804f117871b50693b03b50759c9dd23002149ff7fa4b74888c83e8e1fcf078a973dea82e6a9439de8415c56c902ed0163e55ceaaff0eaf23 SHA512 12954522629ce15c4b95c158b6288b3877a3d1f87bea838f8138e53987ef1b6c0edc7a8cbb802a981ccca178b70b4323907aafa7479c0c2fed4497f6fb7bbc1c -DIST microcode-20140624.tgz 787237 BLAKE2B 1c2d8f39bf142570283e80f370f41c502ef04d24b4348ca4b44c881e3b1e54df72a88e09350d45a33d47d9955d84a80ae8a11e44561b1a8944a59f9326d4d81a SHA512 c774006aae639e7fae90bc1f5d8308b407e7cd3b7d0da6e35577560bf6201c2b15f7d7b6b0cd727c50be1e9d508b484b067856631fa2598498982109bff0e44c -DIST microcode-20140913.tgz 830537 BLAKE2B 665c72fc3a3e1e13d9e58eba0ed202b30856532eee590006c02112df926b879985a97ba9a96b58a6aad0285bff95a3fbb27b22d533f958fe170887f0ab37eef1 SHA512 e179fe0001b1157cc95aee39185f51fd182d53c1bdb30bfc95bc3a70795c32012050f3a4adf06735a77d8ef9c703a330c6a2610b73b70f09f5760e31d39cb89c -DIST microcode-20150121.tgz 850761 BLAKE2B d5859b98de645ed255ac4244640979b4c197a1d1d9c2b562c052405f487ccd0f0e570c5054cd55870b4eb4d51237b9c2627547e30b7245174f887605cf049b1b SHA512 f62edd1b666cf381605613766d7e123f0c6debee4448c0ff0882d33c144ad2174656d2501a449f24eb3e4708259e7ec0ff42810739b7d1f34a6a1d9950d17bc4 -DIST microcode-20151106.tgz 892805 BLAKE2B e384a445ea645510dbef1e564963509893ec5beefe90f04490aa7d1b91fd036ae928bbb7a68e291b1633e2d671ce8995518967fffddcc3edc336bc06c3f60251 SHA512 606ce97f0fe76f6a34a857923d3432d8e2368e8a5c504ffa0313f9f016d61b0a5dea26e67662ce1283c1f772ace7318e96a34ebeeeff50b25deb3005ccc6978e -DIST microcode-20160607.tgz 1236385 BLAKE2B 477b8c8df915d8800f1d5836f2882ba63b152d5e67f6c7eecb71539176d77454b2482fe10308fc3b352a03563582f9626296a3eae48496351b54e81435d4e09b SHA512 17f62ebf3e9f262d21ffa00546da4d711a9a810ad0a9bf4b2805c33090d75e9a07df1f3449baf6009ec5ef1f9af470fd32285b6100f0819e0b9989f5c55dc5bd -DIST microcode-20160714.tgz 1239344 BLAKE2B 9af6d4d7db21d7316a4e331c5e70a81b9a5d0d95c3476b56d2281a2c7e652e800bcdcec9ad8857563abf378512ecf48c06b3112604fe2602d50b71558d608428 SHA512 f9e09b6669a86aafcc77642d6e33acf9326109c3a2bc3e0d62b45a062b9ecbde6605b5a0ae31d4a3ad2b0ed3c6d3aadbd18088431fb72216bfc31fc452b0e342 -DIST microcode-20161104.tgz 1290125 BLAKE2B 9274bebe3f9104f0afc6378ae40810b2a634c85e5d26f8250666a45c6dd0d75e35d051e8702a6ca26c70d8cdfea0144614bca9c5568294817ea8f522e474b8a3 SHA512 73a7310c1da5bec7ce82bce5cf7c2aafa3d0189e7524bdebd20e1ea3568cf8242be39d9041fa055fe06e759f98703c5d0a631e57ff185aae3ba3c91dbe83cf7a -DIST microcode-20170511.tgz 2143617 BLAKE2B a2185b44cfca9832d2a80f12a189c49365ed323692b8fd94e99a0f4e8d3f0102a21cfce806ad9e53f172c3ae038f4ffafbafc8421bea6668bfbfdd1262bbd8e9 SHA512 4e2066096d56430c2df73631f15cf16f2317c1d8ff745d7b7cdd784ebccc2b797565eb52703cce9b4238774dbfdcaecacd892d729b7869fdfd7644008ce74a60 -DIST microcode-20170707.tgz 2908882 BLAKE2B 545d94ee9292d1ba730932f11660d0e0378b4a6f2a5232cdcc26333a8d707ec13b040d41617fb28c17e4b81f1df5bc4180f1979925d2fa5198f2edfb3623967c SHA512 2f0643c332318e9c818b9a23a996b59086e86e80e649589e43dbab19f13083d6d9505b8557f67b45ce56de0da043c753a14bb146e597b6669f24fe543656c65f -DIST microcode-20171117.tgz 3594762 BLAKE2B 7a02c28ec6b9b22a367f8fd7d59f244d0195fef3b256fa2542bca734026e869fdefc7b368a230e94ac0554473d18d1b80aa00511ad4ab6580279f512a106c17d SHA512 b1f09dd7bb04c00e456e34bf42bf786c780aba6d2ef3231a45769216a093876e9bb15123c82ddb7d8ef5426fe10b946509f363770af3b4eba16ba76043a064b4 -DIST microcode-20171117_p20171215-r1.tgz 1477015 BLAKE2B 3911aed3bbbd350be69a99bc855cdec6e8dc2a77f64c4d3a6c1aa24455d5c97eb1c03917eddb4cac2018f6da20a1751cc819a5f27f866f64fc56c7279b5ca40f SHA512 05466e16f9778a3ab148fa5485cd605bca7990067040aa9133ec4c3c1b007519cb260fe8811b44df1192ca0e84237f00d7afccfa11103f3dd4a99c08c692ecb0 -DIST microcode-20171117_p20171215.tgz 1468587 BLAKE2B 58777a39f843ae880f7dd8971a9570dbfc176d69541bb9d3cdc948d7be71a7df2559265fb1c8a199bc7567bb5a60176ade1d2c36624d0193dbac98d82401d0dd SHA512 25db94dbf18b1fea9497ec1e61bb5349d7bc78b0578d8869546bc3ec579b96bee7cd62657e66ebd3d4616805e85d790ac7ee7c0fed70b5db30236ffd12b33293 -DIST microcode-20180108.tgz 3676678 BLAKE2B 197e0188e516a3071be9e2e7a6261d78208613db8b746c7df533ce37884197dbd06a4e6ab027cbddba38903f590130f2d974e46da8fbab0613561523653460ab SHA512 f4010d83353948df27beeb804ef11e4f019f63397a4936f9d139e2842f7944d1ae864b9376987eaffc7db5b97201d5de2f4c1d7cc6b0f545ae15ec53a61fce2b -DIST microcode-20180312.tgz 3789662 BLAKE2B e948d74833fe75b9bbdff1e4676f5d49a13bdd06aa6525c39be3448b822203947a5f55515484401ee0c96e8ade19ea580718949bed65883d983509661a16e637 SHA512 cc2cabf6d12c83b65eeb30fca7eb0b503e037dbee3d7ce9cb307b02ed8ac9426b2bafc2c1f1281dddff0945f8308f0d3cd320edea4596551354188d64760b854 DIST microcode-20180425.tgz 1565473 BLAKE2B 70e0a56f0f5f720e00ab18d6553bc221147589e83df34fdc0c130c6f74a239e48355bfe1845b1de919ed1bce9ade7b7db298883eb3de1d53732a694b15d76f62 SHA512 6cea53cc0f486891fb9ddffc1e03e8e0a6d1d91df6bfda81250b2c60714e7b4111caa9df5afa7f13d8144e591550ef7eb4fd1e153fc67fc904afb83ccc2e3bb0 -EBUILD intel-microcode-20140430.ebuild 1169 BLAKE2B eab5c169361c8954bc6adf7035e2cdcb6602cd777cc0d02fc9308f0be06863c1e760e23e01c47458d329a11dfc5a6dd4bc5acc2eab88d4c6e4b7e9ff23515e71 SHA512 c0b31a6fcac608c7ba811b4ffc068172fdaed22c58dc29a5526275b0935d7c9210381978f224f419ca4071dd79d04ba3b8e2e788e5d2343bc46bcb3b4a3c570a -EBUILD intel-microcode-20140624.ebuild 1171 BLAKE2B 9376abe8e21dbafb22978fc8607638380a6d69727df313300b4527a6afbaf56d74a72432b57d2b67cfad829aa2b93da8a2bd4e93d86ed6e44c704fbab0a512c5 SHA512 c8ea78ebe459ff578f11c06c29fa58f87793f1b5ea6f7b93586af36ecc586cc5f03576b71f15b729c0c9bb97886244de4febb2dcd73fa6206ffb312622ff83c9 -EBUILD intel-microcode-20140913.ebuild 1171 BLAKE2B ecb957649f70ff9e0cd52b7332870f5cb3917afde0e19e7bfc250e777468e39d2cece9dc5265962b0b779abca5e36c4f43793b5d2d30f9e24c66d5467a0d554a SHA512 a52bd7f6e9b2e35d207d6a3f819576e8654435220034631ac26a352159fc34edd6cc49d3545f50dcbb44ea824be59dd775938c86f432226e8334c5bcc12c4f8e -EBUILD intel-microcode-20150121-r1.ebuild 1299 BLAKE2B cdb2bb5fe7c4c390c4e6abf05ea5ef83868f47dfbe4d03b81189f64ced27a0ec9c9921e47c0eb2c79f60b884d078907e9cb655c1fd45fbf1fb3010f9a050d09a SHA512 fe94bed3e9292c1b6590319eaa825e7757fbe4256081d27027e5478ba883d14985f530588fae4ee091123fead6e007cb1366f139e7f5efae2daec07a228b9657 -EBUILD intel-microcode-20150121.ebuild 1169 BLAKE2B a5e324ba74fda2299cdbec45b70b1e3b79929d4a756bf5da9833f1c8428f540af4b067c8ece8a753bbbce59d8615eeb71120293f76beeb998f3e3de8ec079810 SHA512 efb958716b0b3ab6bb7b942afb55a19cdb8423f91f178b90abf5bf80df2dbff31d05505fab91d01e31ab453d954d702e5e7724ed3cf30ddefc0d301b450c7008 -EBUILD intel-microcode-20151106.ebuild 1297 BLAKE2B 8f73a11988ccb1962bb2ab08a1c04187d862f8d9b9441a7eb741fb1b00eb0356bc7419626d2ab0d269408ad9c61c3a3eae27af6862863b401545da8b3e64fb49 SHA512 ff5bf38e0542c0ec15f16eb2f5f336a116df72dde71fe357fa74c3bf374f076bd3ecc41ffaa575964801b7fd9d4f552a24cceddd68fd8a3b0a3d0fa588146733 -EBUILD intel-microcode-20160607.ebuild 1304 BLAKE2B ed4e065abc92b83582f499a347f99954f306ca4e8f186e45b02e02aac23f6cee9cfe57a59904dcaa2ab20ad27043969be230d41783846e76efb379d8139fe6ac SHA512 01337b3c316d59ca6c6a67879ae6f1bd0a933863c4f46a899447a7a5e420c36eb7475656ac97a1d69d58990fc6fe727e0478d31822181a7ed2c15bdac46e23a1 -EBUILD intel-microcode-20160714.ebuild 1304 BLAKE2B 7c7b3538894f3d0103a1b8069c6afc660462329b39728f52180af0f79ffb56861e5c6e5caa928059153e1837d9bdeb7227e39dfc63b37ef8069f3c964bf3734f SHA512 a7ec2093ba146442f69c9ba3e0c2427b63b58b43f92676c4be5a4e8c1dca683a4dd94afd1c54ecc97177d7ad998937a525496309ddaf20985ded23398c806a7c -EBUILD intel-microcode-20161104.ebuild 1302 BLAKE2B 7203e77ba2d5a021d6019863bc8dc15c154913dee0fc005e134304e46092d99d4b6bda185527fedd4367e0c5f2944ac380fd946b4d6bfde19c3620738d01fe1e SHA512 fbe032d5a4db41643a416f6c55dadb50b05e6c94eecd56e418f89a130312eb4de8ff655d6c81b90644ce728399ac1315ff0f62c93a17d11ef5d46c22f4102db3 -EBUILD intel-microcode-20170511.ebuild 1302 BLAKE2B d9e27642414d014c5bb6003441f86bb4ce3d07e64dd01f67b8ef962a5b0de6abd5049785a6ea8dfff3ee16be41990d4baadd15093f3a37bdbeb9545e8c0a265e SHA512 4a1fce5bcc5a1d15e2116ea5b9453edaf90326976e7a3c35caecd2fd515087a32755df178f75790c5629952b14aceb3ffd6dff585605eea3812af58eaeac909b -EBUILD intel-microcode-20170707.ebuild 1328 BLAKE2B d895077fb51ed4abcc2b49088ed73dfd9ba6d95790a2cdac193beba937c164e023c26f43c6a7bc7f5ffedd09edafd84382e863195eb6c340e366a3bd51704716 SHA512 163e4553b7411bc9328fce7649eddaed10d07bf6c1adbdfb583bcf8b3680fa4ea8602f4aeeb43b59424ddad96dc1c320d92817a954f8c77f011906284731b7ab -EBUILD intel-microcode-20171117-r1.ebuild 2589 BLAKE2B 16225141f5551c85bad2ec23fbedb5590e771fcb69a40eb9252da0c65de4e8ca87af460126e0d5e1519270aa95e2d135569dd0412afd1a866ca850932676b23a SHA512 d2ef44c2905303ca5ce5b7e9f8a3c5594c8ae84ceb8ef9fa3480216f29c9c6a98404c40cb39d8408c2fdc0e7ac34c7107af89754c86dc7f530063024c46060be -EBUILD intel-microcode-20171117.ebuild 1330 BLAKE2B ce06a3bbba626f8c9c8c0b6c0c9c8e2dbe2063f9cdb4ac984891396bd68d8f1e746b92e3748650a88977ac62baf58b87275d0513158bf6071bc0dabfb92d4bf3 SHA512 f2106b69382b5ff7c1635ea56c68a966a28c9b2a630f9fb07ecf0347c9c5d997b75b1516d85fe14922edcebcdffb30c9a082335b51b732f3c370c72a696be2bd -EBUILD intel-microcode-20171117_p20171215-r1.ebuild 1155 BLAKE2B 12b179939ea6c2e80794f77ad77f0bd6c283b4a9891553283e3c6aab8b2cf73151a19e7f671af802c6b59f51550fed944bf80e0f4c208fa580636ec9541311a8 SHA512 38ca815b1cc6f2bd6f85bf38d1aa7ef544756fee598a5a608e2ffc489dbb24157e78a511e345732162050f62f0615166f60ef0273954048d627003d76b6f5b68 -EBUILD intel-microcode-20171117_p20171215.ebuild 1149 BLAKE2B 54add03072f87c0e1083a637d08143dc7457f1164958e5228e9968c762f24f4731a359a44d4eded63ff501faa9df9e3fd90d01131042da53f0fa411d47a53e7d SHA512 298d7d99b7d715abbd64d02f6762186b4fb556e05d9c2adef563c9c5659dee334127ac12e170a39779f466609500c2e74307799b6b8796095356803d3c194696 -EBUILD intel-microcode-20180108-r1.ebuild 2589 BLAKE2B aa50ed2760d43058427b2f01a4d7464f4ed2539d5c9adcf45034cf6a52d36d00557c12e244eaae4dfc2ac0f0381a58f4e44f971edc2bf279e39ecf1f8b7396ba SHA512 24e62065e2a261591d765b1fd2b7097ff99ac44f973bf5e22f07ba4615293c90b79bab135de09312e78cc2c2a07ac1b857309923b4b560adf1fdfff88dcc3980 -EBUILD intel-microcode-20180108.ebuild 1328 BLAKE2B 27e9dfb4283a5ed844514b1fc0df0afe793776454fd9748fd00b68947834465a667b86e9b262a4161d142b42fef80651391fcf872857abaeef66de5492528f3c SHA512 d6a0b50abe64c41bac70172e0672442e46458789ee9fac3df39f91c66f16011f4bd639dcb3cbe236429223d4d51c581ed345e2048bfce205c98a3b05a580839b -EBUILD intel-microcode-20180312.ebuild 2590 BLAKE2B cf489e4899380a5672e78fd5d8f81f5896dda301d1f82478301c1367839285631d0e1d90e67a676b59ff68b65823f7ff5354a7ac227866304457efab1ff98ccd SHA512 325b6917aa5415145ba1193d59b8a57b5667e0fea8fb3dd3d97bc0ad2e1172a5f161f94e660aebfee4057cb5f11dfcb3e3935bc4664b339b8250bc45510d47a3 -EBUILD intel-microcode-20180527-r1.ebuild 7246 BLAKE2B 1f69c9facd89055ee8e49ce7abd69b13278b084f1241b34240aed49fca1e2943ffb3c89a594b0042db71e2eb889b1fbda3dfd290f0b49589b13f72ff7785c43f SHA512 ad5745698925f0561f04521dbec1e18ebdb90c66139b4b86b68754fb9ba8c7f2f0c7b40cec7cc510c31b39a84d6f716cdc91222511425bb14a76ce1c2c2af2d5 -EBUILD intel-microcode-20180616.ebuild 7248 BLAKE2B ababb918b0ae5113ff7b367153fab87478c20b1877c92fe13b22fa6b8c9d0977e5e9833ed16a8c7913ac81d499cb24cf0e6591619879bd7149547106ddd9a11a SHA512 1a591cbc8fce332a8e43dbdae9995f011cb5f0fa592536d76f5ef8b983fb2378393df93be4192fac0b86c579e56428eb8018cb17d550e8c434b9d234087128b9 -MISC metadata.xml 778 BLAKE2B cdbbf186c80a9a7c910912871336c2ee768af5cbe3939399beb94a30b141e499ce1ca4b098e5c12c6632fff57cb6de172c83ebd7a0a6637d228e10b244db0d75 SHA512 030f595dd6b5d50e7b6e5dabc47df75e08506eac59354a6e7d6e51f27c29fc3765bd9213cd7e13d65990226b0e5fe34e090dc35669bd9dfdf5ab7a1d7d581306 +EBUILD intel-microcode-20180616.ebuild 7246 BLAKE2B e3fd6eddc68b5c98d263f4d546e9c0c590f79c735ce9ef9fb3c76eb17857784fc95823bfab26f461b8c97f42dd82d2f38605d0c7b00c0f2b9ef93073be8229fa SHA512 d97ffa0cee802f5fcd0a720d6609aab76d16f73f36cc5c19d8c886777af43b160bee50a9f5e1ef935d96b9730d08da63831341c9921cff6fcc8db177a8c22269 +MISC metadata.xml 667 BLAKE2B f229775df839b3ddf34fcc289803ae113ad4b0ce293e036c24f3025bbd146d51c6e3ac55b4a7eb9b2ff0b6829aa020179ea4603f5e481de1c822a1deb66fd594 SHA512 a2d6bc54901a9eb12732e8fa0720c03b51ab615383f12a52019453b3a13f5c70233ee88a8d81706ce7e86eaec6d85155484cf32da288c3486d4b1a19647d2698 diff --git a/sys-firmware/intel-microcode/files/intel-microcode2ucode.c b/sys-firmware/intel-microcode/files/intel-microcode2ucode.c deleted file mode 100644 index caad0323e805..000000000000 --- a/sys-firmware/intel-microcode/files/intel-microcode2ucode.c +++ /dev/null @@ -1,163 +0,0 @@ -/* - * Convert Intel microcode.dat into individual ucode files - * named: intel-ucode/$family-$model-$stepping - * - * The subdir intel-ucode/ is created in the current working - * directory. We get multiple ucodes in the same file, so they - * are appended to an existing file. Make sure the directory - * is empty before every run of the converter. - * - * Kay Sievers <kay.sievers@vrfy.org> - */ - - -#ifndef _GNU_SOURCE -# define _GNU_SOURCE 1 -#endif - -#include <stdio.h> -#include <unistd.h> -#include <stdlib.h> -#include <string.h> -#include <time.h> -#include <limits.h> -#include <stdbool.h> -#include <inttypes.h> -#include <fcntl.h> -#include <errno.h> -#include <sys/stat.h> - -struct microcode_header_intel { - unsigned int hdrver; - unsigned int rev; - unsigned int date; - unsigned int sig; - unsigned int cksum; - unsigned int ldrver; - unsigned int pf; - unsigned int datasize; - unsigned int totalsize; - unsigned int reserved[3]; -}; - -union mcbuf { - struct microcode_header_intel hdr; - unsigned int i[0]; - char c[0]; -}; - -int main(int argc, char *argv[]) -{ - char *filename = "/lib/firmware/microcode.dat"; - FILE *f; - char line[LINE_MAX]; - char buf[4000000]; - union mcbuf *mc; - size_t bufsize, count, start; - int rc = EXIT_SUCCESS; - - if (argv[1] != NULL) - filename = argv[1]; - - count = 0; - mc = (union mcbuf *) buf; - f = fopen(filename, "re"); - if (f == NULL) { - printf("open %s: %m\n", filename); - rc = EXIT_FAILURE; - goto out; - } - - while (fgets(line, sizeof(line), f) != NULL) { - if (sscanf(line, "%x, %x, %x, %x", - &mc->i[count], - &mc->i[count + 1], - &mc->i[count + 2], - &mc->i[count + 3]) != 4) - continue; - count += 4; - } - fclose(f); - - bufsize = count * sizeof(int); - printf("%s: %lu(%luk) bytes, %zu integers\n", - filename, - bufsize, - bufsize / 1024, - count); - - if (bufsize < sizeof(struct microcode_header_intel)) - goto out; - - mkdir("intel-ucode", 0750); - - start = 0; - for (;;) { - size_t size; - unsigned int family, model, stepping; - unsigned int year, month, day; - - mc = (union mcbuf *) &buf[start]; - - if (mc->hdr.totalsize) - size = mc->hdr.totalsize; - else - size = 2000 + sizeof(struct microcode_header_intel); - - if (mc->hdr.ldrver != 1 || mc->hdr.hdrver != 1) { - printf("unknown version/format:\n"); - rc = EXIT_FAILURE; - break; - } - - /* - * 0- 3 stepping - * 4- 7 model - * 8-11 family - * 12-13 type - * 16-19 extended model - * 20-27 extended family - */ - family = (mc->hdr.sig >> 8) & 0xf; - if (family == 0xf) - family += (mc->hdr.sig >> 20) & 0xff; - model = (mc->hdr.sig >> 4) & 0x0f; - if (family == 0x06) - model += ((mc->hdr.sig >> 16) & 0x0f) << 4; - stepping = mc->hdr.sig & 0x0f; - - year = mc->hdr.date & 0xffff; - month = mc->hdr.date >> 24; - day = (mc->hdr.date >> 16) & 0xff; - - asprintf(&filename, "intel-ucode/%02x-%02x-%02x", family, model, stepping); - printf("\n"); - printf("%s\n", filename); - printf("signature: 0x%02x\n", mc->hdr.sig); - printf("flags: 0x%02x\n", mc->hdr.pf); - printf("revision: 0x%02x\n", mc->hdr.rev); - printf("date: %04x-%02x-%02x\n", year, month, day); - printf("size: %zu\n", size); - - f = fopen(filename, "ae"); - if (f == NULL) { - printf("open %s: %m\n", filename); - rc = EXIT_FAILURE; - goto out; - } - if (fwrite(mc, size, 1, f) != 1) { - printf("write %s: %m\n", filename); - rc = EXIT_FAILURE; - goto out; - } - fclose(f); - free(filename); - - start += size; - if (start >= bufsize) - break; - } - printf("\n"); -out: - return rc; -} diff --git a/sys-firmware/intel-microcode/files/intel-microcode2ucode.c-r1 b/sys-firmware/intel-microcode/files/intel-microcode2ucode.c-r1 deleted file mode 100644 index 4b3ba4b48ed4..000000000000 --- a/sys-firmware/intel-microcode/files/intel-microcode2ucode.c-r1 +++ /dev/null @@ -1,166 +0,0 @@ -/* - * Convert Intel microcode.dat into individual ucode files - * named: intel-ucode/$family-$model-$stepping - * - * The subdir intel-ucode/ is created in the current working - * directory. We get multiple ucodes in the same file, so they - * are appended to an existing file. Make sure the directory - * is empty before every run of the converter. - * - * Kay Sievers <kay.sievers@vrfy.org> - */ - - -#ifndef _GNU_SOURCE -# define _GNU_SOURCE 1 -#endif - -#include <stdio.h> -#include <unistd.h> -#include <stdlib.h> -#include <string.h> -#include <time.h> -#include <limits.h> -#include <stdbool.h> -#include <inttypes.h> -#include <fcntl.h> -#include <errno.h> -#include <sys/stat.h> - -struct microcode_header_intel { - unsigned int hdrver; - unsigned int rev; - unsigned int date; - unsigned int sig; - unsigned int cksum; - unsigned int ldrver; - unsigned int pf; - unsigned int datasize; - unsigned int totalsize; - unsigned int reserved[3]; -}; - -union mcbuf { - struct microcode_header_intel hdr; - unsigned int i[0]; - char c[0]; -}; - -int main(int argc, char *argv[]) -{ - char *filename = "/lib/firmware/microcode.dat"; - FILE *f; - char line[LINE_MAX]; - char buf[4000000]; - union mcbuf *mc; - size_t bufsize, count, start; - int rc = EXIT_SUCCESS; - - if (argv[1] != NULL) - filename = argv[1]; - - count = 0; - mc = (union mcbuf *) buf; - f = fopen(filename, "re"); - if (f == NULL) { - printf("open %s: %m\n", filename); - rc = EXIT_FAILURE; - goto out; - } - - while (fgets(line, sizeof(line), f) != NULL) { - if (sscanf(line, "%x, %x, %x, %x", - &mc->i[count], - &mc->i[count + 1], - &mc->i[count + 2], - &mc->i[count + 3]) != 4) - continue; - count += 4; - } - fclose(f); - - bufsize = count * sizeof(int); - printf("%s: %lu(%luk) bytes, %zu integers\n", - filename, - bufsize, - bufsize / 1024, - count); - - if (bufsize < sizeof(struct microcode_header_intel)) - goto out; - - mkdir("intel-ucode", 0750); - - start = 0; - for (;;) { - size_t size; - unsigned int family, model, stepping; - unsigned int year, month, day; - - mc = (union mcbuf *) &buf[start]; - - if (mc->hdr.totalsize) - size = mc->hdr.totalsize; - else - size = 2000 + sizeof(struct microcode_header_intel); - - if (mc->hdr.ldrver != 1 || mc->hdr.hdrver != 1) { - printf("unknown version/format:\n"); - rc = EXIT_FAILURE; - break; - } - - /* - * 0- 3 stepping - * 4- 7 model - * 8-11 family - * 12-13 type - * 16-19 extended model - * 20-27 extended family - */ - family = (mc->hdr.sig >> 8) & 0xf; - if (family == 0xf) - family += (mc->hdr.sig >> 20) & 0xff; - model = (mc->hdr.sig >> 4) & 0x0f; - if (family == 0x06) - model += ((mc->hdr.sig >> 16) & 0x0f) << 4; - stepping = mc->hdr.sig & 0x0f; - - year = mc->hdr.date & 0xffff; - month = mc->hdr.date >> 24; - day = (mc->hdr.date >> 16) & 0xff; - - if (asprintf(&filename, "intel-ucode/%02x-%02x-%02x", family, model, stepping) < 0) { - rc = EXIT_FAILURE; - goto out; - } - printf("\n"); - printf("%s\n", filename); - printf("signature: 0x%02x\n", mc->hdr.sig); - printf("flags: 0x%02x\n", mc->hdr.pf); - printf("revision: 0x%02x\n", mc->hdr.rev); - printf("date: %04x-%02x-%02x\n", year, month, day); - printf("size: %zu\n", size); - - f = fopen(filename, "ae"); - if (f == NULL) { - printf("open %s: %m\n", filename); - rc = EXIT_FAILURE; - goto out; - } - if (fwrite(mc, size, 1, f) != 1) { - printf("write %s: %m\n", filename); - rc = EXIT_FAILURE; - goto out; - } - fclose(f); - free(filename); - - start += size; - if (start >= bufsize) - break; - } - printf("\n"); -out: - return rc; -} diff --git a/sys-firmware/intel-microcode/intel-microcode-20140430.ebuild b/sys-firmware/intel-microcode/intel-microcode-20140430.ebuild deleted file mode 100644 index 4cfb5a96974f..000000000000 --- a/sys-firmware/intel-microcode/intel-microcode-20140430.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="4" - -inherit toolchain-funcs - -# Find updates by searching and clicking the first link (hopefully it's the one): -# http://www.intel.com/content/www/us/en/search.html?keyword=Processor+Microcode+Data+File - -NUM="23829" -DESCRIPTION="Intel IA32 microcode update data" -HOMEPAGE="http://inertiawar.com/microcode/ https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=${NUM}" -SRC_URI="http://downloadmirror.intel.com/${NUM}/eng/microcode-${PV}.tgz" - -LICENSE="intel-ucode" -SLOT="0" -KEYWORDS="-* amd64 x86" -IUSE="" - -RDEPEND="!<sys-apps/microcode-ctl-1.17-r2" #268586 - -S=${WORKDIR} - -src_unpack() { - default - cp "${FILESDIR}"/intel-microcode2ucode.c ./ || die -} - -src_compile() { - tc-env_build emake intel-microcode2ucode - ./intel-microcode2ucode microcode.dat || die -} - -src_install() { - insinto /lib/firmware - doins -r microcode.dat intel-ucode -} - -pkg_postinst() { - elog "The microcode available for Intel CPUs has been updated. You'll need" - elog "to reload the code into your processor. If you're using the init.d:" - elog "/etc/init.d/microcode_ctl restart" -} diff --git a/sys-firmware/intel-microcode/intel-microcode-20140624.ebuild b/sys-firmware/intel-microcode/intel-microcode-20140624.ebuild deleted file mode 100644 index 9f69a6c0b6dc..000000000000 --- a/sys-firmware/intel-microcode/intel-microcode-20140624.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="4" - -inherit toolchain-funcs - -# Find updates by searching and clicking the first link (hopefully it's the one): -# http://www.intel.com/content/www/us/en/search.html?keyword=Processor+Microcode+Data+File - -NUM="23984" -DESCRIPTION="Intel IA32 microcode update data" -HOMEPAGE="http://inertiawar.com/microcode/ https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=${NUM}" -SRC_URI="http://downloadmirror.intel.com/${NUM}/eng/microcode-${PV}.tgz" - -LICENSE="intel-ucode" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="" - -RDEPEND="!<sys-apps/microcode-ctl-1.17-r2" #268586 - -S=${WORKDIR} - -src_unpack() { - default - cp "${FILESDIR}"/intel-microcode2ucode.c ./ || die -} - -src_compile() { - tc-env_build emake intel-microcode2ucode - ./intel-microcode2ucode microcode.dat || die -} - -src_install() { - insinto /lib/firmware - doins -r microcode.dat intel-ucode -} - -pkg_postinst() { - elog "The microcode available for Intel CPUs has been updated. You'll need" - elog "to reload the code into your processor. If you're using the init.d:" - elog "/etc/init.d/microcode_ctl restart" -} diff --git a/sys-firmware/intel-microcode/intel-microcode-20140913.ebuild b/sys-firmware/intel-microcode/intel-microcode-20140913.ebuild deleted file mode 100644 index 648c274af8d0..000000000000 --- a/sys-firmware/intel-microcode/intel-microcode-20140913.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="4" - -inherit toolchain-funcs - -# Find updates by searching and clicking the first link (hopefully it's the one): -# http://www.intel.com/content/www/us/en/search.html?keyword=Processor+Microcode+Data+File - -NUM="24290" -DESCRIPTION="Intel IA32 microcode update data" -HOMEPAGE="http://inertiawar.com/microcode/ https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=${NUM}" -SRC_URI="http://downloadmirror.intel.com/${NUM}/eng/microcode-${PV}.tgz" - -LICENSE="intel-ucode" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="" - -RDEPEND="!<sys-apps/microcode-ctl-1.17-r2" #268586 - -S=${WORKDIR} - -src_unpack() { - default - cp "${FILESDIR}"/intel-microcode2ucode.c ./ || die -} - -src_compile() { - tc-env_build emake intel-microcode2ucode - ./intel-microcode2ucode microcode.dat || die -} - -src_install() { - insinto /lib/firmware - doins -r microcode.dat intel-ucode -} - -pkg_postinst() { - elog "The microcode available for Intel CPUs has been updated. You'll need" - elog "to reload the code into your processor. If you're using the init.d:" - elog "/etc/init.d/microcode_ctl restart" -} diff --git a/sys-firmware/intel-microcode/intel-microcode-20150121-r1.ebuild b/sys-firmware/intel-microcode/intel-microcode-20150121-r1.ebuild deleted file mode 100644 index ea34c1254119..000000000000 --- a/sys-firmware/intel-microcode/intel-microcode-20150121-r1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="4" - -inherit toolchain-funcs - -# Find updates by searching and clicking the first link (hopefully it's the one): -# http://www.intel.com/content/www/us/en/search.html?keyword=Processor+Microcode+Data+File - -NUM="24661" -DESCRIPTION="Intel IA32 microcode update data" -HOMEPAGE="http://inertiawar.com/microcode/ https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=${NUM}" -SRC_URI="http://downloadmirror.intel.com/${NUM}/eng/microcode-${PV}.tgz" - -LICENSE="intel-ucode" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="initramfs monolithic +split-ucode" -REQUIRED_USE="|| ( initramfs monolithic split-ucode )" - -DEPEND="initramfs? ( sys-apps/iucode_tool )" -RDEPEND="!<sys-apps/microcode-ctl-1.17-r2" #268586 - -S=${WORKDIR} - -src_unpack() { - default - cp "${FILESDIR}"/intel-microcode2ucode.c ./ || die -} - -src_compile() { - if use initramfs ; then - iucode_tool --write-earlyfw=microcode.cpio microcode.dat || die - fi - - if use split-ucode ; then - tc-env_build emake intel-microcode2ucode - ./intel-microcode2ucode microcode.dat || die - fi -} - -src_install() { - insinto /lib/firmware - use initramfs && doins microcode.cpio - use monolithic && doins microcode.dat - use split-ucode && doins -r intel-ucode -} diff --git a/sys-firmware/intel-microcode/intel-microcode-20150121.ebuild b/sys-firmware/intel-microcode/intel-microcode-20150121.ebuild deleted file mode 100644 index 46c67d4d05ec..000000000000 --- a/sys-firmware/intel-microcode/intel-microcode-20150121.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="4" - -inherit toolchain-funcs - -# Find updates by searching and clicking the first link (hopefully it's the one): -# http://www.intel.com/content/www/us/en/search.html?keyword=Processor+Microcode+Data+File - -NUM="24661" -DESCRIPTION="Intel IA32 microcode update data" -HOMEPAGE="http://inertiawar.com/microcode/ https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=${NUM}" -SRC_URI="http://downloadmirror.intel.com/${NUM}/eng/microcode-${PV}.tgz" - -LICENSE="intel-ucode" -SLOT="0" -KEYWORDS="-* amd64 x86" -IUSE="" - -RDEPEND="!<sys-apps/microcode-ctl-1.17-r2" #268586 - -S=${WORKDIR} - -src_unpack() { - default - cp "${FILESDIR}"/intel-microcode2ucode.c ./ || die -} - -src_compile() { - tc-env_build emake intel-microcode2ucode - ./intel-microcode2ucode microcode.dat || die -} - -src_install() { - insinto /lib/firmware - doins -r microcode.dat intel-ucode -} - -pkg_postinst() { - elog "The microcode available for Intel CPUs has been updated. You'll need" - elog "to reload the code into your processor. If you're using the init.d:" - elog "/etc/init.d/microcode_ctl restart" -} diff --git a/sys-firmware/intel-microcode/intel-microcode-20151106.ebuild b/sys-firmware/intel-microcode/intel-microcode-20151106.ebuild deleted file mode 100644 index b852df2c4f0a..000000000000 --- a/sys-firmware/intel-microcode/intel-microcode-20151106.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="4" - -inherit toolchain-funcs - -# Find updates by searching and clicking the first link (hopefully it's the one): -# http://www.intel.com/content/www/us/en/search.html?keyword=Processor+Microcode+Data+File - -NUM="25512" -DESCRIPTION="Intel IA32 microcode update data" -HOMEPAGE="http://inertiawar.com/microcode/ https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=${NUM}" -SRC_URI="http://downloadmirror.intel.com/${NUM}/eng/microcode-${PV}.tgz" - -LICENSE="intel-ucode" -SLOT="0" -KEYWORDS="-* amd64 x86" -IUSE="initramfs monolithic +split-ucode" -REQUIRED_USE="|| ( initramfs monolithic split-ucode )" - -DEPEND="initramfs? ( sys-apps/iucode_tool )" -RDEPEND="!<sys-apps/microcode-ctl-1.17-r2" #268586 - -S=${WORKDIR} - -src_unpack() { - default - cp "${FILESDIR}"/intel-microcode2ucode.c ./ || die -} - -src_compile() { - if use initramfs ; then - iucode_tool --write-earlyfw=microcode.cpio microcode.dat || die - fi - - if use split-ucode ; then - tc-env_build emake intel-microcode2ucode - ./intel-microcode2ucode microcode.dat || die - fi -} - -src_install() { - insinto /lib/firmware - use initramfs && doins microcode.cpio - use monolithic && doins microcode.dat - use split-ucode && doins -r intel-ucode -} diff --git a/sys-firmware/intel-microcode/intel-microcode-20160607.ebuild b/sys-firmware/intel-microcode/intel-microcode-20160607.ebuild deleted file mode 100644 index 98ccc671d016..000000000000 --- a/sys-firmware/intel-microcode/intel-microcode-20160607.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit toolchain-funcs - -# Find updates by searching and clicking the first link (hopefully it's the one): -# http://www.intel.com/content/www/us/en/search.html?keyword=Processor+Microcode+Data+File - -NUM="26083" -DESCRIPTION="Intel IA32/IA64 microcode update data" -HOMEPAGE="http://inertiawar.com/microcode/ https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=${NUM}" -SRC_URI="http://downloadmirror.intel.com/${NUM}/eng/microcode-${PV}.tgz" - -LICENSE="intel-ucode" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="initramfs monolithic +split-ucode" -REQUIRED_USE="|| ( initramfs monolithic split-ucode )" - -DEPEND="initramfs? ( sys-apps/iucode_tool )" -RDEPEND="!<sys-apps/microcode-ctl-1.17-r2" #268586 - -S=${WORKDIR} - -src_unpack() { - default - cp "${FILESDIR}"/intel-microcode2ucode.c ./ || die -} - -src_compile() { - if use initramfs ; then - iucode_tool --write-earlyfw=microcode.cpio microcode.dat || die - fi - - if use split-ucode ; then - tc-env_build emake intel-microcode2ucode - ./intel-microcode2ucode microcode.dat || die - fi -} - -src_install() { - insinto /lib/firmware - use initramfs && doins microcode.cpio - use monolithic && doins microcode.dat - use split-ucode && doins -r intel-ucode -} diff --git a/sys-firmware/intel-microcode/intel-microcode-20160714.ebuild b/sys-firmware/intel-microcode/intel-microcode-20160714.ebuild deleted file mode 100644 index 7630a2dd1d70..000000000000 --- a/sys-firmware/intel-microcode/intel-microcode-20160714.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit toolchain-funcs - -# Find updates by searching and clicking the first link (hopefully it's the one): -# http://www.intel.com/content/www/us/en/search.html?keyword=Processor+Microcode+Data+File - -NUM="26156" -DESCRIPTION="Intel IA32/IA64 microcode update data" -HOMEPAGE="http://inertiawar.com/microcode/ https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=${NUM}" -SRC_URI="http://downloadmirror.intel.com/${NUM}/eng/microcode-${PV}.tgz" - -LICENSE="intel-ucode" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="initramfs monolithic +split-ucode" -REQUIRED_USE="|| ( initramfs monolithic split-ucode )" - -DEPEND="initramfs? ( sys-apps/iucode_tool )" -RDEPEND="!<sys-apps/microcode-ctl-1.17-r2" #268586 - -S=${WORKDIR} - -src_unpack() { - default - cp "${FILESDIR}"/intel-microcode2ucode.c ./ || die -} - -src_compile() { - if use initramfs ; then - iucode_tool --write-earlyfw=microcode.cpio microcode.dat || die - fi - - if use split-ucode ; then - tc-env_build emake intel-microcode2ucode - ./intel-microcode2ucode microcode.dat || die - fi -} - -src_install() { - insinto /lib/firmware - use initramfs && doins microcode.cpio - use monolithic && doins microcode.dat - use split-ucode && doins -r intel-ucode -} diff --git a/sys-firmware/intel-microcode/intel-microcode-20161104.ebuild b/sys-firmware/intel-microcode/intel-microcode-20161104.ebuild deleted file mode 100644 index 6e0c51a6f19a..000000000000 --- a/sys-firmware/intel-microcode/intel-microcode-20161104.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit toolchain-funcs - -# Find updates by searching and clicking the first link (hopefully it's the one): -# http://www.intel.com/content/www/us/en/search.html?keyword=Processor+Microcode+Data+File - -NUM="26400" -DESCRIPTION="Intel IA32/IA64 microcode update data" -HOMEPAGE="http://inertiawar.com/microcode/ https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=${NUM}" -SRC_URI="http://downloadmirror.intel.com/${NUM}/eng/microcode-${PV}.tgz" - -LICENSE="intel-ucode" -SLOT="0" -KEYWORDS="-* amd64 x86" -IUSE="initramfs monolithic +split-ucode" -REQUIRED_USE="|| ( initramfs monolithic split-ucode )" - -DEPEND="initramfs? ( sys-apps/iucode_tool )" -RDEPEND="!<sys-apps/microcode-ctl-1.17-r2" #268586 - -S=${WORKDIR} - -src_unpack() { - default - cp "${FILESDIR}"/intel-microcode2ucode.c ./ || die -} - -src_compile() { - if use initramfs ; then - iucode_tool --write-earlyfw=microcode.cpio microcode.dat || die - fi - - if use split-ucode ; then - tc-env_build emake intel-microcode2ucode - ./intel-microcode2ucode microcode.dat || die - fi -} - -src_install() { - insinto /lib/firmware - use initramfs && doins microcode.cpio - use monolithic && doins microcode.dat - use split-ucode && doins -r intel-ucode -} diff --git a/sys-firmware/intel-microcode/intel-microcode-20170511.ebuild b/sys-firmware/intel-microcode/intel-microcode-20170511.ebuild deleted file mode 100644 index 20126a02fada..000000000000 --- a/sys-firmware/intel-microcode/intel-microcode-20170511.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit toolchain-funcs - -# Find updates by searching and clicking the first link (hopefully it's the one): -# http://www.intel.com/content/www/us/en/search.html?keyword=Processor+Microcode+Data+File - -NUM="26798" -DESCRIPTION="Intel IA32/IA64 microcode update data" -HOMEPAGE="http://inertiawar.com/microcode/ https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=${NUM}" -SRC_URI="http://downloadmirror.intel.com/${NUM}/eng/microcode-${PV}.tgz" - -LICENSE="intel-ucode" -SLOT="0" -KEYWORDS="-* amd64 x86" -IUSE="initramfs monolithic +split-ucode" -REQUIRED_USE="|| ( initramfs monolithic split-ucode )" - -DEPEND="initramfs? ( sys-apps/iucode_tool )" -RDEPEND="!<sys-apps/microcode-ctl-1.17-r2" #268586 - -S=${WORKDIR} - -src_unpack() { - default - cp "${FILESDIR}"/intel-microcode2ucode.c ./ || die -} - -src_compile() { - if use initramfs ; then - iucode_tool --write-earlyfw=microcode.cpio microcode.dat || die - fi - - if use split-ucode ; then - tc-env_build emake intel-microcode2ucode - ./intel-microcode2ucode microcode.dat || die - fi -} - -src_install() { - insinto /lib/firmware - use initramfs && doins microcode.cpio - use monolithic && doins microcode.dat - use split-ucode && doins -r intel-ucode -} diff --git a/sys-firmware/intel-microcode/intel-microcode-20170707.ebuild b/sys-firmware/intel-microcode/intel-microcode-20170707.ebuild deleted file mode 100644 index 386a152c3e26..000000000000 --- a/sys-firmware/intel-microcode/intel-microcode-20170707.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit toolchain-funcs - -# Find updates by searching and clicking the first link (hopefully it's the one): -# http://www.intel.com/content/www/us/en/search.html?keyword=Processor+Microcode+Data+File - -NUM="26925" -DESCRIPTION="Intel IA32/IA64 microcode update data" -HOMEPAGE="http://inertiawar.com/microcode/ https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=${NUM}" -SRC_URI="http://downloadmirror.intel.com/${NUM}/eng/microcode-${PV}.tgz" - -LICENSE="intel-ucode" -SLOT="0" -KEYWORDS="-* amd64 x86" -IUSE="initramfs monolithic +split-ucode" -REQUIRED_USE="|| ( initramfs monolithic split-ucode )" - -DEPEND="initramfs? ( sys-apps/iucode_tool )" -RDEPEND="!<sys-apps/microcode-ctl-1.17-r2" #268586 - -S=${WORKDIR} - -src_unpack() { - default - cp "${FILESDIR}"/intel-microcode2ucode.c-r1 ./intel-microcode2ucode.c || die -} - -src_compile() { - if use initramfs ; then - iucode_tool --write-earlyfw=microcode.cpio microcode.dat || die - fi - - if use split-ucode ; then - tc-env_build emake intel-microcode2ucode - ./intel-microcode2ucode microcode.dat || die - fi -} - -src_install() { - insinto /lib/firmware - use initramfs && doins microcode.cpio - use monolithic && doins microcode.dat - use split-ucode && doins -r intel-ucode -} diff --git a/sys-firmware/intel-microcode/intel-microcode-20171117-r1.ebuild b/sys-firmware/intel-microcode/intel-microcode-20171117-r1.ebuild deleted file mode 100644 index 368cbee79e52..000000000000 --- a/sys-firmware/intel-microcode/intel-microcode-20171117-r1.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit toolchain-funcs mount-boot - -# Find updates by searching and clicking the first link (hopefully it's the one): -# http://www.intel.com/content/www/us/en/search.html?keyword=Processor+Microcode+Data+File - -NUM="27337" -DESCRIPTION="Intel IA32/IA64 microcode update data" -HOMEPAGE="http://inertiawar.com/microcode/ https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=${NUM}" -SRC_URI="http://downloadmirror.intel.com/${NUM}/eng/microcode-${PV}.tgz" - -LICENSE="intel-ucode" -SLOT="0" -KEYWORDS="-* amd64 x86" -IUSE="initramfs +split-ucode" -REQUIRED_USE="|| ( initramfs split-ucode )" - -DEPEND="sys-apps/iucode_tool" -RDEPEND="!<sys-apps/microcode-ctl-1.17-r2" #268586 - -S=${WORKDIR} - -# TODO: -# Blacklist bad microcode here. -DEFAULT_MICROCODE_SIGNATURES="" - -# Advanced users only: -# merge with: -# only current CPU: MICROCODE_SIGNATURES="-S" -# only specific CPU: MICROCODE_SIGNATURES="-s 0x00000f4a -s 0x00010676" -# exclude specific CPU: MICROCODE_SIGNATURES="-s !0x00000686" -MICROCODE_SIGNATURES="${MICROCODE_SIGNATURES:=${DEFAULT_MICROCODE_SIGNATURES}}" - -pkg_pretend() { - if [[ "${MICROCODE_SIGNATURES}" != "${DEFAULT_MICROCODE_SIGNATURES}" ]]; then - ewarn "MICROCODE_SIGNATURES is set!" - ewarn "The user has decided to install only a SUBSET of microcode." - fi - use initramfs && mount-boot_pkg_pretend -} - -src_install() { - # This will take ALL of the upstream microcode sources: - # - microcode.dat - # - intel-ucode/ - # In some cases, they have not contained the same content (eg the directory has newer stuff). - MICROCODE_SRC=( - "${S}"/microcode.dat - "${S}"/intel-ucode/ - ) - opts=( - ${MICROCODE_SIGNATURES} - # be strict about what we are doing - --overwrite - --strict-checks - --no-ignore-broken - # show everything we find - --list-all - # show what we selected - --list - ) - - # The earlyfw cpio needs to be in /boot because it must be loaded before - # rootfs is mounted. - use initramfs && dodir /boot && opts+=( --write-earlyfw="${ED%/}"/boot/intel-uc.img ) - # split location: - use split-ucode && dodir /lib/firmware/intel-ucode && opts+=( --write-firmware="${ED%/}"/lib/firmware/intel-ucode ) - - iucode_tool \ - "${opts[@]}" \ - "${MICROCODE_SRC[@]}" \ - || die "iucode_tool ${opts[@]} ${MICROCODE_SRC[@]}" - - dodoc releasenote -} - -pkg_preinst() { - use initramfs && mount-boot_pkg_preinst -} - -pkg_prerm() { - use initramfs && mount-boot_pkg_prerm -} - -pkg_postrm() { - use initramfs && mount-boot_pkg_postrm -} - -pkg_postinst() { - use initramfs && mount-boot_pkg_postinst -} diff --git a/sys-firmware/intel-microcode/intel-microcode-20171117.ebuild b/sys-firmware/intel-microcode/intel-microcode-20171117.ebuild deleted file mode 100644 index 6e1904bba7ff..000000000000 --- a/sys-firmware/intel-microcode/intel-microcode-20171117.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit toolchain-funcs - -# Find updates by searching and clicking the first link (hopefully it's the one): -# http://www.intel.com/content/www/us/en/search.html?keyword=Processor+Microcode+Data+File - -NUM="27337" -DESCRIPTION="Intel IA32/IA64 microcode update data" -HOMEPAGE="http://inertiawar.com/microcode/ https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=${NUM}" -SRC_URI="http://downloadmirror.intel.com/${NUM}/eng/microcode-${PV}.tgz" - -LICENSE="intel-ucode" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="initramfs monolithic +split-ucode" -REQUIRED_USE="|| ( initramfs monolithic split-ucode )" - -DEPEND="initramfs? ( sys-apps/iucode_tool )" -RDEPEND="!<sys-apps/microcode-ctl-1.17-r2" #268586 - -S=${WORKDIR} - -src_unpack() { - default - cp "${FILESDIR}"/intel-microcode2ucode.c-r1 ./intel-microcode2ucode.c || die -} - -src_compile() { - if use initramfs ; then - iucode_tool --write-earlyfw=microcode.cpio microcode.dat || die - fi - - if use split-ucode ; then - tc-env_build emake intel-microcode2ucode - ./intel-microcode2ucode microcode.dat || die - fi -} - -src_install() { - insinto /lib/firmware - use initramfs && doins microcode.cpio - use monolithic && doins microcode.dat - use split-ucode && doins -r intel-ucode -} diff --git a/sys-firmware/intel-microcode/intel-microcode-20171117_p20171215-r1.ebuild b/sys-firmware/intel-microcode/intel-microcode-20171117_p20171215-r1.ebuild deleted file mode 100644 index dd7ca58108ad..000000000000 --- a/sys-firmware/intel-microcode/intel-microcode-20171117_p20171215-r1.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit toolchain-funcs - -# Find updates by searching and clicking the first link (hopefully it's the one): -# http://www.intel.com/content/www/us/en/search.html?keyword=Processor+Microcode+Data+File - -NUM="27337" -DESCRIPTION="Intel IA32/IA64 microcode update data" -HOMEPAGE="http://inertiawar.com/microcode/ https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=${NUM}" -#SRC_URI="http://downloadmirror.intel.com/${NUM}/eng/microcode-${PV}.tgz" -SRC_URI="mirror://gentoo/microcode-${PV}-r1.tgz - https://dev.gentoo.org/~whissi/dist/${PN}/microcode-${PV}-r1.tgz" - -LICENSE="intel-ucode" -SLOT="0" -KEYWORDS="-* amd64 x86" -IUSE="initramfs +split-ucode" -REQUIRED_USE="|| ( initramfs split-ucode )" - -DEPEND="initramfs? ( sys-apps/iucode_tool )" -RDEPEND="!<sys-apps/microcode-ctl-1.17-r2" #268586 - -S=${WORKDIR} - -src_compile() { - if use initramfs ; then - iucode_tool --write-earlyfw=microcode.cpio intel-ucode/ || die - fi -} - -src_install() { - insinto /lib/firmware - use initramfs && doins microcode.cpio - use split-ucode && doins -r intel-ucode -} diff --git a/sys-firmware/intel-microcode/intel-microcode-20171117_p20171215.ebuild b/sys-firmware/intel-microcode/intel-microcode-20171117_p20171215.ebuild deleted file mode 100644 index d6f302140125..000000000000 --- a/sys-firmware/intel-microcode/intel-microcode-20171117_p20171215.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit toolchain-funcs - -# Find updates by searching and clicking the first link (hopefully it's the one): -# http://www.intel.com/content/www/us/en/search.html?keyword=Processor+Microcode+Data+File - -NUM="27337" -DESCRIPTION="Intel IA32/IA64 microcode update data" -HOMEPAGE="http://inertiawar.com/microcode/ https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=${NUM}" -#SRC_URI="http://downloadmirror.intel.com/${NUM}/eng/microcode-${PV}.tgz" -SRC_URI="mirror://gentoo/microcode-${PV}.tgz - https://dev.gentoo.org/~whissi/dist/${PN}/microcode-${PV}.tgz" - -LICENSE="intel-ucode" -SLOT="0" -KEYWORDS="-* amd64 x86" -IUSE="initramfs +split-ucode" -REQUIRED_USE="|| ( initramfs split-ucode )" - -DEPEND="initramfs? ( sys-apps/iucode_tool )" -RDEPEND="!<sys-apps/microcode-ctl-1.17-r2" #268586 - -S=${WORKDIR} - -src_compile() { - if use initramfs ; then - iucode_tool --write-earlyfw=microcode.cpio intel-ucode/ || die - fi -} - -src_install() { - insinto /lib/firmware - use initramfs && doins microcode.cpio - use split-ucode && doins -r intel-ucode -} diff --git a/sys-firmware/intel-microcode/intel-microcode-20180108-r1.ebuild b/sys-firmware/intel-microcode/intel-microcode-20180108-r1.ebuild deleted file mode 100644 index 1d106fb3d7cb..000000000000 --- a/sys-firmware/intel-microcode/intel-microcode-20180108-r1.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit toolchain-funcs mount-boot - -# Find updates by searching and clicking the first link (hopefully it's the one): -# http://www.intel.com/content/www/us/en/search.html?keyword=Processor+Microcode+Data+File - -NUM="27431" -DESCRIPTION="Intel IA32/IA64 microcode update data" -HOMEPAGE="http://inertiawar.com/microcode/ https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=${NUM}" -SRC_URI="http://downloadmirror.intel.com/${NUM}/eng/microcode-${PV}.tgz" - -LICENSE="intel-ucode" -SLOT="0" -KEYWORDS="-* amd64 x86" -IUSE="initramfs +split-ucode" -REQUIRED_USE="|| ( initramfs split-ucode )" - -DEPEND="sys-apps/iucode_tool" -RDEPEND="!<sys-apps/microcode-ctl-1.17-r2" #268586 - -S=${WORKDIR} - -# TODO: -# Blacklist bad microcode here. -DEFAULT_MICROCODE_SIGNATURES="" - -# Advanced users only: -# merge with: -# only current CPU: MICROCODE_SIGNATURES="-S" -# only specific CPU: MICROCODE_SIGNATURES="-s 0x00000f4a -s 0x00010676" -# exclude specific CPU: MICROCODE_SIGNATURES="-s !0x00000686" -MICROCODE_SIGNATURES="${MICROCODE_SIGNATURES:=${DEFAULT_MICROCODE_SIGNATURES}}" - -pkg_pretend() { - if [[ "${MICROCODE_SIGNATURES}" != "${DEFAULT_MICROCODE_SIGNATURES}" ]]; then - ewarn "MICROCODE_SIGNATURES is set!" - ewarn "The user has decided to install only a SUBSET of microcode." - fi - use initramfs && mount-boot_pkg_pretend -} - -src_install() { - # This will take ALL of the upstream microcode sources: - # - microcode.dat - # - intel-ucode/ - # In some cases, they have not contained the same content (eg the directory has newer stuff). - MICROCODE_SRC=( - "${S}"/microcode.dat - "${S}"/intel-ucode/ - ) - opts=( - ${MICROCODE_SIGNATURES} - # be strict about what we are doing - --overwrite - --strict-checks - --no-ignore-broken - # show everything we find - --list-all - # show what we selected - --list - ) - - # The earlyfw cpio needs to be in /boot because it must be loaded before - # rootfs is mounted. - use initramfs && dodir /boot && opts+=( --write-earlyfw="${ED%/}"/boot/intel-uc.img ) - # split location: - use split-ucode && dodir /lib/firmware/intel-ucode && opts+=( --write-firmware="${ED%/}"/lib/firmware/intel-ucode ) - - iucode_tool \ - "${opts[@]}" \ - "${MICROCODE_SRC[@]}" \ - || die "iucode_tool ${opts[@]} ${MICROCODE_SRC[@]}" - - dodoc releasenote -} - -pkg_preinst() { - use initramfs && mount-boot_pkg_preinst -} - -pkg_prerm() { - use initramfs && mount-boot_pkg_prerm -} - -pkg_postrm() { - use initramfs && mount-boot_pkg_postrm -} - -pkg_postinst() { - use initramfs && mount-boot_pkg_postinst -} diff --git a/sys-firmware/intel-microcode/intel-microcode-20180108.ebuild b/sys-firmware/intel-microcode/intel-microcode-20180108.ebuild deleted file mode 100644 index ac2bcc44f598..000000000000 --- a/sys-firmware/intel-microcode/intel-microcode-20180108.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit toolchain-funcs - -# Find updates by searching and clicking the first link (hopefully it's the one): -# http://www.intel.com/content/www/us/en/search.html?keyword=Processor+Microcode+Data+File - -NUM="27431" -DESCRIPTION="Intel IA32/IA64 microcode update data" -HOMEPAGE="http://inertiawar.com/microcode/ https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=${NUM}" -SRC_URI="http://downloadmirror.intel.com/${NUM}/eng/microcode-${PV}.tgz" - -LICENSE="intel-ucode" -SLOT="0" -KEYWORDS="-* amd64 x86" -IUSE="initramfs monolithic +split-ucode" -REQUIRED_USE="|| ( initramfs monolithic split-ucode )" - -DEPEND="initramfs? ( sys-apps/iucode_tool )" -RDEPEND="!<sys-apps/microcode-ctl-1.17-r2" #268586 - -S=${WORKDIR} - -src_unpack() { - default - cp "${FILESDIR}"/intel-microcode2ucode.c-r1 ./intel-microcode2ucode.c || die -} - -src_compile() { - if use initramfs ; then - iucode_tool --write-earlyfw=microcode.cpio microcode.dat || die - fi - - if use split-ucode ; then - tc-env_build emake intel-microcode2ucode - ./intel-microcode2ucode microcode.dat || die - fi -} - -src_install() { - insinto /lib/firmware - use initramfs && doins microcode.cpio - use monolithic && doins microcode.dat - use split-ucode && doins -r intel-ucode -} diff --git a/sys-firmware/intel-microcode/intel-microcode-20180312.ebuild b/sys-firmware/intel-microcode/intel-microcode-20180312.ebuild deleted file mode 100644 index a71b4d9fd8bd..000000000000 --- a/sys-firmware/intel-microcode/intel-microcode-20180312.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit toolchain-funcs mount-boot - -# Find updates by searching and clicking the first link (hopefully it's the one): -# http://www.intel.com/content/www/us/en/search.html?keyword=Processor+Microcode+Data+File - -NUM="27591" -DESCRIPTION="Intel IA32/IA64 microcode update data" -HOMEPAGE="http://inertiawar.com/microcode/ https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=${NUM}" -SRC_URI="https://downloadmirror.intel.com/${NUM}/eng/microcode-${PV}.tgz" - -LICENSE="intel-ucode" -SLOT="0" -KEYWORDS="-* amd64 x86" -IUSE="initramfs +split-ucode" -REQUIRED_USE="|| ( initramfs split-ucode )" - -DEPEND="sys-apps/iucode_tool" -RDEPEND="!<sys-apps/microcode-ctl-1.17-r2" #268586 - -S=${WORKDIR} - -# TODO: -# Blacklist bad microcode here. -DEFAULT_MICROCODE_SIGNATURES="" - -# Advanced users only: -# merge with: -# only current CPU: MICROCODE_SIGNATURES="-S" -# only specific CPU: MICROCODE_SIGNATURES="-s 0x00000f4a -s 0x00010676" -# exclude specific CPU: MICROCODE_SIGNATURES="-s !0x00000686" -MICROCODE_SIGNATURES="${MICROCODE_SIGNATURES:=${DEFAULT_MICROCODE_SIGNATURES}}" - -pkg_pretend() { - if [[ "${MICROCODE_SIGNATURES}" != "${DEFAULT_MICROCODE_SIGNATURES}" ]]; then - ewarn "MICROCODE_SIGNATURES is set!" - ewarn "The user has decided to install only a SUBSET of microcode." - fi - use initramfs && mount-boot_pkg_pretend -} - -src_install() { - # This will take ALL of the upstream microcode sources: - # - microcode.dat - # - intel-ucode/ - # In some cases, they have not contained the same content (eg the directory has newer stuff). - MICROCODE_SRC=( - "${S}"/microcode.dat - "${S}"/intel-ucode/ - ) - opts=( - ${MICROCODE_SIGNATURES} - # be strict about what we are doing - --overwrite - --strict-checks - --no-ignore-broken - # show everything we find - --list-all - # show what we selected - --list - ) - - # The earlyfw cpio needs to be in /boot because it must be loaded before - # rootfs is mounted. - use initramfs && dodir /boot && opts+=( --write-earlyfw="${ED%/}"/boot/intel-uc.img ) - # split location: - use split-ucode && dodir /lib/firmware/intel-ucode && opts+=( --write-firmware="${ED%/}"/lib/firmware/intel-ucode ) - - iucode_tool \ - "${opts[@]}" \ - "${MICROCODE_SRC[@]}" \ - || die "iucode_tool ${opts[@]} ${MICROCODE_SRC[@]}" - - dodoc releasenote -} - -pkg_preinst() { - use initramfs && mount-boot_pkg_preinst -} - -pkg_prerm() { - use initramfs && mount-boot_pkg_prerm -} - -pkg_postrm() { - use initramfs && mount-boot_pkg_postrm -} - -pkg_postinst() { - use initramfs && mount-boot_pkg_postinst -} diff --git a/sys-firmware/intel-microcode/intel-microcode-20180527-r1.ebuild b/sys-firmware/intel-microcode/intel-microcode-20180527-r1.ebuild deleted file mode 100644 index 27b8f2ad1686..000000000000 --- a/sys-firmware/intel-microcode/intel-microcode-20180527-r1.ebuild +++ /dev/null @@ -1,212 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit linux-info toolchain-funcs mount-boot - -# Find updates by searching and clicking the first link (hopefully it's the one): -# http://www.intel.com/content/www/us/en/search.html?keyword=Processor+Microcode+Data+File - -COLLECTION_SNAPSHOT="20180527" -INTEL_SNAPSHOT="20180425" -NUM="27776" -DESCRIPTION="Intel IA32/IA64 microcode update data" -HOMEPAGE="http://inertiawar.com/microcode/ https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=${NUM}" -SRC_URI="https://downloadmirror.intel.com/${NUM}/eng/microcode-${INTEL_SNAPSHOT}.tgz - https://dev.gentoo.org/~whissi/dist/intel-microcode/intel-microcode-collection-${COLLECTION_SNAPSHOT}.tar.xz" - -LICENSE="intel-ucode" -SLOT="0" -KEYWORDS="-* amd64 x86" -IUSE="hostonly initramfs +split-ucode vanilla" -REQUIRED_USE="|| ( initramfs split-ucode )" - -DEPEND="sys-apps/iucode_tool" - -# !<sys-apps/microcode-ctl-1.17-r2 due to bug #268586 -RDEPEND="!<sys-apps/microcode-ctl-1.17-r2 - hostonly? ( sys-apps/iucode_tool )" - -S=${WORKDIR} - -# Blacklist bad microcode here. -# 0x000406f1 aka 06-4f-01 aka CPUID 406F1 require newer microcode loader -MICROCODE_BLACKLIST_DEFAULT="-s !0x000406f1" -MICROCODE_BLACKLIST="${MICROCODE_BLACKLIST:=${MICROCODE_BLACKLIST_DEFAULT}}" - -# In case we want to set some defaults ... -MICROCODE_SIGNATURES_DEFAULT="" - -# Advanced users only: -# merge with: -# only current CPU: MICROCODE_SIGNATURES="-S" -# only specific CPU: MICROCODE_SIGNATURES="-s 0x00000f4a -s 0x00010676" -# exclude specific CPU: MICROCODE_SIGNATURES="-s !0x00000686" -MICROCODE_SIGNATURES="${MICROCODE_SIGNATURES:=${MICROCODE_SIGNATURES_DEFAULT}}" - -pkg_pretend() { - if [[ "${MICROCODE_BLACKLIST}" != "${MICROCODE_BLACKLIST_DEFAULT}" ]]; then - ewarn "MICROCODE_BLACKLIST is set to \"${MICROCODE_BLACKLIST}\" instead of default \"${MICROCODE_BLACKLIST_DEFAULT}\". You are on your own!" - fi - - if [[ "${MICROCODE_SIGNATURES}" != "${MICROCODE_SIGNATURES_DEFAULT}" ]]; then - ewarn "The user has opted in for advanced use:" - ewarn "MICROCODE_SIGNATURES is set to \"${MICROCODE_SIGNATURES}\" instead of default \"${MICROCODE_SIGNATURES_DEFAULT}\"!" - fi - - use initramfs && mount-boot_pkg_pretend -} - -src_prepare() { - default - - # Prevent "invalid file format" errors from iucode_tool - rm -f "${S}"/intel-ucod*/list || die -} - -src_install() { - # This will take ALL of the upstream microcode sources: - # - microcode.dat - # - intel-ucode/ - # In some cases, they have not contained the same content (eg the directory has newer stuff). - MICROCODE_SRC=( - "${S}"/intel-ucode/ - "${S}"/intel-ucode-with-caveats/ - ) - - # Allow users who are scared about microcode updates not included in Intel's official - # microcode tarball to opt-out and comply with Intel marketing - if ! use vanilla; then - MICROCODE_SRC+=( "${S}"/intel-microcode-collection-${COLLECTION_SNAPSHOT} ) - fi - - opts=( - ${MICROCODE_BLACKLIST} - ${MICROCODE_SIGNATURES} - # be strict about what we are doing - --overwrite - --strict-checks - --no-ignore-broken - # we want to install latest version - --no-downgrade - # show everything we find - --list-all - # show what we selected - --list - ) - - # The earlyfw cpio needs to be in /boot because it must be loaded before - # rootfs is mounted. - use initramfs && dodir /boot && opts+=( --write-earlyfw="${ED%/}"/boot/intel-uc.img ) - # split location (we use a temporary location so that we are able - # to re-run iucode_tool in pkg_preinst; use keepdir instead of dodir to carry - # this folder to pkg_preinst to avoid an error even if no microcode was selected): - keepdir /tmp/intel-ucode && opts+=( --write-firmware="${ED%/}"/tmp/intel-ucode ) - - iucode_tool \ - "${opts[@]}" \ - "${MICROCODE_SRC[@]}" \ - || die "iucode_tool ${opts[@]} ${MICROCODE_SRC[@]}" - - dodoc releasenote -} - -pkg_preinst() { - use initramfs && mount-boot_pkg_preinst - - if use hostonly; then - einfo "Removing ucode(s) not supported by any currently available (=online) processor(s) due to USE=hostonly ..." - opts=( - --scan-system - # be strict about what we are doing - --overwrite - --strict-checks - --no-ignore-broken - # we want to install latest version - --no-downgrade - # show everything we find - --list-all - # show what we selected - --list - ) - - # The earlyfw cpio needs to be in /boot because it must be loaded before - # rootfs is mounted. - use initramfs && opts+=( --write-earlyfw="${ED%/}"/boot/intel-uc.img ) - # split location: - use split-ucode && dodir /lib/firmware/intel-ucode && opts+=( --write-firmware="${ED%/}"/lib/firmware/intel-ucode ) - - iucode_tool \ - "${opts[@]}" \ - "${ED%/}"/tmp/intel-ucode \ - || die "iucode_tool ${opts[@]} ${ED%/}/tmp/intel-ucode" - - else - if use split-ucode; then - # Temporary /tmp/intel-ucode will become final /lib/firmware/intel-ucode ... - dodir /lib/firmware - mv "${ED%/}/tmp/intel-ucode" "${ED%/}/lib/firmware" || die "Failed to install splitted ucodes!" - fi - fi - - # Cleanup any temporary leftovers so that we don't merge any - # unneeded files on disk - rm -r "${ED%/}/tmp" || die "Failed to cleanup '${ED%/}/tmp'" -} - -pkg_prerm() { - use initramfs && mount-boot_pkg_prerm -} - -pkg_postrm() { - use initramfs && mount-boot_pkg_postrm -} - -pkg_postinst() { - use initramfs && mount-boot_pkg_postinst - - local _has_installed_something= - if use initramfs && [[ -s "${EROOT%/}/boot/intel-uc.img" ]]; then - _has_installed_something="yes" - elif use split-ucode; then - _has_installed_something=$(find "${EROOT%/}/lib/firmware/intel-ucode" -maxdepth 0 -not -empty -exec echo yes \;) - fi - - if use hostonly && [[ -n "${_has_installed_something}" ]]; then - elog "You only installed ucode(s) for all currently available (=online)" - elog "processor(s). Remember to re-emerge this package whenever you" - elog "change the system's processor model." - elog "" - elif [[ -z "${_has_installed_something}" ]]; then - ewarn "WARNING:" - ewarn "No ucode was installed! You can ignore this warning if there" - ewarn "aren't any microcode updates available for your processor(s)." - ewarn "But if you use MICROCODE_SIGNATURES variable please double check" - ewarn "if you have an invalid select." - ewarn "" - - if use hostonly; then - ewarn "Unset \"hostonly\" USE flag to install all available ucodes." - ewarn "" - fi - fi - - # We cannot give detailed information if user is affected or not: - # If MICROCODE_BLACKLIST wasn't modified, user can still use MICROCODE_SIGNATURES - # to to force a specific, otherwise blacklisted, microcode. So we - # only show a generic warning based on running kernel version: - if kernel_is -lt 4 14 34; then - ewarn "${P} contains microcode updates which require" - ewarn "additional kernel patches which aren't yet included in kernel <4.14.34." - ewarn "Loading such a microcode through kernel interface from an unpatched kernel" - ewarn "can crash your system!" - ewarn "" - ewarn "Those microcodes are blacklisted per default. However, if you have altered" - ewarn "MICROCODE_BLACKLIST or MICROCODE_SIGNATURES, you maybe have unintentionally" - ewarn "re-enabled those microcodes...!" - ewarn "" - ewarn "Check \"${EROOT%/}/usr/share/doc/${PN}-*/releasenot*\" if your microcode update" - ewarn "requires additional kernel patches or not." - fi -} diff --git a/sys-firmware/intel-microcode/intel-microcode-20180616.ebuild b/sys-firmware/intel-microcode/intel-microcode-20180616.ebuild index 4dbc0b6dd956..66dbdc30dc6a 100644 --- a/sys-firmware/intel-microcode/intel-microcode-20180616.ebuild +++ b/sys-firmware/intel-microcode/intel-microcode-20180616.ebuild @@ -18,7 +18,7 @@ SRC_URI="https://downloadmirror.intel.com/${NUM}/eng/microcode-${INTEL_SNAPSHOT} LICENSE="intel-ucode" SLOT="0" -KEYWORDS="-* ~amd64 ~x86" +KEYWORDS="-* amd64 x86" IUSE="hostonly initramfs +split-ucode vanilla" REQUIRED_USE="|| ( initramfs split-ucode )" diff --git a/sys-firmware/intel-microcode/metadata.xml b/sys-firmware/intel-microcode/metadata.xml index 6708ec7d79db..6613dbb47ed8 100644 --- a/sys-firmware/intel-microcode/metadata.xml +++ b/sys-firmware/intel-microcode/metadata.xml @@ -8,7 +8,6 @@ <use> <flag name="initramfs">install a small initramfs for use with CONFIG_MICROCODE_EARLY</flag> <flag name="hostonly">only install ucode(s) supported by currently available (=online) processor(s)</flag> - <flag name="monolithic">install the large text microcode.dat (used by older kernels via microcode_ctl)</flag> <flag name="split-ucode">install the split binary ucode files (used by the kernel directly)</flag> <flag name="vanilla">install only microcode updates from Intel's official microcode tarball</flag> </use> diff --git a/sys-firmware/ipxe/Manifest b/sys-firmware/ipxe/Manifest index 0784ab80f0a7..036a69d718e5 100644 --- a/sys-firmware/ipxe/Manifest +++ b/sys-firmware/ipxe/Manifest @@ -7,5 +7,5 @@ DIST ipxe-1.0.0_p20180211-546dd51-bin.tar.xz 1748228 BLAKE2B 5ed2ce71c7dbc41d5cb DIST ipxe-1.0.0_p20180211-546dd51.tar.bz2 2954305 BLAKE2B 8232b1afe017ff5d0389534e4efea3209ea0330d66e4d3d429abf81da66639b19488911d85bf2da200ff8cb0d49c5dda438074c4538303335419ea080ef80a16 SHA512 45d7f80f15a1c5ff1daa31b132065d38013a51127795ad81308b468940a455edcb40cde7601475039a7c977d732817203bbc627c642d3d10146a480da603f1dd EBUILD ipxe-1.0.0_p20130925.ebuild 2532 BLAKE2B 99bd848b672ede6a8d3d3cb4cd55ea5e5c3afd32d8ad56996edceff18ba10f4440640c2c91ec8a99ec3fdbb37f28705c0408733023c4b0aad977642c67850835 SHA512 d58eb5fc8dd50c2822474f07a7060f0bbff77c3ad815a0358503db365ee7c5e1d0b5f45da42a6a6653acd24537872ecfe3060e344681e6e65f3098ef409ad937 EBUILD ipxe-1.0.0_p20160620.ebuild 2658 BLAKE2B 4757557957cfd0bdaed6dcf76b5c4dc89632881e51912ff824133806610b4e74551524ac0ef99115f381b043870d1f2cf0e38201f81994fdfc3d93195f4be12d SHA512 582abace1b57854b49d326fc88ec9e066d7ca287964f16c2f65f3a4b853ae65fd63aaf8f47d85adab4a71cf39be794eedb8452cc5380850dd4a19808bdf908d8 -EBUILD ipxe-1.0.0_p20180211.ebuild 2805 BLAKE2B 4a128d0a3326a5599fab8fad4a733d05fd589529dcedbbd803b5ac98afdd3a5d37af34eb29b1fca6984a278252b2a83972d48b0610a9e6ece50359fc51e1eacd SHA512 fee0d201f2ab177293cd236d7a9a4260eadf889fba81b5ec0eab28476cf6f180188fae073c511206ab6c9922a2de6dfd89b1243019db8f53a6be14ef282351be +EBUILD ipxe-1.0.0_p20180211.ebuild 2804 BLAKE2B b1aaf4b606d62fdc12fcacbb5917ef0ba11e82b9e31b9d6b5f4a703e5cbc959a915847aadea45c031974821a2c7a5ab8d500a6f8d41fc438fdef99325afc8d0a SHA512 9bbdabfc8f6809c75080520052b570c996932280c0f41cc913f11e86d600a4e68af5cd61e28db243158887cfe830f6b3fdcf16046cc2307222db12a301be9b30 MISC metadata.xml 996 BLAKE2B 41f19340003c0213578fb1b3f7ae6aaff718eb150cdb398b463e695dcc931da45251ab5d70fbdff0277f52ad7a231f93f878d9fa4ce9fe5a338cc3d4e2708124 SHA512 123f401010d157b928390599a3125c9c18ba721757a16ac3fcce4fe30e3ff298ad9a3dcda64b779bf2fe0fcb52c9057e382b7ac618a3ae27b92dd94cf0dde0d7 diff --git a/sys-firmware/ipxe/ipxe-1.0.0_p20180211.ebuild b/sys-firmware/ipxe/ipxe-1.0.0_p20180211.ebuild index 0d8859a828e8..21b512890ba3 100644 --- a/sys-firmware/ipxe/ipxe-1.0.0_p20180211.ebuild +++ b/sys-firmware/ipxe/ipxe-1.0.0_p20180211.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 x86" IUSE="+binary efi ipv6 iso lkrn +qemu undi usb vmware" REQUIRED_USE="!amd64? ( !x86? ( binary ) )" diff --git a/sys-firmware/seabios/Manifest b/sys-firmware/seabios/Manifest index f57578866f23..c23bca3fdd56 100644 --- a/sys-firmware/seabios/Manifest +++ b/sys-firmware/seabios/Manifest @@ -13,5 +13,5 @@ DIST seabios-1.10.2.tar.gz 589283 BLAKE2B 08fdbecf7fb06629db472adb05a780249dbf0e DIST seabios-1.11.0-bin.tar.xz 158552 BLAKE2B 44c42b9eea70a090ad51296949fe79e5360b569bae791fe84f447061f8dbcdb6b601501e2cc1607b62308f3118087386d15ba32c8495202f62f9f9a1e3cf27c3 SHA512 03a1523dc99dbf6e353e7844a4f12020d88bf8d5cbfd187007663ab1b02447b02694f27ee93aa46a18a5ab161f13b1ffe62f2d0f678cd86975a3d53295a6eb1e DIST seabios-1.11.0.tar.gz 607746 BLAKE2B 9f688be6b8f7c0fcbd72b59ac649a9c763fdd9e2971a4d85636c9972efc0ad42082a1622a8c41156ad1e2063907349c2e02cff9aeb444844dc445b5f7d6062bb SHA512 cae79c720bfbba3321777bbc6d5bde432fe56e2ba8f1be8acfebbde0bd453a58e889f5fa24db6055dca0a3a56d35b907761723ea35ef248c5f812129d0a27b77 EBUILD seabios-1.10.2.ebuild 3411 BLAKE2B 60be808fdaa681aad580615c077896eb32cc0138207f56bf474fa93dfef80bdcda875e7757f242d5f01a3796857a036b8f81c2f71ee97fc3b7081101e4a6fcb6 SHA512 c1dd401ea38f1c4479d7c0c7436e13ac83288f0fa21b3ea368389b5b9dbda14d63ce319d92c6ea7a03c6efef9dd0d126691efa4d79f36c9d730f52cba85befb7 -EBUILD seabios-1.11.0.ebuild 3328 BLAKE2B 278077d17c9b7837f6b67b6a06fc53d1d041c2a0afe17765fd900c92440a0df4ce54a341922ceea98708635b4a3fb8fb65a8a4c93dbcd90863d3eac57bb77c6b SHA512 e18b306019efa25f6b231a3f1ca667e6927f7408c7d398b3a87e752f5761a26611bf362647a548fcc9047a541b451049c31caf1e4cde12ac050477b7587c4c21 +EBUILD seabios-1.11.0.ebuild 3327 BLAKE2B f16d71b802cd1424bb317168021404fa0cb05a1449a306b74758a9a1e1d1f2d85dbaf3030f478fe41bd989638ca50c03b88fedfb77e7fcb391a1f5c36237779a SHA512 77bae186b7e8e4aa411d6705168365c65b4ec2348a463734eaedf298afcc8312c1c237f400471fb8681aed780d74fbb51742e4f4f31c476ee4814ab2d144f30d MISC metadata.xml 659 BLAKE2B ec90c7e7dec453a99ac7d431f3d431cfbbbdfe4ba5fef5d57b7923ed5a8b1f3511c1a8e260c51080f754aa1f27b4d63e6cfba97fadfa00765fcf14277431c583 SHA512 62dbf23559c5c19e9157fcaab10356fd51f52e98a1c39ac138445b058a45a350c758ecb2e6b36eb2e05a384bf6c5c7413deea3b5db7a3a2468248b677136b246 diff --git a/sys-firmware/seabios/seabios-1.11.0.ebuild b/sys-firmware/seabios/seabios-1.11.0.ebuild index 72456e2e53a6..c3a085371320 100644 --- a/sys-firmware/seabios/seabios-1.11.0.ebuild +++ b/sys-firmware/seabios/seabios-1.11.0.ebuild @@ -16,7 +16,7 @@ if [[ ${PV} == *9999* || -n "${EGIT_COMMIT}" ]] ; then EGIT_REPO_URI="git://git.seabios.org/seabios.git" inherit git-r3 else - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd" + KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd" # Binary versions taken from fedora: # http://download.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/Packages/s/ diff --git a/sys-firmware/sgabios/Manifest b/sys-firmware/sgabios/Manifest index 0b832bab6c6b..e48a695a43eb 100644 --- a/sys-firmware/sgabios/Manifest +++ b/sys-firmware/sgabios/Manifest @@ -2,6 +2,6 @@ AUX sgabios-0.1_pre8-build-cc.patch 467 BLAKE2B 5d1963f2f9c74fa1503b81ebfce8ae9c AUX sgabios-0.1_pre8-makefile.patch 395 BLAKE2B 0d6a9eff239e3881bb6dc674e62b98eb48b7b9c422dd77ee6c0e0f807f213fbc38a4e7a730d329123d947540c9f4bcb60019c85c3b1b1041be353028d77c4ab4 SHA512 7c111af2fff59b0ca6d4b39d04715d404bffa0f71a337b43f7dd091af6e40e85b790ed8b560039d5702d07e1ae47f2c204e891373f11d2ee4aa1541cb471c566 DIST sgabios-0.1_pre8-bins.tar.xz 2704 BLAKE2B 8efcf613a4857467cc3cfbc3f6402bca091892f0b2137ff65caf2b444610c86c1db0e61505bfe48ed8d6ccc9e8928190c2a38693aeddd523e27d22a29e777044 SHA512 46fc02200b3fa2e45c954a2b6e4cd40f10d6969fd05ef4d441402c7390b4e83390250972ef0ea891635400cad22a4d8fd2b66b56afa91d03e1e0b99132e09c0d DIST sgabios-0.1_pre8.tar.xz 27200 BLAKE2B 8ea535f2fcc8f7105a278202648e06722e7463e66ff3ccf824cd3a672a7908e7223f27678ebd4ca73eb19abaff75e082ea7b9bc222332436f31a8840443d7b44 SHA512 68e2a894eb5b99cda2b0e96ade891e24397ac962a777a97dbb526f4570e5734d36a88fde1ef64ed7a887cd8bfc500c91c48849d2c26aca6ce7e36dd80aaf361e -EBUILD sgabios-0.1_pre8-r1.ebuild 1241 BLAKE2B 0ed62254dd73687607c9a344ee3f2be3eb8a313f4a975cbb67bb048a60eb6e3730044376af2793510738771b251fe5ea445d98668e875c8c32f001eef351cd07 SHA512 524e3657798aa709a67ffd565b464f8b3bf7a9ec477abe3c5bb46745701ac53cd4bf7386d9bf144fd2f6a16e73245e99efd43eac9981bd526929016f4f6abaef +EBUILD sgabios-0.1_pre8-r1.ebuild 1240 BLAKE2B d4a4874d172db80d063a4fca37a953fd768318b08df41cb79911c03d33fa48616cf7d7564b7d40e247c4d2d984e8ce9425dcd837531f083e84e21f1de1e9776c SHA512 3d5975238c0d281d6044cf58d100fa452cead9af9627a3a3ac30f488f55687fe239335bc114e56a6b58c4ce99d935574d03c4d1987760c13eda71329f459d0ad EBUILD sgabios-0.1_pre8.ebuild 1153 BLAKE2B 157cd06ccd73ea45bee40d23cb5657efcf399f824fb4d6344869f08c575585978445d8c5d7d1c38164bc81604fc6aedeb4fa653a434754e43ca0db3ca2cad01f SHA512 ffbd86b27008e068716712cc605990d1c230d3a347a589cc9595763d798dc991ac1984376dd0813711d2833b99cd0689fa7bb11547248372f5645214d6d8ddcf MISC metadata.xml 554 BLAKE2B 675f2ab919854639c14a08d25bd1efd6814cd262563701d285f25f4a345716c97ef603a2b9c2335a45c40950cc9ab98cf14fe5be8061a033b1ee045ef6a323b3 SHA512 147e5f7bb7cf615a83bf78684ffb4ddf794d74364004a028f2be53ff9b8bdba62b0b24dbeeff6bacfbf81925a7084c884d663d5da5c20a7364b125ebfd9485a4 diff --git a/sys-firmware/sgabios/sgabios-0.1_pre8-r1.ebuild b/sys-firmware/sgabios/sgabios-0.1_pre8-r1.ebuild index 9176409a528e..290221c8a6a7 100644 --- a/sys-firmware/sgabios/sgabios-0.1_pre8-r1.ebuild +++ b/sys-firmware/sgabios/sgabios-0.1_pre8-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86" IUSE="+binary" REQUIRED_USE="!amd64? ( !x86? ( binary ) )" |