From fc2f1018fc323ef2c6572734a9b130427cba76a6 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 3 Nov 2021 06:47:15 +0000 Subject: gentoo resync : 03.11.2021 --- sys-kernel/gentoo-kernel/Manifest | 11 ++- .../gentoo-kernel/gentoo-kernel-5.10.76.ebuild | 2 +- .../gentoo-kernel/gentoo-kernel-5.10.77.ebuild | 105 +++++++++++++++++++++ .../gentoo-kernel/gentoo-kernel-5.14.16.ebuild | 105 +++++++++++++++++++++ .../gentoo-kernel/gentoo-kernel-5.4.157.ebuild | 90 ++++++++++++++++++ 5 files changed, 311 insertions(+), 2 deletions(-) create mode 100644 sys-kernel/gentoo-kernel/gentoo-kernel-5.10.77.ebuild create mode 100644 sys-kernel/gentoo-kernel/gentoo-kernel-5.14.16.ebuild create mode 100644 sys-kernel/gentoo-kernel/gentoo-kernel-5.4.157.ebuild (limited to 'sys-kernel/gentoo-kernel') diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest index 4685bcda39c7..2eb15684269c 100644 --- a/sys-kernel/gentoo-kernel/Manifest +++ b/sys-kernel/gentoo-kernel/Manifest @@ -4,18 +4,24 @@ DIST genpatches-5.10-81.base.tar.xz 2412768 BLAKE2B fe3b30c2ebbf250eb62c5add1431 DIST genpatches-5.10-81.extras.tar.xz 3844 BLAKE2B 9774afc1d893bfa0439cebb0d006cf1c0682571668e09adbf97df38c159f016176b8db538562e896a3ef0380e7ab830503d952d8448b2bd02adb22e84cfa0bea SHA512 c450131db06e63521ec0455a76bd4005f62527e92c0971b63e7076f4fdbae41aa6f4648dd5888bcebaffd41c3c5aff99d99efc0531988fdb54cc9bd3af1bcf96 DIST genpatches-5.10-82.base.tar.xz 2436944 BLAKE2B 1ec08fa67b8d075aad46baee204f9965cba2a219c3c237f7310be5c23ec036f2a386488199ed09eb348a4f0575cd48fd3e14b90316e12a00228589f7e339fc20 SHA512 8b06790d5ab0dff514c0c03c9789537ee9ff75deff4a89e725df78a023bc29501c6c4d8bb9acfc4179bc530b021fdeddea62499d9c43cce842a49bc3b445f863 DIST genpatches-5.10-82.extras.tar.xz 3840 BLAKE2B 013a2c13750a9d235477f5af6f42fb80703590db72ff254d1fec54957dc7a8eea7e1b2ab430c7a375699edb95c1776dd454b42add5d2ed78a65ea90aad58c831 SHA512 6d4eab6d4dfbfaabb1a117b2844b1fc110b4c7ea3178acb114c3ab862765f46d2fff32cacc3cffc50429f926cadfd479abf56332cd3630f734852e66139f5411 +DIST genpatches-5.10-84.base.tar.xz 2456624 BLAKE2B 601a384268e27c058a4e7ac17f7d1c29463069b8f1ba37669015170c420605f91b5d9780c308dc5969acf6a619fde60876a7f0f6507906849ab4f2f0916aec7c SHA512 e6fe9a033bb3ec6fc3274b033d8a68fec7dcb1acceec654659a06785f87eadcf8102f1ad2eed00919ffc16b73abd156c845a675d036d9e11b5a7c264766356fe +DIST genpatches-5.10-84.extras.tar.xz 3840 BLAKE2B 77bba1e9fad26e7525b6d3ccb27b2aa0a17c08d21e5a05483895b17babd11a17d280a9c32375cd1b8c2ab8b3875dab7b519ac490c1e189d5df05b7b19c3c74a9 SHA512 1c99561593dc8097d7626efe9eaba1712353bc3ac72780edc515833591b02f90034f039e904f2057b7ab56d142c7716aecb56edf0cb656d474246a6ed0438efb DIST genpatches-5.13-21.base.tar.xz 951176 BLAKE2B ba681ca3732dd42d0242c2b4e95f90f92bf4737eee326a33297c03d9cefd5da3182262626caf4635a3c66329df5fd0f28d55a963b5fbba110f025e7874f00726 SHA512 55f21fa1711464d686dcac9886ed0420cf48d2ab4e1b98ec1d8ac52c8828d4d8c2d71c4e57df989d23df670d46a00ec2c7dcdd4dfb7f411e904e379f9fb702f1 DIST genpatches-5.13-21.extras.tar.xz 3852 BLAKE2B 5f1b6adf7944a5f8b8394ad651e08647284c685838309f4ae9c58e2fb6ad127ac48e8ba10b65f058793731ae39ea683c290e30425aeb306ee8e6baf7bc7f812a SHA512 397e625d456feb5aa3ee75c18348401c976556a38c401afdf7e242e036fb432c3fafaa6bc8b44d046ccd64be418407927fcd366d172386765832be4877a6d3b3 DIST genpatches-5.14-15.base.tar.xz 544344 BLAKE2B 5315b7c850517e559fda958cb73d9bccd97945fd23833f901f81f21ec0b6a114ecbcdc6188b7283f3daf2c2dbb77b470fe4dbd15e6197dbecf1c026aba0f09b5 SHA512 963eb0f6ee49360b041e748bf096ccb4e92a075de029fa65884553f3372c34181f3cd1b1d10c55893df0efda0d4e265cc410ee2d5bfbb6a4dac0be98dc86a638 DIST genpatches-5.14-15.extras.tar.xz 3840 BLAKE2B 824c2a15749f6e83b03669df117a0838ef955430c4781f5b1423d6a5eb4d3b594c99bda3220ceff3875b00601bf2564eb211ee470a04a7e221f5300d0552adf0 SHA512 197bbcb69a9e79f7938342a7ec2d8b6baa55b48f121ff5bef6d8a3969e41a646fa357cf394e9fb3e8ac6c43338749e8be8b50319020564eff5c30b49786978f1 DIST genpatches-5.14-16.base.tar.xz 591456 BLAKE2B 5c2faa9bbbc7c35b2c81d2cc3f11e61f3e69964187abfc70301c33fa58bd4762beceab0c298c0b16468def49482d4a0b32c93add83f94bde6e930284f7fc2922 SHA512 860f2cea8a95cfdc0e1524baa5baf168dcd06309a44319503ca0768b611118cc9a654eafc6ac22c2fe5d1a33954a27e7c53a55480e64310442a9a8e279f3e2ba DIST genpatches-5.14-16.extras.tar.xz 3840 BLAKE2B c36321060c45651af5fe20fd7bffb8cc2c2cede11a9880997381acd9ab74a2ce99b89632c1061aa1542a6451a87ec4d7ad2536725bf429c243418e6c551d342c SHA512 bf77ba8560347ffd328b97e234d07bd1a8a22378e0209807b21b9cd78d458d4c3bb7a721583d5fffe919ff72fd3c74936dc5a97c911de1ffb35e8db696ff0b5b +DIST genpatches-5.14-17.base.tar.xz 622212 BLAKE2B a0c5bcabe08e292287b57cdbdd573c8b61cedfc0560a63958ccafe2c1cd671b057b3faf6c4a577e9063b6eae46a1c6d7fb7e25ee92406e4a597ec0e74bb241d3 SHA512 3042091a962cd540b504570ab5ec11b3dda25b84c03529e78a01db232b4a0a716b9ee7b60352b7ad5afca7534af6ccdf14bcad9140ebd78ed56f292e47bf103f +DIST genpatches-5.14-17.extras.tar.xz 3844 BLAKE2B f50d2d3e47b0e0387c68eff502be6163a167436f6e99a59a56420c1f4215cee35a892b95bcfb2b2f73261db57b52675f080e90a3f69512ba00163bef95cd8e94 SHA512 eaed5b496a124c94093d85cc23d73b345b9bc6b946656fa9e8f3d7eeff719303841f199d9d1312b4d8b69e7f55883a3c8961d3cd568c5ac48390850511c936ad DIST genpatches-5.4-152.base.tar.xz 3987788 BLAKE2B ddc01301f5c778230159b9ea8ba107bb992ef7a8bac0f3068c40e95b5dc32eb701b0c11f4b5ab3dbda6e9f3c29c04612ecb623aade7bf38c7f852aefbba14432 SHA512 bbccd15725d1351be6f5feef202b3ae3760346092849902cdf3ca5cb3add804458244fd8b8cfedf39e1917e1a7dd7cba9873df2ab449e36e32a169b1640d34ed DIST genpatches-5.4-152.extras.tar.xz 1784 BLAKE2B f99caae6094867a9535056ddb3d5cd9b9154f33417a5cddc53dbac79d5ee3f430e5d84ed4607a5bc72c2217049f7677fd3d19594096f61880d6c31e925bf5e92 SHA512 cd69e6dadad1eba57a6184cc65330c6497f8b822a025190a80d10d4d7c669bd4d9195bd880ce99f8384d6aec5237358b03e45ad8449f1c394d5743ecbb0da4a7 DIST genpatches-5.4-159.base.tar.xz 4064516 BLAKE2B c2c8350597d7cbe7652cea4b5a3fa92376259f1f4f15c3387f80f24b31d571cbb1094a27f52b099f0c61ce0187c3f498ccd4898cbb63f03c7367df39fdc475b0 SHA512 31116496b8d570d596a91e3408db055cbc602af2608ce579f5ce5ff41c084f629edde49c1efdf6220289451286f8a0b68d2937b916886f51b9a7d0529f130d2c DIST genpatches-5.4-159.extras.tar.xz 1788 BLAKE2B b3bdde65db00da9eaa5e9d3e1a813bca63304608d61af3c4712a5588fe946a9c53974066467af1678cb7e44646dec35ea607133911f1da2e8a4320118cb44431 SHA512 72353c4e7a35c2513bc9d27888050de1446ece8cb9c079ac03ff90cd855070c31001e37f741c42a2b3d2a76890913cae9cd12b19f2250549273b47667b55435f DIST genpatches-5.4-160.base.tar.xz 4078816 BLAKE2B 478bc44ce285e02c37b4452fae6948ca61d0ae841328444e91403a517d398c416cd91a232d057c27a2c3994df19626475566e832457310744d20b700a854ab43 SHA512 ab1500a95a8f9295a6f5ebb7f9c0beb24bf1d0f6d67ca03e1135dc6724e74fe33f5025fba96ba2fd1d96078a20e5099ba1c1e0f1be149d01ebcaa991ff5c2dae DIST genpatches-5.4-160.extras.tar.xz 1784 BLAKE2B 8184089c122bb794bc18181ed165b2d03b301f336730b3579c92780b8a551d75963051a0c3c2ce8015a8e7102fda224e7a069ddc5fb5ea90d313637879602270 SHA512 f304a0b349c1a2f42297595ef732a6e31a7babfc71031b56e7e81e14b030cbbcefc25b49429381b47bb60676f63a3ca86b24de333a4ca928825fb2fb59109839 +DIST genpatches-5.4-161.base.tar.xz 4088312 BLAKE2B b9c445ae9e163ed0d918f2833db1ff0683144d8214f7bf806a4e99cefdb33ab0c5968f6c70b9f0e15c22234a6f438a97fe566a6b04bb9dfda7d177cad98b1e6c SHA512 8e077b14090bbfc0f9c9fa8b01d3159317819b2c5f4903613d3bb3dc942ec47135a9f381fe30c5046f2fc640e35bd9f1aab8879803eebb46b051ada5d958dd43 +DIST genpatches-5.4-161.extras.tar.xz 1788 BLAKE2B 940f21b0dd0a57c70a42aac772114e16bdfe3a9ca4119c3b2ca24c7023eed73f646250bbb74f308ec33ec03ff7e0b8b73737e50436f4f0ee68344abf93e0bc2c SHA512 97ff320e68c7cc2b0467e0b4be63b5d95509ff784a98de7bca44f60db9baf31ebdb9d45cb122bd75ec87e9b9daea17b4388f552b520d96ead0e4b5975945a065 DIST gentoo-kernel-config-5.10.42.tar.gz 3992 BLAKE2B b04f585ccc823c25baafea011a5df9e4ed79f5537fb0c47726bb54d3f6197627b078a6f8510707a68edd9308f7ede84ca3f9bff78e64e06c9ea3d53db496c10f SHA512 5d42e1ac694441acb8ea13fa3e80615bd18f0932a37f50c3d34c8c2f95ef4dfa6541407ddcad802b4fb13468e0e85d8cd09ac37d3612260f9a81d081cb4b6713 DIST gentoo-kernel-config-5.13.4.tar.gz 4024 BLAKE2B 9b4e3205c356c791768b9de09057b55499519af5551165040c5ad50bd85b2886e34a9f8dfeea08c6a2113b903341c2bed897bc2615913cdfe3d13434d7be6f48 SHA512 55d9f2c72d164f81aede7ce5b2c703f8a426ad0a1a3323c0a304c9f07ed86aa06949ba2f42da115b977b810886a47a0126eda96ade853970a951c301eee5e12c DIST gentoo-kernel-config-5.4.114.tar.gz 1298 BLAKE2B e494041cd63ba53f055cfd555e359934d5054238bd096addd7965754e6708bada63398c4b315318f73130ed81c1391524388396775632248870721f1ce23f203 SHA512 225600db53532ee131dd83d10cecc97a83f4615975ff32f3f6190a15eace64707cb59490bb42940e4429f9054221b9d9a589ada443922062bb5ee18ecc42c26c @@ -45,11 +51,14 @@ DIST linux-5.14.tar.xz 120669872 BLAKE2B 0047f5aaa3940dff97f4055ef544faafbbb5282 DIST linux-5.4.tar.xz 109441440 BLAKE2B 193bc4a3147e147d5529956164ec4912fad5d5c6fb07f909ff1056e57235834173194afc686993ccd785c1ff15804de0961b625f3008cca0e27493efc8f27b13 SHA512 9f60f77e8ab972b9438ac648bed17551c8491d6585a5e85f694b2eaa4c623fbc61eb18419b2656b6795eac5deec0edaa04547fc6723fbda52256bd7f3486898f EBUILD gentoo-kernel-5.10.68.ebuild 3127 BLAKE2B 979ebf8eaca7ac64f9268bf37c2326ee7ac61616a750be2583bd6034e15805a5a0a2c368ae7d7e1bc6ae351fb6942701fdbeb7e9d14fb6489a6e9e079729175e SHA512 890c8ffe8c407bfd4b793385fa43f40775f008bc1131b3bdb87364eebe4c937211047109d3c75ead42e059d1ea1917a95639dd334aa28a9da539c4f4da935b9f EBUILD gentoo-kernel-5.10.75.ebuild 3128 BLAKE2B 28800467981c505c6993564aa05a92563eab30d994543220f3e159eed173b274fff2ae0801b4fb775ca1831ae4fe7c8af30c75d257b5551bc360cff056fc2388 SHA512 1f15561ff2540dcfc445301b1f9a65e8d2febe6a32029e668d8787f2f2cba57839c85a0d1662a240558c2301923e53dbd4bd0d7a3e1b4c2f443c5ef257ff4490 -EBUILD gentoo-kernel-5.10.76.ebuild 3131 BLAKE2B d101a2b8b409e1127c470fbb4b64ee2829e173f5745751c6985703ea49bfa5b3c0ad01efc2b3f56c74e80a0646dc4a891d3acf51c2c0dbaca5824903ed1928a9 SHA512 dfc0a38f987c5c22d0ef76e1b94d0c9c434f1d53244a8000e6305d9fb20b15739e5ac99dfb2b94167c8c4d89cd0ca6f02885b880cd8d7364736a1e88f2494d25 +EBUILD gentoo-kernel-5.10.76.ebuild 3130 BLAKE2B 04857293f2324ffc14b13cd9fee60d837b0097883ee9c8cea8dff3ef9109659e9f1e47df7a0020f848e7f1839d6800f387d98c289b8097011dca978fbf6e6409 SHA512 a5074adb5a8df66209c64a39824bce45a40a8fbe50c5fbc5966ca549112347c66dc82661646ce587054bf5e48b7df61b6094aaef2e831e7c41d3bd360c3cac99 +EBUILD gentoo-kernel-5.10.77.ebuild 3131 BLAKE2B 90ae33600eb288b820dd84f45cff8af6f0b6cbf56ed2c1e2565e9b904be83034d0cbc794268adac421085240d3c7b56b9b9a8cd95edf869a8569e4b9f703708c SHA512 49adc651ef5d70afe68ab702399ff1e73900bfe006e958b7fc9f4ee9b27333346ec9a7349cb75860103a8dab3b39022ac776c644fd86e982b3fcc9ba4c449349 EBUILD gentoo-kernel-5.13.19.ebuild 3129 BLAKE2B bf974bf3ceee524bf31fae497e22d7bacceadd2c1221b476948da9ad927eb855365e896155cd84b69af169073541799999784990b5e2b8dd7615b3f5c1a14fcf SHA512 b00e7311942a763c4847ea9205e47e1133fdba254c35ec740d9097767261e3c0636c729607aa7ea4b346e88644d1da8e30e620254c731d0278066168fcc05cbb EBUILD gentoo-kernel-5.14.14.ebuild 3129 BLAKE2B 6e8f1f891569551c97df34d60b33103f4ee39601d28658a0cd9170f687c0f248af98d6b6011c8646799f02ae04650cf72dd38d2f9bdaf4a5e8961d884d04f9c7 SHA512 cd83e4778f01bad83da5e407e53489ccf079dc410a396fe35b83f046e0873d7c3f5d8339f2435eee2bf710e385c2c23385fdf4918716a8af610babd277177db4 EBUILD gentoo-kernel-5.14.15.ebuild 3130 BLAKE2B 7435e6ef012cffb18fed94c5e27633c9db63550f19670a3b49b900b741b55fc56197715d4daebb47b34a3a69a0dbc5c350a777e6aa13b078483c10bd6d44be1a SHA512 1d4e9b5b5176a8d4e66d3a0c4b675934d3b7796288c6ee59d4140420831d6af4893327a91a04b7986aa5465ddcf0cbfc480aa7edae603698e5bb36a464d9bcb7 +EBUILD gentoo-kernel-5.14.16.ebuild 3130 BLAKE2B 7435e6ef012cffb18fed94c5e27633c9db63550f19670a3b49b900b741b55fc56197715d4daebb47b34a3a69a0dbc5c350a777e6aa13b078483c10bd6d44be1a SHA512 1d4e9b5b5176a8d4e66d3a0c4b675934d3b7796288c6ee59d4140420831d6af4893327a91a04b7986aa5465ddcf0cbfc480aa7edae603698e5bb36a464d9bcb7 EBUILD gentoo-kernel-5.4.148.ebuild 2818 BLAKE2B e989342b15abf7771213d72c62618b85237bcb207ee7948f29f804ae51c44dab105cce5ae65d79d3365dd575d8f2436ab0f4586ff87ef730f99d6859661bf9e4 SHA512 92a1296b128a1166c5c545d606536142f54be6753fc7a97cf75e4d8ed08ffc9b572f737ca7bd0a51055105ea0d7ac0675de4fd796966658ef3988dd3bce98422 EBUILD gentoo-kernel-5.4.155.ebuild 2618 BLAKE2B 0d0daf0b8b7f422344cfb07b10dff5218d23e7a93154c9210c11be912479cc572f1179394c516aec3430d629bb3a2544c896382b0b4292bd9308b50353248bef SHA512 bd9d6c30e7a807a64a04f31840c1623c1139a7028eba3c06d9d2418d1a4aa65e4e66ab855c77fce35190d6640f5e319c6b9c527440fff11fafec149f5f9205ae EBUILD gentoo-kernel-5.4.156.ebuild 2621 BLAKE2B 8d2b115bf77a6191a68d2e74d5aa500803bb83cae4ce634c2a310b4803582b6d018f67af1c57416a3699cf80f34a2349b82dda5497054f1bf4b1a3fb3dccf9e0 SHA512 fc59e00b70677b70f46001672ad5427addcf1a96346bbca1328cdb224aba8d9ee51c1910625917444fab8b76b18412b1f0cdcab6f08d5e31c730132c3e98e6e0 +EBUILD gentoo-kernel-5.4.157.ebuild 2621 BLAKE2B 8d2b115bf77a6191a68d2e74d5aa500803bb83cae4ce634c2a310b4803582b6d018f67af1c57416a3699cf80f34a2349b82dda5497054f1bf4b1a3fb3dccf9e0 SHA512 fc59e00b70677b70f46001672ad5427addcf1a96346bbca1328cdb224aba8d9ee51c1910625917444fab8b76b18412b1f0cdcab6f08d5e31c730132c3e98e6e0 MISC metadata.xml 465 BLAKE2B ea1260a1638588a48d9dd776e9eabd9730a181af8416ba778c936fa2e80a2360be146d3cc80599e50e0a72ac709eb9538184aac87cb96528e445ed450e34f4af SHA512 c7b7b1a45fb7082b8d8d66cf5a387cc4f7207cd9488d1d5e1d6900f1e4147aa9290b5522a94d941a885f1599b5df2482b529e40912d2b2cff400ecd4b1704c41 diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.76.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.76.ebuild index 8a97f9b5278b..fa9024afebc2 100644 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.76.ebuild +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.76.ebuild @@ -38,7 +38,7 @@ SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.x S=${WORKDIR}/${MY_P} LICENSE="GPL-2" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ppc64 ~x86" IUSE="debug hardened" REQUIRED_USE="arm? ( savedconfig )" diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.77.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.77.ebuild new file mode 100644 index 000000000000..101b27accc36 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.77.ebuild @@ -0,0 +1,105 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 7 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +CONFIG_VER=5.10.12 +CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530 +GENTOO_CONFIG_VER=5.10.42 + +DESCRIPTION="Linux kernel built with Gentoo patches" +HOMEPAGE="https://www.kernel.org/" +SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + https://github.com/mgorny/gentoo-kernel-config/archive/v${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + amd64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + )" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="debug hardened" +REQUIRED_USE="arm? ( savedconfig )" + +RDEPEND=" + !sys-kernel/gentoo-kernel-bin:${SLOT}" +BDEPEND=" + debug? ( dev-util/pahole )" +PDEPEND=" + >=virtual/dist-kernel-${PV}" + +QA_FLAGS_IGNORED="usr/src/linux-.*/scripts/gcc-plugins/.*.so" + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + default + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-gentoo-dist" + use hardened && myversion+="-hardened" + echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die + local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" + + local merge_configs=( + "${T}"/version.config + "${dist_conf_path}"/base.config + ) + use debug || merge_configs+=( + "${dist_conf_path}"/no-debug.config + ) + if use hardened; then + merge_configs+=( "${dist_conf_path}"/hardened-base.config ) + + tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) + + if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then + merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) + fi + fi + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.14.16.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.14.16.ebuild new file mode 100644 index 000000000000..e3f5ae1d9d4c --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.14.16.ebuild @@ -0,0 +1,105 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 1 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +CONFIG_VER=5.14.14 +CONFIG_HASH=072218102fd9274725c08fe0686fa387ddf02371 +GENTOO_CONFIG_VER=5.13.4 + +DESCRIPTION="Linux kernel built with Gentoo patches" +HOMEPAGE="https://www.kernel.org/" +SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + https://github.com/mgorny/gentoo-kernel-config/archive/v${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + amd64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + )" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="debug hardened" +REQUIRED_USE="arm? ( savedconfig )" + +RDEPEND=" + !sys-kernel/gentoo-kernel-bin:${SLOT}" +BDEPEND=" + debug? ( dev-util/pahole )" +PDEPEND=" + >=virtual/dist-kernel-${PV}" + +QA_FLAGS_IGNORED="usr/src/linux-.*/scripts/gcc-plugins/.*.so" + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + default + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-gentoo-dist" + use hardened && myversion+="-hardened" + echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die + local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" + + local merge_configs=( + "${T}"/version.config + "${dist_conf_path}"/base.config + ) + use debug || merge_configs+=( + "${dist_conf_path}"/no-debug.config + ) + if use hardened; then + merge_configs+=( "${dist_conf_path}"/hardened-base.config ) + + tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) + + if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then + merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) + fi + fi + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.157.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.157.ebuild new file mode 100644 index 000000000000..ef8b4347c4d2 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.157.ebuild @@ -0,0 +1,90 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-build + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 4 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +CONFIG_VER=5.4.21 +CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea +GENTOO_CONFIG_VER=5.4.114 + +DESCRIPTION="Linux kernel built with Gentoo patches" +HOMEPAGE="https://www.kernel.org/" +SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + https://github.com/mgorny/gentoo-kernel-config/archive/v${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + amd64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64.config + -> kernel-x86_64.config.${CONFIG_VER} + ) + arm64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64.config + -> kernel-aarch64.config.${CONFIG_VER} + ) + ppc64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le.config + -> kernel-ppc64le.config.${CONFIG_VER} + ) + x86? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686.config + -> kernel-i686.config.${CONFIG_VER} + )" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="debug" + +RDEPEND=" + !sys-kernel/gentoo-kernel-bin:${SLOT}" +BDEPEND=" + debug? ( dev-util/pahole )" +PDEPEND=" + >=virtual/dist-kernel-${PV}" + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + default + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64.config.${CONFIG_VER}" .config || die + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64.config.${CONFIG_VER}" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le.config.${CONFIG_VER}" .config || die + ;; + x86) + cp "${DISTDIR}/kernel-i686.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + echo 'CONFIG_LOCALVERSION="-gentoo-dist"' > "${T}"/version.config || die + local merge_configs=( + "${T}"/version.config + "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/base.config + ) + use debug || merge_configs+=( + "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/no-debug.config + ) + [[ ${ARCH} == x86 ]] && merge_configs+=( + "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/32-bit.config + ) + + kernel-build_merge_configs "${merge_configs[@]}" +} -- cgit v1.2.3