diff options
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/Manifest.gz | bin | 4418 -> 4418 bytes | |||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/Manifest | 21 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.135.ebuild | 135 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.59.ebuild | 135 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.209.ebuild | 135 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel/Manifest | 9 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel/gentoo-kernel-5.10.135.ebuild | 131 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel/gentoo-kernel-5.15.59.ebuild | 131 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel/gentoo-kernel-5.4.209.ebuild | 100 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/Manifest | 9 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-5.10.135.ebuild | 134 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-5.15.59.ebuild | 134 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-5.4.209.ebuild | 108 |
13 files changed, 1182 insertions, 0 deletions
diff --git a/sys-kernel/Manifest.gz b/sys-kernel/Manifest.gz Binary files differindex fa10656c0db0..f6d4d88bceb3 100644 --- a/sys-kernel/Manifest.gz +++ b/sys-kernel/Manifest.gz diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 054fdc1af1bf..fd1a77ee5c83 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -12,6 +12,8 @@ DIST genpatches-5.10-142.base.tar.xz 3863448 BLAKE2B de45611ba9c92f59829a61b84ad DIST genpatches-5.10-142.extras.tar.xz 3868 BLAKE2B fdff4c1e3ac6b09322168d92469bc5220dded731e05250100df2b5a94d90b2c5bd7612e6c32574ae1c67cd59e6f73d348b3f56bb9027ed1ba11427975796f1e4 SHA512 227bba85de2bf1eba0b0c3d4f314ca0f2f5c3c475ba78e5a82fbb3a682fd37bcef80ef1a91f1ee3747bd2a8c639d2f791110ac72c5406243dd2f54c87d846dd4 DIST genpatches-5.10-143.base.tar.xz 3888492 BLAKE2B 981a8e21ffff29acfb070164fef85e6beaf41e36a6e9b139a7bbc2027750321286d7e1a6cc51604841352bd65fcc363a80edbb6455c9d8ae83be560603350f95 SHA512 6556642c9d99f0e8160c4e50f99dff42982346ba132abe77bdb83c1fcaf9435fd2573fa56380ce140efff7773ee5ef1cf9475360e6d5703caf4c38b14c135ec0 DIST genpatches-5.10-143.extras.tar.xz 3868 BLAKE2B 8bcfec127807585e1145930a119e5f8b6f4f481370c4243dfa0b3f5aac36f5b19ce566b458718128224ae63ed3ac8d232a60a917e80890a13a9b48325bd7253f SHA512 ad4f8a858caf876456536ddb7f6998f7d11c81047efa23cf3289fa93b6b9067fbdaa9329cf7b3e3089c0c07b9adabeca49ffa7a1a7eea7d9f5c0a306996d1fb1 +DIST genpatches-5.10-144.base.tar.xz 3907764 BLAKE2B 41b8ce08ca73879811e11d91f9365ddfbbc15617a4b825ba00144e71feb86e0ef24b3418b77b203a13ad6299237085a2a1c796beb6ac9aa98a5990a39fd1dd02 SHA512 1b946439d9cf6d97df1acadd7b36ef657fac40ff98b31e2237f3cc412e9efd6d4d1d409339af9d48779dbd9d88aac124f67e07afcf99e7760f93afb6d226131c +DIST genpatches-5.10-144.extras.tar.xz 3868 BLAKE2B 0d956a61fb525b8ce3b14c215a0c0a6ffa46f21fcf87a63884d31418946a64de0c680472a62fc9bc0d83f67b49dfe88ed373e3ff2ba2f369a0909e3947b27c16 SHA512 c870f84b1a4ae7b95518d08ab46fc7e632a47884e43a9c774be34335ebf825388136ed360f5129c8c97567600e79ce2889d64d9b60a1a8bd2a5b4052e74e2973 DIST genpatches-5.15-56.base.tar.xz 2245780 BLAKE2B 0f5e5d7c8a29f590598f4721307e3b1a316342cc31b8e5ab5496ed58b65470d19bed59ff40cf7b26bd4970eee04581ee8ac544eebe63c54063c161a55c828cea SHA512 0a1c4edd8f863f2c77a14cf48d79c35868ba8b2f02fb2436e1913e97c8285046ecbedc33e6faddf02a0c813e677492be0fc972e3731c733e488006602eb6119f DIST genpatches-5.15-56.extras.tar.xz 3932 BLAKE2B 2b167a35d9dfe16a18b22318ac4597147fb25bef53a66108c2f2e4d6e6d3df1c9d4b1fd6d63ba4a8078f94f8cd69d14b359123355ba266ef72b44f7d9addca9b SHA512 ce91556981720f3718921993eb15f5af623cad8dc40a36bec6cbb0d52153fd1288bf97927daab1b1e3ccd1451d4295b109ead0160c657a00c62c2d6f25fbc09f DIST genpatches-5.15-57.base.tar.xz 2275504 BLAKE2B 23dad9d2e9dfc1f77f6e39f8d9e68a6e3168d581136d50d53b3503278bb5e4abfc25e2f9fdab63eeed674e370bee8ae7cc5c54058f6942abaa4eeac49258d765 SHA512 b675437c320b28f4b4ee979fff5c32ea607fd795b090206b49d66fdb95fc2ca1b959fffd33b9e5241a160c2f19902efc8218f2c39eaaa312a5b4149282e08b99 @@ -26,6 +28,8 @@ DIST genpatches-5.15-61.base.tar.xz 2438712 BLAKE2B 44a8bff3e2df4203943aab61398c DIST genpatches-5.15-61.extras.tar.xz 3932 BLAKE2B f2579301f9ee4e2dd46dd65472bf208d62642df674863cc905dceb0e91d62cc3e64f1d0d4ed99f0ca9c010108b7df58a12a34b6291eab34f565d9d4ec69c2751 SHA512 17463a7d9e3a2e017654e78dcffba58114ec5cae5e67858f7f3c50bf14a92c1b488f85f4fd5fb61eb53fc74f6a90f0ab152ba9396d0d928050851b4c5ab643d7 DIST genpatches-5.15-62.base.tar.xz 2506840 BLAKE2B 29d99833ceb0835a02f5acdcb9fac48d7e12107303caf9eb218f9ca4914b3a82fdda0e47399cab1c76d3fe4e0f17378aa466453a5409e01f69ef37ab1753b648 SHA512 5e0725ec3a7f07ff8506c8db54fe5842e0e71f5b5e62e70af43a14e7c2002a71e9b59b73ff943fa64feee453750c63b92033340405098f072a547251d2623dc0 DIST genpatches-5.15-62.extras.tar.xz 3932 BLAKE2B e4478eeb5bdf3b6db3e9e9de9c02641477aeca08ed07e0b0ab66419301f273b8a79f4b28fc7a22095fde8521479878bc71d70fc585d934efeefe4a408af3493a SHA512 6c241a54f503205408b8b07c1389636fd4ac0e8785d12aec2a363842f8b172e06b9568a8fa9f7607b6ab2f09b5d7892294f3618d1a7549a9c41a78f0c4e02d2c +DIST genpatches-5.15-63.base.tar.xz 2523256 BLAKE2B 99979433623fad89d9a237f80f126e43f8d3a013cbf0ba77c3b5a4f2d02ee5bddc8d52be4a88f758225fd0ddc6a26946f9b08011b75404830fe44132e5fa5297 SHA512 4c582e0348e8d1d8ff7747c49a09a4fedd9c6b64e7f40c13fedfef0407557aaaf65cd7fb45a41b8175c8b15fe274261960f7af74459e353329fe378bfaef0fe6 +DIST genpatches-5.15-63.extras.tar.xz 3932 BLAKE2B 372a8997239e0c1cb97db2fe02e5c3e2f8f26c29705f8210d1eb30168fa0a77209491111b64e399d4846b185ddd2141171cb13e5da5ae85e620e382262256a6c SHA512 461eb99b6e124a648bdaacb015c7b413e102cb28768bb149a154d1c4fc570ae241a73c5bc64024b385ac8eac831a6bf65e79bd93f168fb93f94b0fae133080f7 DIST genpatches-5.18-12.base.tar.xz 549680 BLAKE2B d6973dfb0d7749fadfc511b1092dedc67b3f8a57e2a117674113f43177bde8608b6106c4c84fbf5f5a161b9710cfad28a3c2fd419fb3c4088d98f9a504ae0cb8 SHA512 c7ad63058bb77c92d3ecf618a41164476a56f2b7b879c667c7fc9666fa1d7f81b599d6ffc5f0fbaa3223e7d399dbb6348ddd511598581083f7b78d505dd81e7c DIST genpatches-5.18-12.extras.tar.xz 3920 BLAKE2B 89642c29bae1b15664749c11e581ebf1d0b42801cbd3e436805faaacc419fa7d946a05e7d37bc8d056e36768d181b2e71dfdd6b28943ea112dad9f17a9c2bde1 SHA512 301cd52af9db5a8ec91891a0258a262261d87cf22cb01c27a531d0274ee23d0e928977abe8f5928d3dcba430d032a3cb418193bd1f3e09a923ca6e8718ec7420 DIST genpatches-5.18-13.base.tar.xz 578484 BLAKE2B 03215db005e5a3668898b1ac4c25aeee5f20d6802d00b11d24d41f506ca9f730f031f5cde187f81406a3c75937d65f854acd3c0e2d2cf9f9cb3ba99454304180 SHA512 bdf29085cf76022aa21faaee63033e3231b9757282633eb5897717128bc340cbf38b12a2918b169b452e85aafc9fadac2645df414f877f43950a3147e00dea68 @@ -52,6 +56,8 @@ DIST genpatches-5.4-212.base.tar.xz 4910124 BLAKE2B b09dfb8e041beb3ba5813e3f93ee DIST genpatches-5.4-212.extras.tar.xz 1812 BLAKE2B 8016640dadf0add8c91a6631fba836b97173243f900abac4c12e5ae19d1c63e19d21f25df2f22b2880d18cfcc83d002fce7014a26d9f4f3a4bd788fc084db403 SHA512 0f5e5f8b6ad6538bf6850c506019fefe4e95a36f7f568b0c5188ad2c0c06fcb904287452e5692bf63480c321b24a6bdb2db9adeecd3a181c7260ca74f34fb5fb DIST genpatches-5.4-213.base.tar.xz 4933392 BLAKE2B ce7ea84b52c60d4ae9cef1ddc3abd3f37de0ad5d7344645b3e4376db29d45b2acfe7b7b89e557c6265b4abbda9827fc68d4ef7c63eb418d3707166d7ed50586e SHA512 6107308eb5f3a0b1b079297fa7815a335620a2a0023250f1c4a92c84dfcf2ab7afea9388906e93fcc21d9ef85f350d638a8d245c29cca5b38968b71ce1a4d06e DIST genpatches-5.4-213.extras.tar.xz 1812 BLAKE2B b6812b7e126a55b2079832ddce8c9ba09aee71b8cfcc137c5d0e553a7878e9fdc6e57e64b3670123cb90661d52b3aa0818fbfb7d3d48bd0521c0a0f46ee420e9 SHA512 1deba84aabde4c35213ab38e0f40fe1aa696470bcd5a6f103635d0078726622574ebdbb5caeed7d1516ef45a326052b2ac9d4f6ef2dfb0e0f84f837f9a350927 +DIST genpatches-5.4-214.base.tar.xz 4943544 BLAKE2B 5b7d27e1b520cdaff98dc9fe6ddfe102a9c09fb8a5fd36a57d5f36ebbd7639ce1a59dbeb55e71ede1129a3890318b740b24bc654716f81840d6d2e6d8a95de20 SHA512 6494bb7d1b9ef0e46fa31a164b3c807338463dcd4d8108e5a0c5d944196f1b3e1df51192f733861514a302af3eefee530b1e173dec9b6ddd3bb0120e47714fbf +DIST genpatches-5.4-214.extras.tar.xz 1812 BLAKE2B f82f9d703ed7fafa1abae01e9ab15db88b318ef84254360d105490bc727244795064fc6b21fbf771626da9adb62aba44a170165518fae58d8adfde7319e1971c SHA512 a3d8f94e4d9b7e5c29be7c1b336273f89ed38bbd4c21e6b34a51421ef71581a6e8ecc15751fe0bd7dbc1c98a754d1491304383f21925c0018b6e57891f76f303 DIST gentoo-kernel-5.10.128-1.amd64.xpak 65795239 BLAKE2B ccd03c20e469543532c3df43176ab3c1dd84919930586f3e90f2fcddd6fa6b8b19531ac9b94c7f67f55acaf052ae0b11814d93c4eeec7aedb2a13765165d6fa7 SHA512 cb38dacbbe923640bd0ac679a2430d890cf3609c066196c801b562ec55e59491c1549ddab48f00d2c1e4304310fd7d45108eeccea7bf3c2667712ca8545354d5 DIST gentoo-kernel-5.10.128-1.arm64.xpak 60993645 BLAKE2B ab40edf44057745e141504d4043d1702fbdf51d0278dfc3803800632e80e7278c347cdd3d325608e0e948b2de3e4ac0bafa824800ce486f360163e29bc0a3d4c SHA512 da31c3a1c5095f28c4824588aad43d6ccf219b1c249ce0665566f732e8920f052fe916609bfa4dd5cdf1271c601c0ab67f299068da38ca695a4b14757a6d401f DIST gentoo-kernel-5.10.128-1.ppc64le.xpak 56022338 BLAKE2B ac21918bdfdbd968899393e0a323808d0dd7705a7cac07057f76737c794160ea274f78acca2abe5244228f97343f08253c365bdefde74f2e7ca7ba6086e747d5 SHA512 05f3e3a6f20d1dff3fc8c1f12634e417261a55de47df189b3b9cc28ed7ce5f1673b19726d68dd00c1af4980c46769d029d83094efd98cd8865970f00b41d69c6 @@ -80,6 +86,10 @@ DIST gentoo-kernel-5.10.134-1.amd64.xpak 67660154 BLAKE2B 1596fb2a8383b66a2783a2 DIST gentoo-kernel-5.10.134-1.arm64.xpak 60988483 BLAKE2B 775c8358720c4eb6c023faada831e8ec67d643b4450a8b17ac15a45007e8668ca3e0d2a5799278017226805f2fcdc9c79b5020d403afca7e8818a240d33105d2 SHA512 739a3afdd56963d50fa604f2f371996b2c7e8b9d08dcd0693d4b652f358c15a78fee844bb0dd182e3df2cae9f5bf71f07952ca13c71b444343e5a804eb8d6c2b DIST gentoo-kernel-5.10.134-1.ppc64le.xpak 56038258 BLAKE2B 4e2fa82a9d8ef9e98fa00e45b144d5017a154bd531338d0be35e532d81fe0943f36dbd9213ddf22325cf1275a82ec7825949945847acc1644b73f35f9b9da7c9 SHA512 280e7e7d4d58bb9ef73bc2e8bf691e2851f62cf2f961d59a6996fc3295c273ebf661b41b9592622b47e48dfe4fc8b4221ffb5b50975dc49eca6e02df8282069a DIST gentoo-kernel-5.10.134-1.x86.xpak 58319985 BLAKE2B 8f080d5dcb6b475f3c2abafd535f516ad3795f06c2a540613008bcd5a5ab4b4c4063c12a6a4e77ef4611a553a99e30e1a45b84e2a28750c534b432a288d3c7f5 SHA512 839b0443212686f61738c675fb8451f896b10a604bb05500e4aecbe55f2b6a1c9817d65c894b206eee29fda026baa6bbfa85cf155b3785166bf1f150ef1494a6 +DIST gentoo-kernel-5.10.135-1.amd64.xpak 67502330 BLAKE2B d138fd2cd1ff26e3256277b8fd2b45037983b0956947d64b112e639cb555ca1c4de055abdbf96c12d00eadc6e32a607ed1bbb45d9b3374a67385d5889b433fcf SHA512 5bfdef5d83ea108f12b21cd480f1b35bed751c56c42347e3f54a4f73bc3dac14be61c2133ce581e3cac685c9a4ff40d5f26c79a0117c4b1858df35c0cbd24816 +DIST gentoo-kernel-5.10.135-1.arm64.xpak 60985844 BLAKE2B a8e22cec67675594160e7f661a3952e59a0c53338164f70b23b9acdc8a304b1414e188fd51bb96de1972422654c966a78add201f38d3f2f3de3f2745d934ea97 SHA512 c5189162285035a036e23e5075554dd5aab1e8db9df6425f3409455cae61dd5a43a97fc3a47f287699399242ec4f841bb35b5e5f441d491f7de72e7448082326 +DIST gentoo-kernel-5.10.135-1.ppc64le.xpak 55988769 BLAKE2B f77eede27c91ce30fa556abc8a2e7af42aa984d8e5b973d0e9f3fde77c05790ce891d44d76d6e8c7fdbff608e3be80871b3afdda3b30c36abb3127fe9007c28a SHA512 05a09e9630c427b23905cff1074d4007ee0aa4391752419dba4e0f3dadc6fe913b394dcb76424e303943df54fe14a7ac8fd10d9755cf77dee64f2672c87b3322 +DIST gentoo-kernel-5.10.135-1.x86.xpak 58295706 BLAKE2B d175103a6756af83a12ed720750178075414a9c4ee899709018b3f65863cf99034f29e9d1cbb967078b207f72e45f961cfd34f35e6d4beb508fa984239975cbb SHA512 998a4a6419f05e7309070449a4182cd8652634c8d44a4e38e266c0d848f8afd4ebe115b4c2ee443882a7dadc3aaa4505199a7091fba64815c4cc55101f5f7c62 DIST gentoo-kernel-5.15.52-1.amd64.xpak 69378739 BLAKE2B 410ce229e5392547374c5554ae09447869e7101aa4b71d95fe2fee95e4637e529c43c784d35d6e1297d1d8b0a6747f14e977480f907154b1d23ee3f571e4a9d5 SHA512 cf8c27e0ba2d7feeeb20c90f3247ea6334775bff8560c385924b7949d8f34da33d53b35d75b5978515882caea0151a30bbc43c6130320221332103ddddf4e4e7 DIST gentoo-kernel-5.15.52-1.arm64.xpak 64180081 BLAKE2B f0c4f0991e106bd70b81962b3ef2b2e4fb2bce26f80f5cfe3563c2277bb87236e7d4a2eb7685f0cfe4f7400f0e541cc8b86b7d722d5d72e8ee9afad031b36a9c SHA512 a2bc5409f92f7665350f44307c310b03beb0a2928e390d01408708b12802a9833ad7a732874d71114cb50640b31c633ba8a0de030e6ebe205f2f0bd707ad4c90 DIST gentoo-kernel-5.15.52-1.ppc64le.xpak 58183126 BLAKE2B 8fbc979f03617ee0146fd891662d244f109976c2fa142364e6ee48095072c442be2c4f46e859209fe688c6def9f7829884c1ba0db654befc4bc4f78c06771f9d SHA512 7038984aa9d4f556cdf322476b29b61ce497017291789eaf99d8b2f03d95d9c3e0899608dcc93053524f2a9415297ea89c4c6738b6add722eba8e25c375e3893 @@ -108,6 +118,10 @@ DIST gentoo-kernel-5.15.58-1.amd64.xpak 70871436 BLAKE2B b79a481d3cbe5c45510792a DIST gentoo-kernel-5.15.58-1.arm64.xpak 64207429 BLAKE2B c2b13856bddf48270f8c24eb817ce989d91fb9886388ffa4b61474413ac4591bf924035b1b2d376325d3955a16ec4d7d6fd3b77ae395af117e90a8928fec0129 SHA512 e50371cce4e199b4dbe22da1d1bff9b93f54dfd4daa8aa1348ca2c648a8729ed7522a4e473f2d1d8c36cb98fb1827cadc7cac0275857c81e410db0d8eb14b070 DIST gentoo-kernel-5.15.58-1.ppc64le.xpak 58156088 BLAKE2B 7c130e85990529440845990c8487b3df6fc7f23074a00ba16940f0c8eff84b63c4e429fb20c8b22fe6605dc04a31455ff6712164a6b9f6436fbc98cf84518823 SHA512 7543f10e2b8f5a6abd0a351cffbb073af766047716b14731844e624041ca66944e26b4dda00abfa4b03fd4e76351863727f70663cc912d50d4372c81a5f3cfe2 DIST gentoo-kernel-5.15.58-1.x86.xpak 61067136 BLAKE2B ad13d29c9f4bb52948e657fe847d6f7364d85304fcd2dc13afaae0920b73abba1adfa8d687f4e356832c8a1a1b3eb68b111516a32a2302b53c8672e2d4f0fff0 SHA512 1de82c0e483b42cc5bcb11ead64e5dd5f6b1488d188103f2750f2ca34e22366ef6b22949040c3b03515c6fb93cd67024e39f7bc6b13f4037d37a836148bd3d13 +DIST gentoo-kernel-5.15.59-1.amd64.xpak 70780970 BLAKE2B 6728820f88324d719530871e41d40e80fe9f7324c6d51695687e83f9ace6f40e373f2d1e4cbbeaee671141a9036c3a27ae00d165033c21cc72d4e9154a402db5 SHA512 f6c12a43c6a192fa2b298903db53d6ae73441a659971aad990235bdb1847df79cf0cd1ca4f8ec4cf30a421b847be274c8c35dee43479dcaf4f95609473fdc108 +DIST gentoo-kernel-5.15.59-1.arm64.xpak 64214058 BLAKE2B 8c92101954e62c9ba3eddfd04726dbd03d254d6f506f5072dd1c7d725d29c498d480a1697513a3459127ab133aafc1657d1c9872beb7d5925adbb7bb5fc16ee5 SHA512 0d21c083fd3f971d2fbeae1d012dc03d4bd17bb37ab59e5bab6e87f171554e5ff19703b234c0fdfa9a9e3e98a295fe8037d49ed252a141603debd0d33149bd09 +DIST gentoo-kernel-5.15.59-1.ppc64le.xpak 58200347 BLAKE2B ee5d04f4455c9ed7449e06078f96a5372379bb11ab34b2aa3f39bb3d6941959a4ebcb99ecc3f47532944588c92c4c59078ab1a0f2a2d32b459ec6c8082546850 SHA512 63e9a38db9414b8851d274942df40ea5f35cd0200743aae906288a436cd0121e71e1a7541224a0707e261b51a1d474d5921838a134bc4597b009c7b8bf9885f3 +DIST gentoo-kernel-5.15.59-1.x86.xpak 60984002 BLAKE2B 8a47890b6ceb979684b68bb99e54efb0d4246ab595d4e46441cd4f0e82a580580f17d1911d4ce08ed79c7d8c81c74c3780f5b1e4dd1881ab28bc74958f30f71f SHA512 35efcfba200c6bda7183055a7cfff277472862f44a4abf3c3bc8c0e701135ec9c9f4f9ed65f4c685f744b963ffab9bf79d1c82bedf4807eaa05737d949063feb DIST gentoo-kernel-5.18.10-1.amd64.xpak 71603500 BLAKE2B 8a0d80fb825ae370cd28f587cd31b4bfb8bf4a679848abfb5c201738c75f0030deacbe77acb1ab367260bba8dd0aa69c5be691857e48e1424b98493ecb5ecd81 SHA512 10460c0153afaa9dfcc5df28e39e6a3b224cd0b614df977c5f84bcaf147178dddff5b4b7524b5a15b36aac873f7b0ed356dfd0771920cba1da7f0fee48144750 DIST gentoo-kernel-5.18.10-1.arm64.xpak 65243483 BLAKE2B ff8b7846d93f4c57c54666e866f27f8a5fc11f21d546f8c028124e3f2508ee4351f4a3cd75cff254e0cb49b0888ef9ffe6e3affc9f7146b3cc565cbb08edf59b SHA512 aec1358fff66b30c484be9b914f3ce2bf3ef88f41de71d717a5279a4df09aced85275255d9af112e54d4d71b827fc7cfb7b6a4383fc3c2024a72471ffff1a4be DIST gentoo-kernel-5.18.10-1.ppc64le.xpak 59437353 BLAKE2B 2ea2d838fbfa1e72d9bf056c627ae983ef75ca1c04a3656282a4e6d701fc0ec65d46181fd4cb513e8ca692ed92bd01e3fbad4a3d7e3e2a3dbf9b441596289882 SHA512 999791b651b107f50b0a7262738b61c39f540b17e83edecc3616e6f8f73454ec8a10fdffe14358aa791cb0c98fd5365e50118edf9db8b31290d81f338bca9f80 @@ -160,6 +174,10 @@ DIST gentoo-kernel-5.4.208-1.amd64.xpak 61740219 BLAKE2B dd7a28cbb98f3ad74b15abf DIST gentoo-kernel-5.4.208-1.arm64.xpak 57941209 BLAKE2B c83d98ce2ad183b9346af2263fa357bba4bb5abf8096030624ea94316b9899ac290b4e220f0bd6ec10aaf63a589503c730fef1a0ce0e701f0c59e600cfe04adf SHA512 5880a45f0da6376ac2f02595dd21ffc932febf641d5f66d14adf64d9bf76ff1d510f107a86a80d81bc85806538eaa607afa2d8df42719924afc93d7adce9f6c3 DIST gentoo-kernel-5.4.208-1.ppc64le.xpak 55204548 BLAKE2B 770b0e1728e0379a1e1281e6757528a8ba83a8161706d90b49052c59757e2c0162793d21cc42ac2b1dc639fa16b16d5a4b21895af9ed2862752ad761098098d9 SHA512 b19fdcf7a00047c911242349f04a345d29a78f11fec914f86ae3f7765643529a314f3e1e1b3cfbc4648fbed338f07e5e4999c98bde866878256aa2f6ebe843af DIST gentoo-kernel-5.4.208-1.x86.xpak 53382429 BLAKE2B aa1bcf2df9ba30f734e263d443e1de72c7e32bbf8f417f699273d55a05ca77359d01fdb9fa3b1cfb0e2946252591d75e05942e5898246d0953e784412a33292f SHA512 d9907f0fa39b12134515b303df9114dc01f275371abb5c5aa77079ac583a0160e7d1431b46767604ac68bbf8f3fed0b9bc0cc8231264996d20357e287f1cd4b6 +DIST gentoo-kernel-5.4.209-1.amd64.xpak 61550465 BLAKE2B 4bbb9fc28663096cabf91f9973049aee5ecc9e7fa80fdd821d06bf2279d1a690e375932bb18c5a86628de71c7e117f043b926ef3434a2330c46cb7007f05cf9f SHA512 abc9a88b8b99f50cb882a96f293c892dabad914903b74c859195e703b5d12ae72e87166d1bebccfd339aa6a1665ed6ff0baab84b856928ebb7dd53348da754c5 +DIST gentoo-kernel-5.4.209-1.arm64.xpak 57941118 BLAKE2B a0696286b4b7cf9e12408351ba008ef13f1a82e15cbd0c60a2f79e49068ab1b7c8bb9f8628e52539513e7a77972e284878a12fdc82c2b6893e39d5185e5b1980 SHA512 fe7e71321b5cb48daa388c4fa003ab302818dfda5d240a88d2d77fd77cb01ce0c6077a0c1d7cbf765758483ffce20751616dafa2b402c095741cffb86436dd41 +DIST gentoo-kernel-5.4.209-1.ppc64le.xpak 55272363 BLAKE2B bd869e67557e3326a78f019b6df449e6fa2f91d5312931ec8533061e7132f96d27200ef1e6217de5cdddeb327227a8f2ef4d7ecb92a88b495b1861eacf6ef8ea SHA512 5639a97831d86aa82dc0bfddb7fb01ee56881ead03e6509d3f6984a49183982322b3054b3ab7cee30d3222f795edbb8e79041c13c30a95bae2f148432b8fab51 +DIST gentoo-kernel-5.4.209-1.x86.xpak 53372138 BLAKE2B 848146fafb6b0405be32e59a2d7325668e4df197bd2e769ec73125ee3c66b65e10c505553dc6f77aaf20160205b4fcf1d45b666edf0eb17e593456ea60614d06 SHA512 6a80303f1ddfa53364ffa389ee9d2852001143afb6b8f3ca682df49b5cb44c3ffdbde80b63333f4eca65a391259cd1a4abfd90958675446bd0d05152727e92fd DIST linux-5.10.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a9362d2adacdadd8d96251f61f7230878ea297a269a7f3b3c56830f0b177e068691e1d7f88501a05653b0a13274d1 SHA512 95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b836666a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83 SHA512 d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a DIST linux-5.18.tar.xz 129790264 BLAKE2B e2745a69eb70169e90505a9318a3993046eab3020496eecde7d8352ecda0eb71a25b21becf7ce93fc593507dce7d1cd61b94ddcdf82b3094d79c0d3d48508eeb SHA512 dbbc9d1395898a498fa4947fceda1781344fa5d360240f753810daa4fa88e519833e2186c4e582a8f1836e6413e9e85f6563c7770523b704e8702d67622f98b5 @@ -171,6 +189,7 @@ EBUILD gentoo-kernel-bin-5.10.131.ebuild 3181 BLAKE2B df517998c1165deede98f869bf EBUILD gentoo-kernel-bin-5.10.132.ebuild 3181 BLAKE2B df517998c1165deede98f869bfd2851a1b797a6a5f8b70cb3c02401f703c77abfd379ed0f3f846ddec463eb0ca3bb21186b44cb9b722720b8f6c463bb0df0626 SHA512 7eba790dea41d43118ff3991b8fa2e65cc3f4c2b7075df992a1cfbcf312ba5cbdbc1fffd631851ca3698bbba565a211026c8c28e87e0fc5191f60e55fdc8ffc0 EBUILD gentoo-kernel-bin-5.10.133.ebuild 3179 BLAKE2B 03f4c965c15962717a13f58647d537076a1df4703a967f475ac2500a5adb6c61d73005c22f29a0841b306a5518016827b4ca267f117f9e042de2f746d3d72972 SHA512 2435df8fc7065563494ec87157917391a5854ecb44e78b8cfcce586c90fd67460da61ff14b187c53767f885a465b56a40e36ec691603d890432179aaa6991987 EBUILD gentoo-kernel-bin-5.10.134.ebuild 3169 BLAKE2B 320ea5fd9e17ff3a5cfffc305bcba4e2b1451a9a3353adb661633d16f0aa05b7129fc1f5c5b6af6b9308fe4c691c16fe8ad7de289ae761967ba6d2ad3cef82b1 SHA512 adcbfb93f82be3c8ade24d9f681eba253353d1b7ff8351c19a3539457602d831882241b8b8a9adc22a2b621a1acd2e38907310f48bc832a3f74af150a0bdd815 +EBUILD gentoo-kernel-bin-5.10.135.ebuild 3179 BLAKE2B 03f4c965c15962717a13f58647d537076a1df4703a967f475ac2500a5adb6c61d73005c22f29a0841b306a5518016827b4ca267f117f9e042de2f746d3d72972 SHA512 2435df8fc7065563494ec87157917391a5854ecb44e78b8cfcce586c90fd67460da61ff14b187c53767f885a465b56a40e36ec691603d890432179aaa6991987 EBUILD gentoo-kernel-bin-5.15.52.ebuild 3177 BLAKE2B 201c1a0c3a7495f64a85ffe689bb561b5c1005b1b90fb3cb89081f578e669c54c89c0175f14cb8be1b079b16936c8f47a8f080d7c48f558327235d2a053b2483 SHA512 0b94554822df70fbf22eb2cd314d77d989f063ea7954f350fab0af068cbe0f1954bc254616c6be2ed8bbfc1e2bbc72a1b995871f069cd4d6e5b5fa1c4edb306a EBUILD gentoo-kernel-bin-5.15.53.ebuild 3181 BLAKE2B acde6c67fffa096bf28ca6fc3efb99c05ccfa657c2cb13abd96e7f9a05bfa3271d839ea791e98a2906714418fd7897ea54408bfe28edad8d64e686a3873fcd38 SHA512 9557e38f9fa538002dc4331f05e5892a05c948be73e40095bbadb8bd548aefdc0a39c0bdf179c96b0e86c6768171a3676dc763f610ed9b6b1eb8f74b0fc0b8ca EBUILD gentoo-kernel-bin-5.15.54.ebuild 3181 BLAKE2B acde6c67fffa096bf28ca6fc3efb99c05ccfa657c2cb13abd96e7f9a05bfa3271d839ea791e98a2906714418fd7897ea54408bfe28edad8d64e686a3873fcd38 SHA512 9557e38f9fa538002dc4331f05e5892a05c948be73e40095bbadb8bd548aefdc0a39c0bdf179c96b0e86c6768171a3676dc763f610ed9b6b1eb8f74b0fc0b8ca @@ -178,6 +197,7 @@ EBUILD gentoo-kernel-bin-5.15.55.ebuild 3181 BLAKE2B acde6c67fffa096bf28ca6fc3ef EBUILD gentoo-kernel-bin-5.15.56.ebuild 3181 BLAKE2B acde6c67fffa096bf28ca6fc3efb99c05ccfa657c2cb13abd96e7f9a05bfa3271d839ea791e98a2906714418fd7897ea54408bfe28edad8d64e686a3873fcd38 SHA512 9557e38f9fa538002dc4331f05e5892a05c948be73e40095bbadb8bd548aefdc0a39c0bdf179c96b0e86c6768171a3676dc763f610ed9b6b1eb8f74b0fc0b8ca EBUILD gentoo-kernel-bin-5.15.57.ebuild 3179 BLAKE2B 01eb5f420ac3cd98a4dcce1bff2e2fa20e7459c686aef304fc2750242c2db114817e2b981d7ebf426437c953df1e67f1a64af2affa693a5b8c55d81747688d9c SHA512 7e8559b147d4f3215a738b5ab501c5df18da96cef237b4996e554aa8ad1603fbbfb409f4c4cc21b8e9e769d3ab0d7cd3bbc0649a866da6223aa065b20bf385dd EBUILD gentoo-kernel-bin-5.15.58.ebuild 3169 BLAKE2B beea92a4d71574afbe65e94b0c65f2b66bfb7962cbb44b2867eaa97963281d99606240fe5aaa8393312df5ec5223404dcf631bc13f1404389b050de78f766016 SHA512 3874f69f775a6b88aa04e75b1157ce49e343af9df9a487ccfdeed01fcaf7fc9c9c84f29274470c362fa6fde6c2a13ebb2d87a3cb5bb1f4906f006c13dbfd89e5 +EBUILD gentoo-kernel-bin-5.15.59.ebuild 3179 BLAKE2B 01eb5f420ac3cd98a4dcce1bff2e2fa20e7459c686aef304fc2750242c2db114817e2b981d7ebf426437c953df1e67f1a64af2affa693a5b8c55d81747688d9c SHA512 7e8559b147d4f3215a738b5ab501c5df18da96cef237b4996e554aa8ad1603fbbfb409f4c4cc21b8e9e769d3ab0d7cd3bbc0649a866da6223aa065b20bf385dd EBUILD gentoo-kernel-bin-5.18.10.ebuild 3181 BLAKE2B 3d96b3ef0bb3f97f101823690955371ffb3f27246651b9faee643ea972b930e53706bf164d4560d3f5e485e060a40c2bdad46f59c0192076c5737f7851c93ec6 SHA512 2e245d442bb5baf2c731bb328aa1c089d4d4480066b38b198b8ac15dd11f73fc99ad85e9745f4fafcbf3d1c304e76f6209bb931c57fdb02c15a54cb7cc53624e EBUILD gentoo-kernel-bin-5.18.11.ebuild 3181 BLAKE2B 3d96b3ef0bb3f97f101823690955371ffb3f27246651b9faee643ea972b930e53706bf164d4560d3f5e485e060a40c2bdad46f59c0192076c5737f7851c93ec6 SHA512 2e245d442bb5baf2c731bb328aa1c089d4d4480066b38b198b8ac15dd11f73fc99ad85e9745f4fafcbf3d1c304e76f6209bb931c57fdb02c15a54cb7cc53624e EBUILD gentoo-kernel-bin-5.18.12.ebuild 3179 BLAKE2B d787a408e8c9582f64476f84236a8e8147e2b839207662431c61018a708630ae1515d7811b1136b98c5d1fcee1b395089087c9067af8d94ee7287b87b825eb12 SHA512 d00b78275c6cefe31d3c95520f456fc6fde1c8a43e7e3bffa1b52148727db514838103b00c357a340a1a194218f48cb793b33d5f920a99300fa82705c2c0706d @@ -191,4 +211,5 @@ EBUILD gentoo-kernel-bin-5.4.205.ebuild 3181 BLAKE2B 852c1e5dced74978b88730b17ec EBUILD gentoo-kernel-bin-5.4.206.ebuild 3181 BLAKE2B 852c1e5dced74978b88730b17ec3a1bf8461ef9ab922b07b1b2e40dd1aa6cb32b9452e0fd96e63369bec9e235c3a99a7d0f2215e0e3ac331aaa161232cbd613b SHA512 e0b994133da4ad035094bde587951a4a41f161fe067b58076a759fba38fdd724ad127e25a912260b26db9fbf2bec3cef5488d87735400fae46d89cc68650a867 EBUILD gentoo-kernel-bin-5.4.207.ebuild 3181 BLAKE2B 852c1e5dced74978b88730b17ec3a1bf8461ef9ab922b07b1b2e40dd1aa6cb32b9452e0fd96e63369bec9e235c3a99a7d0f2215e0e3ac331aaa161232cbd613b SHA512 e0b994133da4ad035094bde587951a4a41f161fe067b58076a759fba38fdd724ad127e25a912260b26db9fbf2bec3cef5488d87735400fae46d89cc68650a867 EBUILD gentoo-kernel-bin-5.4.208.ebuild 3169 BLAKE2B 62b9b87d799c751575563e8cf071b67fabcbd29e0d34267aad944a4dcdb6119e4dfc9f47b9e7949362488fd49f97c42609b8084f13b23a90fc4c3c7f9e5e08e3 SHA512 bd8fff79834dfe080a873a0e24ccc6fec8245977f33057851fef4b5c6603c1d6a22bb3faf49a844aad475487c55fffc70d9c62588f0ada46f3f1e5e949250962 +EBUILD gentoo-kernel-bin-5.4.209.ebuild 3179 BLAKE2B 591bfe082bdfa4067d3bb6d34a47a2736ad5456f1abeffb90fe7358a55a57f87b5270b0da19502a0b88c4b29e075228df151f3668ba2a7546396ec68fda8cfba SHA512 d57f86923d7d3237ec6807b28c6f989b7d45250641d1308625a791dd312eb9a697b081f46acb20422758e4620f02a13c1af013e9ad6739c9aebbea3f8422168e MISC metadata.xml 353 BLAKE2B cd022bd01b289ae703ae6ef6c2539fcfce833206c55e328ba02fc42b360d60f76b1920927b259dbb199724e6d3e7b0f68ba2044680d962d3cd03a973475582ff SHA512 10b10fd24801843108a71ca7d0c27514965b0a15a60da4d9b521fc41493448a1b1685ae3278dbd46cede0d069e51dede402d2c1448c8ae6a7fcfce8acf415bf3 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.135.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.135.ebuild new file mode 100644 index 000000000000..210ecb4f4f8a --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.135.ebuild @@ -0,0 +1,135 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-install toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 9 )) +BINPKG=${P/-bin/}-1 + +DESCRIPTION="Pre-built Linux kernel 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/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~alicef/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + amd64? ( + https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.amd64.xpak + ) + arm64? ( + https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.arm64.xpak + ) + ppc64? ( + https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.ppc64le.xpak + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.x86.xpak + ) +" +S=${WORKDIR} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + !sys-kernel/gentoo-kernel:${SLOT} +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" +BDEPEND=" + sys-devel/bc + sys-devel/flex + virtual/libelf + virtual/yacc +" + +QA_PREBUILT='*' + +KV_LOCALVERSION='-gentoo-dist' +KPV=${PV}${KV_LOCALVERSION} + +src_unpack() { + default + # ARCH=ppc64, but tarball is ppc64le. Update if we ever introduce ppc64be binpkg. + ebegin "Unpacking ${BINPKG}.${ARCH/%ppc64/ppc64le}.xpak" + tar -x < <(xz -c -d --single-stream "${DISTDIR}/${BINPKG}.${ARCH/%ppc64/ppc64le}.xpak") + eend ${?} || die "Unpacking ${BINPKG} failed" +} + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + cd "${MY_P}" || die + default +} + +src_configure() { + # force ld.bfd if we can find it easily + local LD="$(tc-getLD)" + if type -P "${LD}.bfd" &>/dev/null; then + LD+=.bfd + fi + + tc-export_build_env + local makeargs=( + V=1 + + HOSTCC="$(tc-getBUILD_CC)" + HOSTCXX="$(tc-getBUILD_CXX)" + HOSTCFLAGS="${BUILD_CFLAGS}" + HOSTLDFLAGS="${BUILD_LDFLAGS}" + + CROSS_COMPILE=${CHOST}- + AS="$(tc-getAS)" + CC="$(tc-getCC)" + LD="${LD}" + AR="$(tc-getAR)" + NM="$(tc-getNM)" + STRIP=":" + OBJCOPY="$(tc-getOBJCOPY)" + OBJDUMP="$(tc-getOBJDUMP)" + + # we need to pass it to override colliding Gentoo envvar + ARCH="$(tc-arch-kernel)" + + O="${WORKDIR}"/modprep + ) + + mkdir modprep || die + cp "usr/src/linux-${KPV}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + kernel-install_test "${KPV}" \ + "${WORKDIR}/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \ + "lib/modules/${KPV}" +} + +src_install() { + mv lib usr "${ED}"/ || die + + # FIXME: requires proper mount-boot + if [[ -d boot/dtbs ]]; then + mv boot "${ED}"/ || die + fi + + # strip out-of-source build stuffs from modprep + # and then copy built files + find modprep -type f '(' \ + -name Makefile -o \ + -name '*.[ao]' -o \ + '(' -name '.*' -a -not -name '.config' ')' \ + ')' -delete || die + rm modprep/source || die + cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die +} diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.59.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.59.ebuild new file mode 100644 index 000000000000..ef41f9ee8cc4 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.59.ebuild @@ -0,0 +1,135 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-install toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 4 )) +BINPKG=${P/-bin/}-1 + +DESCRIPTION="Pre-built Linux kernel 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/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~alicef/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + amd64? ( + https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.amd64.xpak + ) + arm64? ( + https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.arm64.xpak + ) + ppc64? ( + https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.ppc64le.xpak + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.x86.xpak + ) +" +S=${WORKDIR} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + !sys-kernel/gentoo-kernel:${SLOT} +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" +BDEPEND=" + sys-devel/bc + sys-devel/flex + virtual/libelf + virtual/yacc +" + +QA_PREBUILT='*' + +KV_LOCALVERSION='-gentoo-dist' +KPV=${PV}${KV_LOCALVERSION} + +src_unpack() { + default + # ARCH=ppc64, but tarball is ppc64le. Update if we ever introduce ppc64be binpkg. + ebegin "Unpacking ${BINPKG}.${ARCH/%ppc64/ppc64le}.xpak" + tar -x < <(xz -c -d --single-stream "${DISTDIR}/${BINPKG}.${ARCH/%ppc64/ppc64le}.xpak") + eend ${?} || die "Unpacking ${BINPKG} failed" +} + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + cd "${MY_P}" || die + default +} + +src_configure() { + # force ld.bfd if we can find it easily + local LD="$(tc-getLD)" + if type -P "${LD}.bfd" &>/dev/null; then + LD+=.bfd + fi + + tc-export_build_env + local makeargs=( + V=1 + + HOSTCC="$(tc-getBUILD_CC)" + HOSTCXX="$(tc-getBUILD_CXX)" + HOSTCFLAGS="${BUILD_CFLAGS}" + HOSTLDFLAGS="${BUILD_LDFLAGS}" + + CROSS_COMPILE=${CHOST}- + AS="$(tc-getAS)" + CC="$(tc-getCC)" + LD="${LD}" + AR="$(tc-getAR)" + NM="$(tc-getNM)" + STRIP=":" + OBJCOPY="$(tc-getOBJCOPY)" + OBJDUMP="$(tc-getOBJDUMP)" + + # we need to pass it to override colliding Gentoo envvar + ARCH="$(tc-arch-kernel)" + + O="${WORKDIR}"/modprep + ) + + mkdir modprep || die + cp "usr/src/linux-${KPV}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + kernel-install_test "${KPV}" \ + "${WORKDIR}/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \ + "lib/modules/${KPV}" +} + +src_install() { + mv lib usr "${ED}"/ || die + + # FIXME: requires proper mount-boot + if [[ -d boot/dtbs ]]; then + mv boot "${ED}"/ || die + fi + + # strip out-of-source build stuffs from modprep + # and then copy built files + find modprep -type f '(' \ + -name Makefile -o \ + -name '*.[ao]' -o \ + '(' -name '.*' -a -not -name '.config' ')' \ + ')' -delete || die + rm modprep/source || die + cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die +} diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.209.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.209.ebuild new file mode 100644 index 000000000000..0b7942d6ee44 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.209.ebuild @@ -0,0 +1,135 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-install toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 5 )) +BINPKG=${P/-bin/}-1 + +DESCRIPTION="Pre-built Linux kernel 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/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~alicef/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + amd64? ( + https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.amd64.xpak + ) + arm64? ( + https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.arm64.xpak + ) + ppc64? ( + https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.ppc64le.xpak + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.xpak + -> ${BINPKG}.x86.xpak + ) +" +S=${WORKDIR} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + !sys-kernel/gentoo-kernel:${SLOT} +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" +BDEPEND=" + sys-devel/bc + sys-devel/flex + virtual/libelf + virtual/yacc +" + +QA_PREBUILT='*' + +KV_LOCALVERSION='-gentoo-dist' +KPV=${PV}${KV_LOCALVERSION} + +src_unpack() { + default + # ARCH=ppc64, but tarball is ppc64le. Update if we ever introduce ppc64be binpkg. + ebegin "Unpacking ${BINPKG}.${ARCH/%ppc64/ppc64le}.xpak" + tar -x < <(xz -c -d --single-stream "${DISTDIR}/${BINPKG}.${ARCH/%ppc64/ppc64le}.xpak") + eend ${?} || die "Unpacking ${BINPKG} failed" +} + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + cd "${MY_P}" || die + default +} + +src_configure() { + # force ld.bfd if we can find it easily + local LD="$(tc-getLD)" + if type -P "${LD}.bfd" &>/dev/null; then + LD+=.bfd + fi + + tc-export_build_env + local makeargs=( + V=1 + + HOSTCC="$(tc-getBUILD_CC)" + HOSTCXX="$(tc-getBUILD_CXX)" + HOSTCFLAGS="${BUILD_CFLAGS}" + HOSTLDFLAGS="${BUILD_LDFLAGS}" + + CROSS_COMPILE=${CHOST}- + AS="$(tc-getAS)" + CC="$(tc-getCC)" + LD="${LD}" + AR="$(tc-getAR)" + NM="$(tc-getNM)" + STRIP=":" + OBJCOPY="$(tc-getOBJCOPY)" + OBJDUMP="$(tc-getOBJDUMP)" + + # we need to pass it to override colliding Gentoo envvar + ARCH="$(tc-arch-kernel)" + + O="${WORKDIR}"/modprep + ) + + mkdir modprep || die + cp "usr/src/linux-${KPV}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + kernel-install_test "${KPV}" \ + "${WORKDIR}/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \ + "lib/modules/${KPV}" +} + +src_install() { + mv lib usr "${ED}"/ || die + + # FIXME: requires proper mount-boot + if [[ -d boot/dtbs ]]; then + mv boot "${ED}"/ || die + fi + + # strip out-of-source build stuffs from modprep + # and then copy built files + find modprep -type f '(' \ + -name Makefile -o \ + -name '*.[ao]' -o \ + '(' -name '.*' -a -not -name '.config' ')' \ + ')' -delete || die + rm modprep/source || die + cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die +} diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest index ef22892034c0..d5b5e9a8f573 100644 --- a/sys-kernel/gentoo-kernel/Manifest +++ b/sys-kernel/gentoo-kernel/Manifest @@ -12,6 +12,8 @@ DIST genpatches-5.10-142.base.tar.xz 3863448 BLAKE2B de45611ba9c92f59829a61b84ad DIST genpatches-5.10-142.extras.tar.xz 3868 BLAKE2B fdff4c1e3ac6b09322168d92469bc5220dded731e05250100df2b5a94d90b2c5bd7612e6c32574ae1c67cd59e6f73d348b3f56bb9027ed1ba11427975796f1e4 SHA512 227bba85de2bf1eba0b0c3d4f314ca0f2f5c3c475ba78e5a82fbb3a682fd37bcef80ef1a91f1ee3747bd2a8c639d2f791110ac72c5406243dd2f54c87d846dd4 DIST genpatches-5.10-143.base.tar.xz 3888492 BLAKE2B 981a8e21ffff29acfb070164fef85e6beaf41e36a6e9b139a7bbc2027750321286d7e1a6cc51604841352bd65fcc363a80edbb6455c9d8ae83be560603350f95 SHA512 6556642c9d99f0e8160c4e50f99dff42982346ba132abe77bdb83c1fcaf9435fd2573fa56380ce140efff7773ee5ef1cf9475360e6d5703caf4c38b14c135ec0 DIST genpatches-5.10-143.extras.tar.xz 3868 BLAKE2B 8bcfec127807585e1145930a119e5f8b6f4f481370c4243dfa0b3f5aac36f5b19ce566b458718128224ae63ed3ac8d232a60a917e80890a13a9b48325bd7253f SHA512 ad4f8a858caf876456536ddb7f6998f7d11c81047efa23cf3289fa93b6b9067fbdaa9329cf7b3e3089c0c07b9adabeca49ffa7a1a7eea7d9f5c0a306996d1fb1 +DIST genpatches-5.10-144.base.tar.xz 3907764 BLAKE2B 41b8ce08ca73879811e11d91f9365ddfbbc15617a4b825ba00144e71feb86e0ef24b3418b77b203a13ad6299237085a2a1c796beb6ac9aa98a5990a39fd1dd02 SHA512 1b946439d9cf6d97df1acadd7b36ef657fac40ff98b31e2237f3cc412e9efd6d4d1d409339af9d48779dbd9d88aac124f67e07afcf99e7760f93afb6d226131c +DIST genpatches-5.10-144.extras.tar.xz 3868 BLAKE2B 0d956a61fb525b8ce3b14c215a0c0a6ffa46f21fcf87a63884d31418946a64de0c680472a62fc9bc0d83f67b49dfe88ed373e3ff2ba2f369a0909e3947b27c16 SHA512 c870f84b1a4ae7b95518d08ab46fc7e632a47884e43a9c774be34335ebf825388136ed360f5129c8c97567600e79ce2889d64d9b60a1a8bd2a5b4052e74e2973 DIST genpatches-5.15-56.base.tar.xz 2245780 BLAKE2B 0f5e5d7c8a29f590598f4721307e3b1a316342cc31b8e5ab5496ed58b65470d19bed59ff40cf7b26bd4970eee04581ee8ac544eebe63c54063c161a55c828cea SHA512 0a1c4edd8f863f2c77a14cf48d79c35868ba8b2f02fb2436e1913e97c8285046ecbedc33e6faddf02a0c813e677492be0fc972e3731c733e488006602eb6119f DIST genpatches-5.15-56.extras.tar.xz 3932 BLAKE2B 2b167a35d9dfe16a18b22318ac4597147fb25bef53a66108c2f2e4d6e6d3df1c9d4b1fd6d63ba4a8078f94f8cd69d14b359123355ba266ef72b44f7d9addca9b SHA512 ce91556981720f3718921993eb15f5af623cad8dc40a36bec6cbb0d52153fd1288bf97927daab1b1e3ccd1451d4295b109ead0160c657a00c62c2d6f25fbc09f DIST genpatches-5.15-57.base.tar.xz 2275504 BLAKE2B 23dad9d2e9dfc1f77f6e39f8d9e68a6e3168d581136d50d53b3503278bb5e4abfc25e2f9fdab63eeed674e370bee8ae7cc5c54058f6942abaa4eeac49258d765 SHA512 b675437c320b28f4b4ee979fff5c32ea607fd795b090206b49d66fdb95fc2ca1b959fffd33b9e5241a160c2f19902efc8218f2c39eaaa312a5b4149282e08b99 @@ -26,6 +28,8 @@ DIST genpatches-5.15-61.base.tar.xz 2438712 BLAKE2B 44a8bff3e2df4203943aab61398c DIST genpatches-5.15-61.extras.tar.xz 3932 BLAKE2B f2579301f9ee4e2dd46dd65472bf208d62642df674863cc905dceb0e91d62cc3e64f1d0d4ed99f0ca9c010108b7df58a12a34b6291eab34f565d9d4ec69c2751 SHA512 17463a7d9e3a2e017654e78dcffba58114ec5cae5e67858f7f3c50bf14a92c1b488f85f4fd5fb61eb53fc74f6a90f0ab152ba9396d0d928050851b4c5ab643d7 DIST genpatches-5.15-62.base.tar.xz 2506840 BLAKE2B 29d99833ceb0835a02f5acdcb9fac48d7e12107303caf9eb218f9ca4914b3a82fdda0e47399cab1c76d3fe4e0f17378aa466453a5409e01f69ef37ab1753b648 SHA512 5e0725ec3a7f07ff8506c8db54fe5842e0e71f5b5e62e70af43a14e7c2002a71e9b59b73ff943fa64feee453750c63b92033340405098f072a547251d2623dc0 DIST genpatches-5.15-62.extras.tar.xz 3932 BLAKE2B e4478eeb5bdf3b6db3e9e9de9c02641477aeca08ed07e0b0ab66419301f273b8a79f4b28fc7a22095fde8521479878bc71d70fc585d934efeefe4a408af3493a SHA512 6c241a54f503205408b8b07c1389636fd4ac0e8785d12aec2a363842f8b172e06b9568a8fa9f7607b6ab2f09b5d7892294f3618d1a7549a9c41a78f0c4e02d2c +DIST genpatches-5.15-63.base.tar.xz 2523256 BLAKE2B 99979433623fad89d9a237f80f126e43f8d3a013cbf0ba77c3b5a4f2d02ee5bddc8d52be4a88f758225fd0ddc6a26946f9b08011b75404830fe44132e5fa5297 SHA512 4c582e0348e8d1d8ff7747c49a09a4fedd9c6b64e7f40c13fedfef0407557aaaf65cd7fb45a41b8175c8b15fe274261960f7af74459e353329fe378bfaef0fe6 +DIST genpatches-5.15-63.extras.tar.xz 3932 BLAKE2B 372a8997239e0c1cb97db2fe02e5c3e2f8f26c29705f8210d1eb30168fa0a77209491111b64e399d4846b185ddd2141171cb13e5da5ae85e620e382262256a6c SHA512 461eb99b6e124a648bdaacb015c7b413e102cb28768bb149a154d1c4fc570ae241a73c5bc64024b385ac8eac831a6bf65e79bd93f168fb93f94b0fae133080f7 DIST genpatches-5.18-12.base.tar.xz 549680 BLAKE2B d6973dfb0d7749fadfc511b1092dedc67b3f8a57e2a117674113f43177bde8608b6106c4c84fbf5f5a161b9710cfad28a3c2fd419fb3c4088d98f9a504ae0cb8 SHA512 c7ad63058bb77c92d3ecf618a41164476a56f2b7b879c667c7fc9666fa1d7f81b599d6ffc5f0fbaa3223e7d399dbb6348ddd511598581083f7b78d505dd81e7c DIST genpatches-5.18-12.extras.tar.xz 3920 BLAKE2B 89642c29bae1b15664749c11e581ebf1d0b42801cbd3e436805faaacc419fa7d946a05e7d37bc8d056e36768d181b2e71dfdd6b28943ea112dad9f17a9c2bde1 SHA512 301cd52af9db5a8ec91891a0258a262261d87cf22cb01c27a531d0274ee23d0e928977abe8f5928d3dcba430d032a3cb418193bd1f3e09a923ca6e8718ec7420 DIST genpatches-5.18-13.base.tar.xz 578484 BLAKE2B 03215db005e5a3668898b1ac4c25aeee5f20d6802d00b11d24d41f506ca9f730f031f5cde187f81406a3c75937d65f854acd3c0e2d2cf9f9cb3ba99454304180 SHA512 bdf29085cf76022aa21faaee63033e3231b9757282633eb5897717128bc340cbf38b12a2918b169b452e85aafc9fadac2645df414f877f43950a3147e00dea68 @@ -52,6 +56,8 @@ DIST genpatches-5.4-212.base.tar.xz 4910124 BLAKE2B b09dfb8e041beb3ba5813e3f93ee DIST genpatches-5.4-212.extras.tar.xz 1812 BLAKE2B 8016640dadf0add8c91a6631fba836b97173243f900abac4c12e5ae19d1c63e19d21f25df2f22b2880d18cfcc83d002fce7014a26d9f4f3a4bd788fc084db403 SHA512 0f5e5f8b6ad6538bf6850c506019fefe4e95a36f7f568b0c5188ad2c0c06fcb904287452e5692bf63480c321b24a6bdb2db9adeecd3a181c7260ca74f34fb5fb DIST genpatches-5.4-213.base.tar.xz 4933392 BLAKE2B ce7ea84b52c60d4ae9cef1ddc3abd3f37de0ad5d7344645b3e4376db29d45b2acfe7b7b89e557c6265b4abbda9827fc68d4ef7c63eb418d3707166d7ed50586e SHA512 6107308eb5f3a0b1b079297fa7815a335620a2a0023250f1c4a92c84dfcf2ab7afea9388906e93fcc21d9ef85f350d638a8d245c29cca5b38968b71ce1a4d06e DIST genpatches-5.4-213.extras.tar.xz 1812 BLAKE2B b6812b7e126a55b2079832ddce8c9ba09aee71b8cfcc137c5d0e553a7878e9fdc6e57e64b3670123cb90661d52b3aa0818fbfb7d3d48bd0521c0a0f46ee420e9 SHA512 1deba84aabde4c35213ab38e0f40fe1aa696470bcd5a6f103635d0078726622574ebdbb5caeed7d1516ef45a326052b2ac9d4f6ef2dfb0e0f84f837f9a350927 +DIST genpatches-5.4-214.base.tar.xz 4943544 BLAKE2B 5b7d27e1b520cdaff98dc9fe6ddfe102a9c09fb8a5fd36a57d5f36ebbd7639ce1a59dbeb55e71ede1129a3890318b740b24bc654716f81840d6d2e6d8a95de20 SHA512 6494bb7d1b9ef0e46fa31a164b3c807338463dcd4d8108e5a0c5d944196f1b3e1df51192f733861514a302af3eefee530b1e173dec9b6ddd3bb0120e47714fbf +DIST genpatches-5.4-214.extras.tar.xz 1812 BLAKE2B f82f9d703ed7fafa1abae01e9ab15db88b318ef84254360d105490bc727244795064fc6b21fbf771626da9adb62aba44a170165518fae58d8adfde7319e1971c SHA512 a3d8f94e4d9b7e5c29be7c1b336273f89ed38bbd4c21e6b34a51421ef71581a6e8ecc15751fe0bd7dbc1c98a754d1491304383f21925c0018b6e57891f76f303 DIST gentoo-kernel-config-g1.tar.gz 4283 BLAKE2B 44dd51ec45ebc71bffcd6d85a2fefba053f7bce8035057f0bbe928e24816ad4ba03c9bf67dcfcd6d6d1833c0a2ea93e0fd486c2093664dc41ccce316e1e60588 SHA512 3a45f28df9d457df0fe0d185da8b10f4e35f49dad75075e041e8cf3cf6972fecc8145cd557b0bf3a8dea20ddffae0194f88e61c1e5098fa0a5ca301d40aeea2e DIST gentoo-kernel-config-g2.tar.gz 4359 BLAKE2B 965392fb5b3c1290c596d3e8593cfcf54e76cedd47de335c1b9658c1b35649af18a94639bf3df84507c797e6d7ea074f7f2a2579d2d01073478b30a4f167b2aa SHA512 d1bdef2e817799fcebbcdae1f3b1666f8ca70b0d5adca74014dd665f6b02c81b839220d8fe3794ea1202e1f2589d281344699864207c98b95d23a1d1f03bd42d DIST kernel-aarch64-fedora.config.5.10.12 223184 BLAKE2B a0246dac2f7a4ad6a55b611538d24382ac87a8960077811a859c9595ac67f961b4bccb7e139a89abc7c0e26e80832da5c94211fc658082f2e7dde984f14dd29d SHA512 7d803b347b136331db1ad6e22e0445fe0224c3e26cd7c034cbe9794915d457b492e05f77664865079874ec001351553652646e2e08d0fee31e30b841b0008f52 @@ -81,6 +87,7 @@ EBUILD gentoo-kernel-5.10.131.ebuild 3602 BLAKE2B 96f51a1768637f8c570d4dee63cef5 EBUILD gentoo-kernel-5.10.132.ebuild 3602 BLAKE2B 96f51a1768637f8c570d4dee63cef59613d752604ad10527d45579296d639d01653228038b834dd9ff3514f01f64aebc828e978460ca4ddd1578c86412edb9c8 SHA512 9f7832e9f3ff018b75a2372e6f1e721949ac09e511c41219b230802894cb23ad0e635eb0f9bd793ede93946f11853835173f7fab9c14f07e423afc550c06835e EBUILD gentoo-kernel-5.10.133.ebuild 3600 BLAKE2B da8fd39e45fcd91eadefb6f9a19db344462e9684d107be169ff5ae14dcefdba65fd9366f54427e603d79ed23985ca64bbc37a7d2d644752c51f7ae0588b0314e SHA512 d49d5d244b403302ff553a84e22b5008267449d6619bede6fdf9e64bc520a14a4b443812a914ba69342e101573254c51bab452103015ba8c44433c00ddbd4be5 EBUILD gentoo-kernel-5.10.134.ebuild 3602 BLAKE2B 96f51a1768637f8c570d4dee63cef59613d752604ad10527d45579296d639d01653228038b834dd9ff3514f01f64aebc828e978460ca4ddd1578c86412edb9c8 SHA512 9f7832e9f3ff018b75a2372e6f1e721949ac09e511c41219b230802894cb23ad0e635eb0f9bd793ede93946f11853835173f7fab9c14f07e423afc550c06835e +EBUILD gentoo-kernel-5.10.135.ebuild 3600 BLAKE2B 25607ab8f3756d3bbfcec6fbae2881023ff3781925532310c0c193e44b3c89fd865e799cdca4fa1c86fb62ab5e5989591029cbd1c86d55207181b2bb76888035 SHA512 18f0da5611ae66b500663903630ff05a87dea4464a4a951c28c7672181831be11c378a4575703c8db84b61b535065228b8e41e4620757c86798d4fe69f06ae36 EBUILD gentoo-kernel-5.15.52.ebuild 3595 BLAKE2B a20863e70f3ad319f36acd163c232939bef6b8336174211c3268cfe86b734c096be052728dbe5760d07674e2d73521a362f7efc248b0ab988e9b663da2fa75e6 SHA512 18bf9037ac3aa860a82e18e63108109a1d80c3c71fb07e39fce8b9782255525c7449412b1c81c89aebcb56ffdb258d8bd1382ce6c80abac720c34a40b00ec861 EBUILD gentoo-kernel-5.15.53.ebuild 3599 BLAKE2B 166a462972d13245f59f4806e490d5d753a7f92e424aaf0c749f1cfe2d5767027ed0259862cbaff715800081b7c289a49703968602e663eae7971342fd1c5a6c SHA512 37b83b8e617ee511971e2ac9e911479b6db1f089a4d99e04f5dc3eb80ca08d7557b29b8b21cc91d91613da18182ffac048691eb33b689890f45828253ecfe010 EBUILD gentoo-kernel-5.15.54.ebuild 3599 BLAKE2B 166a462972d13245f59f4806e490d5d753a7f92e424aaf0c749f1cfe2d5767027ed0259862cbaff715800081b7c289a49703968602e663eae7971342fd1c5a6c SHA512 37b83b8e617ee511971e2ac9e911479b6db1f089a4d99e04f5dc3eb80ca08d7557b29b8b21cc91d91613da18182ffac048691eb33b689890f45828253ecfe010 @@ -88,6 +95,7 @@ EBUILD gentoo-kernel-5.15.55.ebuild 3599 BLAKE2B 166a462972d13245f59f4806e490d5d EBUILD gentoo-kernel-5.15.56.ebuild 3599 BLAKE2B 166a462972d13245f59f4806e490d5d753a7f92e424aaf0c749f1cfe2d5767027ed0259862cbaff715800081b7c289a49703968602e663eae7971342fd1c5a6c SHA512 37b83b8e617ee511971e2ac9e911479b6db1f089a4d99e04f5dc3eb80ca08d7557b29b8b21cc91d91613da18182ffac048691eb33b689890f45828253ecfe010 EBUILD gentoo-kernel-5.15.57.ebuild 3597 BLAKE2B aa37793f8f5d37ae10a7095722e6546df7aa56549233e1b7e04dc1b6dcfd2bf05db9c357c6db3bdf02caa3414ff309ed62d798028ce81949987d9f0f1b70c15d SHA512 a745f61a8c7785de82bd0de381967306e8a58bfd2732438125ed2ac68140bc7300cf7dd0398bcd005f304e4ed809b314705a10c0b4084f78191675bdafa0a6dc EBUILD gentoo-kernel-5.15.58.ebuild 3599 BLAKE2B 166a462972d13245f59f4806e490d5d753a7f92e424aaf0c749f1cfe2d5767027ed0259862cbaff715800081b7c289a49703968602e663eae7971342fd1c5a6c SHA512 37b83b8e617ee511971e2ac9e911479b6db1f089a4d99e04f5dc3eb80ca08d7557b29b8b21cc91d91613da18182ffac048691eb33b689890f45828253ecfe010 +EBUILD gentoo-kernel-5.15.59.ebuild 3597 BLAKE2B 8013d26282fdc27c895f14f35fef7345cb5cb232fe058a69fb4c40e1dd560d725cd32c2329e25f70b1db46b0576b9c142277ed1251af83a1812096ea9e1e69a1 SHA512 cfc0b33e9a85b4845c97e4fdffc0aec245ae9fa671100868c2c5bec1f6520cc6a587345d25b8bf59df6060ae89db7d3c0a552bc4782f8c0d8b4a982523f29347 EBUILD gentoo-kernel-5.18.10.ebuild 3859 BLAKE2B 39a5bf5ba05e8966d0c154ca944547d1d0fcaa320c278de676259385b59da46c41dad6cfb5a4d384e70283668a6bb8c89e297b55117ac479a307f02ddeff351c SHA512 98446575d30ca3131c36c2642cd14ce6a8e0b4053ad94da0e6cec93c82f92add00ef0c34fc18800643347c9ecbc9830ba6103485f43e991cbd4460ad37f9caa9 EBUILD gentoo-kernel-5.18.11.ebuild 3859 BLAKE2B 39a5bf5ba05e8966d0c154ca944547d1d0fcaa320c278de676259385b59da46c41dad6cfb5a4d384e70283668a6bb8c89e297b55117ac479a307f02ddeff351c SHA512 98446575d30ca3131c36c2642cd14ce6a8e0b4053ad94da0e6cec93c82f92add00ef0c34fc18800643347c9ecbc9830ba6103485f43e991cbd4460ad37f9caa9 EBUILD gentoo-kernel-5.18.12.ebuild 3857 BLAKE2B 0dee6d23887d04b56e4f6228ca833ee0cc87bfa66038ec7c36ee6874a066cd53322d92d0e12715d92843eb37e40bb71da53ee068c70af45bb3d0465d5036a71c SHA512 49bd98f3c1c0d1ad11d6156e59ccb757df9ab31c81d871efa8dc0e59a1f14e726729cd773a27b30237aa14eb0b364d5325a4818f0a8dd418eb9849e939da42b9 @@ -101,4 +109,5 @@ EBUILD gentoo-kernel-5.4.205.ebuild 2803 BLAKE2B 8aac73c55ef615de26496e74eb22f0c EBUILD gentoo-kernel-5.4.206.ebuild 2803 BLAKE2B 8aac73c55ef615de26496e74eb22f0c578f333f2d211535c9a0613f9e2b19f181245a1dcf394ffec75bec308855792ee8edf21c77a9d6c42f3249789cb15bfa6 SHA512 465a4c4f2df9f2332ac7eee6f8e5dc140e02e55ff9fac94bf465604f33d51f3b1cfcad1160bc071233e1a6e40fb15c984a26f1b2377fcdf5d7aa3a9b6536816b EBUILD gentoo-kernel-5.4.207.ebuild 2803 BLAKE2B 8aac73c55ef615de26496e74eb22f0c578f333f2d211535c9a0613f9e2b19f181245a1dcf394ffec75bec308855792ee8edf21c77a9d6c42f3249789cb15bfa6 SHA512 465a4c4f2df9f2332ac7eee6f8e5dc140e02e55ff9fac94bf465604f33d51f3b1cfcad1160bc071233e1a6e40fb15c984a26f1b2377fcdf5d7aa3a9b6536816b EBUILD gentoo-kernel-5.4.208.ebuild 2803 BLAKE2B 8aac73c55ef615de26496e74eb22f0c578f333f2d211535c9a0613f9e2b19f181245a1dcf394ffec75bec308855792ee8edf21c77a9d6c42f3249789cb15bfa6 SHA512 465a4c4f2df9f2332ac7eee6f8e5dc140e02e55ff9fac94bf465604f33d51f3b1cfcad1160bc071233e1a6e40fb15c984a26f1b2377fcdf5d7aa3a9b6536816b +EBUILD gentoo-kernel-5.4.209.ebuild 2801 BLAKE2B 202d1a1f4146cbb0ec32807038513359805168375c0088a4e44d4c0cf93a1e6404aeb6392e2df465f283065b20df1d47edee1334b577fac8c46f2b2e4edbf5c2 SHA512 d14e9d0b0a83901ef5fb3b3580a01f8667355bc3b67a0b8b4a5a1df928099bbc60572731aff3f1b61922117c4bd1b6b5cebcb44976fc825c3151e57d64bb1cd8 MISC metadata.xml 465 BLAKE2B ea1260a1638588a48d9dd776e9eabd9730a181af8416ba778c936fa2e80a2360be146d3cc80599e50e0a72ac709eb9538184aac87cb96528e445ed450e34f4af SHA512 c7b7b1a45fb7082b8d8d66cf5a387cc4f7207cd9488d1d5e1d6900f1e4147aa9290b5522a94d941a885f1599b5df2482b529e40912d2b2cff400ecd4b1704c41 diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.135.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.135.ebuild new file mode 100644 index 000000000000..a2775339383d --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.135.ebuild @@ -0,0 +1,131 @@ +# Copyright 2020-2022 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##*.} + 9 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +CONFIG_VER=5.10.12 +CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530 +GENTOO_CONFIG_VER=g1 + +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/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~alicef/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + https://github.com/projg2/gentoo-kernel-config/archive/${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 ~hppa ~ppc ~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 + usr/src/linux-.*/vmlinux +" + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + default + + local biendian=false + + # 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 + biendian=true + ;; + hppa) + return + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + 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 + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.59.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.59.ebuild new file mode 100644 index 000000000000..152f48b9400e --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.59.ebuild @@ -0,0 +1,131 @@ +# Copyright 2020-2022 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##*.} + 4 )) +CONFIG_VER=5.15.19 +CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01 +GENTOO_CONFIG_VER=g1 + +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/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~alicef/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + https://github.com/projg2/gentoo-kernel-config/archive/${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 ~hppa ~ppc ~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 + usr/src/linux-.*/vmlinux + usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg +" + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + default + + local biendian=false + + # 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 + biendian=true + ;; + hppa) + return + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + 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 + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.209.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.209.ebuild new file mode 100644 index 000000000000..e5b1dfba488d --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.209.ebuild @@ -0,0 +1,100 @@ +# Copyright 2020-2022 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##*.} + 5 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +CONFIG_VER=5.4.21 +CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea +GENTOO_CONFIG_VER=g1 + +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/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~alicef/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + https://github.com/projg2/gentoo-kernel-config/archive/${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 ~ppc ~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 + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .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[@]}" +} diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index bd7bc3789117..d03c0aa15b3c 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -29,6 +29,8 @@ DIST linux-5.10.133.tar.sign 993 BLAKE2B fddcc2dc991ee0ee8d5b81015bc62c17f3e1edd DIST linux-5.10.133.tar.xz 120457796 BLAKE2B 811a5a7b1796dcb90baf7dc3f5f39947e409f8f8c6fc6364e3269c6a8735f912dcf8e2b03b62022222b20c42fe6590e7a500c04a20c9df44dc7f6544b18795e7 SHA512 980b290bc619a843aaa1ba6cbbeb6c796cd63ec5cbcb6de820afaa33a28a64b746cda73b921babb5d9110b19dff6fa47f368d3427552443b8c2c929c35ba65f0 DIST linux-5.10.134.tar.sign 993 BLAKE2B eea6723cde53024b73aa785c82dd733b5bdbcabfd6229e1f0f70a5554ca0a183bd6616d11a32de152c026551a56bfe20e963e922baf03458857100d37db7ce9d SHA512 a291efb27ef6714aa970c8e129068f1e32ae0e10fd228a9eb0a4ace04b32f3a097712e2703f0cd43b26d2a0ec9c76d2b9556f8b4ed6e058065baa99fba7ac9dc DIST linux-5.10.134.tar.xz 120457660 BLAKE2B 16d43ce64d24bc26849c72749890159fdb5754913275f9829edb13a753991afc9e738f38f105606d6af62891708aa0134d860592ba33cc5bd1d8038b238de363 SHA512 888c5f1000329deeba66e7452d64344b589313e6494d96bb62c89250ace93d7ea5f9201b0b203b6730f5de34e04bd4b093ab4592ec7837ebaf09b2348be20ef8 +DIST linux-5.10.135.tar.sign 993 BLAKE2B a544cdf24ef0f1dc5ddc5622d8f00dc3af0fc38604d955c7a8b54e0c1fa7f7d60197551710cc2ab0bad69fc06d2077e5b1b796259fe29665d558b5fe656beff1 SHA512 ef565e3ae98acf58fa871e701b8a4ad2a3fd1f5aae109685cf1bd5cf0d2fca3f8361ca5d0d14613311a1bfc5069013249ece0f6eec4b88b2c4157caeca0686d6 +DIST linux-5.10.135.tar.xz 120470192 BLAKE2B 121edb3af02eb4c00195e2c4e1144636bd33fb89143fe5bf46acd924bfd00665ee17837dd2426b9a9b16ad0725f1a944350446cbd00276af30623baea84bda67 SHA512 6b945179f375db6d76e3761ddc5b64a987c27bdf9d52694ede3a158f265710fe5a8f4f4b2752641076e64a62160d501081b560675eb855305703e1fd79629d47 DIST linux-5.15.52.tar.sign 991 BLAKE2B 321a5eb8fd8cad2d14705ffdea3fc0ad5cc4618defbe8426b978aac10c28dbf0b4f15a571c16c22ff2437f87ab8d70ade815c5f76ce0d763ad66846a27e02349 SHA512 1ab45e728a768b704ff52551e31cf91fa8a6ec008e3f2aef387b925ab18dcd837f4a4b71f85a7bb96b0ab403c39757ddfa8d22578117728f594768904bc5ce62 DIST linux-5.15.52.tar.xz 126364084 BLAKE2B 9baf5b0182df91790716f3629a6e163cf87d8e9bde79350f30432e7446d2033de9d081f1693a758a3830a26c03a8bc13713394fd82457afde33ecfb9e353de2e SHA512 01852559b30b177ba350827b076dc58ecad020e63940482e694286ade3debe53919a4514338536f46da1aa4f89b671368a112a913a53a0352d033252bc6b2a1b DIST linux-5.15.53.tar.sign 991 BLAKE2B 4d890ec6f124577094dfa178fd64dcbb99ef7f07f3ab5bc6c5591c1a2304286ad8285b3d7bb405cb127b33f05a4bd2bb03d0e438f50c1fc466346e3530814a85 SHA512 e7206e9551b89b3aed1835d8e29832ad457d4c375ccd53c4306bd390d714a6a9329d4bb2f71bc2c2dc4bf932ada7131c5383f23a2d71c44b6a0a8365de7a9b7a @@ -43,6 +45,8 @@ DIST linux-5.15.57.tar.sign 991 BLAKE2B 8585f184cdad7fe37a5bb9d38734f99cd9c83640 DIST linux-5.15.57.tar.xz 126380740 BLAKE2B 9adea6b8ee97ead38ecab39b1ef08b2ee1647eebbb2a8ccd2ba253eeebfd6435c83a03e83e186809473a982a373185874c0082aa0c56f5928d304c7df56dfb86 SHA512 d14968b0fc7f4c3162c2c7975367e5c685675e29515a82d3010bc49a124e761beb90eabb7f0e2823e2afb32c0110df887440966dbf37c29247479d5009905d5b DIST linux-5.15.58.tar.sign 991 BLAKE2B da7c889a8485c2f445eec54808aec0e43f9e36cc66b4c566cc4313a1333c0094c2e53da0d93fd49b4105eb3285f159a51d50f2c4edd10efd1efcd54328cb5318 SHA512 34262df54828ea963e2dfaee89ee29b1514de0857be360019281805ae8eac211778707aeb247bd7816f55b0691b6820efb2a87aed4294adf4c263d6f965da934 DIST linux-5.15.58.tar.xz 126389084 BLAKE2B 0bf2596c9f7c7f112389d47de169c3399305f48241f36fe479d18b80d874d8ab90faf44b5bd6384f4dec2998c22a0ef365a84bbe917a1dcd55875a91399b101b SHA512 b0474dc0c8e7e1bfc45e22f5df3c435066ad69144fc4b451335e43133c2113f3d3c1f7c2f3df6e54539fb6d87ebb16f069907c1f4e5922bb69a07e2a00463110 +DIST linux-5.15.59.tar.sign 991 BLAKE2B 80fe92152ba1ec23c4cd3b1c3edf6ca8b4c381dcb4f8735daaa6dc1d417137b186a08d3d1af0fe9cdf7b3a562a7cd154b8bd9c9a28fe708613f1adbe932e56dd SHA512 34b52887f668c479f530120d0cbab7f4d30bb01cb204ff158b4908db5facf75d51722d2adab66b31dd2dbecf98c707ad0736e59d63ceeb3c27a4220c7633e027 +DIST linux-5.15.59.tar.xz 126404076 BLAKE2B c601b25663f73438daa40f1a72039a4ca6a027cd356a9cca3f00341a8aab0845893d4ac848a43a34758c0959e38b11ac8857777531cf1472b18f3373ba6c426b SHA512 1dd5badf83bdde38dd43fe1f678b883200b6b4b52547281ebd0780ea1cc628138e5798e21a2eb4bd2fb71755808017fdff5c85259e2c3211da79fcc8fb87361c DIST linux-5.18.10.tar.sign 991 BLAKE2B 7ce361cbbd768cfbbda3744f8528a3b4115378029682efad4f0d785c156461ce17d012bdd149edeec56979f2b801d37f2c9f09c8610ce197a12fb2fae2c16af4 SHA512 4aae4d2bf37852ccada7709304b6e1f69447df961e947cf78c4d5914f610582958da28c6de2f9a51b9cb544d0addee241bb872d3fe4d50c0512f577a48ae30b5 DIST linux-5.18.10.tar.xz 129830456 BLAKE2B 71e1d666f2238bdf4c6a10d83c234b02b46dfa67ffbf73eea904254ddd7ded9ad5d520ec4713933388956d2e538e32911f4c99e16c5e3d0c19cbff0fbe38012e SHA512 2140d9012fdc63979c6a737513da46ca59a58f4312e8a1b1cbf481088e03da4bc2eb04fe9cab7164339ef1fde8a2a8a6d5167896e45b061b04dba0ef7b1fb7bb DIST linux-5.18.11.tar.sign 991 BLAKE2B 9132a1d3cd6c72930518136df59dbb0a88831921aed6fd21a09c7353ea0dbd7da037438efe8cd12fc4eafdf70a9fcc1eabeb92f8d34e9bffde92a6a5d29d864e SHA512 9bcd4392212659bd9c03da33b9d7c81aee6c5d608ec29225b589d9c170771b8e0729c24d3eb4b649d8209dcf1c8847d12b5148d36808bf2ecdde879d251e6198 @@ -69,6 +73,8 @@ DIST linux-5.4.207.tar.sign 991 BLAKE2B 29400e5934393d1e09b7d694ab4395fcf0bee3d8 DIST linux-5.4.207.tar.xz 112942800 BLAKE2B 32cbb802084dc11863bb59310503ff92c6d02f0892997e15f5048ee285fc3e7b172d9b0ad5eaf936ef423af786ef14d9c3788b80b2ebc62676c0b3a25e1390fd SHA512 802eb45d93347a4bfd6e194efdc2bac7daaa4374ea7c990acf43b3c7e8280f3b6e1ccaa2f765d3677ca68947c8b9f7d783d6c22df58a64b4f6d8e5120fdb7e2b DIST linux-5.4.208.tar.sign 991 BLAKE2B a79d81b6120f8856da9a819fcfd040535b264a01cb647e1fc9d02d827b8948267803467a3389bd215d2a4e10208fca53a224ecbdc3967e8972c1302afa6cc2db SHA512 55fa233aca961a17c57bee0f87fcfd0c4058bdf2d02b66797f073694a1eb941278dc744467838a08e107944ff717e3dc79e4ac4ce69866f674e95c48f980de92 DIST linux-5.4.208.tar.xz 112935800 BLAKE2B 801adac852dc3cac0307ee6787e67d0a4c5047a6850db1163cf0315b2100e8af6b3eb4eb310b7f5f2bef7bb0d5d5eed738db501718db72a1ced95577082e0012 SHA512 2260262607fce42c0a69900c086be69e15c5fece0efe28cbfe4cf5b4e0829b981d0f0a1c75b64ff0953c527058653fc3e45da481b29167cff11664d1953223b5 +DIST linux-5.4.209.tar.sign 991 BLAKE2B e750fa4ffd74c55e555201c23c961bb056171bd009131132868a1d0af0fe878bc798d805461162e40009014661ce91f9da2aee863286bd82b27b359c701e8beb SHA512 6647e67a9515f5ea7cff75fb6e451475ca8115223d73eadd6762fd1874f51834f63d3b03c24895db25da9b635abc583651962bafdec4ba0e2dcf22ccc9609bba +DIST linux-5.4.209.tar.xz 112951528 BLAKE2B 26d3ed24f2e9686a200cad3e1f12b01e8e1344a09d445270bc2d1af39449300b30ea66d88ed1d22b39b4cafaf05d6d924f6d24fa47ceadf704a5118d5621bd2e SHA512 bc09ca7a004fd1804320d5908c85fe92e1bab820df8a61b95b06c85e41701d172333575f470ab49fd4918df282281e77cf074c2bfc44744baf6967acf32d2f58 EBUILD vanilla-kernel-5.10.128.ebuild 3715 BLAKE2B 95be9c325f8b9a36f89e9650e56bdea2068345a1e9ffe868f19f72499e6427d7727583558027544e83dfaa179d32976d08747d71633644424e8079ed25b9a958 SHA512 3db02eab7261107e1dc9182b6b2f7591ad203ae57a6e27ae589a7fe4b3c5e38070f21ec0ac62c0ada48aefcf61b858099837661d66149eefd87639dd8a49285d EBUILD vanilla-kernel-5.10.129.ebuild 3715 BLAKE2B 95be9c325f8b9a36f89e9650e56bdea2068345a1e9ffe868f19f72499e6427d7727583558027544e83dfaa179d32976d08747d71633644424e8079ed25b9a958 SHA512 3db02eab7261107e1dc9182b6b2f7591ad203ae57a6e27ae589a7fe4b3c5e38070f21ec0ac62c0ada48aefcf61b858099837661d66149eefd87639dd8a49285d EBUILD vanilla-kernel-5.10.130.ebuild 3715 BLAKE2B 95be9c325f8b9a36f89e9650e56bdea2068345a1e9ffe868f19f72499e6427d7727583558027544e83dfaa179d32976d08747d71633644424e8079ed25b9a958 SHA512 3db02eab7261107e1dc9182b6b2f7591ad203ae57a6e27ae589a7fe4b3c5e38070f21ec0ac62c0ada48aefcf61b858099837661d66149eefd87639dd8a49285d @@ -76,6 +82,7 @@ EBUILD vanilla-kernel-5.10.131.ebuild 3715 BLAKE2B 95be9c325f8b9a36f89e9650e56bd EBUILD vanilla-kernel-5.10.132.ebuild 3715 BLAKE2B 95be9c325f8b9a36f89e9650e56bdea2068345a1e9ffe868f19f72499e6427d7727583558027544e83dfaa179d32976d08747d71633644424e8079ed25b9a958 SHA512 3db02eab7261107e1dc9182b6b2f7591ad203ae57a6e27ae589a7fe4b3c5e38070f21ec0ac62c0ada48aefcf61b858099837661d66149eefd87639dd8a49285d EBUILD vanilla-kernel-5.10.133.ebuild 3715 BLAKE2B 95be9c325f8b9a36f89e9650e56bdea2068345a1e9ffe868f19f72499e6427d7727583558027544e83dfaa179d32976d08747d71633644424e8079ed25b9a958 SHA512 3db02eab7261107e1dc9182b6b2f7591ad203ae57a6e27ae589a7fe4b3c5e38070f21ec0ac62c0ada48aefcf61b858099837661d66149eefd87639dd8a49285d EBUILD vanilla-kernel-5.10.134.ebuild 3715 BLAKE2B 95be9c325f8b9a36f89e9650e56bdea2068345a1e9ffe868f19f72499e6427d7727583558027544e83dfaa179d32976d08747d71633644424e8079ed25b9a958 SHA512 3db02eab7261107e1dc9182b6b2f7591ad203ae57a6e27ae589a7fe4b3c5e38070f21ec0ac62c0ada48aefcf61b858099837661d66149eefd87639dd8a49285d +EBUILD vanilla-kernel-5.10.135.ebuild 3715 BLAKE2B b05c31b018dd64fe0b94d899bc7a51a847cfc314e028fac2e7707cb910f1e208e0ba042f995ea94878a3a646ab654d422546a8f89dc78faea3d2884aaa72fafc SHA512 1427316489e333f980b3b5ec2d3eb1ebffcd13ca569146b81516a175b0681e5c5459f5cc0cbef64967d2c20765b56d9ba9c0f02374e92de1708702221d64cdf6 EBUILD vanilla-kernel-5.15.52.ebuild 3715 BLAKE2B d8110213454c54cc858db8eee5b84584b4c4aa135fd514cbb8bacba1d6b7899e3c89c8e7faa08eb00fa35b19605d05fa175ae2bc405ebcc1e0fddb51ee910de2 SHA512 65b728344d395668b2662556c4949b86d1253b35ee3075e929a48b12461214bcd6c0141d0fd07ec5cba87079880092b84acbd0e2163e23bd303d3fd8d7050112 EBUILD vanilla-kernel-5.15.53.ebuild 3715 BLAKE2B d8110213454c54cc858db8eee5b84584b4c4aa135fd514cbb8bacba1d6b7899e3c89c8e7faa08eb00fa35b19605d05fa175ae2bc405ebcc1e0fddb51ee910de2 SHA512 65b728344d395668b2662556c4949b86d1253b35ee3075e929a48b12461214bcd6c0141d0fd07ec5cba87079880092b84acbd0e2163e23bd303d3fd8d7050112 EBUILD vanilla-kernel-5.15.54.ebuild 3715 BLAKE2B d8110213454c54cc858db8eee5b84584b4c4aa135fd514cbb8bacba1d6b7899e3c89c8e7faa08eb00fa35b19605d05fa175ae2bc405ebcc1e0fddb51ee910de2 SHA512 65b728344d395668b2662556c4949b86d1253b35ee3075e929a48b12461214bcd6c0141d0fd07ec5cba87079880092b84acbd0e2163e23bd303d3fd8d7050112 @@ -83,6 +90,7 @@ EBUILD vanilla-kernel-5.15.55.ebuild 3715 BLAKE2B d8110213454c54cc858db8eee5b845 EBUILD vanilla-kernel-5.15.56.ebuild 3715 BLAKE2B d8110213454c54cc858db8eee5b84584b4c4aa135fd514cbb8bacba1d6b7899e3c89c8e7faa08eb00fa35b19605d05fa175ae2bc405ebcc1e0fddb51ee910de2 SHA512 65b728344d395668b2662556c4949b86d1253b35ee3075e929a48b12461214bcd6c0141d0fd07ec5cba87079880092b84acbd0e2163e23bd303d3fd8d7050112 EBUILD vanilla-kernel-5.15.57.ebuild 3715 BLAKE2B d8110213454c54cc858db8eee5b84584b4c4aa135fd514cbb8bacba1d6b7899e3c89c8e7faa08eb00fa35b19605d05fa175ae2bc405ebcc1e0fddb51ee910de2 SHA512 65b728344d395668b2662556c4949b86d1253b35ee3075e929a48b12461214bcd6c0141d0fd07ec5cba87079880092b84acbd0e2163e23bd303d3fd8d7050112 EBUILD vanilla-kernel-5.15.58.ebuild 3715 BLAKE2B d8110213454c54cc858db8eee5b84584b4c4aa135fd514cbb8bacba1d6b7899e3c89c8e7faa08eb00fa35b19605d05fa175ae2bc405ebcc1e0fddb51ee910de2 SHA512 65b728344d395668b2662556c4949b86d1253b35ee3075e929a48b12461214bcd6c0141d0fd07ec5cba87079880092b84acbd0e2163e23bd303d3fd8d7050112 +EBUILD vanilla-kernel-5.15.59.ebuild 3715 BLAKE2B 0a92ef1cc83f1609e463ffd70fb223598a4d086cc996be80068e7e6fad7c5ee7c39cb8a87138721439fe9362d9001bd1f7c2c758f8579adc1e113d85acecb226 SHA512 39761d5bae8f003718e5ae9ed1b8c89b879b7214f5782c0fe81a1238d12b6944a22e9aadcdc5f2896b51a56052209677d0071c2fcbcdd2f48706c9199eec1755 EBUILD vanilla-kernel-5.18.10.ebuild 3834 BLAKE2B 089a5142097136aed9e50be411036c736928493f7cacd70ff451025fdde045114693698d288ed6d52b99b26ae7547ad709fc21e202b84c4f029c7ced6d3e385b SHA512 f1f0db25333caa37608432990c4ddee1a95da706ebda26831eb1ffb35e92e01c066ac90a8926a6ce08a1b6d5d22e5cb57ceb81b9ceb9a60d5dbb80c2cd2e13b8 EBUILD vanilla-kernel-5.18.11.ebuild 3834 BLAKE2B 089a5142097136aed9e50be411036c736928493f7cacd70ff451025fdde045114693698d288ed6d52b99b26ae7547ad709fc21e202b84c4f029c7ced6d3e385b SHA512 f1f0db25333caa37608432990c4ddee1a95da706ebda26831eb1ffb35e92e01c066ac90a8926a6ce08a1b6d5d22e5cb57ceb81b9ceb9a60d5dbb80c2cd2e13b8 EBUILD vanilla-kernel-5.18.12.ebuild 3834 BLAKE2B 089a5142097136aed9e50be411036c736928493f7cacd70ff451025fdde045114693698d288ed6d52b99b26ae7547ad709fc21e202b84c4f029c7ced6d3e385b SHA512 f1f0db25333caa37608432990c4ddee1a95da706ebda26831eb1ffb35e92e01c066ac90a8926a6ce08a1b6d5d22e5cb57ceb81b9ceb9a60d5dbb80c2cd2e13b8 @@ -96,4 +104,5 @@ EBUILD vanilla-kernel-5.4.205.ebuild 3001 BLAKE2B 5c228a2307a9c32d2af3baecf92de5 EBUILD vanilla-kernel-5.4.206.ebuild 3001 BLAKE2B 5c228a2307a9c32d2af3baecf92de59034512358a8e3f3942fc770fa80143465b145d80166c48c967439091894c3d4793c7f5a559881092b0b8b49afbbce9837 SHA512 e997a0389a227ab93c2d67723795e4250e82301c50dec1bf15b2a35fda941e9d32a21d8c277bd9f535872d4268b0ee03a1120f28899217717fd55df2d11370f2 EBUILD vanilla-kernel-5.4.207.ebuild 3001 BLAKE2B 5c228a2307a9c32d2af3baecf92de59034512358a8e3f3942fc770fa80143465b145d80166c48c967439091894c3d4793c7f5a559881092b0b8b49afbbce9837 SHA512 e997a0389a227ab93c2d67723795e4250e82301c50dec1bf15b2a35fda941e9d32a21d8c277bd9f535872d4268b0ee03a1120f28899217717fd55df2d11370f2 EBUILD vanilla-kernel-5.4.208.ebuild 3001 BLAKE2B 5c228a2307a9c32d2af3baecf92de59034512358a8e3f3942fc770fa80143465b145d80166c48c967439091894c3d4793c7f5a559881092b0b8b49afbbce9837 SHA512 e997a0389a227ab93c2d67723795e4250e82301c50dec1bf15b2a35fda941e9d32a21d8c277bd9f535872d4268b0ee03a1120f28899217717fd55df2d11370f2 +EBUILD vanilla-kernel-5.4.209.ebuild 3001 BLAKE2B 7b8bce74e27909fdb673ee7477f8f8b988646071f112b1efabe3bde378872b21fb55f4486ef5f595562025506f5094866218a8afbf8bb69061dd4a3c24ed50ef SHA512 513282b9578460f32122cf9835c6a032e1659b691bfc8c56edbf459de57befa801ea881a86f1fd9ecdf96b838371e5ad319c748e97ae04253eb8e47479d7e579 MISC metadata.xml 353 BLAKE2B cd022bd01b289ae703ae6ef6c2539fcfce833206c55e328ba02fc42b360d60f76b1920927b259dbb199724e6d3e7b0f68ba2044680d962d3cd03a973475582ff SHA512 10b10fd24801843108a71ca7d0c27514965b0a15a60da4d9b521fc41493448a1b1685ae3278dbd46cede0d069e51dede402d2c1448c8ae6a7fcfce8acf415bf3 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.135.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.135.ebuild new file mode 100644 index 000000000000..718e3ea82627 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.135.ebuild @@ -0,0 +1,134 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-build toolchain-funcs verify-sig + +MY_P=linux-${PV} +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +CONFIG_VER=5.10.12 +CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530 +GENTOO_CONFIG_VER=g1 + +DESCRIPTION="Linux kernel built from vanilla upstream sources" +HOMEPAGE="https://www.kernel.org/" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + verify-sig? ( + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.sign + ) + 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 ~hppa ~ppc ~ppc64 ~x86" +IUSE="debug hardened" +REQUIRED_USE="arm? ( savedconfig )" + +BDEPEND=" + debug? ( dev-util/pahole ) + verify-sig? ( sec-keys/openpgp-keys-kernel ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/kernel.org.asc + +src_unpack() { + if use verify-sig; then + einfo "Unpacking linux-${PV}.tar.xz ..." + verify-sig_verify_detached - "${DISTDIR}"/linux-${PV}.tar.sign \ + < <(xz -cd "${DISTDIR}"/linux-${PV}.tar.xz | tee >(tar -x)) + assert "Unpack failed" + unpack "gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz" + else + default + fi +} + +src_prepare() { + default + + local biendian=false + + # 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 + biendian=true + ;; + hppa) + return + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-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 + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.59.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.59.ebuild new file mode 100644 index 000000000000..13b58c5c9839 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.59.ebuild @@ -0,0 +1,134 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-build toolchain-funcs verify-sig + +MY_P=linux-${PV} +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +CONFIG_VER=5.15.19 +CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01 +GENTOO_CONFIG_VER=g1 + +DESCRIPTION="Linux kernel built from vanilla upstream sources" +HOMEPAGE="https://www.kernel.org/" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + verify-sig? ( + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.sign + ) + 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 ~hppa ~ppc ~ppc64 ~x86" +IUSE="debug hardened" +REQUIRED_USE="arm? ( savedconfig )" + +BDEPEND=" + debug? ( dev-util/pahole ) + verify-sig? ( sec-keys/openpgp-keys-kernel ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/kernel.org.asc + +src_unpack() { + if use verify-sig; then + einfo "Unpacking linux-${PV}.tar.xz ..." + verify-sig_verify_detached - "${DISTDIR}"/linux-${PV}.tar.sign \ + < <(xz -cd "${DISTDIR}"/linux-${PV}.tar.xz | tee >(tar -x)) + assert "Unpack failed" + unpack "gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz" + else + default + fi +} + +src_prepare() { + default + + local biendian=false + + # 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 + biendian=true + ;; + hppa) + return + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-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 + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.209.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.209.ebuild new file mode 100644 index 000000000000..bffac7964798 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.209.ebuild @@ -0,0 +1,108 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit kernel-build verify-sig + +MY_P=linux-${PV} +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +CONFIG_VER=5.4.21 +CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea +GENTOO_CONFIG_VER=g1 + +DESCRIPTION="Linux kernel built from vanilla upstream sources" +HOMEPAGE="https://www.kernel.org/" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + verify-sig? ( + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.sign + ) + 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 ~ppc ~x86" +IUSE="debug" + +BDEPEND=" + debug? ( dev-util/pahole ) + verify-sig? ( sec-keys/openpgp-keys-kernel ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/kernel.org.asc + +src_unpack() { + if use verify-sig; then + einfo "Unpacking linux-${PV}.tar.xz ..." + verify-sig_verify_detached - "${DISTDIR}"/linux-${PV}.tar.sign \ + < <(xz -cd "${DISTDIR}"/linux-${PV}.tar.xz | tee >(tar -x)) + assert "Unpack failed" + unpack "gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz" + else + default + fi +} + +src_prepare() { + 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 + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .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="-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[@]}" +} |