1 |
commit: 59ec25d507b941449d02a3e1ecc53925e4ac8008 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 5 08:01:46 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 5 08:01:46 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59ec25d5 |
7 |
|
8 |
sys-kernel/gentoo-kernel: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
sys-kernel/gentoo-kernel/Manifest | 52 -------- |
13 |
.../gentoo-kernel/gentoo-kernel-5.10.128.ebuild | 131 -------------------- |
14 |
.../gentoo-kernel/gentoo-kernel-5.10.129.ebuild | 131 -------------------- |
15 |
.../gentoo-kernel/gentoo-kernel-5.10.130.ebuild | 131 -------------------- |
16 |
.../gentoo-kernel/gentoo-kernel-5.10.131.ebuild | 131 -------------------- |
17 |
.../gentoo-kernel/gentoo-kernel-5.10.132.ebuild | 131 -------------------- |
18 |
.../gentoo-kernel/gentoo-kernel-5.10.133.ebuild | 131 -------------------- |
19 |
.../gentoo-kernel/gentoo-kernel-5.10.134.ebuild | 131 -------------------- |
20 |
.../gentoo-kernel/gentoo-kernel-5.15.52.ebuild | 131 -------------------- |
21 |
.../gentoo-kernel/gentoo-kernel-5.15.53.ebuild | 131 -------------------- |
22 |
.../gentoo-kernel/gentoo-kernel-5.15.54.ebuild | 131 -------------------- |
23 |
.../gentoo-kernel/gentoo-kernel-5.15.55.ebuild | 131 -------------------- |
24 |
.../gentoo-kernel/gentoo-kernel-5.15.56.ebuild | 131 -------------------- |
25 |
.../gentoo-kernel/gentoo-kernel-5.15.57.ebuild | 131 -------------------- |
26 |
.../gentoo-kernel/gentoo-kernel-5.15.58.ebuild | 131 -------------------- |
27 |
.../gentoo-kernel/gentoo-kernel-5.18.10.ebuild | 137 --------------------- |
28 |
.../gentoo-kernel/gentoo-kernel-5.18.11.ebuild | 137 --------------------- |
29 |
.../gentoo-kernel/gentoo-kernel-5.18.12.ebuild | 137 --------------------- |
30 |
.../gentoo-kernel/gentoo-kernel-5.18.13.ebuild | 137 --------------------- |
31 |
.../gentoo-kernel/gentoo-kernel-5.18.14.ebuild | 137 --------------------- |
32 |
.../gentoo-kernel/gentoo-kernel-5.18.15.ebuild | 137 --------------------- |
33 |
.../gentoo-kernel/gentoo-kernel-5.18.9.ebuild | 137 --------------------- |
34 |
.../gentoo-kernel/gentoo-kernel-5.4.204.ebuild | 100 --------------- |
35 |
.../gentoo-kernel/gentoo-kernel-5.4.205.ebuild | 100 --------------- |
36 |
.../gentoo-kernel/gentoo-kernel-5.4.206.ebuild | 100 --------------- |
37 |
.../gentoo-kernel/gentoo-kernel-5.4.207.ebuild | 100 --------------- |
38 |
.../gentoo-kernel/gentoo-kernel-5.4.208.ebuild | 100 --------------- |
39 |
27 files changed, 3345 deletions(-) |
40 |
|
41 |
diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest |
42 |
index cb73b9b15850..61ab2f5f39ba 100644 |
43 |
--- a/sys-kernel/gentoo-kernel/Manifest |
44 |
+++ b/sys-kernel/gentoo-kernel/Manifest |
45 |
@@ -1,63 +1,11 @@ |
46 |
-DIST genpatches-5.10-137.base.tar.xz 3737796 BLAKE2B e0af05dc22c6f077a110518f9e0cd790798b8a68f5d40c409dac7ea1845b8d80741975cc11d588a8cad96aea474c98803cc0db7631575d295ecfc0a1b4080864 SHA512 f9dd222670326f89a9ba62360290a29d5185afd89efe8aa38292a025dae941b10c28ab047c1fc7e84506d43ee56fda0790280c52ffca482e3041596696437ff8 |
47 |
-DIST genpatches-5.10-137.extras.tar.xz 3868 BLAKE2B 97e6520ab0908d1270d10b6dab659899335aa405083e187822e7846a5034677fc77a05a20c33665ff9cd7b8a57fe95126b3c60218b0b5968967a866b241f03e1 SHA512 3945379ae2e5c2d5712788fdd27db2f74952686c319266897f649003198d0a5717c48c214f8e07310d6c489de8725e3cf4a74b4d05bcb4ae01332af175fbfbb9 |
48 |
-DIST genpatches-5.10-138.base.tar.xz 3762688 BLAKE2B 44039c709108f0b9a9ff95ffbcc35177536dcd1364424e3c555ea4611ca46d00cb13402d611bb9f7c839a2e2276d34818777edb206aef1cbf1a86a8a63fe5c45 SHA512 c9276637988fda74e346cda54dd86245e31a1be53dd10b42e3ffcb8b253d13b9209131925410a5c8797018bb940aa11db9120c921e87a45ae4f4396dd2e1f276 |
49 |
-DIST genpatches-5.10-138.extras.tar.xz 3868 BLAKE2B d08d8e425e323df25f3bad59bf71a0836b00b11855028d131d34a25938d9783ca85cb8ef5c9cae65eeec2a41280eb2cbf8816b94ee4c48c7a01d55dd4224f9ba SHA512 6ff612c0e8a050124a7f2bdfa2ff64f99bb0250e32f79b57855d9a95d7ea3182913ee016e63ae86413872791342c8eaea198929ae413dd0eb92eaefab4b953cc |
50 |
-DIST genpatches-5.10-139.base.tar.xz 3775368 BLAKE2B 5ac003f1346c1e9130511cdfb7ee75127f4dd67084176a6042c0c6fcbbe4a5c5c60fc26a86f21def7fcdf23116cf8b9b9680733ac657730af3f01e2a709749e9 SHA512 9719ef4cb81f0f2814b8b88a756bb4883fc33d5e8641f251796ea4edfcecb80240533b4737f2e81bafa7e495ac99da0764d013c6d767e6a6710c50352306488f |
51 |
-DIST genpatches-5.10-139.extras.tar.xz 3868 BLAKE2B d755c5346ea1fdc709f830a2a61e1b2c13fd5e5d180c9c7631e62e362db9610ce741d1358dc2b8a0104a83413bef919455390fbd0464db21b6bdd24701c8e62d SHA512 89152c2be3383630b6f69715f9ffd298015dbd3f46662d0ae079017d73e49e1bd7e5256e59fd688c3b5e9a30de95a82cf885866e40e4154b4e843a87017ab7b1 |
52 |
-DIST genpatches-5.10-140.base.tar.xz 3775232 BLAKE2B 1ea0b94e5acece92add1bfa728fab6f4252dea9bdf75696dc52afb4b9422a404fff906dceb31e3a21f6712eaca6ec61ff296d3619e257183db40e52c500e8551 SHA512 568c171f612ff5c59b8b56c2fec29fec36e05c7d35050b687d9a9d7b862d1899bff2fd505094b46969569921aeb69605fda5911883c6583f28405bae96348ad2 |
53 |
-DIST genpatches-5.10-140.extras.tar.xz 3868 BLAKE2B c5f78c7a2c3eb68695c6e2b0810addf286c66f94f53d1953efce2f12e69b04c4b0a43932d5114dec915342594750f0c40ad74a277f198c91c6ba6e5e5c1a6544 SHA512 98af36f68c8eff7432b4969d06c0a2a0d1ea00a18d18b0dc86f360d69bba2ecb08bf59eddde1534341cfe0a5e0de09fdacfae3816d7df1f431b70fe871eea8f6 |
54 |
-DIST genpatches-5.10-141.base.tar.xz 3795548 BLAKE2B 42dcff42a0c56c0a16028e289c134d60b1d16c86468e2d3012a020ffdcff9ab93fc64898390cf224fa335d34e33c15526b21b6a36f756afa32e3399b540f133c SHA512 f9203a6fa905e6d79e1263df70a68cdb9541d2313dd7576eec54ba46f24d0d791639ea7d5b25fadd0d13b63b25ea499270fe84c694ec556ecf9a5e37919f8026 |
55 |
-DIST genpatches-5.10-141.extras.tar.xz 3868 BLAKE2B 2f2dc5299a10634e3c011457d1c40c70a8e6ffd64b38e4567193b5be25f66a8687b2fd850192adca24b938b003fe0569c8519eb6e36b557f58b775bf542d311b SHA512 a93b152ecf75984ecf0d0b56e73c19aa11df09a4b27042255c6ce771dabecffc2e3504e394478be6738cd70912f626120bde430af65acd77f17464d2e0b8fb6a |
56 |
-DIST genpatches-5.10-142.base.tar.xz 3863448 BLAKE2B de45611ba9c92f59829a61b84ad0461535ca68fc5efa2418417bd1fe7e1ac643e2b65e0b467414eea90fd034445219c13782b1c99136367247420502289f7523 SHA512 63b835f0006f0e2ec97432cab93f21f47a7a36098f5699305d6ca2d01d2419fe6ac6588e68210d1332b4e1dad8a6fc74ad95034c8be1524601e4c30b447a3634 |
57 |
-DIST genpatches-5.10-142.extras.tar.xz 3868 BLAKE2B fdff4c1e3ac6b09322168d92469bc5220dded731e05250100df2b5a94d90b2c5bd7612e6c32574ae1c67cd59e6f73d348b3f56bb9027ed1ba11427975796f1e4 SHA512 227bba85de2bf1eba0b0c3d4f314ca0f2f5c3c475ba78e5a82fbb3a682fd37bcef80ef1a91f1ee3747bd2a8c639d2f791110ac72c5406243dd2f54c87d846dd4 |
58 |
-DIST genpatches-5.10-143.base.tar.xz 3888492 BLAKE2B 981a8e21ffff29acfb070164fef85e6beaf41e36a6e9b139a7bbc2027750321286d7e1a6cc51604841352bd65fcc363a80edbb6455c9d8ae83be560603350f95 SHA512 6556642c9d99f0e8160c4e50f99dff42982346ba132abe77bdb83c1fcaf9435fd2573fa56380ce140efff7773ee5ef1cf9475360e6d5703caf4c38b14c135ec0 |
59 |
-DIST genpatches-5.10-143.extras.tar.xz 3868 BLAKE2B 8bcfec127807585e1145930a119e5f8b6f4f481370c4243dfa0b3f5aac36f5b19ce566b458718128224ae63ed3ac8d232a60a917e80890a13a9b48325bd7253f SHA512 ad4f8a858caf876456536ddb7f6998f7d11c81047efa23cf3289fa93b6b9067fbdaa9329cf7b3e3089c0c07b9adabeca49ffa7a1a7eea7d9f5c0a306996d1fb1 |
60 |
DIST genpatches-5.10-144.base.tar.xz 3907764 BLAKE2B 41b8ce08ca73879811e11d91f9365ddfbbc15617a4b825ba00144e71feb86e0ef24b3418b77b203a13ad6299237085a2a1c796beb6ac9aa98a5990a39fd1dd02 SHA512 1b946439d9cf6d97df1acadd7b36ef657fac40ff98b31e2237f3cc412e9efd6d4d1d409339af9d48779dbd9d88aac124f67e07afcf99e7760f93afb6d226131c |
61 |
DIST genpatches-5.10-144.extras.tar.xz 3868 BLAKE2B 0d956a61fb525b8ce3b14c215a0c0a6ffa46f21fcf87a63884d31418946a64de0c680472a62fc9bc0d83f67b49dfe88ed373e3ff2ba2f369a0909e3947b27c16 SHA512 c870f84b1a4ae7b95518d08ab46fc7e632a47884e43a9c774be34335ebf825388136ed360f5129c8c97567600e79ce2889d64d9b60a1a8bd2a5b4052e74e2973 |
62 |
-DIST genpatches-5.15-56.base.tar.xz 2245780 BLAKE2B 0f5e5d7c8a29f590598f4721307e3b1a316342cc31b8e5ab5496ed58b65470d19bed59ff40cf7b26bd4970eee04581ee8ac544eebe63c54063c161a55c828cea SHA512 0a1c4edd8f863f2c77a14cf48d79c35868ba8b2f02fb2436e1913e97c8285046ecbedc33e6faddf02a0c813e677492be0fc972e3731c733e488006602eb6119f |
63 |
-DIST genpatches-5.15-56.extras.tar.xz 3932 BLAKE2B 2b167a35d9dfe16a18b22318ac4597147fb25bef53a66108c2f2e4d6e6d3df1c9d4b1fd6d63ba4a8078f94f8cd69d14b359123355ba266ef72b44f7d9addca9b SHA512 ce91556981720f3718921993eb15f5af623cad8dc40a36bec6cbb0d52153fd1288bf97927daab1b1e3ccd1451d4295b109ead0160c657a00c62c2d6f25fbc09f |
64 |
-DIST genpatches-5.15-57.base.tar.xz 2275504 BLAKE2B 23dad9d2e9dfc1f77f6e39f8d9e68a6e3168d581136d50d53b3503278bb5e4abfc25e2f9fdab63eeed674e370bee8ae7cc5c54058f6942abaa4eeac49258d765 SHA512 b675437c320b28f4b4ee979fff5c32ea607fd795b090206b49d66fdb95fc2ca1b959fffd33b9e5241a160c2f19902efc8218f2c39eaaa312a5b4149282e08b99 |
65 |
-DIST genpatches-5.15-57.extras.tar.xz 3932 BLAKE2B 670c631eb992f3ea25caa61037c8eb5135fdc1c9dc9e9cc91122f753fc2755f5e8a22a832267bb5e620a604a450cec7fe80d6b6ecbeb7fa5e5db2356df6b2163 SHA512 8f3685cae1613b3e93d33d67746267c4860d839d0a9917bd9668c7d917c83ee1300e1f7fe14eac5dc34de94f440de0127b65a2f862bc821c354e8c36beabb1a5 |
66 |
-DIST genpatches-5.15-58.base.tar.xz 2355372 BLAKE2B 27cb7a5b7ecb66f55a6c9b294e77e14f8c231df39953e19e0c6375ffc084a92dcbdad22e430987d771c89516e4b66b2e938347ef13f932fd593c38fe7c670870 SHA512 70968b3808b1a08d3041f6e9aa08b96f54f98cc26932a66bc8eb91663f83054615057f4d14e03bdd7150f0d83ee371cf718a1bc70ae9f41124afe506287d754b |
67 |
-DIST genpatches-5.15-58.extras.tar.xz 3932 BLAKE2B 00c41224b6449df6c03c51b0528ee7da9b718d3feaec3dae3f58177983645e2f798ce8221708d7a470a057e37f1d7ebfc3ac843d97b3ce920e671247ccb6bcde SHA512 194275a95d28aff48262aafbc770931b1add0861c1333122c1b82e95c5a39c318a1d57fb2bd5c986f806f84b417c2050287ba55d91d8d40e93541c41cffb7951 |
68 |
-DIST genpatches-5.15-59.base.tar.xz 2355388 BLAKE2B b7752f0691ff64a0bbffaa262a674942623b9b3aa5794b8ffdcc9aa23bc4cc63e65aad8d132e48ee765ab2a4711bb32735680794413166c1c358084e286f4f58 SHA512 d249a9e37ace3688f1f7f5aa368e45fb428220ab193d0ad569c2e1dbfa41b268348378928fda642d1d2521ff0cfacd5b7292b4a1e20555a1b0c7e5232bfd7410 |
69 |
-DIST genpatches-5.15-59.extras.tar.xz 3932 BLAKE2B 7438a1bd3f63bd989b93b8d1bcc2474406670958291d7cbffaab792789461336d30465664e6d36c2cc91d77d82fb1ac521d13dfc7cf9691563dc417370dd3107 SHA512 127ab6f173b230c4b0656653af36a5086d021d3ac81d5549a60ca681c1873dba351aa33e3fe96da811dfa6e0a006cab14aa6894f03a9eac1a447df8f724d75cd |
70 |
-DIST genpatches-5.15-60.base.tar.xz 2403720 BLAKE2B cc8a8e72894d9139fc2c51412e09c7c7069523ce42ef67f2e6e14230d7ef75bafb58938314f4a93d0e6e1c5e544fea54f70b23f0ab6f7f02156bcadac26bc1ba SHA512 bf345a4ba71d02865344bafc19e996e7d2ce5ef2ff0b9a956b85a2f88a386f786670f569b812eabc0cc4d841c9ed45e050b3865350c6f38a61bad8372180246a |
71 |
-DIST genpatches-5.15-60.extras.tar.xz 3932 BLAKE2B 2c9b704aa65d9ba6fab93252cd581efe31324fed7d1886bb118a25efe26daba4dd40d75cb263edf6df89323e9967b6f2277692fdcdbb6a50146e669f45c364c5 SHA512 e63206136bf81d5a9012d71396474f6214cbb7980ff4427fa60e69a7d96dde918174a964a6269e6278b4bad6f5faabfb79c1d0c5e3dfb4efc4f13fbc17979273 |
72 |
-DIST genpatches-5.15-61.base.tar.xz 2438712 BLAKE2B 44a8bff3e2df4203943aab61398ce4f136f5101e10a8764885202e799e8d5a6a1270800c5c8cbec98aac4ede007a49616120356aae66008ef2578698aa25dd3e SHA512 88cc84df8f11c8f714a629cba8b22dc730b1cc90d5285c2c5475ef808715418e4080f421ad268c7e8a34c18dc70962b89fbbb23c73ab5f3c76f30435d98ad0ee |
73 |
-DIST genpatches-5.15-61.extras.tar.xz 3932 BLAKE2B f2579301f9ee4e2dd46dd65472bf208d62642df674863cc905dceb0e91d62cc3e64f1d0d4ed99f0ca9c010108b7df58a12a34b6291eab34f565d9d4ec69c2751 SHA512 17463a7d9e3a2e017654e78dcffba58114ec5cae5e67858f7f3c50bf14a92c1b488f85f4fd5fb61eb53fc74f6a90f0ab152ba9396d0d928050851b4c5ab643d7 |
74 |
-DIST genpatches-5.15-62.base.tar.xz 2506840 BLAKE2B 29d99833ceb0835a02f5acdcb9fac48d7e12107303caf9eb218f9ca4914b3a82fdda0e47399cab1c76d3fe4e0f17378aa466453a5409e01f69ef37ab1753b648 SHA512 5e0725ec3a7f07ff8506c8db54fe5842e0e71f5b5e62e70af43a14e7c2002a71e9b59b73ff943fa64feee453750c63b92033340405098f072a547251d2623dc0 |
75 |
-DIST genpatches-5.15-62.extras.tar.xz 3932 BLAKE2B e4478eeb5bdf3b6db3e9e9de9c02641477aeca08ed07e0b0ab66419301f273b8a79f4b28fc7a22095fde8521479878bc71d70fc585d934efeefe4a408af3493a SHA512 6c241a54f503205408b8b07c1389636fd4ac0e8785d12aec2a363842f8b172e06b9568a8fa9f7607b6ab2f09b5d7892294f3618d1a7549a9c41a78f0c4e02d2c |
76 |
DIST genpatches-5.15-63.base.tar.xz 2523256 BLAKE2B 99979433623fad89d9a237f80f126e43f8d3a013cbf0ba77c3b5a4f2d02ee5bddc8d52be4a88f758225fd0ddc6a26946f9b08011b75404830fe44132e5fa5297 SHA512 4c582e0348e8d1d8ff7747c49a09a4fedd9c6b64e7f40c13fedfef0407557aaaf65cd7fb45a41b8175c8b15fe274261960f7af74459e353329fe378bfaef0fe6 |
77 |
DIST genpatches-5.15-63.extras.tar.xz 3932 BLAKE2B 372a8997239e0c1cb97db2fe02e5c3e2f8f26c29705f8210d1eb30168fa0a77209491111b64e399d4846b185ddd2141171cb13e5da5ae85e620e382262256a6c SHA512 461eb99b6e124a648bdaacb015c7b413e102cb28768bb149a154d1c4fc570ae241a73c5bc64024b385ac8eac831a6bf65e79bd93f168fb93f94b0fae133080f7 |
78 |
-DIST genpatches-5.18-12.base.tar.xz 549680 BLAKE2B d6973dfb0d7749fadfc511b1092dedc67b3f8a57e2a117674113f43177bde8608b6106c4c84fbf5f5a161b9710cfad28a3c2fd419fb3c4088d98f9a504ae0cb8 SHA512 c7ad63058bb77c92d3ecf618a41164476a56f2b7b879c667c7fc9666fa1d7f81b599d6ffc5f0fbaa3223e7d399dbb6348ddd511598581083f7b78d505dd81e7c |
79 |
-DIST genpatches-5.18-12.extras.tar.xz 3920 BLAKE2B 89642c29bae1b15664749c11e581ebf1d0b42801cbd3e436805faaacc419fa7d946a05e7d37bc8d056e36768d181b2e71dfdd6b28943ea112dad9f17a9c2bde1 SHA512 301cd52af9db5a8ec91891a0258a262261d87cf22cb01c27a531d0274ee23d0e928977abe8f5928d3dcba430d032a3cb418193bd1f3e09a923ca6e8718ec7420 |
80 |
-DIST genpatches-5.18-13.base.tar.xz 578484 BLAKE2B 03215db005e5a3668898b1ac4c25aeee5f20d6802d00b11d24d41f506ca9f730f031f5cde187f81406a3c75937d65f854acd3c0e2d2cf9f9cb3ba99454304180 SHA512 bdf29085cf76022aa21faaee63033e3231b9757282633eb5897717128bc340cbf38b12a2918b169b452e85aafc9fadac2645df414f877f43950a3147e00dea68 |
81 |
-DIST genpatches-5.18-13.extras.tar.xz 3928 BLAKE2B 21db8944e961dc054e69901d711a85d2965bc90dcdbcaac4d939e033d7b2007860f594e7bd3decdb5b2ed73b0e6b67872dcbd64a3301fc106cfd1c9c189f071d SHA512 21fe61063d2e4b3ff40664d700643693068aa73d1d5416272116001c7f4ab6a3c006824ad868fd4185fc20fe53647727874e7fff01450d5f5dc36aec84a6e55f |
82 |
-DIST genpatches-5.18-14.base.tar.xz 610104 BLAKE2B 1bb79a0ab1239773023c353305c30c8c9ba5cc9ad50c539f1bceb069ad20e6feacc45bc8249b6d23f2f707d9ec3870afc5425140698411070f54593fa33b26f8 SHA512 b646dc8f7dd8177d2d97a52e8bff958ce036edcf1d1304164c8e9e7e6b796383593fb0838cf3ab16b3aadb31aede16eb763c915062763b78676c69a094234626 |
83 |
-DIST genpatches-5.18-14.extras.tar.xz 3928 BLAKE2B 6daca2ba0f7a1a2f318f3a398a37303bc9e1524bcb9cfb2713642eeafc86f1919f2e16789815780b78a391607d2f6fc34a84682f257360fbb3793e34aa56c84a SHA512 58e6fe384be03255599468c196b89e8f3f266f113a6b7f623494937205892d5f7dd301361ead1569790f05c4bf0a6f3813b4511a11cc77294dfc2d2e69590140 |
84 |
-DIST genpatches-5.18-15.base.tar.xz 610660 BLAKE2B d3a1d9a432ffc110af26d74e96b042abb28a79f77d3b6984c20c5a880e29f05c372a9d499646915eabb71a51441734067b0e271a13d111f15c65f6efdca79a40 SHA512 53856c12e3c10733f6ae78e6408af7d628aca7dac8fce5569eed5b3f35ce58bd465d5e40da2183fd06ce70775c199b93f88f73324c68f73c7303d2bc7c71acfa |
85 |
-DIST genpatches-5.18-15.extras.tar.xz 3928 BLAKE2B da2016d84154d129ef32595c04f06f861aa91c7981f9122e8120284a04ac0064785ebb2a4717d544c475f63388e36aa2d2012dc426a9a8f9f66492a507e1755c SHA512 743610e02ce92f053bf41351253d27966de5c3dc0a5499e00328debb2d64f7bb41d29dc5670f11e63dbe2e8baf466a7b99fd2b70ba37a7698f53b25044790196 |
86 |
-DIST genpatches-5.18-17.base.tar.xz 670556 BLAKE2B 9f992048a0a964e6a96b077682d6a8412c2f35a15c3b5533c36d474cc724fb9983205fa8f177a9172f5f0c1e26b6127edac3da89b702dc088d3b7bcb24513822 SHA512 d8f38eeebc11f382e0c57f668f213d07f5d2f99c210133d831ee29feef90bfc81eb57c9c9fa173548ef4dba05865990539a879cf0bc1b548ca6a75bdd934e069 |
87 |
-DIST genpatches-5.18-17.extras.tar.xz 3924 BLAKE2B 4d8bb90dc2446493cee33f5db27f46f4a5d6cb60dac8137f5677a133d71bf2feb5db6b9ebbf32fb148c39be3024f5f378ce096fb0c21ea584d3dca01862e160f SHA512 b1ccb518b25c7bea5cccbdec03d0d8d42ab0b048f6f10f2f036871699d5e75e3694ec10922a0e8f01f640cb3710d8e38124e878450842cce060f6202359ca090 |
88 |
-DIST genpatches-5.18-18.base.tar.xz 701140 BLAKE2B ee91222d6f6ce56d30cfe02b5546fcf7ee3ba04852c4875e9c98ed4177a7b73311e515e543a20107ddd1542077c9b4e2d13fd9cd0e05d507ade84f8fbb942300 SHA512 57aa8878d165ce05c2981c25e9a381df8ac8004336de88b330f779841683a1998dce79cb0e0c1263c77c81a84f01768630ff5e2385693a79b420b5ba05136a1b |
89 |
-DIST genpatches-5.18-18.extras.tar.xz 3924 BLAKE2B f01ece5d1568a0a760b58108571cfcad343a37be3d344ea728ff89d3fa5c972d7d1c6808ec41ec699ece98a2049ea2c5cc036bae5f44e93cf23528a71e3aa922 SHA512 e810217c00867d3836c4606586e35cc26e8c934382d5927ca188249610b613605437013ca0015217d650e89bede32d67f4daa443bd445dec382832a4e43937ab |
90 |
-DIST genpatches-5.18-19.base.tar.xz 754304 BLAKE2B 4827ddbf25d32b89c8635f7cbb16bf2ebe3533450d86e358f0f47084a240bcc5faece567f3d8ca943ad980463b324eac184e04c2fee80229f38db8cddf7d25ad SHA512 157d3093573091224d151c930d309fef2160b2d8130ac4d28155d56cde993b6d17ede10fd33d436fa820da5c029bd45021ff393045250e260f7469660305338f |
91 |
-DIST genpatches-5.18-19.extras.tar.xz 3920 BLAKE2B ba251facf88903832ba28ea4a7619b2ebfdac8b3d507201cad624763523283936c2d8251a715a7e0bd8c72569b55468e2d5c43dc48e6b504cf5d3c024dc840b7 SHA512 40113011145749e3aab4d0ad23ecf2bdaec2eacbe8def70201f13c0208cb0aa142a4e7be8d484e3db3b31142defdea125fbd8f54f4e3220e15a10b4b4f67bbe0 |
92 |
DIST genpatches-5.18-20.base.tar.xz 776528 BLAKE2B 3d7a0cf2c6f9a5d28049c42b6e2ffccbb707232aef139c9b9aae33c37d6cef22b45261094ac5c3e23019123709c642c69d3f181683d790305f97d72d93a48177 SHA512 db5a44c919f29f0c37cd21384a5ffa6b528575f5b5dbf71800d3a6277f793ad4ee6a6d04a35c3ef5f90906133a91f4a0e23ae43e86f678a25b23bb1c77761c22 |
93 |
DIST genpatches-5.18-20.extras.tar.xz 3924 BLAKE2B ddea420397d5b64ac5e964db6b2d863cca0a4fd46a3969af7f24b7803b0f07278b54363c1b43fbc4f305ac4b44e5880d5af0bb10cd2a0a08bc0e4fbd51c9e35e SHA512 51203e404cc8084974725f78dd521f5d7864f40380bc1f45596b8754a57f30535e32c3984c01a4d12b38b6118eb1448126f96042d8a2b5007167428e09761726 |
94 |
DIST genpatches-5.4-208.base.tar.xz 4869104 BLAKE2B 3e9038248ddcfd22d67248e65199cca89bd2b8b3aa99aafcee63e5c294dc360c01d7d7eda809e1c18b06a9356363c575339197b2425bcafa8676cad68c17f90e SHA512 880fd09492e5cb0fa8a94e2df5fdf912be59210f1f142a456e3f80c31142e92bee3161bd77038b606616442cf3396b3961a24422de3056f72b4556d06262d3a5 |
95 |
DIST genpatches-5.4-208.extras.tar.xz 1812 BLAKE2B 3e5b8cae462a748eb36af66c4ebc393fc09882a1fa23cce6f82a078ea5598c23c2ecbe7029d6e2060735fe342b3a7bb5c235dcf16081bba0f05a6b88501af991 SHA512 b550dce1b6d090959eaacd523ee1be258fbf9db84309054c3cce9beb0bae710ff2e1c23f480310072fb08f7456bdf825b3ba76d57e999fc1597368df93e65677 |
96 |
-DIST genpatches-5.4-209.base.tar.xz 4887256 BLAKE2B 56d7ea7975b228df055d1bd4cfc41b49890d815409a159772230c6e9d081061a9b438b525b5e8542eb03feb0bdfc1841e5bc5e14dd1570aff8f964862b192b00 SHA512 5ea69d50d836dad1f68f000c6c1f5bd8459dcbc4d50a4fbd4ba3241c4c87638850215c0207dfea6fe06cc596957e3cfa61a3dfc00f0b60513596da43d286615f |
97 |
-DIST genpatches-5.4-209.extras.tar.xz 1812 BLAKE2B c1cb92a600e0827b133735f3c04a98e608f5dd0b69f53b3bd64ae03d8ff7b0189b0e00027ca073c4b80a77cc23f92ced5dc4bd4fd5912b538aa4ed3131d49b9a SHA512 8046b24112d6635f76cabb7d8e429d9859553440f80fd67152f051fddc6966ddc45e4a465ee946439c23b887282f5517ab12dc7f1862d5471d2815911a4ee2f5 |
98 |
-DIST genpatches-5.4-210.base.tar.xz 4896412 BLAKE2B cea81eeeab39b8f83386bf5c700f1237e1de2987294a0bfd3fd8b578bdfc384b587639a833a6f6085cc8e3840f71e2e56295c8c060f11d0fa6fa2381f4f7b59f SHA512 b045f3690cad21a61382d41bd5ca8037bd9ac4c83acb8da62317da1cf25aa0550598e366c74f89239f8d0042ec7cb6c76c3cea77e4b173c1cdf038213e2979dc |
99 |
-DIST genpatches-5.4-210.extras.tar.xz 1812 BLAKE2B 23abb8d1adc1ef226844f9d53611793396102dedf0d4472d4adfda32277ccb60c1e270ed3716d7e5a3f1e4d29c9a1c8a6999cfd6a19613c4953e0bd88b4b316c SHA512 a95429ccd7b7cec7f45cc1adeedd9ea90c33f4e32997d954b8f29a599f59c21914aabc3798ba66688e62215b5843213a5c08120431ff672588c9f79718cd4d4c |
100 |
-DIST genpatches-5.4-211.base.tar.xz 4898356 BLAKE2B be058cf67ca37dd3eecc242039e184242f0d76e7e3300af10a4068635a02c9a8e22e08780249c00c4cd0542f5e7e0c6f97ae8f0885d0429415e87bf4dbc55a9f SHA512 5c90b96b9acd5b8c9b8ebeff0b7371029ec7615f462dc042e5d636a68e23f274c1c9b05c89df94a49d7972cce905a81442705b4b564ba9fb674cf7107bc316f6 |
101 |
-DIST genpatches-5.4-211.extras.tar.xz 1812 BLAKE2B 3edd098fdbae33053dad710c08bafba66b3fff66e2e87935e904c6c5c4ecc2749d8f3135d10ffa6afae15711cdc92c725a08178eae6091355b81e93375d1cbc3 SHA512 264c25cde7a7371726350b0eeab9cc087fb0e0194e92905e1ef2ebe1467ef7ca3a0cd654b65e3fe35f49113882ab9f4041bbbd02095c935baae93b5a37f986cf |
102 |
-DIST genpatches-5.4-212.base.tar.xz 4910124 BLAKE2B b09dfb8e041beb3ba5813e3f93ee02ef2fe3a6bb62bc4a9124bb19b74612ddca745e7066d9d11e520b6ab60e4a123428dae8e97ad28323e0d279173654a35f41 SHA512 f13c5f6d38e8b71544ee07dfbd049b611b8228d2eadb26225f0a3cb532c8aab2b321a52c17e11a732c6bbfc71586649850bb4c43b932206d7b5ce4691a0b9e2a |
103 |
-DIST genpatches-5.4-212.extras.tar.xz 1812 BLAKE2B 8016640dadf0add8c91a6631fba836b97173243f900abac4c12e5ae19d1c63e19d21f25df2f22b2880d18cfcc83d002fce7014a26d9f4f3a4bd788fc084db403 SHA512 0f5e5f8b6ad6538bf6850c506019fefe4e95a36f7f568b0c5188ad2c0c06fcb904287452e5692bf63480c321b24a6bdb2db9adeecd3a181c7260ca74f34fb5fb |
104 |
-DIST genpatches-5.4-213.base.tar.xz 4933392 BLAKE2B ce7ea84b52c60d4ae9cef1ddc3abd3f37de0ad5d7344645b3e4376db29d45b2acfe7b7b89e557c6265b4abbda9827fc68d4ef7c63eb418d3707166d7ed50586e SHA512 6107308eb5f3a0b1b079297fa7815a335620a2a0023250f1c4a92c84dfcf2ab7afea9388906e93fcc21d9ef85f350d638a8d245c29cca5b38968b71ce1a4d06e |
105 |
-DIST genpatches-5.4-213.extras.tar.xz 1812 BLAKE2B b6812b7e126a55b2079832ddce8c9ba09aee71b8cfcc137c5d0e553a7878e9fdc6e57e64b3670123cb90661d52b3aa0818fbfb7d3d48bd0521c0a0f46ee420e9 SHA512 1deba84aabde4c35213ab38e0f40fe1aa696470bcd5a6f103635d0078726622574ebdbb5caeed7d1516ef45a326052b2ac9d4f6ef2dfb0e0f84f837f9a350927 |
106 |
DIST genpatches-5.4-214.base.tar.xz 4943544 BLAKE2B 5b7d27e1b520cdaff98dc9fe6ddfe102a9c09fb8a5fd36a57d5f36ebbd7639ce1a59dbeb55e71ede1129a3890318b740b24bc654716f81840d6d2e6d8a95de20 SHA512 6494bb7d1b9ef0e46fa31a164b3c807338463dcd4d8108e5a0c5d944196f1b3e1df51192f733861514a302af3eefee530b1e173dec9b6ddd3bb0120e47714fbf |
107 |
DIST genpatches-5.4-214.extras.tar.xz 1812 BLAKE2B f82f9d703ed7fafa1abae01e9ab15db88b318ef84254360d105490bc727244795064fc6b21fbf771626da9adb62aba44a170165518fae58d8adfde7319e1971c SHA512 a3d8f94e4d9b7e5c29be7c1b336273f89ed38bbd4c21e6b34a51421ef71581a6e8ecc15751fe0bd7dbc1c98a754d1491304383f21925c0018b6e57891f76f303 |
108 |
DIST gentoo-kernel-config-g1.tar.gz 4283 BLAKE2B 44dd51ec45ebc71bffcd6d85a2fefba053f7bce8035057f0bbe928e24816ad4ba03c9bf67dcfcd6d6d1833c0a2ea93e0fd486c2093664dc41ccce316e1e60588 SHA512 3a45f28df9d457df0fe0d185da8b10f4e35f49dad75075e041e8cf3cf6972fecc8145cd557b0bf3a8dea20ddffae0194f88e61c1e5098fa0a5ca301d40aeea2e |
109 |
|
110 |
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.128.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.128.ebuild |
111 |
deleted file mode 100644 |
112 |
index d3b655df2223..000000000000 |
113 |
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.128.ebuild |
114 |
+++ /dev/null |
115 |
@@ -1,131 +0,0 @@ |
116 |
-# Copyright 2020-2022 Gentoo Authors |
117 |
-# Distributed under the terms of the GNU General Public License v2 |
118 |
- |
119 |
-EAPI=7 |
120 |
- |
121 |
-inherit kernel-build toolchain-funcs |
122 |
- |
123 |
-MY_P=linux-${PV%.*} |
124 |
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 9 )) |
125 |
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 |
126 |
-CONFIG_VER=5.10.12 |
127 |
-CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530 |
128 |
-GENTOO_CONFIG_VER=g1 |
129 |
- |
130 |
-DESCRIPTION="Linux kernel built with Gentoo patches" |
131 |
-HOMEPAGE="https://www.kernel.org/" |
132 |
-SRC_URI+=" |
133 |
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz |
134 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz |
135 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz |
136 |
- https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz |
137 |
- -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz |
138 |
- amd64? ( |
139 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config |
140 |
- -> kernel-x86_64-fedora.config.${CONFIG_VER} |
141 |
- ) |
142 |
- arm64? ( |
143 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config |
144 |
- -> kernel-aarch64-fedora.config.${CONFIG_VER} |
145 |
- ) |
146 |
- ppc64? ( |
147 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config |
148 |
- -> kernel-ppc64le-fedora.config.${CONFIG_VER} |
149 |
- ) |
150 |
- x86? ( |
151 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config |
152 |
- -> kernel-i686-fedora.config.${CONFIG_VER} |
153 |
- ) |
154 |
-" |
155 |
-S=${WORKDIR}/${MY_P} |
156 |
- |
157 |
-LICENSE="GPL-2" |
158 |
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ppc64 x86" |
159 |
-IUSE="debug hardened" |
160 |
-REQUIRED_USE="arm? ( savedconfig )" |
161 |
- |
162 |
-RDEPEND=" |
163 |
- !sys-kernel/gentoo-kernel-bin:${SLOT} |
164 |
-" |
165 |
-BDEPEND=" |
166 |
- debug? ( dev-util/pahole ) |
167 |
-" |
168 |
-PDEPEND=" |
169 |
- >=virtual/dist-kernel-${PV} |
170 |
-" |
171 |
- |
172 |
-QA_FLAGS_IGNORED=" |
173 |
- usr/src/linux-.*/scripts/gcc-plugins/.*.so |
174 |
- usr/src/linux-.*/vmlinux |
175 |
-" |
176 |
- |
177 |
-src_prepare() { |
178 |
- local PATCHES=( |
179 |
- # meh, genpatches have no directory |
180 |
- "${WORKDIR}"/*.patch |
181 |
- ) |
182 |
- default |
183 |
- |
184 |
- local biendian=false |
185 |
- |
186 |
- # prepare the default config |
187 |
- case ${ARCH} in |
188 |
- amd64) |
189 |
- cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die |
190 |
- ;; |
191 |
- arm) |
192 |
- return |
193 |
- ;; |
194 |
- arm64) |
195 |
- cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die |
196 |
- biendian=true |
197 |
- ;; |
198 |
- hppa) |
199 |
- return |
200 |
- ;; |
201 |
- ppc) |
202 |
- # assume powermac/powerbook defconfig |
203 |
- # we still package.use.force savedconfig |
204 |
- cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die |
205 |
- ;; |
206 |
- ppc64) |
207 |
- cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die |
208 |
- biendian=true |
209 |
- ;; |
210 |
- x86) |
211 |
- cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die |
212 |
- ;; |
213 |
- *) |
214 |
- die "Unsupported arch ${ARCH}" |
215 |
- ;; |
216 |
- esac |
217 |
- |
218 |
- local myversion="-gentoo-dist" |
219 |
- use hardened && myversion+="-hardened" |
220 |
- echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die |
221 |
- local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" |
222 |
- |
223 |
- local merge_configs=( |
224 |
- "${T}"/version.config |
225 |
- "${dist_conf_path}"/base.config |
226 |
- ) |
227 |
- use debug || merge_configs+=( |
228 |
- "${dist_conf_path}"/no-debug.config |
229 |
- ) |
230 |
- if use hardened; then |
231 |
- merge_configs+=( "${dist_conf_path}"/hardened-base.config ) |
232 |
- |
233 |
- tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) |
234 |
- |
235 |
- if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then |
236 |
- merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) |
237 |
- fi |
238 |
- fi |
239 |
- |
240 |
- # this covers ppc64 and aarch64_be only for now |
241 |
- if [[ ${biendian} == true && $(tc-endian) == big ]]; then |
242 |
- merge_configs+=( "${dist_conf_path}/big-endian.config" ) |
243 |
- fi |
244 |
- |
245 |
- kernel-build_merge_configs "${merge_configs[@]}" |
246 |
-} |
247 |
|
248 |
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.129.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.129.ebuild |
249 |
deleted file mode 100644 |
250 |
index 161f70398d65..000000000000 |
251 |
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.129.ebuild |
252 |
+++ /dev/null |
253 |
@@ -1,131 +0,0 @@ |
254 |
-# Copyright 2020-2022 Gentoo Authors |
255 |
-# Distributed under the terms of the GNU General Public License v2 |
256 |
- |
257 |
-EAPI=7 |
258 |
- |
259 |
-inherit kernel-build toolchain-funcs |
260 |
- |
261 |
-MY_P=linux-${PV%.*} |
262 |
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 9 )) |
263 |
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 |
264 |
-CONFIG_VER=5.10.12 |
265 |
-CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530 |
266 |
-GENTOO_CONFIG_VER=g1 |
267 |
- |
268 |
-DESCRIPTION="Linux kernel built with Gentoo patches" |
269 |
-HOMEPAGE="https://www.kernel.org/" |
270 |
-SRC_URI+=" |
271 |
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz |
272 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz |
273 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz |
274 |
- https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz |
275 |
- -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz |
276 |
- amd64? ( |
277 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config |
278 |
- -> kernel-x86_64-fedora.config.${CONFIG_VER} |
279 |
- ) |
280 |
- arm64? ( |
281 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config |
282 |
- -> kernel-aarch64-fedora.config.${CONFIG_VER} |
283 |
- ) |
284 |
- ppc64? ( |
285 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config |
286 |
- -> kernel-ppc64le-fedora.config.${CONFIG_VER} |
287 |
- ) |
288 |
- x86? ( |
289 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config |
290 |
- -> kernel-i686-fedora.config.${CONFIG_VER} |
291 |
- ) |
292 |
-" |
293 |
-S=${WORKDIR}/${MY_P} |
294 |
- |
295 |
-LICENSE="GPL-2" |
296 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" |
297 |
-IUSE="debug hardened" |
298 |
-REQUIRED_USE="arm? ( savedconfig )" |
299 |
- |
300 |
-RDEPEND=" |
301 |
- !sys-kernel/gentoo-kernel-bin:${SLOT} |
302 |
-" |
303 |
-BDEPEND=" |
304 |
- debug? ( dev-util/pahole ) |
305 |
-" |
306 |
-PDEPEND=" |
307 |
- >=virtual/dist-kernel-${PV} |
308 |
-" |
309 |
- |
310 |
-QA_FLAGS_IGNORED=" |
311 |
- usr/src/linux-.*/scripts/gcc-plugins/.*.so |
312 |
- usr/src/linux-.*/vmlinux |
313 |
-" |
314 |
- |
315 |
-src_prepare() { |
316 |
- local PATCHES=( |
317 |
- # meh, genpatches have no directory |
318 |
- "${WORKDIR}"/*.patch |
319 |
- ) |
320 |
- default |
321 |
- |
322 |
- local biendian=false |
323 |
- |
324 |
- # prepare the default config |
325 |
- case ${ARCH} in |
326 |
- amd64) |
327 |
- cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die |
328 |
- ;; |
329 |
- arm) |
330 |
- return |
331 |
- ;; |
332 |
- arm64) |
333 |
- cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die |
334 |
- biendian=true |
335 |
- ;; |
336 |
- hppa) |
337 |
- return |
338 |
- ;; |
339 |
- ppc) |
340 |
- # assume powermac/powerbook defconfig |
341 |
- # we still package.use.force savedconfig |
342 |
- cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die |
343 |
- ;; |
344 |
- ppc64) |
345 |
- cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die |
346 |
- biendian=true |
347 |
- ;; |
348 |
- x86) |
349 |
- cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die |
350 |
- ;; |
351 |
- *) |
352 |
- die "Unsupported arch ${ARCH}" |
353 |
- ;; |
354 |
- esac |
355 |
- |
356 |
- local myversion="-gentoo-dist" |
357 |
- use hardened && myversion+="-hardened" |
358 |
- echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die |
359 |
- local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" |
360 |
- |
361 |
- local merge_configs=( |
362 |
- "${T}"/version.config |
363 |
- "${dist_conf_path}"/base.config |
364 |
- ) |
365 |
- use debug || merge_configs+=( |
366 |
- "${dist_conf_path}"/no-debug.config |
367 |
- ) |
368 |
- if use hardened; then |
369 |
- merge_configs+=( "${dist_conf_path}"/hardened-base.config ) |
370 |
- |
371 |
- tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) |
372 |
- |
373 |
- if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then |
374 |
- merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) |
375 |
- fi |
376 |
- fi |
377 |
- |
378 |
- # this covers ppc64 and aarch64_be only for now |
379 |
- if [[ ${biendian} == true && $(tc-endian) == big ]]; then |
380 |
- merge_configs+=( "${dist_conf_path}/big-endian.config" ) |
381 |
- fi |
382 |
- |
383 |
- kernel-build_merge_configs "${merge_configs[@]}" |
384 |
-} |
385 |
|
386 |
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.130.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.130.ebuild |
387 |
deleted file mode 100644 |
388 |
index 161f70398d65..000000000000 |
389 |
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.130.ebuild |
390 |
+++ /dev/null |
391 |
@@ -1,131 +0,0 @@ |
392 |
-# Copyright 2020-2022 Gentoo Authors |
393 |
-# Distributed under the terms of the GNU General Public License v2 |
394 |
- |
395 |
-EAPI=7 |
396 |
- |
397 |
-inherit kernel-build toolchain-funcs |
398 |
- |
399 |
-MY_P=linux-${PV%.*} |
400 |
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 9 )) |
401 |
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 |
402 |
-CONFIG_VER=5.10.12 |
403 |
-CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530 |
404 |
-GENTOO_CONFIG_VER=g1 |
405 |
- |
406 |
-DESCRIPTION="Linux kernel built with Gentoo patches" |
407 |
-HOMEPAGE="https://www.kernel.org/" |
408 |
-SRC_URI+=" |
409 |
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz |
410 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz |
411 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz |
412 |
- https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz |
413 |
- -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz |
414 |
- amd64? ( |
415 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config |
416 |
- -> kernel-x86_64-fedora.config.${CONFIG_VER} |
417 |
- ) |
418 |
- arm64? ( |
419 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config |
420 |
- -> kernel-aarch64-fedora.config.${CONFIG_VER} |
421 |
- ) |
422 |
- ppc64? ( |
423 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config |
424 |
- -> kernel-ppc64le-fedora.config.${CONFIG_VER} |
425 |
- ) |
426 |
- x86? ( |
427 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config |
428 |
- -> kernel-i686-fedora.config.${CONFIG_VER} |
429 |
- ) |
430 |
-" |
431 |
-S=${WORKDIR}/${MY_P} |
432 |
- |
433 |
-LICENSE="GPL-2" |
434 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" |
435 |
-IUSE="debug hardened" |
436 |
-REQUIRED_USE="arm? ( savedconfig )" |
437 |
- |
438 |
-RDEPEND=" |
439 |
- !sys-kernel/gentoo-kernel-bin:${SLOT} |
440 |
-" |
441 |
-BDEPEND=" |
442 |
- debug? ( dev-util/pahole ) |
443 |
-" |
444 |
-PDEPEND=" |
445 |
- >=virtual/dist-kernel-${PV} |
446 |
-" |
447 |
- |
448 |
-QA_FLAGS_IGNORED=" |
449 |
- usr/src/linux-.*/scripts/gcc-plugins/.*.so |
450 |
- usr/src/linux-.*/vmlinux |
451 |
-" |
452 |
- |
453 |
-src_prepare() { |
454 |
- local PATCHES=( |
455 |
- # meh, genpatches have no directory |
456 |
- "${WORKDIR}"/*.patch |
457 |
- ) |
458 |
- default |
459 |
- |
460 |
- local biendian=false |
461 |
- |
462 |
- # prepare the default config |
463 |
- case ${ARCH} in |
464 |
- amd64) |
465 |
- cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die |
466 |
- ;; |
467 |
- arm) |
468 |
- return |
469 |
- ;; |
470 |
- arm64) |
471 |
- cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die |
472 |
- biendian=true |
473 |
- ;; |
474 |
- hppa) |
475 |
- return |
476 |
- ;; |
477 |
- ppc) |
478 |
- # assume powermac/powerbook defconfig |
479 |
- # we still package.use.force savedconfig |
480 |
- cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die |
481 |
- ;; |
482 |
- ppc64) |
483 |
- cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die |
484 |
- biendian=true |
485 |
- ;; |
486 |
- x86) |
487 |
- cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die |
488 |
- ;; |
489 |
- *) |
490 |
- die "Unsupported arch ${ARCH}" |
491 |
- ;; |
492 |
- esac |
493 |
- |
494 |
- local myversion="-gentoo-dist" |
495 |
- use hardened && myversion+="-hardened" |
496 |
- echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die |
497 |
- local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" |
498 |
- |
499 |
- local merge_configs=( |
500 |
- "${T}"/version.config |
501 |
- "${dist_conf_path}"/base.config |
502 |
- ) |
503 |
- use debug || merge_configs+=( |
504 |
- "${dist_conf_path}"/no-debug.config |
505 |
- ) |
506 |
- if use hardened; then |
507 |
- merge_configs+=( "${dist_conf_path}"/hardened-base.config ) |
508 |
- |
509 |
- tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) |
510 |
- |
511 |
- if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then |
512 |
- merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) |
513 |
- fi |
514 |
- fi |
515 |
- |
516 |
- # this covers ppc64 and aarch64_be only for now |
517 |
- if [[ ${biendian} == true && $(tc-endian) == big ]]; then |
518 |
- merge_configs+=( "${dist_conf_path}/big-endian.config" ) |
519 |
- fi |
520 |
- |
521 |
- kernel-build_merge_configs "${merge_configs[@]}" |
522 |
-} |
523 |
|
524 |
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.131.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.131.ebuild |
525 |
deleted file mode 100644 |
526 |
index 161f70398d65..000000000000 |
527 |
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.131.ebuild |
528 |
+++ /dev/null |
529 |
@@ -1,131 +0,0 @@ |
530 |
-# Copyright 2020-2022 Gentoo Authors |
531 |
-# Distributed under the terms of the GNU General Public License v2 |
532 |
- |
533 |
-EAPI=7 |
534 |
- |
535 |
-inherit kernel-build toolchain-funcs |
536 |
- |
537 |
-MY_P=linux-${PV%.*} |
538 |
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 9 )) |
539 |
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 |
540 |
-CONFIG_VER=5.10.12 |
541 |
-CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530 |
542 |
-GENTOO_CONFIG_VER=g1 |
543 |
- |
544 |
-DESCRIPTION="Linux kernel built with Gentoo patches" |
545 |
-HOMEPAGE="https://www.kernel.org/" |
546 |
-SRC_URI+=" |
547 |
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz |
548 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz |
549 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz |
550 |
- https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz |
551 |
- -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz |
552 |
- amd64? ( |
553 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config |
554 |
- -> kernel-x86_64-fedora.config.${CONFIG_VER} |
555 |
- ) |
556 |
- arm64? ( |
557 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config |
558 |
- -> kernel-aarch64-fedora.config.${CONFIG_VER} |
559 |
- ) |
560 |
- ppc64? ( |
561 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config |
562 |
- -> kernel-ppc64le-fedora.config.${CONFIG_VER} |
563 |
- ) |
564 |
- x86? ( |
565 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config |
566 |
- -> kernel-i686-fedora.config.${CONFIG_VER} |
567 |
- ) |
568 |
-" |
569 |
-S=${WORKDIR}/${MY_P} |
570 |
- |
571 |
-LICENSE="GPL-2" |
572 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" |
573 |
-IUSE="debug hardened" |
574 |
-REQUIRED_USE="arm? ( savedconfig )" |
575 |
- |
576 |
-RDEPEND=" |
577 |
- !sys-kernel/gentoo-kernel-bin:${SLOT} |
578 |
-" |
579 |
-BDEPEND=" |
580 |
- debug? ( dev-util/pahole ) |
581 |
-" |
582 |
-PDEPEND=" |
583 |
- >=virtual/dist-kernel-${PV} |
584 |
-" |
585 |
- |
586 |
-QA_FLAGS_IGNORED=" |
587 |
- usr/src/linux-.*/scripts/gcc-plugins/.*.so |
588 |
- usr/src/linux-.*/vmlinux |
589 |
-" |
590 |
- |
591 |
-src_prepare() { |
592 |
- local PATCHES=( |
593 |
- # meh, genpatches have no directory |
594 |
- "${WORKDIR}"/*.patch |
595 |
- ) |
596 |
- default |
597 |
- |
598 |
- local biendian=false |
599 |
- |
600 |
- # prepare the default config |
601 |
- case ${ARCH} in |
602 |
- amd64) |
603 |
- cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die |
604 |
- ;; |
605 |
- arm) |
606 |
- return |
607 |
- ;; |
608 |
- arm64) |
609 |
- cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die |
610 |
- biendian=true |
611 |
- ;; |
612 |
- hppa) |
613 |
- return |
614 |
- ;; |
615 |
- ppc) |
616 |
- # assume powermac/powerbook defconfig |
617 |
- # we still package.use.force savedconfig |
618 |
- cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die |
619 |
- ;; |
620 |
- ppc64) |
621 |
- cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die |
622 |
- biendian=true |
623 |
- ;; |
624 |
- x86) |
625 |
- cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die |
626 |
- ;; |
627 |
- *) |
628 |
- die "Unsupported arch ${ARCH}" |
629 |
- ;; |
630 |
- esac |
631 |
- |
632 |
- local myversion="-gentoo-dist" |
633 |
- use hardened && myversion+="-hardened" |
634 |
- echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die |
635 |
- local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" |
636 |
- |
637 |
- local merge_configs=( |
638 |
- "${T}"/version.config |
639 |
- "${dist_conf_path}"/base.config |
640 |
- ) |
641 |
- use debug || merge_configs+=( |
642 |
- "${dist_conf_path}"/no-debug.config |
643 |
- ) |
644 |
- if use hardened; then |
645 |
- merge_configs+=( "${dist_conf_path}"/hardened-base.config ) |
646 |
- |
647 |
- tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) |
648 |
- |
649 |
- if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then |
650 |
- merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) |
651 |
- fi |
652 |
- fi |
653 |
- |
654 |
- # this covers ppc64 and aarch64_be only for now |
655 |
- if [[ ${biendian} == true && $(tc-endian) == big ]]; then |
656 |
- merge_configs+=( "${dist_conf_path}/big-endian.config" ) |
657 |
- fi |
658 |
- |
659 |
- kernel-build_merge_configs "${merge_configs[@]}" |
660 |
-} |
661 |
|
662 |
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.132.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.132.ebuild |
663 |
deleted file mode 100644 |
664 |
index 161f70398d65..000000000000 |
665 |
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.132.ebuild |
666 |
+++ /dev/null |
667 |
@@ -1,131 +0,0 @@ |
668 |
-# Copyright 2020-2022 Gentoo Authors |
669 |
-# Distributed under the terms of the GNU General Public License v2 |
670 |
- |
671 |
-EAPI=7 |
672 |
- |
673 |
-inherit kernel-build toolchain-funcs |
674 |
- |
675 |
-MY_P=linux-${PV%.*} |
676 |
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 9 )) |
677 |
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 |
678 |
-CONFIG_VER=5.10.12 |
679 |
-CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530 |
680 |
-GENTOO_CONFIG_VER=g1 |
681 |
- |
682 |
-DESCRIPTION="Linux kernel built with Gentoo patches" |
683 |
-HOMEPAGE="https://www.kernel.org/" |
684 |
-SRC_URI+=" |
685 |
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz |
686 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz |
687 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz |
688 |
- https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz |
689 |
- -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz |
690 |
- amd64? ( |
691 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config |
692 |
- -> kernel-x86_64-fedora.config.${CONFIG_VER} |
693 |
- ) |
694 |
- arm64? ( |
695 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config |
696 |
- -> kernel-aarch64-fedora.config.${CONFIG_VER} |
697 |
- ) |
698 |
- ppc64? ( |
699 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config |
700 |
- -> kernel-ppc64le-fedora.config.${CONFIG_VER} |
701 |
- ) |
702 |
- x86? ( |
703 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config |
704 |
- -> kernel-i686-fedora.config.${CONFIG_VER} |
705 |
- ) |
706 |
-" |
707 |
-S=${WORKDIR}/${MY_P} |
708 |
- |
709 |
-LICENSE="GPL-2" |
710 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" |
711 |
-IUSE="debug hardened" |
712 |
-REQUIRED_USE="arm? ( savedconfig )" |
713 |
- |
714 |
-RDEPEND=" |
715 |
- !sys-kernel/gentoo-kernel-bin:${SLOT} |
716 |
-" |
717 |
-BDEPEND=" |
718 |
- debug? ( dev-util/pahole ) |
719 |
-" |
720 |
-PDEPEND=" |
721 |
- >=virtual/dist-kernel-${PV} |
722 |
-" |
723 |
- |
724 |
-QA_FLAGS_IGNORED=" |
725 |
- usr/src/linux-.*/scripts/gcc-plugins/.*.so |
726 |
- usr/src/linux-.*/vmlinux |
727 |
-" |
728 |
- |
729 |
-src_prepare() { |
730 |
- local PATCHES=( |
731 |
- # meh, genpatches have no directory |
732 |
- "${WORKDIR}"/*.patch |
733 |
- ) |
734 |
- default |
735 |
- |
736 |
- local biendian=false |
737 |
- |
738 |
- # prepare the default config |
739 |
- case ${ARCH} in |
740 |
- amd64) |
741 |
- cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die |
742 |
- ;; |
743 |
- arm) |
744 |
- return |
745 |
- ;; |
746 |
- arm64) |
747 |
- cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die |
748 |
- biendian=true |
749 |
- ;; |
750 |
- hppa) |
751 |
- return |
752 |
- ;; |
753 |
- ppc) |
754 |
- # assume powermac/powerbook defconfig |
755 |
- # we still package.use.force savedconfig |
756 |
- cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die |
757 |
- ;; |
758 |
- ppc64) |
759 |
- cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die |
760 |
- biendian=true |
761 |
- ;; |
762 |
- x86) |
763 |
- cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die |
764 |
- ;; |
765 |
- *) |
766 |
- die "Unsupported arch ${ARCH}" |
767 |
- ;; |
768 |
- esac |
769 |
- |
770 |
- local myversion="-gentoo-dist" |
771 |
- use hardened && myversion+="-hardened" |
772 |
- echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die |
773 |
- local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" |
774 |
- |
775 |
- local merge_configs=( |
776 |
- "${T}"/version.config |
777 |
- "${dist_conf_path}"/base.config |
778 |
- ) |
779 |
- use debug || merge_configs+=( |
780 |
- "${dist_conf_path}"/no-debug.config |
781 |
- ) |
782 |
- if use hardened; then |
783 |
- merge_configs+=( "${dist_conf_path}"/hardened-base.config ) |
784 |
- |
785 |
- tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) |
786 |
- |
787 |
- if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then |
788 |
- merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) |
789 |
- fi |
790 |
- fi |
791 |
- |
792 |
- # this covers ppc64 and aarch64_be only for now |
793 |
- if [[ ${biendian} == true && $(tc-endian) == big ]]; then |
794 |
- merge_configs+=( "${dist_conf_path}/big-endian.config" ) |
795 |
- fi |
796 |
- |
797 |
- kernel-build_merge_configs "${merge_configs[@]}" |
798 |
-} |
799 |
|
800 |
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.133.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.133.ebuild |
801 |
deleted file mode 100644 |
802 |
index 4f4f488e6490..000000000000 |
803 |
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.133.ebuild |
804 |
+++ /dev/null |
805 |
@@ -1,131 +0,0 @@ |
806 |
-# Copyright 2020-2022 Gentoo Authors |
807 |
-# Distributed under the terms of the GNU General Public License v2 |
808 |
- |
809 |
-EAPI=7 |
810 |
- |
811 |
-inherit kernel-build toolchain-funcs |
812 |
- |
813 |
-MY_P=linux-${PV%.*} |
814 |
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 9 )) |
815 |
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 |
816 |
-CONFIG_VER=5.10.12 |
817 |
-CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530 |
818 |
-GENTOO_CONFIG_VER=g1 |
819 |
- |
820 |
-DESCRIPTION="Linux kernel built with Gentoo patches" |
821 |
-HOMEPAGE="https://www.kernel.org/" |
822 |
-SRC_URI+=" |
823 |
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz |
824 |
- https://dev.gentoo.org/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz |
825 |
- https://dev.gentoo.org/~alicef/dist/genpatches/${GENPATCHES_P}.extras.tar.xz |
826 |
- https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz |
827 |
- -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz |
828 |
- amd64? ( |
829 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config |
830 |
- -> kernel-x86_64-fedora.config.${CONFIG_VER} |
831 |
- ) |
832 |
- arm64? ( |
833 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config |
834 |
- -> kernel-aarch64-fedora.config.${CONFIG_VER} |
835 |
- ) |
836 |
- ppc64? ( |
837 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config |
838 |
- -> kernel-ppc64le-fedora.config.${CONFIG_VER} |
839 |
- ) |
840 |
- x86? ( |
841 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config |
842 |
- -> kernel-i686-fedora.config.${CONFIG_VER} |
843 |
- ) |
844 |
-" |
845 |
-S=${WORKDIR}/${MY_P} |
846 |
- |
847 |
-LICENSE="GPL-2" |
848 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" |
849 |
-IUSE="debug hardened" |
850 |
-REQUIRED_USE="arm? ( savedconfig )" |
851 |
- |
852 |
-RDEPEND=" |
853 |
- !sys-kernel/gentoo-kernel-bin:${SLOT} |
854 |
-" |
855 |
-BDEPEND=" |
856 |
- debug? ( dev-util/pahole ) |
857 |
-" |
858 |
-PDEPEND=" |
859 |
- >=virtual/dist-kernel-${PV} |
860 |
-" |
861 |
- |
862 |
-QA_FLAGS_IGNORED=" |
863 |
- usr/src/linux-.*/scripts/gcc-plugins/.*.so |
864 |
- usr/src/linux-.*/vmlinux |
865 |
-" |
866 |
- |
867 |
-src_prepare() { |
868 |
- local PATCHES=( |
869 |
- # meh, genpatches have no directory |
870 |
- "${WORKDIR}"/*.patch |
871 |
- ) |
872 |
- default |
873 |
- |
874 |
- local biendian=false |
875 |
- |
876 |
- # prepare the default config |
877 |
- case ${ARCH} in |
878 |
- amd64) |
879 |
- cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die |
880 |
- ;; |
881 |
- arm) |
882 |
- return |
883 |
- ;; |
884 |
- arm64) |
885 |
- cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die |
886 |
- biendian=true |
887 |
- ;; |
888 |
- hppa) |
889 |
- return |
890 |
- ;; |
891 |
- ppc) |
892 |
- # assume powermac/powerbook defconfig |
893 |
- # we still package.use.force savedconfig |
894 |
- cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die |
895 |
- ;; |
896 |
- ppc64) |
897 |
- cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die |
898 |
- biendian=true |
899 |
- ;; |
900 |
- x86) |
901 |
- cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die |
902 |
- ;; |
903 |
- *) |
904 |
- die "Unsupported arch ${ARCH}" |
905 |
- ;; |
906 |
- esac |
907 |
- |
908 |
- local myversion="-gentoo-dist" |
909 |
- use hardened && myversion+="-hardened" |
910 |
- echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die |
911 |
- local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" |
912 |
- |
913 |
- local merge_configs=( |
914 |
- "${T}"/version.config |
915 |
- "${dist_conf_path}"/base.config |
916 |
- ) |
917 |
- use debug || merge_configs+=( |
918 |
- "${dist_conf_path}"/no-debug.config |
919 |
- ) |
920 |
- if use hardened; then |
921 |
- merge_configs+=( "${dist_conf_path}"/hardened-base.config ) |
922 |
- |
923 |
- tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) |
924 |
- |
925 |
- if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then |
926 |
- merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) |
927 |
- fi |
928 |
- fi |
929 |
- |
930 |
- # this covers ppc64 and aarch64_be only for now |
931 |
- if [[ ${biendian} == true && $(tc-endian) == big ]]; then |
932 |
- merge_configs+=( "${dist_conf_path}/big-endian.config" ) |
933 |
- fi |
934 |
- |
935 |
- kernel-build_merge_configs "${merge_configs[@]}" |
936 |
-} |
937 |
|
938 |
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.134.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.134.ebuild |
939 |
deleted file mode 100644 |
940 |
index 161f70398d65..000000000000 |
941 |
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.134.ebuild |
942 |
+++ /dev/null |
943 |
@@ -1,131 +0,0 @@ |
944 |
-# Copyright 2020-2022 Gentoo Authors |
945 |
-# Distributed under the terms of the GNU General Public License v2 |
946 |
- |
947 |
-EAPI=7 |
948 |
- |
949 |
-inherit kernel-build toolchain-funcs |
950 |
- |
951 |
-MY_P=linux-${PV%.*} |
952 |
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 9 )) |
953 |
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 |
954 |
-CONFIG_VER=5.10.12 |
955 |
-CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530 |
956 |
-GENTOO_CONFIG_VER=g1 |
957 |
- |
958 |
-DESCRIPTION="Linux kernel built with Gentoo patches" |
959 |
-HOMEPAGE="https://www.kernel.org/" |
960 |
-SRC_URI+=" |
961 |
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz |
962 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz |
963 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz |
964 |
- https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz |
965 |
- -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz |
966 |
- amd64? ( |
967 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config |
968 |
- -> kernel-x86_64-fedora.config.${CONFIG_VER} |
969 |
- ) |
970 |
- arm64? ( |
971 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config |
972 |
- -> kernel-aarch64-fedora.config.${CONFIG_VER} |
973 |
- ) |
974 |
- ppc64? ( |
975 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config |
976 |
- -> kernel-ppc64le-fedora.config.${CONFIG_VER} |
977 |
- ) |
978 |
- x86? ( |
979 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config |
980 |
- -> kernel-i686-fedora.config.${CONFIG_VER} |
981 |
- ) |
982 |
-" |
983 |
-S=${WORKDIR}/${MY_P} |
984 |
- |
985 |
-LICENSE="GPL-2" |
986 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" |
987 |
-IUSE="debug hardened" |
988 |
-REQUIRED_USE="arm? ( savedconfig )" |
989 |
- |
990 |
-RDEPEND=" |
991 |
- !sys-kernel/gentoo-kernel-bin:${SLOT} |
992 |
-" |
993 |
-BDEPEND=" |
994 |
- debug? ( dev-util/pahole ) |
995 |
-" |
996 |
-PDEPEND=" |
997 |
- >=virtual/dist-kernel-${PV} |
998 |
-" |
999 |
- |
1000 |
-QA_FLAGS_IGNORED=" |
1001 |
- usr/src/linux-.*/scripts/gcc-plugins/.*.so |
1002 |
- usr/src/linux-.*/vmlinux |
1003 |
-" |
1004 |
- |
1005 |
-src_prepare() { |
1006 |
- local PATCHES=( |
1007 |
- # meh, genpatches have no directory |
1008 |
- "${WORKDIR}"/*.patch |
1009 |
- ) |
1010 |
- default |
1011 |
- |
1012 |
- local biendian=false |
1013 |
- |
1014 |
- # prepare the default config |
1015 |
- case ${ARCH} in |
1016 |
- amd64) |
1017 |
- cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die |
1018 |
- ;; |
1019 |
- arm) |
1020 |
- return |
1021 |
- ;; |
1022 |
- arm64) |
1023 |
- cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die |
1024 |
- biendian=true |
1025 |
- ;; |
1026 |
- hppa) |
1027 |
- return |
1028 |
- ;; |
1029 |
- ppc) |
1030 |
- # assume powermac/powerbook defconfig |
1031 |
- # we still package.use.force savedconfig |
1032 |
- cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die |
1033 |
- ;; |
1034 |
- ppc64) |
1035 |
- cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die |
1036 |
- biendian=true |
1037 |
- ;; |
1038 |
- x86) |
1039 |
- cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die |
1040 |
- ;; |
1041 |
- *) |
1042 |
- die "Unsupported arch ${ARCH}" |
1043 |
- ;; |
1044 |
- esac |
1045 |
- |
1046 |
- local myversion="-gentoo-dist" |
1047 |
- use hardened && myversion+="-hardened" |
1048 |
- echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die |
1049 |
- local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" |
1050 |
- |
1051 |
- local merge_configs=( |
1052 |
- "${T}"/version.config |
1053 |
- "${dist_conf_path}"/base.config |
1054 |
- ) |
1055 |
- use debug || merge_configs+=( |
1056 |
- "${dist_conf_path}"/no-debug.config |
1057 |
- ) |
1058 |
- if use hardened; then |
1059 |
- merge_configs+=( "${dist_conf_path}"/hardened-base.config ) |
1060 |
- |
1061 |
- tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) |
1062 |
- |
1063 |
- if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then |
1064 |
- merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) |
1065 |
- fi |
1066 |
- fi |
1067 |
- |
1068 |
- # this covers ppc64 and aarch64_be only for now |
1069 |
- if [[ ${biendian} == true && $(tc-endian) == big ]]; then |
1070 |
- merge_configs+=( "${dist_conf_path}/big-endian.config" ) |
1071 |
- fi |
1072 |
- |
1073 |
- kernel-build_merge_configs "${merge_configs[@]}" |
1074 |
-} |
1075 |
|
1076 |
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.52.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.52.ebuild |
1077 |
deleted file mode 100644 |
1078 |
index 68008deb98f3..000000000000 |
1079 |
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.52.ebuild |
1080 |
+++ /dev/null |
1081 |
@@ -1,131 +0,0 @@ |
1082 |
-# Copyright 2020-2022 Gentoo Authors |
1083 |
-# Distributed under the terms of the GNU General Public License v2 |
1084 |
- |
1085 |
-EAPI=7 |
1086 |
- |
1087 |
-inherit kernel-build toolchain-funcs |
1088 |
- |
1089 |
-MY_P=linux-${PV%.*} |
1090 |
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 4 )) |
1091 |
-CONFIG_VER=5.15.19 |
1092 |
-CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01 |
1093 |
-GENTOO_CONFIG_VER=g1 |
1094 |
- |
1095 |
-DESCRIPTION="Linux kernel built with Gentoo patches" |
1096 |
-HOMEPAGE="https://www.kernel.org/" |
1097 |
-SRC_URI+=" |
1098 |
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz |
1099 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz |
1100 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz |
1101 |
- https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz |
1102 |
- -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz |
1103 |
- amd64? ( |
1104 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config |
1105 |
- -> kernel-x86_64-fedora.config.${CONFIG_VER} |
1106 |
- ) |
1107 |
- arm64? ( |
1108 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config |
1109 |
- -> kernel-aarch64-fedora.config.${CONFIG_VER} |
1110 |
- ) |
1111 |
- ppc64? ( |
1112 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config |
1113 |
- -> kernel-ppc64le-fedora.config.${CONFIG_VER} |
1114 |
- ) |
1115 |
- x86? ( |
1116 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config |
1117 |
- -> kernel-i686-fedora.config.${CONFIG_VER} |
1118 |
- ) |
1119 |
-" |
1120 |
-S=${WORKDIR}/${MY_P} |
1121 |
- |
1122 |
-LICENSE="GPL-2" |
1123 |
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ppc ppc64 x86" |
1124 |
-IUSE="debug hardened" |
1125 |
-REQUIRED_USE="arm? ( savedconfig )" |
1126 |
- |
1127 |
-RDEPEND=" |
1128 |
- !sys-kernel/gentoo-kernel-bin:${SLOT} |
1129 |
-" |
1130 |
-BDEPEND=" |
1131 |
- debug? ( dev-util/pahole ) |
1132 |
-" |
1133 |
-PDEPEND=" |
1134 |
- >=virtual/dist-kernel-${PV} |
1135 |
-" |
1136 |
- |
1137 |
-QA_FLAGS_IGNORED=" |
1138 |
- usr/src/linux-.*/scripts/gcc-plugins/.*.so |
1139 |
- usr/src/linux-.*/vmlinux |
1140 |
- usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg |
1141 |
-" |
1142 |
- |
1143 |
-src_prepare() { |
1144 |
- local PATCHES=( |
1145 |
- # meh, genpatches have no directory |
1146 |
- "${WORKDIR}"/*.patch |
1147 |
- ) |
1148 |
- default |
1149 |
- |
1150 |
- local biendian=false |
1151 |
- |
1152 |
- # prepare the default config |
1153 |
- case ${ARCH} in |
1154 |
- amd64) |
1155 |
- cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die |
1156 |
- ;; |
1157 |
- arm) |
1158 |
- return |
1159 |
- ;; |
1160 |
- arm64) |
1161 |
- cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die |
1162 |
- biendian=true |
1163 |
- ;; |
1164 |
- hppa) |
1165 |
- return |
1166 |
- ;; |
1167 |
- ppc) |
1168 |
- # assume powermac/powerbook defconfig |
1169 |
- # we still package.use.force savedconfig |
1170 |
- cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die |
1171 |
- ;; |
1172 |
- ppc64) |
1173 |
- cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die |
1174 |
- biendian=true |
1175 |
- ;; |
1176 |
- x86) |
1177 |
- cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die |
1178 |
- ;; |
1179 |
- *) |
1180 |
- die "Unsupported arch ${ARCH}" |
1181 |
- ;; |
1182 |
- esac |
1183 |
- |
1184 |
- local myversion="-gentoo-dist" |
1185 |
- use hardened && myversion+="-hardened" |
1186 |
- echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die |
1187 |
- local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" |
1188 |
- |
1189 |
- local merge_configs=( |
1190 |
- "${T}"/version.config |
1191 |
- "${dist_conf_path}"/base.config |
1192 |
- ) |
1193 |
- use debug || merge_configs+=( |
1194 |
- "${dist_conf_path}"/no-debug.config |
1195 |
- ) |
1196 |
- if use hardened; then |
1197 |
- merge_configs+=( "${dist_conf_path}"/hardened-base.config ) |
1198 |
- |
1199 |
- tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) |
1200 |
- |
1201 |
- if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then |
1202 |
- merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) |
1203 |
- fi |
1204 |
- fi |
1205 |
- |
1206 |
- # this covers ppc64 and aarch64_be only for now |
1207 |
- if [[ ${biendian} == true && $(tc-endian) == big ]]; then |
1208 |
- merge_configs+=( "${dist_conf_path}/big-endian.config" ) |
1209 |
- fi |
1210 |
- |
1211 |
- kernel-build_merge_configs "${merge_configs[@]}" |
1212 |
-} |
1213 |
|
1214 |
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.53.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.53.ebuild |
1215 |
deleted file mode 100644 |
1216 |
index 3e9875ab5936..000000000000 |
1217 |
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.53.ebuild |
1218 |
+++ /dev/null |
1219 |
@@ -1,131 +0,0 @@ |
1220 |
-# Copyright 2020-2022 Gentoo Authors |
1221 |
-# Distributed under the terms of the GNU General Public License v2 |
1222 |
- |
1223 |
-EAPI=7 |
1224 |
- |
1225 |
-inherit kernel-build toolchain-funcs |
1226 |
- |
1227 |
-MY_P=linux-${PV%.*} |
1228 |
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 4 )) |
1229 |
-CONFIG_VER=5.15.19 |
1230 |
-CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01 |
1231 |
-GENTOO_CONFIG_VER=g1 |
1232 |
- |
1233 |
-DESCRIPTION="Linux kernel built with Gentoo patches" |
1234 |
-HOMEPAGE="https://www.kernel.org/" |
1235 |
-SRC_URI+=" |
1236 |
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz |
1237 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz |
1238 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz |
1239 |
- https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz |
1240 |
- -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz |
1241 |
- amd64? ( |
1242 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config |
1243 |
- -> kernel-x86_64-fedora.config.${CONFIG_VER} |
1244 |
- ) |
1245 |
- arm64? ( |
1246 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config |
1247 |
- -> kernel-aarch64-fedora.config.${CONFIG_VER} |
1248 |
- ) |
1249 |
- ppc64? ( |
1250 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config |
1251 |
- -> kernel-ppc64le-fedora.config.${CONFIG_VER} |
1252 |
- ) |
1253 |
- x86? ( |
1254 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config |
1255 |
- -> kernel-i686-fedora.config.${CONFIG_VER} |
1256 |
- ) |
1257 |
-" |
1258 |
-S=${WORKDIR}/${MY_P} |
1259 |
- |
1260 |
-LICENSE="GPL-2" |
1261 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" |
1262 |
-IUSE="debug hardened" |
1263 |
-REQUIRED_USE="arm? ( savedconfig )" |
1264 |
- |
1265 |
-RDEPEND=" |
1266 |
- !sys-kernel/gentoo-kernel-bin:${SLOT} |
1267 |
-" |
1268 |
-BDEPEND=" |
1269 |
- debug? ( dev-util/pahole ) |
1270 |
-" |
1271 |
-PDEPEND=" |
1272 |
- >=virtual/dist-kernel-${PV} |
1273 |
-" |
1274 |
- |
1275 |
-QA_FLAGS_IGNORED=" |
1276 |
- usr/src/linux-.*/scripts/gcc-plugins/.*.so |
1277 |
- usr/src/linux-.*/vmlinux |
1278 |
- usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg |
1279 |
-" |
1280 |
- |
1281 |
-src_prepare() { |
1282 |
- local PATCHES=( |
1283 |
- # meh, genpatches have no directory |
1284 |
- "${WORKDIR}"/*.patch |
1285 |
- ) |
1286 |
- default |
1287 |
- |
1288 |
- local biendian=false |
1289 |
- |
1290 |
- # prepare the default config |
1291 |
- case ${ARCH} in |
1292 |
- amd64) |
1293 |
- cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die |
1294 |
- ;; |
1295 |
- arm) |
1296 |
- return |
1297 |
- ;; |
1298 |
- arm64) |
1299 |
- cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die |
1300 |
- biendian=true |
1301 |
- ;; |
1302 |
- hppa) |
1303 |
- return |
1304 |
- ;; |
1305 |
- ppc) |
1306 |
- # assume powermac/powerbook defconfig |
1307 |
- # we still package.use.force savedconfig |
1308 |
- cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die |
1309 |
- ;; |
1310 |
- ppc64) |
1311 |
- cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die |
1312 |
- biendian=true |
1313 |
- ;; |
1314 |
- x86) |
1315 |
- cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die |
1316 |
- ;; |
1317 |
- *) |
1318 |
- die "Unsupported arch ${ARCH}" |
1319 |
- ;; |
1320 |
- esac |
1321 |
- |
1322 |
- local myversion="-gentoo-dist" |
1323 |
- use hardened && myversion+="-hardened" |
1324 |
- echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die |
1325 |
- local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" |
1326 |
- |
1327 |
- local merge_configs=( |
1328 |
- "${T}"/version.config |
1329 |
- "${dist_conf_path}"/base.config |
1330 |
- ) |
1331 |
- use debug || merge_configs+=( |
1332 |
- "${dist_conf_path}"/no-debug.config |
1333 |
- ) |
1334 |
- if use hardened; then |
1335 |
- merge_configs+=( "${dist_conf_path}"/hardened-base.config ) |
1336 |
- |
1337 |
- tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) |
1338 |
- |
1339 |
- if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then |
1340 |
- merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) |
1341 |
- fi |
1342 |
- fi |
1343 |
- |
1344 |
- # this covers ppc64 and aarch64_be only for now |
1345 |
- if [[ ${biendian} == true && $(tc-endian) == big ]]; then |
1346 |
- merge_configs+=( "${dist_conf_path}/big-endian.config" ) |
1347 |
- fi |
1348 |
- |
1349 |
- kernel-build_merge_configs "${merge_configs[@]}" |
1350 |
-} |
1351 |
|
1352 |
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.54.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.54.ebuild |
1353 |
deleted file mode 100644 |
1354 |
index 3e9875ab5936..000000000000 |
1355 |
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.54.ebuild |
1356 |
+++ /dev/null |
1357 |
@@ -1,131 +0,0 @@ |
1358 |
-# Copyright 2020-2022 Gentoo Authors |
1359 |
-# Distributed under the terms of the GNU General Public License v2 |
1360 |
- |
1361 |
-EAPI=7 |
1362 |
- |
1363 |
-inherit kernel-build toolchain-funcs |
1364 |
- |
1365 |
-MY_P=linux-${PV%.*} |
1366 |
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 4 )) |
1367 |
-CONFIG_VER=5.15.19 |
1368 |
-CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01 |
1369 |
-GENTOO_CONFIG_VER=g1 |
1370 |
- |
1371 |
-DESCRIPTION="Linux kernel built with Gentoo patches" |
1372 |
-HOMEPAGE="https://www.kernel.org/" |
1373 |
-SRC_URI+=" |
1374 |
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz |
1375 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz |
1376 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz |
1377 |
- https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz |
1378 |
- -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz |
1379 |
- amd64? ( |
1380 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config |
1381 |
- -> kernel-x86_64-fedora.config.${CONFIG_VER} |
1382 |
- ) |
1383 |
- arm64? ( |
1384 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config |
1385 |
- -> kernel-aarch64-fedora.config.${CONFIG_VER} |
1386 |
- ) |
1387 |
- ppc64? ( |
1388 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config |
1389 |
- -> kernel-ppc64le-fedora.config.${CONFIG_VER} |
1390 |
- ) |
1391 |
- x86? ( |
1392 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config |
1393 |
- -> kernel-i686-fedora.config.${CONFIG_VER} |
1394 |
- ) |
1395 |
-" |
1396 |
-S=${WORKDIR}/${MY_P} |
1397 |
- |
1398 |
-LICENSE="GPL-2" |
1399 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" |
1400 |
-IUSE="debug hardened" |
1401 |
-REQUIRED_USE="arm? ( savedconfig )" |
1402 |
- |
1403 |
-RDEPEND=" |
1404 |
- !sys-kernel/gentoo-kernel-bin:${SLOT} |
1405 |
-" |
1406 |
-BDEPEND=" |
1407 |
- debug? ( dev-util/pahole ) |
1408 |
-" |
1409 |
-PDEPEND=" |
1410 |
- >=virtual/dist-kernel-${PV} |
1411 |
-" |
1412 |
- |
1413 |
-QA_FLAGS_IGNORED=" |
1414 |
- usr/src/linux-.*/scripts/gcc-plugins/.*.so |
1415 |
- usr/src/linux-.*/vmlinux |
1416 |
- usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg |
1417 |
-" |
1418 |
- |
1419 |
-src_prepare() { |
1420 |
- local PATCHES=( |
1421 |
- # meh, genpatches have no directory |
1422 |
- "${WORKDIR}"/*.patch |
1423 |
- ) |
1424 |
- default |
1425 |
- |
1426 |
- local biendian=false |
1427 |
- |
1428 |
- # prepare the default config |
1429 |
- case ${ARCH} in |
1430 |
- amd64) |
1431 |
- cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die |
1432 |
- ;; |
1433 |
- arm) |
1434 |
- return |
1435 |
- ;; |
1436 |
- arm64) |
1437 |
- cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die |
1438 |
- biendian=true |
1439 |
- ;; |
1440 |
- hppa) |
1441 |
- return |
1442 |
- ;; |
1443 |
- ppc) |
1444 |
- # assume powermac/powerbook defconfig |
1445 |
- # we still package.use.force savedconfig |
1446 |
- cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die |
1447 |
- ;; |
1448 |
- ppc64) |
1449 |
- cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die |
1450 |
- biendian=true |
1451 |
- ;; |
1452 |
- x86) |
1453 |
- cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die |
1454 |
- ;; |
1455 |
- *) |
1456 |
- die "Unsupported arch ${ARCH}" |
1457 |
- ;; |
1458 |
- esac |
1459 |
- |
1460 |
- local myversion="-gentoo-dist" |
1461 |
- use hardened && myversion+="-hardened" |
1462 |
- echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die |
1463 |
- local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" |
1464 |
- |
1465 |
- local merge_configs=( |
1466 |
- "${T}"/version.config |
1467 |
- "${dist_conf_path}"/base.config |
1468 |
- ) |
1469 |
- use debug || merge_configs+=( |
1470 |
- "${dist_conf_path}"/no-debug.config |
1471 |
- ) |
1472 |
- if use hardened; then |
1473 |
- merge_configs+=( "${dist_conf_path}"/hardened-base.config ) |
1474 |
- |
1475 |
- tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) |
1476 |
- |
1477 |
- if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then |
1478 |
- merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) |
1479 |
- fi |
1480 |
- fi |
1481 |
- |
1482 |
- # this covers ppc64 and aarch64_be only for now |
1483 |
- if [[ ${biendian} == true && $(tc-endian) == big ]]; then |
1484 |
- merge_configs+=( "${dist_conf_path}/big-endian.config" ) |
1485 |
- fi |
1486 |
- |
1487 |
- kernel-build_merge_configs "${merge_configs[@]}" |
1488 |
-} |
1489 |
|
1490 |
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.55.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.55.ebuild |
1491 |
deleted file mode 100644 |
1492 |
index 3e9875ab5936..000000000000 |
1493 |
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.55.ebuild |
1494 |
+++ /dev/null |
1495 |
@@ -1,131 +0,0 @@ |
1496 |
-# Copyright 2020-2022 Gentoo Authors |
1497 |
-# Distributed under the terms of the GNU General Public License v2 |
1498 |
- |
1499 |
-EAPI=7 |
1500 |
- |
1501 |
-inherit kernel-build toolchain-funcs |
1502 |
- |
1503 |
-MY_P=linux-${PV%.*} |
1504 |
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 4 )) |
1505 |
-CONFIG_VER=5.15.19 |
1506 |
-CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01 |
1507 |
-GENTOO_CONFIG_VER=g1 |
1508 |
- |
1509 |
-DESCRIPTION="Linux kernel built with Gentoo patches" |
1510 |
-HOMEPAGE="https://www.kernel.org/" |
1511 |
-SRC_URI+=" |
1512 |
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz |
1513 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz |
1514 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz |
1515 |
- https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz |
1516 |
- -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz |
1517 |
- amd64? ( |
1518 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config |
1519 |
- -> kernel-x86_64-fedora.config.${CONFIG_VER} |
1520 |
- ) |
1521 |
- arm64? ( |
1522 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config |
1523 |
- -> kernel-aarch64-fedora.config.${CONFIG_VER} |
1524 |
- ) |
1525 |
- ppc64? ( |
1526 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config |
1527 |
- -> kernel-ppc64le-fedora.config.${CONFIG_VER} |
1528 |
- ) |
1529 |
- x86? ( |
1530 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config |
1531 |
- -> kernel-i686-fedora.config.${CONFIG_VER} |
1532 |
- ) |
1533 |
-" |
1534 |
-S=${WORKDIR}/${MY_P} |
1535 |
- |
1536 |
-LICENSE="GPL-2" |
1537 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" |
1538 |
-IUSE="debug hardened" |
1539 |
-REQUIRED_USE="arm? ( savedconfig )" |
1540 |
- |
1541 |
-RDEPEND=" |
1542 |
- !sys-kernel/gentoo-kernel-bin:${SLOT} |
1543 |
-" |
1544 |
-BDEPEND=" |
1545 |
- debug? ( dev-util/pahole ) |
1546 |
-" |
1547 |
-PDEPEND=" |
1548 |
- >=virtual/dist-kernel-${PV} |
1549 |
-" |
1550 |
- |
1551 |
-QA_FLAGS_IGNORED=" |
1552 |
- usr/src/linux-.*/scripts/gcc-plugins/.*.so |
1553 |
- usr/src/linux-.*/vmlinux |
1554 |
- usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg |
1555 |
-" |
1556 |
- |
1557 |
-src_prepare() { |
1558 |
- local PATCHES=( |
1559 |
- # meh, genpatches have no directory |
1560 |
- "${WORKDIR}"/*.patch |
1561 |
- ) |
1562 |
- default |
1563 |
- |
1564 |
- local biendian=false |
1565 |
- |
1566 |
- # prepare the default config |
1567 |
- case ${ARCH} in |
1568 |
- amd64) |
1569 |
- cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die |
1570 |
- ;; |
1571 |
- arm) |
1572 |
- return |
1573 |
- ;; |
1574 |
- arm64) |
1575 |
- cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die |
1576 |
- biendian=true |
1577 |
- ;; |
1578 |
- hppa) |
1579 |
- return |
1580 |
- ;; |
1581 |
- ppc) |
1582 |
- # assume powermac/powerbook defconfig |
1583 |
- # we still package.use.force savedconfig |
1584 |
- cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die |
1585 |
- ;; |
1586 |
- ppc64) |
1587 |
- cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die |
1588 |
- biendian=true |
1589 |
- ;; |
1590 |
- x86) |
1591 |
- cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die |
1592 |
- ;; |
1593 |
- *) |
1594 |
- die "Unsupported arch ${ARCH}" |
1595 |
- ;; |
1596 |
- esac |
1597 |
- |
1598 |
- local myversion="-gentoo-dist" |
1599 |
- use hardened && myversion+="-hardened" |
1600 |
- echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die |
1601 |
- local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" |
1602 |
- |
1603 |
- local merge_configs=( |
1604 |
- "${T}"/version.config |
1605 |
- "${dist_conf_path}"/base.config |
1606 |
- ) |
1607 |
- use debug || merge_configs+=( |
1608 |
- "${dist_conf_path}"/no-debug.config |
1609 |
- ) |
1610 |
- if use hardened; then |
1611 |
- merge_configs+=( "${dist_conf_path}"/hardened-base.config ) |
1612 |
- |
1613 |
- tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) |
1614 |
- |
1615 |
- if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then |
1616 |
- merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) |
1617 |
- fi |
1618 |
- fi |
1619 |
- |
1620 |
- # this covers ppc64 and aarch64_be only for now |
1621 |
- if [[ ${biendian} == true && $(tc-endian) == big ]]; then |
1622 |
- merge_configs+=( "${dist_conf_path}/big-endian.config" ) |
1623 |
- fi |
1624 |
- |
1625 |
- kernel-build_merge_configs "${merge_configs[@]}" |
1626 |
-} |
1627 |
|
1628 |
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.56.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.56.ebuild |
1629 |
deleted file mode 100644 |
1630 |
index 3e9875ab5936..000000000000 |
1631 |
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.56.ebuild |
1632 |
+++ /dev/null |
1633 |
@@ -1,131 +0,0 @@ |
1634 |
-# Copyright 2020-2022 Gentoo Authors |
1635 |
-# Distributed under the terms of the GNU General Public License v2 |
1636 |
- |
1637 |
-EAPI=7 |
1638 |
- |
1639 |
-inherit kernel-build toolchain-funcs |
1640 |
- |
1641 |
-MY_P=linux-${PV%.*} |
1642 |
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 4 )) |
1643 |
-CONFIG_VER=5.15.19 |
1644 |
-CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01 |
1645 |
-GENTOO_CONFIG_VER=g1 |
1646 |
- |
1647 |
-DESCRIPTION="Linux kernel built with Gentoo patches" |
1648 |
-HOMEPAGE="https://www.kernel.org/" |
1649 |
-SRC_URI+=" |
1650 |
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz |
1651 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz |
1652 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz |
1653 |
- https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz |
1654 |
- -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz |
1655 |
- amd64? ( |
1656 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config |
1657 |
- -> kernel-x86_64-fedora.config.${CONFIG_VER} |
1658 |
- ) |
1659 |
- arm64? ( |
1660 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config |
1661 |
- -> kernel-aarch64-fedora.config.${CONFIG_VER} |
1662 |
- ) |
1663 |
- ppc64? ( |
1664 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config |
1665 |
- -> kernel-ppc64le-fedora.config.${CONFIG_VER} |
1666 |
- ) |
1667 |
- x86? ( |
1668 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config |
1669 |
- -> kernel-i686-fedora.config.${CONFIG_VER} |
1670 |
- ) |
1671 |
-" |
1672 |
-S=${WORKDIR}/${MY_P} |
1673 |
- |
1674 |
-LICENSE="GPL-2" |
1675 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" |
1676 |
-IUSE="debug hardened" |
1677 |
-REQUIRED_USE="arm? ( savedconfig )" |
1678 |
- |
1679 |
-RDEPEND=" |
1680 |
- !sys-kernel/gentoo-kernel-bin:${SLOT} |
1681 |
-" |
1682 |
-BDEPEND=" |
1683 |
- debug? ( dev-util/pahole ) |
1684 |
-" |
1685 |
-PDEPEND=" |
1686 |
- >=virtual/dist-kernel-${PV} |
1687 |
-" |
1688 |
- |
1689 |
-QA_FLAGS_IGNORED=" |
1690 |
- usr/src/linux-.*/scripts/gcc-plugins/.*.so |
1691 |
- usr/src/linux-.*/vmlinux |
1692 |
- usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg |
1693 |
-" |
1694 |
- |
1695 |
-src_prepare() { |
1696 |
- local PATCHES=( |
1697 |
- # meh, genpatches have no directory |
1698 |
- "${WORKDIR}"/*.patch |
1699 |
- ) |
1700 |
- default |
1701 |
- |
1702 |
- local biendian=false |
1703 |
- |
1704 |
- # prepare the default config |
1705 |
- case ${ARCH} in |
1706 |
- amd64) |
1707 |
- cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die |
1708 |
- ;; |
1709 |
- arm) |
1710 |
- return |
1711 |
- ;; |
1712 |
- arm64) |
1713 |
- cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die |
1714 |
- biendian=true |
1715 |
- ;; |
1716 |
- hppa) |
1717 |
- return |
1718 |
- ;; |
1719 |
- ppc) |
1720 |
- # assume powermac/powerbook defconfig |
1721 |
- # we still package.use.force savedconfig |
1722 |
- cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die |
1723 |
- ;; |
1724 |
- ppc64) |
1725 |
- cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die |
1726 |
- biendian=true |
1727 |
- ;; |
1728 |
- x86) |
1729 |
- cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die |
1730 |
- ;; |
1731 |
- *) |
1732 |
- die "Unsupported arch ${ARCH}" |
1733 |
- ;; |
1734 |
- esac |
1735 |
- |
1736 |
- local myversion="-gentoo-dist" |
1737 |
- use hardened && myversion+="-hardened" |
1738 |
- echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die |
1739 |
- local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" |
1740 |
- |
1741 |
- local merge_configs=( |
1742 |
- "${T}"/version.config |
1743 |
- "${dist_conf_path}"/base.config |
1744 |
- ) |
1745 |
- use debug || merge_configs+=( |
1746 |
- "${dist_conf_path}"/no-debug.config |
1747 |
- ) |
1748 |
- if use hardened; then |
1749 |
- merge_configs+=( "${dist_conf_path}"/hardened-base.config ) |
1750 |
- |
1751 |
- tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) |
1752 |
- |
1753 |
- if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then |
1754 |
- merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) |
1755 |
- fi |
1756 |
- fi |
1757 |
- |
1758 |
- # this covers ppc64 and aarch64_be only for now |
1759 |
- if [[ ${biendian} == true && $(tc-endian) == big ]]; then |
1760 |
- merge_configs+=( "${dist_conf_path}/big-endian.config" ) |
1761 |
- fi |
1762 |
- |
1763 |
- kernel-build_merge_configs "${merge_configs[@]}" |
1764 |
-} |
1765 |
|
1766 |
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.57.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.57.ebuild |
1767 |
deleted file mode 100644 |
1768 |
index 0703d999bb5d..000000000000 |
1769 |
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.57.ebuild |
1770 |
+++ /dev/null |
1771 |
@@ -1,131 +0,0 @@ |
1772 |
-# Copyright 2020-2022 Gentoo Authors |
1773 |
-# Distributed under the terms of the GNU General Public License v2 |
1774 |
- |
1775 |
-EAPI=7 |
1776 |
- |
1777 |
-inherit kernel-build toolchain-funcs |
1778 |
- |
1779 |
-MY_P=linux-${PV%.*} |
1780 |
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 4 )) |
1781 |
-CONFIG_VER=5.15.19 |
1782 |
-CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01 |
1783 |
-GENTOO_CONFIG_VER=g1 |
1784 |
- |
1785 |
-DESCRIPTION="Linux kernel built with Gentoo patches" |
1786 |
-HOMEPAGE="https://www.kernel.org/" |
1787 |
-SRC_URI+=" |
1788 |
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz |
1789 |
- https://dev.gentoo.org/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz |
1790 |
- https://dev.gentoo.org/~alicef/dist/genpatches/${GENPATCHES_P}.extras.tar.xz |
1791 |
- https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz |
1792 |
- -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz |
1793 |
- amd64? ( |
1794 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config |
1795 |
- -> kernel-x86_64-fedora.config.${CONFIG_VER} |
1796 |
- ) |
1797 |
- arm64? ( |
1798 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config |
1799 |
- -> kernel-aarch64-fedora.config.${CONFIG_VER} |
1800 |
- ) |
1801 |
- ppc64? ( |
1802 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config |
1803 |
- -> kernel-ppc64le-fedora.config.${CONFIG_VER} |
1804 |
- ) |
1805 |
- x86? ( |
1806 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config |
1807 |
- -> kernel-i686-fedora.config.${CONFIG_VER} |
1808 |
- ) |
1809 |
-" |
1810 |
-S=${WORKDIR}/${MY_P} |
1811 |
- |
1812 |
-LICENSE="GPL-2" |
1813 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" |
1814 |
-IUSE="debug hardened" |
1815 |
-REQUIRED_USE="arm? ( savedconfig )" |
1816 |
- |
1817 |
-RDEPEND=" |
1818 |
- !sys-kernel/gentoo-kernel-bin:${SLOT} |
1819 |
-" |
1820 |
-BDEPEND=" |
1821 |
- debug? ( dev-util/pahole ) |
1822 |
-" |
1823 |
-PDEPEND=" |
1824 |
- >=virtual/dist-kernel-${PV} |
1825 |
-" |
1826 |
- |
1827 |
-QA_FLAGS_IGNORED=" |
1828 |
- usr/src/linux-.*/scripts/gcc-plugins/.*.so |
1829 |
- usr/src/linux-.*/vmlinux |
1830 |
- usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg |
1831 |
-" |
1832 |
- |
1833 |
-src_prepare() { |
1834 |
- local PATCHES=( |
1835 |
- # meh, genpatches have no directory |
1836 |
- "${WORKDIR}"/*.patch |
1837 |
- ) |
1838 |
- default |
1839 |
- |
1840 |
- local biendian=false |
1841 |
- |
1842 |
- # prepare the default config |
1843 |
- case ${ARCH} in |
1844 |
- amd64) |
1845 |
- cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die |
1846 |
- ;; |
1847 |
- arm) |
1848 |
- return |
1849 |
- ;; |
1850 |
- arm64) |
1851 |
- cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die |
1852 |
- biendian=true |
1853 |
- ;; |
1854 |
- hppa) |
1855 |
- return |
1856 |
- ;; |
1857 |
- ppc) |
1858 |
- # assume powermac/powerbook defconfig |
1859 |
- # we still package.use.force savedconfig |
1860 |
- cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die |
1861 |
- ;; |
1862 |
- ppc64) |
1863 |
- cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die |
1864 |
- biendian=true |
1865 |
- ;; |
1866 |
- x86) |
1867 |
- cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die |
1868 |
- ;; |
1869 |
- *) |
1870 |
- die "Unsupported arch ${ARCH}" |
1871 |
- ;; |
1872 |
- esac |
1873 |
- |
1874 |
- local myversion="-gentoo-dist" |
1875 |
- use hardened && myversion+="-hardened" |
1876 |
- echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die |
1877 |
- local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" |
1878 |
- |
1879 |
- local merge_configs=( |
1880 |
- "${T}"/version.config |
1881 |
- "${dist_conf_path}"/base.config |
1882 |
- ) |
1883 |
- use debug || merge_configs+=( |
1884 |
- "${dist_conf_path}"/no-debug.config |
1885 |
- ) |
1886 |
- if use hardened; then |
1887 |
- merge_configs+=( "${dist_conf_path}"/hardened-base.config ) |
1888 |
- |
1889 |
- tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) |
1890 |
- |
1891 |
- if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then |
1892 |
- merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) |
1893 |
- fi |
1894 |
- fi |
1895 |
- |
1896 |
- # this covers ppc64 and aarch64_be only for now |
1897 |
- if [[ ${biendian} == true && $(tc-endian) == big ]]; then |
1898 |
- merge_configs+=( "${dist_conf_path}/big-endian.config" ) |
1899 |
- fi |
1900 |
- |
1901 |
- kernel-build_merge_configs "${merge_configs[@]}" |
1902 |
-} |
1903 |
|
1904 |
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.58.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.58.ebuild |
1905 |
deleted file mode 100644 |
1906 |
index 3e9875ab5936..000000000000 |
1907 |
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.58.ebuild |
1908 |
+++ /dev/null |
1909 |
@@ -1,131 +0,0 @@ |
1910 |
-# Copyright 2020-2022 Gentoo Authors |
1911 |
-# Distributed under the terms of the GNU General Public License v2 |
1912 |
- |
1913 |
-EAPI=7 |
1914 |
- |
1915 |
-inherit kernel-build toolchain-funcs |
1916 |
- |
1917 |
-MY_P=linux-${PV%.*} |
1918 |
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 4 )) |
1919 |
-CONFIG_VER=5.15.19 |
1920 |
-CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01 |
1921 |
-GENTOO_CONFIG_VER=g1 |
1922 |
- |
1923 |
-DESCRIPTION="Linux kernel built with Gentoo patches" |
1924 |
-HOMEPAGE="https://www.kernel.org/" |
1925 |
-SRC_URI+=" |
1926 |
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz |
1927 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz |
1928 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz |
1929 |
- https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz |
1930 |
- -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz |
1931 |
- amd64? ( |
1932 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config |
1933 |
- -> kernel-x86_64-fedora.config.${CONFIG_VER} |
1934 |
- ) |
1935 |
- arm64? ( |
1936 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config |
1937 |
- -> kernel-aarch64-fedora.config.${CONFIG_VER} |
1938 |
- ) |
1939 |
- ppc64? ( |
1940 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config |
1941 |
- -> kernel-ppc64le-fedora.config.${CONFIG_VER} |
1942 |
- ) |
1943 |
- x86? ( |
1944 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config |
1945 |
- -> kernel-i686-fedora.config.${CONFIG_VER} |
1946 |
- ) |
1947 |
-" |
1948 |
-S=${WORKDIR}/${MY_P} |
1949 |
- |
1950 |
-LICENSE="GPL-2" |
1951 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" |
1952 |
-IUSE="debug hardened" |
1953 |
-REQUIRED_USE="arm? ( savedconfig )" |
1954 |
- |
1955 |
-RDEPEND=" |
1956 |
- !sys-kernel/gentoo-kernel-bin:${SLOT} |
1957 |
-" |
1958 |
-BDEPEND=" |
1959 |
- debug? ( dev-util/pahole ) |
1960 |
-" |
1961 |
-PDEPEND=" |
1962 |
- >=virtual/dist-kernel-${PV} |
1963 |
-" |
1964 |
- |
1965 |
-QA_FLAGS_IGNORED=" |
1966 |
- usr/src/linux-.*/scripts/gcc-plugins/.*.so |
1967 |
- usr/src/linux-.*/vmlinux |
1968 |
- usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg |
1969 |
-" |
1970 |
- |
1971 |
-src_prepare() { |
1972 |
- local PATCHES=( |
1973 |
- # meh, genpatches have no directory |
1974 |
- "${WORKDIR}"/*.patch |
1975 |
- ) |
1976 |
- default |
1977 |
- |
1978 |
- local biendian=false |
1979 |
- |
1980 |
- # prepare the default config |
1981 |
- case ${ARCH} in |
1982 |
- amd64) |
1983 |
- cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die |
1984 |
- ;; |
1985 |
- arm) |
1986 |
- return |
1987 |
- ;; |
1988 |
- arm64) |
1989 |
- cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die |
1990 |
- biendian=true |
1991 |
- ;; |
1992 |
- hppa) |
1993 |
- return |
1994 |
- ;; |
1995 |
- ppc) |
1996 |
- # assume powermac/powerbook defconfig |
1997 |
- # we still package.use.force savedconfig |
1998 |
- cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die |
1999 |
- ;; |
2000 |
- ppc64) |
2001 |
- cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die |
2002 |
- biendian=true |
2003 |
- ;; |
2004 |
- x86) |
2005 |
- cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die |
2006 |
- ;; |
2007 |
- *) |
2008 |
- die "Unsupported arch ${ARCH}" |
2009 |
- ;; |
2010 |
- esac |
2011 |
- |
2012 |
- local myversion="-gentoo-dist" |
2013 |
- use hardened && myversion+="-hardened" |
2014 |
- echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die |
2015 |
- local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" |
2016 |
- |
2017 |
- local merge_configs=( |
2018 |
- "${T}"/version.config |
2019 |
- "${dist_conf_path}"/base.config |
2020 |
- ) |
2021 |
- use debug || merge_configs+=( |
2022 |
- "${dist_conf_path}"/no-debug.config |
2023 |
- ) |
2024 |
- if use hardened; then |
2025 |
- merge_configs+=( "${dist_conf_path}"/hardened-base.config ) |
2026 |
- |
2027 |
- tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) |
2028 |
- |
2029 |
- if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then |
2030 |
- merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) |
2031 |
- fi |
2032 |
- fi |
2033 |
- |
2034 |
- # this covers ppc64 and aarch64_be only for now |
2035 |
- if [[ ${biendian} == true && $(tc-endian) == big ]]; then |
2036 |
- merge_configs+=( "${dist_conf_path}/big-endian.config" ) |
2037 |
- fi |
2038 |
- |
2039 |
- kernel-build_merge_configs "${merge_configs[@]}" |
2040 |
-} |
2041 |
|
2042 |
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.18.10.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.18.10.ebuild |
2043 |
deleted file mode 100644 |
2044 |
index bb4ea09fc811..000000000000 |
2045 |
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.18.10.ebuild |
2046 |
+++ /dev/null |
2047 |
@@ -1,137 +0,0 @@ |
2048 |
-# Copyright 2020-2022 Gentoo Authors |
2049 |
-# Distributed under the terms of the GNU General Public License v2 |
2050 |
- |
2051 |
-EAPI=7 |
2052 |
- |
2053 |
-inherit kernel-build toolchain-funcs |
2054 |
- |
2055 |
-MY_P=linux-${PV%.*} |
2056 |
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 3 )) |
2057 |
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 |
2058 |
-# forked to https://github.com/mgorny/fedora-kernel-config-for-gentoo |
2059 |
-CONFIG_VER=5.18.9-gentoo |
2060 |
-GENTOO_CONFIG_VER=g2 |
2061 |
- |
2062 |
-DESCRIPTION="Linux kernel built with Gentoo patches" |
2063 |
-HOMEPAGE="https://www.kernel.org/" |
2064 |
-SRC_URI+=" |
2065 |
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz |
2066 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz |
2067 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz |
2068 |
- https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz |
2069 |
- -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz |
2070 |
- amd64? ( |
2071 |
- https://raw.githubusercontent.com/mgorny/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config |
2072 |
- -> kernel-x86_64-fedora.config.${CONFIG_VER} |
2073 |
- ) |
2074 |
- arm64? ( |
2075 |
- https://raw.githubusercontent.com/mgorny/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config |
2076 |
- -> kernel-aarch64-fedora.config.${CONFIG_VER} |
2077 |
- ) |
2078 |
- ppc64? ( |
2079 |
- https://raw.githubusercontent.com/mgorny/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config |
2080 |
- -> kernel-ppc64le-fedora.config.${CONFIG_VER} |
2081 |
- ) |
2082 |
- x86? ( |
2083 |
- https://raw.githubusercontent.com/mgorny/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config |
2084 |
- -> kernel-i686-fedora.config.${CONFIG_VER} |
2085 |
- ) |
2086 |
-" |
2087 |
-S=${WORKDIR}/${MY_P} |
2088 |
- |
2089 |
-LICENSE="GPL-2" |
2090 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" |
2091 |
-IUSE="debug hardened" |
2092 |
-REQUIRED_USE="arm? ( savedconfig ) |
2093 |
- hppa? ( savedconfig ) |
2094 |
- riscv? ( savedconfig )" |
2095 |
- |
2096 |
-RDEPEND=" |
2097 |
- !sys-kernel/gentoo-kernel-bin:${SLOT} |
2098 |
-" |
2099 |
-BDEPEND=" |
2100 |
- debug? ( dev-util/pahole ) |
2101 |
-" |
2102 |
-PDEPEND=" |
2103 |
- >=virtual/dist-kernel-${PV} |
2104 |
-" |
2105 |
- |
2106 |
-QA_FLAGS_IGNORED=" |
2107 |
- usr/src/linux-.*/scripts/gcc-plugins/.*.so |
2108 |
- usr/src/linux-.*/vmlinux |
2109 |
- usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg |
2110 |
-" |
2111 |
- |
2112 |
-src_prepare() { |
2113 |
- local PATCHES=( |
2114 |
- # meh, genpatches have no directory |
2115 |
- "${WORKDIR}"/*.patch |
2116 |
- ) |
2117 |
- default |
2118 |
- |
2119 |
- local biendian=false |
2120 |
- |
2121 |
- # prepare the default config |
2122 |
- case ${ARCH} in |
2123 |
- amd64) |
2124 |
- cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die |
2125 |
- ;; |
2126 |
- arm) |
2127 |
- return |
2128 |
- ;; |
2129 |
- arm64) |
2130 |
- cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die |
2131 |
- biendian=true |
2132 |
- ;; |
2133 |
- hppa) |
2134 |
- return |
2135 |
- ;; |
2136 |
- ppc) |
2137 |
- # assume powermac/powerbook defconfig |
2138 |
- # we still package.use.force savedconfig |
2139 |
- cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die |
2140 |
- ;; |
2141 |
- ppc64) |
2142 |
- cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die |
2143 |
- biendian=true |
2144 |
- ;; |
2145 |
- riscv) |
2146 |
- return |
2147 |
- ;; |
2148 |
- x86) |
2149 |
- cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die |
2150 |
- ;; |
2151 |
- *) |
2152 |
- die "Unsupported arch ${ARCH}" |
2153 |
- ;; |
2154 |
- esac |
2155 |
- |
2156 |
- local myversion="-gentoo-dist" |
2157 |
- use hardened && myversion+="-hardened" |
2158 |
- echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die |
2159 |
- local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" |
2160 |
- |
2161 |
- local merge_configs=( |
2162 |
- "${T}"/version.config |
2163 |
- "${dist_conf_path}"/base.config |
2164 |
- ) |
2165 |
- use debug || merge_configs+=( |
2166 |
- "${dist_conf_path}"/no-debug.config |
2167 |
- ) |
2168 |
- if use hardened; then |
2169 |
- merge_configs+=( "${dist_conf_path}"/hardened-base.config ) |
2170 |
- |
2171 |
- tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) |
2172 |
- |
2173 |
- if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then |
2174 |
- merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) |
2175 |
- fi |
2176 |
- fi |
2177 |
- |
2178 |
- # this covers ppc64 and aarch64_be only for now |
2179 |
- if [[ ${biendian} == true && $(tc-endian) == big ]]; then |
2180 |
- merge_configs+=( "${dist_conf_path}/big-endian.config" ) |
2181 |
- fi |
2182 |
- |
2183 |
- kernel-build_merge_configs "${merge_configs[@]}" |
2184 |
-} |
2185 |
|
2186 |
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.18.11.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.18.11.ebuild |
2187 |
deleted file mode 100644 |
2188 |
index bb4ea09fc811..000000000000 |
2189 |
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.18.11.ebuild |
2190 |
+++ /dev/null |
2191 |
@@ -1,137 +0,0 @@ |
2192 |
-# Copyright 2020-2022 Gentoo Authors |
2193 |
-# Distributed under the terms of the GNU General Public License v2 |
2194 |
- |
2195 |
-EAPI=7 |
2196 |
- |
2197 |
-inherit kernel-build toolchain-funcs |
2198 |
- |
2199 |
-MY_P=linux-${PV%.*} |
2200 |
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 3 )) |
2201 |
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 |
2202 |
-# forked to https://github.com/mgorny/fedora-kernel-config-for-gentoo |
2203 |
-CONFIG_VER=5.18.9-gentoo |
2204 |
-GENTOO_CONFIG_VER=g2 |
2205 |
- |
2206 |
-DESCRIPTION="Linux kernel built with Gentoo patches" |
2207 |
-HOMEPAGE="https://www.kernel.org/" |
2208 |
-SRC_URI+=" |
2209 |
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz |
2210 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz |
2211 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz |
2212 |
- https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz |
2213 |
- -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz |
2214 |
- amd64? ( |
2215 |
- https://raw.githubusercontent.com/mgorny/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config |
2216 |
- -> kernel-x86_64-fedora.config.${CONFIG_VER} |
2217 |
- ) |
2218 |
- arm64? ( |
2219 |
- https://raw.githubusercontent.com/mgorny/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config |
2220 |
- -> kernel-aarch64-fedora.config.${CONFIG_VER} |
2221 |
- ) |
2222 |
- ppc64? ( |
2223 |
- https://raw.githubusercontent.com/mgorny/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config |
2224 |
- -> kernel-ppc64le-fedora.config.${CONFIG_VER} |
2225 |
- ) |
2226 |
- x86? ( |
2227 |
- https://raw.githubusercontent.com/mgorny/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config |
2228 |
- -> kernel-i686-fedora.config.${CONFIG_VER} |
2229 |
- ) |
2230 |
-" |
2231 |
-S=${WORKDIR}/${MY_P} |
2232 |
- |
2233 |
-LICENSE="GPL-2" |
2234 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" |
2235 |
-IUSE="debug hardened" |
2236 |
-REQUIRED_USE="arm? ( savedconfig ) |
2237 |
- hppa? ( savedconfig ) |
2238 |
- riscv? ( savedconfig )" |
2239 |
- |
2240 |
-RDEPEND=" |
2241 |
- !sys-kernel/gentoo-kernel-bin:${SLOT} |
2242 |
-" |
2243 |
-BDEPEND=" |
2244 |
- debug? ( dev-util/pahole ) |
2245 |
-" |
2246 |
-PDEPEND=" |
2247 |
- >=virtual/dist-kernel-${PV} |
2248 |
-" |
2249 |
- |
2250 |
-QA_FLAGS_IGNORED=" |
2251 |
- usr/src/linux-.*/scripts/gcc-plugins/.*.so |
2252 |
- usr/src/linux-.*/vmlinux |
2253 |
- usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg |
2254 |
-" |
2255 |
- |
2256 |
-src_prepare() { |
2257 |
- local PATCHES=( |
2258 |
- # meh, genpatches have no directory |
2259 |
- "${WORKDIR}"/*.patch |
2260 |
- ) |
2261 |
- default |
2262 |
- |
2263 |
- local biendian=false |
2264 |
- |
2265 |
- # prepare the default config |
2266 |
- case ${ARCH} in |
2267 |
- amd64) |
2268 |
- cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die |
2269 |
- ;; |
2270 |
- arm) |
2271 |
- return |
2272 |
- ;; |
2273 |
- arm64) |
2274 |
- cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die |
2275 |
- biendian=true |
2276 |
- ;; |
2277 |
- hppa) |
2278 |
- return |
2279 |
- ;; |
2280 |
- ppc) |
2281 |
- # assume powermac/powerbook defconfig |
2282 |
- # we still package.use.force savedconfig |
2283 |
- cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die |
2284 |
- ;; |
2285 |
- ppc64) |
2286 |
- cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die |
2287 |
- biendian=true |
2288 |
- ;; |
2289 |
- riscv) |
2290 |
- return |
2291 |
- ;; |
2292 |
- x86) |
2293 |
- cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die |
2294 |
- ;; |
2295 |
- *) |
2296 |
- die "Unsupported arch ${ARCH}" |
2297 |
- ;; |
2298 |
- esac |
2299 |
- |
2300 |
- local myversion="-gentoo-dist" |
2301 |
- use hardened && myversion+="-hardened" |
2302 |
- echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die |
2303 |
- local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" |
2304 |
- |
2305 |
- local merge_configs=( |
2306 |
- "${T}"/version.config |
2307 |
- "${dist_conf_path}"/base.config |
2308 |
- ) |
2309 |
- use debug || merge_configs+=( |
2310 |
- "${dist_conf_path}"/no-debug.config |
2311 |
- ) |
2312 |
- if use hardened; then |
2313 |
- merge_configs+=( "${dist_conf_path}"/hardened-base.config ) |
2314 |
- |
2315 |
- tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) |
2316 |
- |
2317 |
- if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then |
2318 |
- merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) |
2319 |
- fi |
2320 |
- fi |
2321 |
- |
2322 |
- # this covers ppc64 and aarch64_be only for now |
2323 |
- if [[ ${biendian} == true && $(tc-endian) == big ]]; then |
2324 |
- merge_configs+=( "${dist_conf_path}/big-endian.config" ) |
2325 |
- fi |
2326 |
- |
2327 |
- kernel-build_merge_configs "${merge_configs[@]}" |
2328 |
-} |
2329 |
|
2330 |
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.18.12.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.18.12.ebuild |
2331 |
deleted file mode 100644 |
2332 |
index 4b6280ffa4e4..000000000000 |
2333 |
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.18.12.ebuild |
2334 |
+++ /dev/null |
2335 |
@@ -1,137 +0,0 @@ |
2336 |
-# Copyright 2020-2022 Gentoo Authors |
2337 |
-# Distributed under the terms of the GNU General Public License v2 |
2338 |
- |
2339 |
-EAPI=7 |
2340 |
- |
2341 |
-inherit kernel-build toolchain-funcs |
2342 |
- |
2343 |
-MY_P=linux-${PV%.*} |
2344 |
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 3 )) |
2345 |
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 |
2346 |
-# forked to https://github.com/mgorny/fedora-kernel-config-for-gentoo |
2347 |
-CONFIG_VER=5.18.9-gentoo |
2348 |
-GENTOO_CONFIG_VER=g2 |
2349 |
- |
2350 |
-DESCRIPTION="Linux kernel built with Gentoo patches" |
2351 |
-HOMEPAGE="https://www.kernel.org/" |
2352 |
-SRC_URI+=" |
2353 |
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz |
2354 |
- https://dev.gentoo.org/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz |
2355 |
- https://dev.gentoo.org/~alicef/dist/genpatches/${GENPATCHES_P}.extras.tar.xz |
2356 |
- https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz |
2357 |
- -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz |
2358 |
- amd64? ( |
2359 |
- https://raw.githubusercontent.com/mgorny/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config |
2360 |
- -> kernel-x86_64-fedora.config.${CONFIG_VER} |
2361 |
- ) |
2362 |
- arm64? ( |
2363 |
- https://raw.githubusercontent.com/mgorny/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config |
2364 |
- -> kernel-aarch64-fedora.config.${CONFIG_VER} |
2365 |
- ) |
2366 |
- ppc64? ( |
2367 |
- https://raw.githubusercontent.com/mgorny/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config |
2368 |
- -> kernel-ppc64le-fedora.config.${CONFIG_VER} |
2369 |
- ) |
2370 |
- x86? ( |
2371 |
- https://raw.githubusercontent.com/mgorny/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config |
2372 |
- -> kernel-i686-fedora.config.${CONFIG_VER} |
2373 |
- ) |
2374 |
-" |
2375 |
-S=${WORKDIR}/${MY_P} |
2376 |
- |
2377 |
-LICENSE="GPL-2" |
2378 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" |
2379 |
-IUSE="debug hardened" |
2380 |
-REQUIRED_USE="arm? ( savedconfig ) |
2381 |
- hppa? ( savedconfig ) |
2382 |
- riscv? ( savedconfig )" |
2383 |
- |
2384 |
-RDEPEND=" |
2385 |
- !sys-kernel/gentoo-kernel-bin:${SLOT} |
2386 |
-" |
2387 |
-BDEPEND=" |
2388 |
- debug? ( dev-util/pahole ) |
2389 |
-" |
2390 |
-PDEPEND=" |
2391 |
- >=virtual/dist-kernel-${PV} |
2392 |
-" |
2393 |
- |
2394 |
-QA_FLAGS_IGNORED=" |
2395 |
- usr/src/linux-.*/scripts/gcc-plugins/.*.so |
2396 |
- usr/src/linux-.*/vmlinux |
2397 |
- usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg |
2398 |
-" |
2399 |
- |
2400 |
-src_prepare() { |
2401 |
- local PATCHES=( |
2402 |
- # meh, genpatches have no directory |
2403 |
- "${WORKDIR}"/*.patch |
2404 |
- ) |
2405 |
- default |
2406 |
- |
2407 |
- local biendian=false |
2408 |
- |
2409 |
- # prepare the default config |
2410 |
- case ${ARCH} in |
2411 |
- amd64) |
2412 |
- cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die |
2413 |
- ;; |
2414 |
- arm) |
2415 |
- return |
2416 |
- ;; |
2417 |
- arm64) |
2418 |
- cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die |
2419 |
- biendian=true |
2420 |
- ;; |
2421 |
- hppa) |
2422 |
- return |
2423 |
- ;; |
2424 |
- ppc) |
2425 |
- # assume powermac/powerbook defconfig |
2426 |
- # we still package.use.force savedconfig |
2427 |
- cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die |
2428 |
- ;; |
2429 |
- ppc64) |
2430 |
- cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die |
2431 |
- biendian=true |
2432 |
- ;; |
2433 |
- riscv) |
2434 |
- return |
2435 |
- ;; |
2436 |
- x86) |
2437 |
- cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die |
2438 |
- ;; |
2439 |
- *) |
2440 |
- die "Unsupported arch ${ARCH}" |
2441 |
- ;; |
2442 |
- esac |
2443 |
- |
2444 |
- local myversion="-gentoo-dist" |
2445 |
- use hardened && myversion+="-hardened" |
2446 |
- echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die |
2447 |
- local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" |
2448 |
- |
2449 |
- local merge_configs=( |
2450 |
- "${T}"/version.config |
2451 |
- "${dist_conf_path}"/base.config |
2452 |
- ) |
2453 |
- use debug || merge_configs+=( |
2454 |
- "${dist_conf_path}"/no-debug.config |
2455 |
- ) |
2456 |
- if use hardened; then |
2457 |
- merge_configs+=( "${dist_conf_path}"/hardened-base.config ) |
2458 |
- |
2459 |
- tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) |
2460 |
- |
2461 |
- if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then |
2462 |
- merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) |
2463 |
- fi |
2464 |
- fi |
2465 |
- |
2466 |
- # this covers ppc64 and aarch64_be only for now |
2467 |
- if [[ ${biendian} == true && $(tc-endian) == big ]]; then |
2468 |
- merge_configs+=( "${dist_conf_path}/big-endian.config" ) |
2469 |
- fi |
2470 |
- |
2471 |
- kernel-build_merge_configs "${merge_configs[@]}" |
2472 |
-} |
2473 |
|
2474 |
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.18.13.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.18.13.ebuild |
2475 |
deleted file mode 100644 |
2476 |
index 14b88df81780..000000000000 |
2477 |
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.18.13.ebuild |
2478 |
+++ /dev/null |
2479 |
@@ -1,137 +0,0 @@ |
2480 |
-# Copyright 2020-2022 Gentoo Authors |
2481 |
-# Distributed under the terms of the GNU General Public License v2 |
2482 |
- |
2483 |
-EAPI=7 |
2484 |
- |
2485 |
-inherit kernel-build toolchain-funcs |
2486 |
- |
2487 |
-MY_P=linux-${PV%.*} |
2488 |
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 4 )) |
2489 |
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 |
2490 |
-# forked to https://github.com/mgorny/fedora-kernel-config-for-gentoo |
2491 |
-CONFIG_VER=5.18.9-gentoo |
2492 |
-GENTOO_CONFIG_VER=g2 |
2493 |
- |
2494 |
-DESCRIPTION="Linux kernel built with Gentoo patches" |
2495 |
-HOMEPAGE="https://www.kernel.org/" |
2496 |
-SRC_URI+=" |
2497 |
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz |
2498 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz |
2499 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz |
2500 |
- https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz |
2501 |
- -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz |
2502 |
- amd64? ( |
2503 |
- https://raw.githubusercontent.com/mgorny/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config |
2504 |
- -> kernel-x86_64-fedora.config.${CONFIG_VER} |
2505 |
- ) |
2506 |
- arm64? ( |
2507 |
- https://raw.githubusercontent.com/mgorny/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config |
2508 |
- -> kernel-aarch64-fedora.config.${CONFIG_VER} |
2509 |
- ) |
2510 |
- ppc64? ( |
2511 |
- https://raw.githubusercontent.com/mgorny/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config |
2512 |
- -> kernel-ppc64le-fedora.config.${CONFIG_VER} |
2513 |
- ) |
2514 |
- x86? ( |
2515 |
- https://raw.githubusercontent.com/mgorny/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config |
2516 |
- -> kernel-i686-fedora.config.${CONFIG_VER} |
2517 |
- ) |
2518 |
-" |
2519 |
-S=${WORKDIR}/${MY_P} |
2520 |
- |
2521 |
-LICENSE="GPL-2" |
2522 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" |
2523 |
-IUSE="debug hardened" |
2524 |
-REQUIRED_USE="arm? ( savedconfig ) |
2525 |
- hppa? ( savedconfig ) |
2526 |
- riscv? ( savedconfig )" |
2527 |
- |
2528 |
-RDEPEND=" |
2529 |
- !sys-kernel/gentoo-kernel-bin:${SLOT} |
2530 |
-" |
2531 |
-BDEPEND=" |
2532 |
- debug? ( dev-util/pahole ) |
2533 |
-" |
2534 |
-PDEPEND=" |
2535 |
- >=virtual/dist-kernel-${PV} |
2536 |
-" |
2537 |
- |
2538 |
-QA_FLAGS_IGNORED=" |
2539 |
- usr/src/linux-.*/scripts/gcc-plugins/.*.so |
2540 |
- usr/src/linux-.*/vmlinux |
2541 |
- usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg |
2542 |
-" |
2543 |
- |
2544 |
-src_prepare() { |
2545 |
- local PATCHES=( |
2546 |
- # meh, genpatches have no directory |
2547 |
- "${WORKDIR}"/*.patch |
2548 |
- ) |
2549 |
- default |
2550 |
- |
2551 |
- local biendian=false |
2552 |
- |
2553 |
- # prepare the default config |
2554 |
- case ${ARCH} in |
2555 |
- amd64) |
2556 |
- cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die |
2557 |
- ;; |
2558 |
- arm) |
2559 |
- return |
2560 |
- ;; |
2561 |
- arm64) |
2562 |
- cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die |
2563 |
- biendian=true |
2564 |
- ;; |
2565 |
- hppa) |
2566 |
- return |
2567 |
- ;; |
2568 |
- ppc) |
2569 |
- # assume powermac/powerbook defconfig |
2570 |
- # we still package.use.force savedconfig |
2571 |
- cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die |
2572 |
- ;; |
2573 |
- ppc64) |
2574 |
- cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die |
2575 |
- biendian=true |
2576 |
- ;; |
2577 |
- riscv) |
2578 |
- return |
2579 |
- ;; |
2580 |
- x86) |
2581 |
- cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die |
2582 |
- ;; |
2583 |
- *) |
2584 |
- die "Unsupported arch ${ARCH}" |
2585 |
- ;; |
2586 |
- esac |
2587 |
- |
2588 |
- local myversion="-gentoo-dist" |
2589 |
- use hardened && myversion+="-hardened" |
2590 |
- echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die |
2591 |
- local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" |
2592 |
- |
2593 |
- local merge_configs=( |
2594 |
- "${T}"/version.config |
2595 |
- "${dist_conf_path}"/base.config |
2596 |
- ) |
2597 |
- use debug || merge_configs+=( |
2598 |
- "${dist_conf_path}"/no-debug.config |
2599 |
- ) |
2600 |
- if use hardened; then |
2601 |
- merge_configs+=( "${dist_conf_path}"/hardened-base.config ) |
2602 |
- |
2603 |
- tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) |
2604 |
- |
2605 |
- if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then |
2606 |
- merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) |
2607 |
- fi |
2608 |
- fi |
2609 |
- |
2610 |
- # this covers ppc64 and aarch64_be only for now |
2611 |
- if [[ ${biendian} == true && $(tc-endian) == big ]]; then |
2612 |
- merge_configs+=( "${dist_conf_path}/big-endian.config" ) |
2613 |
- fi |
2614 |
- |
2615 |
- kernel-build_merge_configs "${merge_configs[@]}" |
2616 |
-} |
2617 |
|
2618 |
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.18.14.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.18.14.ebuild |
2619 |
deleted file mode 100644 |
2620 |
index b0f35a014fbd..000000000000 |
2621 |
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.18.14.ebuild |
2622 |
+++ /dev/null |
2623 |
@@ -1,137 +0,0 @@ |
2624 |
-# Copyright 2020-2022 Gentoo Authors |
2625 |
-# Distributed under the terms of the GNU General Public License v2 |
2626 |
- |
2627 |
-EAPI=7 |
2628 |
- |
2629 |
-inherit kernel-build toolchain-funcs |
2630 |
- |
2631 |
-MY_P=linux-${PV%.*} |
2632 |
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 4 )) |
2633 |
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 |
2634 |
-# forked to https://github.com/mgorny/fedora-kernel-config-for-gentoo |
2635 |
-CONFIG_VER=5.18.9-gentoo |
2636 |
-GENTOO_CONFIG_VER=g2 |
2637 |
- |
2638 |
-DESCRIPTION="Linux kernel built with Gentoo patches" |
2639 |
-HOMEPAGE="https://www.kernel.org/" |
2640 |
-SRC_URI+=" |
2641 |
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz |
2642 |
- https://dev.gentoo.org/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz |
2643 |
- https://dev.gentoo.org/~alicef/dist/genpatches/${GENPATCHES_P}.extras.tar.xz |
2644 |
- https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz |
2645 |
- -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz |
2646 |
- amd64? ( |
2647 |
- https://raw.githubusercontent.com/mgorny/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config |
2648 |
- -> kernel-x86_64-fedora.config.${CONFIG_VER} |
2649 |
- ) |
2650 |
- arm64? ( |
2651 |
- https://raw.githubusercontent.com/mgorny/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config |
2652 |
- -> kernel-aarch64-fedora.config.${CONFIG_VER} |
2653 |
- ) |
2654 |
- ppc64? ( |
2655 |
- https://raw.githubusercontent.com/mgorny/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config |
2656 |
- -> kernel-ppc64le-fedora.config.${CONFIG_VER} |
2657 |
- ) |
2658 |
- x86? ( |
2659 |
- https://raw.githubusercontent.com/mgorny/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config |
2660 |
- -> kernel-i686-fedora.config.${CONFIG_VER} |
2661 |
- ) |
2662 |
-" |
2663 |
-S=${WORKDIR}/${MY_P} |
2664 |
- |
2665 |
-LICENSE="GPL-2" |
2666 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" |
2667 |
-IUSE="debug hardened" |
2668 |
-REQUIRED_USE="arm? ( savedconfig ) |
2669 |
- hppa? ( savedconfig ) |
2670 |
- riscv? ( savedconfig )" |
2671 |
- |
2672 |
-RDEPEND=" |
2673 |
- !sys-kernel/gentoo-kernel-bin:${SLOT} |
2674 |
-" |
2675 |
-BDEPEND=" |
2676 |
- debug? ( dev-util/pahole ) |
2677 |
-" |
2678 |
-PDEPEND=" |
2679 |
- >=virtual/dist-kernel-${PV} |
2680 |
-" |
2681 |
- |
2682 |
-QA_FLAGS_IGNORED=" |
2683 |
- usr/src/linux-.*/scripts/gcc-plugins/.*.so |
2684 |
- usr/src/linux-.*/vmlinux |
2685 |
- usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg |
2686 |
-" |
2687 |
- |
2688 |
-src_prepare() { |
2689 |
- local PATCHES=( |
2690 |
- # meh, genpatches have no directory |
2691 |
- "${WORKDIR}"/*.patch |
2692 |
- ) |
2693 |
- default |
2694 |
- |
2695 |
- local biendian=false |
2696 |
- |
2697 |
- # prepare the default config |
2698 |
- case ${ARCH} in |
2699 |
- amd64) |
2700 |
- cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die |
2701 |
- ;; |
2702 |
- arm) |
2703 |
- return |
2704 |
- ;; |
2705 |
- arm64) |
2706 |
- cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die |
2707 |
- biendian=true |
2708 |
- ;; |
2709 |
- hppa) |
2710 |
- return |
2711 |
- ;; |
2712 |
- ppc) |
2713 |
- # assume powermac/powerbook defconfig |
2714 |
- # we still package.use.force savedconfig |
2715 |
- cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die |
2716 |
- ;; |
2717 |
- ppc64) |
2718 |
- cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die |
2719 |
- biendian=true |
2720 |
- ;; |
2721 |
- riscv) |
2722 |
- return |
2723 |
- ;; |
2724 |
- x86) |
2725 |
- cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die |
2726 |
- ;; |
2727 |
- *) |
2728 |
- die "Unsupported arch ${ARCH}" |
2729 |
- ;; |
2730 |
- esac |
2731 |
- |
2732 |
- local myversion="-gentoo-dist" |
2733 |
- use hardened && myversion+="-hardened" |
2734 |
- echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die |
2735 |
- local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" |
2736 |
- |
2737 |
- local merge_configs=( |
2738 |
- "${T}"/version.config |
2739 |
- "${dist_conf_path}"/base.config |
2740 |
- ) |
2741 |
- use debug || merge_configs+=( |
2742 |
- "${dist_conf_path}"/no-debug.config |
2743 |
- ) |
2744 |
- if use hardened; then |
2745 |
- merge_configs+=( "${dist_conf_path}"/hardened-base.config ) |
2746 |
- |
2747 |
- tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) |
2748 |
- |
2749 |
- if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then |
2750 |
- merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) |
2751 |
- fi |
2752 |
- fi |
2753 |
- |
2754 |
- # this covers ppc64 and aarch64_be only for now |
2755 |
- if [[ ${biendian} == true && $(tc-endian) == big ]]; then |
2756 |
- merge_configs+=( "${dist_conf_path}/big-endian.config" ) |
2757 |
- fi |
2758 |
- |
2759 |
- kernel-build_merge_configs "${merge_configs[@]}" |
2760 |
-} |
2761 |
|
2762 |
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.18.15.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.18.15.ebuild |
2763 |
deleted file mode 100644 |
2764 |
index 14b88df81780..000000000000 |
2765 |
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.18.15.ebuild |
2766 |
+++ /dev/null |
2767 |
@@ -1,137 +0,0 @@ |
2768 |
-# Copyright 2020-2022 Gentoo Authors |
2769 |
-# Distributed under the terms of the GNU General Public License v2 |
2770 |
- |
2771 |
-EAPI=7 |
2772 |
- |
2773 |
-inherit kernel-build toolchain-funcs |
2774 |
- |
2775 |
-MY_P=linux-${PV%.*} |
2776 |
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 4 )) |
2777 |
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 |
2778 |
-# forked to https://github.com/mgorny/fedora-kernel-config-for-gentoo |
2779 |
-CONFIG_VER=5.18.9-gentoo |
2780 |
-GENTOO_CONFIG_VER=g2 |
2781 |
- |
2782 |
-DESCRIPTION="Linux kernel built with Gentoo patches" |
2783 |
-HOMEPAGE="https://www.kernel.org/" |
2784 |
-SRC_URI+=" |
2785 |
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz |
2786 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz |
2787 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz |
2788 |
- https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz |
2789 |
- -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz |
2790 |
- amd64? ( |
2791 |
- https://raw.githubusercontent.com/mgorny/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config |
2792 |
- -> kernel-x86_64-fedora.config.${CONFIG_VER} |
2793 |
- ) |
2794 |
- arm64? ( |
2795 |
- https://raw.githubusercontent.com/mgorny/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config |
2796 |
- -> kernel-aarch64-fedora.config.${CONFIG_VER} |
2797 |
- ) |
2798 |
- ppc64? ( |
2799 |
- https://raw.githubusercontent.com/mgorny/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config |
2800 |
- -> kernel-ppc64le-fedora.config.${CONFIG_VER} |
2801 |
- ) |
2802 |
- x86? ( |
2803 |
- https://raw.githubusercontent.com/mgorny/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config |
2804 |
- -> kernel-i686-fedora.config.${CONFIG_VER} |
2805 |
- ) |
2806 |
-" |
2807 |
-S=${WORKDIR}/${MY_P} |
2808 |
- |
2809 |
-LICENSE="GPL-2" |
2810 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" |
2811 |
-IUSE="debug hardened" |
2812 |
-REQUIRED_USE="arm? ( savedconfig ) |
2813 |
- hppa? ( savedconfig ) |
2814 |
- riscv? ( savedconfig )" |
2815 |
- |
2816 |
-RDEPEND=" |
2817 |
- !sys-kernel/gentoo-kernel-bin:${SLOT} |
2818 |
-" |
2819 |
-BDEPEND=" |
2820 |
- debug? ( dev-util/pahole ) |
2821 |
-" |
2822 |
-PDEPEND=" |
2823 |
- >=virtual/dist-kernel-${PV} |
2824 |
-" |
2825 |
- |
2826 |
-QA_FLAGS_IGNORED=" |
2827 |
- usr/src/linux-.*/scripts/gcc-plugins/.*.so |
2828 |
- usr/src/linux-.*/vmlinux |
2829 |
- usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg |
2830 |
-" |
2831 |
- |
2832 |
-src_prepare() { |
2833 |
- local PATCHES=( |
2834 |
- # meh, genpatches have no directory |
2835 |
- "${WORKDIR}"/*.patch |
2836 |
- ) |
2837 |
- default |
2838 |
- |
2839 |
- local biendian=false |
2840 |
- |
2841 |
- # prepare the default config |
2842 |
- case ${ARCH} in |
2843 |
- amd64) |
2844 |
- cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die |
2845 |
- ;; |
2846 |
- arm) |
2847 |
- return |
2848 |
- ;; |
2849 |
- arm64) |
2850 |
- cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die |
2851 |
- biendian=true |
2852 |
- ;; |
2853 |
- hppa) |
2854 |
- return |
2855 |
- ;; |
2856 |
- ppc) |
2857 |
- # assume powermac/powerbook defconfig |
2858 |
- # we still package.use.force savedconfig |
2859 |
- cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die |
2860 |
- ;; |
2861 |
- ppc64) |
2862 |
- cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die |
2863 |
- biendian=true |
2864 |
- ;; |
2865 |
- riscv) |
2866 |
- return |
2867 |
- ;; |
2868 |
- x86) |
2869 |
- cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die |
2870 |
- ;; |
2871 |
- *) |
2872 |
- die "Unsupported arch ${ARCH}" |
2873 |
- ;; |
2874 |
- esac |
2875 |
- |
2876 |
- local myversion="-gentoo-dist" |
2877 |
- use hardened && myversion+="-hardened" |
2878 |
- echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die |
2879 |
- local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" |
2880 |
- |
2881 |
- local merge_configs=( |
2882 |
- "${T}"/version.config |
2883 |
- "${dist_conf_path}"/base.config |
2884 |
- ) |
2885 |
- use debug || merge_configs+=( |
2886 |
- "${dist_conf_path}"/no-debug.config |
2887 |
- ) |
2888 |
- if use hardened; then |
2889 |
- merge_configs+=( "${dist_conf_path}"/hardened-base.config ) |
2890 |
- |
2891 |
- tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) |
2892 |
- |
2893 |
- if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then |
2894 |
- merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) |
2895 |
- fi |
2896 |
- fi |
2897 |
- |
2898 |
- # this covers ppc64 and aarch64_be only for now |
2899 |
- if [[ ${biendian} == true && $(tc-endian) == big ]]; then |
2900 |
- merge_configs+=( "${dist_conf_path}/big-endian.config" ) |
2901 |
- fi |
2902 |
- |
2903 |
- kernel-build_merge_configs "${merge_configs[@]}" |
2904 |
-} |
2905 |
|
2906 |
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.18.9.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.18.9.ebuild |
2907 |
deleted file mode 100644 |
2908 |
index bb4ea09fc811..000000000000 |
2909 |
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.18.9.ebuild |
2910 |
+++ /dev/null |
2911 |
@@ -1,137 +0,0 @@ |
2912 |
-# Copyright 2020-2022 Gentoo Authors |
2913 |
-# Distributed under the terms of the GNU General Public License v2 |
2914 |
- |
2915 |
-EAPI=7 |
2916 |
- |
2917 |
-inherit kernel-build toolchain-funcs |
2918 |
- |
2919 |
-MY_P=linux-${PV%.*} |
2920 |
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 3 )) |
2921 |
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 |
2922 |
-# forked to https://github.com/mgorny/fedora-kernel-config-for-gentoo |
2923 |
-CONFIG_VER=5.18.9-gentoo |
2924 |
-GENTOO_CONFIG_VER=g2 |
2925 |
- |
2926 |
-DESCRIPTION="Linux kernel built with Gentoo patches" |
2927 |
-HOMEPAGE="https://www.kernel.org/" |
2928 |
-SRC_URI+=" |
2929 |
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz |
2930 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz |
2931 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz |
2932 |
- https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz |
2933 |
- -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz |
2934 |
- amd64? ( |
2935 |
- https://raw.githubusercontent.com/mgorny/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config |
2936 |
- -> kernel-x86_64-fedora.config.${CONFIG_VER} |
2937 |
- ) |
2938 |
- arm64? ( |
2939 |
- https://raw.githubusercontent.com/mgorny/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config |
2940 |
- -> kernel-aarch64-fedora.config.${CONFIG_VER} |
2941 |
- ) |
2942 |
- ppc64? ( |
2943 |
- https://raw.githubusercontent.com/mgorny/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config |
2944 |
- -> kernel-ppc64le-fedora.config.${CONFIG_VER} |
2945 |
- ) |
2946 |
- x86? ( |
2947 |
- https://raw.githubusercontent.com/mgorny/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config |
2948 |
- -> kernel-i686-fedora.config.${CONFIG_VER} |
2949 |
- ) |
2950 |
-" |
2951 |
-S=${WORKDIR}/${MY_P} |
2952 |
- |
2953 |
-LICENSE="GPL-2" |
2954 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" |
2955 |
-IUSE="debug hardened" |
2956 |
-REQUIRED_USE="arm? ( savedconfig ) |
2957 |
- hppa? ( savedconfig ) |
2958 |
- riscv? ( savedconfig )" |
2959 |
- |
2960 |
-RDEPEND=" |
2961 |
- !sys-kernel/gentoo-kernel-bin:${SLOT} |
2962 |
-" |
2963 |
-BDEPEND=" |
2964 |
- debug? ( dev-util/pahole ) |
2965 |
-" |
2966 |
-PDEPEND=" |
2967 |
- >=virtual/dist-kernel-${PV} |
2968 |
-" |
2969 |
- |
2970 |
-QA_FLAGS_IGNORED=" |
2971 |
- usr/src/linux-.*/scripts/gcc-plugins/.*.so |
2972 |
- usr/src/linux-.*/vmlinux |
2973 |
- usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg |
2974 |
-" |
2975 |
- |
2976 |
-src_prepare() { |
2977 |
- local PATCHES=( |
2978 |
- # meh, genpatches have no directory |
2979 |
- "${WORKDIR}"/*.patch |
2980 |
- ) |
2981 |
- default |
2982 |
- |
2983 |
- local biendian=false |
2984 |
- |
2985 |
- # prepare the default config |
2986 |
- case ${ARCH} in |
2987 |
- amd64) |
2988 |
- cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die |
2989 |
- ;; |
2990 |
- arm) |
2991 |
- return |
2992 |
- ;; |
2993 |
- arm64) |
2994 |
- cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die |
2995 |
- biendian=true |
2996 |
- ;; |
2997 |
- hppa) |
2998 |
- return |
2999 |
- ;; |
3000 |
- ppc) |
3001 |
- # assume powermac/powerbook defconfig |
3002 |
- # we still package.use.force savedconfig |
3003 |
- cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die |
3004 |
- ;; |
3005 |
- ppc64) |
3006 |
- cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die |
3007 |
- biendian=true |
3008 |
- ;; |
3009 |
- riscv) |
3010 |
- return |
3011 |
- ;; |
3012 |
- x86) |
3013 |
- cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die |
3014 |
- ;; |
3015 |
- *) |
3016 |
- die "Unsupported arch ${ARCH}" |
3017 |
- ;; |
3018 |
- esac |
3019 |
- |
3020 |
- local myversion="-gentoo-dist" |
3021 |
- use hardened && myversion+="-hardened" |
3022 |
- echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die |
3023 |
- local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" |
3024 |
- |
3025 |
- local merge_configs=( |
3026 |
- "${T}"/version.config |
3027 |
- "${dist_conf_path}"/base.config |
3028 |
- ) |
3029 |
- use debug || merge_configs+=( |
3030 |
- "${dist_conf_path}"/no-debug.config |
3031 |
- ) |
3032 |
- if use hardened; then |
3033 |
- merge_configs+=( "${dist_conf_path}"/hardened-base.config ) |
3034 |
- |
3035 |
- tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) |
3036 |
- |
3037 |
- if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then |
3038 |
- merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) |
3039 |
- fi |
3040 |
- fi |
3041 |
- |
3042 |
- # this covers ppc64 and aarch64_be only for now |
3043 |
- if [[ ${biendian} == true && $(tc-endian) == big ]]; then |
3044 |
- merge_configs+=( "${dist_conf_path}/big-endian.config" ) |
3045 |
- fi |
3046 |
- |
3047 |
- kernel-build_merge_configs "${merge_configs[@]}" |
3048 |
-} |
3049 |
|
3050 |
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.204.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.204.ebuild |
3051 |
deleted file mode 100644 |
3052 |
index bf4c0106cbb7..000000000000 |
3053 |
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.204.ebuild |
3054 |
+++ /dev/null |
3055 |
@@ -1,100 +0,0 @@ |
3056 |
-# Copyright 2020-2022 Gentoo Authors |
3057 |
-# Distributed under the terms of the GNU General Public License v2 |
3058 |
- |
3059 |
-EAPI=7 |
3060 |
- |
3061 |
-inherit kernel-build |
3062 |
- |
3063 |
-MY_P=linux-${PV%.*} |
3064 |
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 5 )) |
3065 |
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 |
3066 |
-CONFIG_VER=5.4.21 |
3067 |
-CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea |
3068 |
-GENTOO_CONFIG_VER=g1 |
3069 |
- |
3070 |
-DESCRIPTION="Linux kernel built with Gentoo patches" |
3071 |
-HOMEPAGE="https://www.kernel.org/" |
3072 |
-SRC_URI+=" |
3073 |
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz |
3074 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz |
3075 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz |
3076 |
- https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz |
3077 |
- -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz |
3078 |
- amd64? ( |
3079 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64.config |
3080 |
- -> kernel-x86_64.config.${CONFIG_VER} |
3081 |
- ) |
3082 |
- arm64? ( |
3083 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64.config |
3084 |
- -> kernel-aarch64.config.${CONFIG_VER} |
3085 |
- ) |
3086 |
- ppc64? ( |
3087 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le.config |
3088 |
- -> kernel-ppc64le.config.${CONFIG_VER} |
3089 |
- ) |
3090 |
- x86? ( |
3091 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686.config |
3092 |
- -> kernel-i686.config.${CONFIG_VER} |
3093 |
- ) |
3094 |
-" |
3095 |
-S=${WORKDIR}/${MY_P} |
3096 |
- |
3097 |
-LICENSE="GPL-2" |
3098 |
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" |
3099 |
-IUSE="debug" |
3100 |
- |
3101 |
-RDEPEND=" |
3102 |
- !sys-kernel/gentoo-kernel-bin:${SLOT} |
3103 |
-" |
3104 |
-BDEPEND=" |
3105 |
- debug? ( dev-util/pahole ) |
3106 |
-" |
3107 |
-PDEPEND=" |
3108 |
- >=virtual/dist-kernel-${PV} |
3109 |
-" |
3110 |
- |
3111 |
-src_prepare() { |
3112 |
- local PATCHES=( |
3113 |
- # meh, genpatches have no directory |
3114 |
- "${WORKDIR}"/*.patch |
3115 |
- ) |
3116 |
- default |
3117 |
- |
3118 |
- # prepare the default config |
3119 |
- case ${ARCH} in |
3120 |
- amd64) |
3121 |
- cp "${DISTDIR}/kernel-x86_64.config.${CONFIG_VER}" .config || die |
3122 |
- ;; |
3123 |
- arm64) |
3124 |
- cp "${DISTDIR}/kernel-aarch64.config.${CONFIG_VER}" .config || die |
3125 |
- ;; |
3126 |
- ppc) |
3127 |
- # assume powermac/powerbook defconfig |
3128 |
- # we still package.use.force savedconfig |
3129 |
- cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die |
3130 |
- ;; |
3131 |
- ppc64) |
3132 |
- cp "${DISTDIR}/kernel-ppc64le.config.${CONFIG_VER}" .config || die |
3133 |
- ;; |
3134 |
- x86) |
3135 |
- cp "${DISTDIR}/kernel-i686.config.${CONFIG_VER}" .config || die |
3136 |
- ;; |
3137 |
- *) |
3138 |
- die "Unsupported arch ${ARCH}" |
3139 |
- ;; |
3140 |
- esac |
3141 |
- |
3142 |
- echo 'CONFIG_LOCALVERSION="-gentoo-dist"' > "${T}"/version.config || die |
3143 |
- local merge_configs=( |
3144 |
- "${T}"/version.config |
3145 |
- "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/base.config |
3146 |
- ) |
3147 |
- use debug || merge_configs+=( |
3148 |
- "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/no-debug.config |
3149 |
- ) |
3150 |
- [[ ${ARCH} == x86 ]] && merge_configs+=( |
3151 |
- "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/32-bit.config |
3152 |
- ) |
3153 |
- |
3154 |
- kernel-build_merge_configs "${merge_configs[@]}" |
3155 |
-} |
3156 |
|
3157 |
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.205.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.205.ebuild |
3158 |
deleted file mode 100644 |
3159 |
index bf4c0106cbb7..000000000000 |
3160 |
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.205.ebuild |
3161 |
+++ /dev/null |
3162 |
@@ -1,100 +0,0 @@ |
3163 |
-# Copyright 2020-2022 Gentoo Authors |
3164 |
-# Distributed under the terms of the GNU General Public License v2 |
3165 |
- |
3166 |
-EAPI=7 |
3167 |
- |
3168 |
-inherit kernel-build |
3169 |
- |
3170 |
-MY_P=linux-${PV%.*} |
3171 |
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 5 )) |
3172 |
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 |
3173 |
-CONFIG_VER=5.4.21 |
3174 |
-CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea |
3175 |
-GENTOO_CONFIG_VER=g1 |
3176 |
- |
3177 |
-DESCRIPTION="Linux kernel built with Gentoo patches" |
3178 |
-HOMEPAGE="https://www.kernel.org/" |
3179 |
-SRC_URI+=" |
3180 |
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz |
3181 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz |
3182 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz |
3183 |
- https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz |
3184 |
- -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz |
3185 |
- amd64? ( |
3186 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64.config |
3187 |
- -> kernel-x86_64.config.${CONFIG_VER} |
3188 |
- ) |
3189 |
- arm64? ( |
3190 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64.config |
3191 |
- -> kernel-aarch64.config.${CONFIG_VER} |
3192 |
- ) |
3193 |
- ppc64? ( |
3194 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le.config |
3195 |
- -> kernel-ppc64le.config.${CONFIG_VER} |
3196 |
- ) |
3197 |
- x86? ( |
3198 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686.config |
3199 |
- -> kernel-i686.config.${CONFIG_VER} |
3200 |
- ) |
3201 |
-" |
3202 |
-S=${WORKDIR}/${MY_P} |
3203 |
- |
3204 |
-LICENSE="GPL-2" |
3205 |
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" |
3206 |
-IUSE="debug" |
3207 |
- |
3208 |
-RDEPEND=" |
3209 |
- !sys-kernel/gentoo-kernel-bin:${SLOT} |
3210 |
-" |
3211 |
-BDEPEND=" |
3212 |
- debug? ( dev-util/pahole ) |
3213 |
-" |
3214 |
-PDEPEND=" |
3215 |
- >=virtual/dist-kernel-${PV} |
3216 |
-" |
3217 |
- |
3218 |
-src_prepare() { |
3219 |
- local PATCHES=( |
3220 |
- # meh, genpatches have no directory |
3221 |
- "${WORKDIR}"/*.patch |
3222 |
- ) |
3223 |
- default |
3224 |
- |
3225 |
- # prepare the default config |
3226 |
- case ${ARCH} in |
3227 |
- amd64) |
3228 |
- cp "${DISTDIR}/kernel-x86_64.config.${CONFIG_VER}" .config || die |
3229 |
- ;; |
3230 |
- arm64) |
3231 |
- cp "${DISTDIR}/kernel-aarch64.config.${CONFIG_VER}" .config || die |
3232 |
- ;; |
3233 |
- ppc) |
3234 |
- # assume powermac/powerbook defconfig |
3235 |
- # we still package.use.force savedconfig |
3236 |
- cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die |
3237 |
- ;; |
3238 |
- ppc64) |
3239 |
- cp "${DISTDIR}/kernel-ppc64le.config.${CONFIG_VER}" .config || die |
3240 |
- ;; |
3241 |
- x86) |
3242 |
- cp "${DISTDIR}/kernel-i686.config.${CONFIG_VER}" .config || die |
3243 |
- ;; |
3244 |
- *) |
3245 |
- die "Unsupported arch ${ARCH}" |
3246 |
- ;; |
3247 |
- esac |
3248 |
- |
3249 |
- echo 'CONFIG_LOCALVERSION="-gentoo-dist"' > "${T}"/version.config || die |
3250 |
- local merge_configs=( |
3251 |
- "${T}"/version.config |
3252 |
- "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/base.config |
3253 |
- ) |
3254 |
- use debug || merge_configs+=( |
3255 |
- "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/no-debug.config |
3256 |
- ) |
3257 |
- [[ ${ARCH} == x86 ]] && merge_configs+=( |
3258 |
- "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/32-bit.config |
3259 |
- ) |
3260 |
- |
3261 |
- kernel-build_merge_configs "${merge_configs[@]}" |
3262 |
-} |
3263 |
|
3264 |
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.206.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.206.ebuild |
3265 |
deleted file mode 100644 |
3266 |
index bf4c0106cbb7..000000000000 |
3267 |
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.206.ebuild |
3268 |
+++ /dev/null |
3269 |
@@ -1,100 +0,0 @@ |
3270 |
-# Copyright 2020-2022 Gentoo Authors |
3271 |
-# Distributed under the terms of the GNU General Public License v2 |
3272 |
- |
3273 |
-EAPI=7 |
3274 |
- |
3275 |
-inherit kernel-build |
3276 |
- |
3277 |
-MY_P=linux-${PV%.*} |
3278 |
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 5 )) |
3279 |
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 |
3280 |
-CONFIG_VER=5.4.21 |
3281 |
-CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea |
3282 |
-GENTOO_CONFIG_VER=g1 |
3283 |
- |
3284 |
-DESCRIPTION="Linux kernel built with Gentoo patches" |
3285 |
-HOMEPAGE="https://www.kernel.org/" |
3286 |
-SRC_URI+=" |
3287 |
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz |
3288 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz |
3289 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz |
3290 |
- https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz |
3291 |
- -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz |
3292 |
- amd64? ( |
3293 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64.config |
3294 |
- -> kernel-x86_64.config.${CONFIG_VER} |
3295 |
- ) |
3296 |
- arm64? ( |
3297 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64.config |
3298 |
- -> kernel-aarch64.config.${CONFIG_VER} |
3299 |
- ) |
3300 |
- ppc64? ( |
3301 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le.config |
3302 |
- -> kernel-ppc64le.config.${CONFIG_VER} |
3303 |
- ) |
3304 |
- x86? ( |
3305 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686.config |
3306 |
- -> kernel-i686.config.${CONFIG_VER} |
3307 |
- ) |
3308 |
-" |
3309 |
-S=${WORKDIR}/${MY_P} |
3310 |
- |
3311 |
-LICENSE="GPL-2" |
3312 |
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" |
3313 |
-IUSE="debug" |
3314 |
- |
3315 |
-RDEPEND=" |
3316 |
- !sys-kernel/gentoo-kernel-bin:${SLOT} |
3317 |
-" |
3318 |
-BDEPEND=" |
3319 |
- debug? ( dev-util/pahole ) |
3320 |
-" |
3321 |
-PDEPEND=" |
3322 |
- >=virtual/dist-kernel-${PV} |
3323 |
-" |
3324 |
- |
3325 |
-src_prepare() { |
3326 |
- local PATCHES=( |
3327 |
- # meh, genpatches have no directory |
3328 |
- "${WORKDIR}"/*.patch |
3329 |
- ) |
3330 |
- default |
3331 |
- |
3332 |
- # prepare the default config |
3333 |
- case ${ARCH} in |
3334 |
- amd64) |
3335 |
- cp "${DISTDIR}/kernel-x86_64.config.${CONFIG_VER}" .config || die |
3336 |
- ;; |
3337 |
- arm64) |
3338 |
- cp "${DISTDIR}/kernel-aarch64.config.${CONFIG_VER}" .config || die |
3339 |
- ;; |
3340 |
- ppc) |
3341 |
- # assume powermac/powerbook defconfig |
3342 |
- # we still package.use.force savedconfig |
3343 |
- cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die |
3344 |
- ;; |
3345 |
- ppc64) |
3346 |
- cp "${DISTDIR}/kernel-ppc64le.config.${CONFIG_VER}" .config || die |
3347 |
- ;; |
3348 |
- x86) |
3349 |
- cp "${DISTDIR}/kernel-i686.config.${CONFIG_VER}" .config || die |
3350 |
- ;; |
3351 |
- *) |
3352 |
- die "Unsupported arch ${ARCH}" |
3353 |
- ;; |
3354 |
- esac |
3355 |
- |
3356 |
- echo 'CONFIG_LOCALVERSION="-gentoo-dist"' > "${T}"/version.config || die |
3357 |
- local merge_configs=( |
3358 |
- "${T}"/version.config |
3359 |
- "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/base.config |
3360 |
- ) |
3361 |
- use debug || merge_configs+=( |
3362 |
- "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/no-debug.config |
3363 |
- ) |
3364 |
- [[ ${ARCH} == x86 ]] && merge_configs+=( |
3365 |
- "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/32-bit.config |
3366 |
- ) |
3367 |
- |
3368 |
- kernel-build_merge_configs "${merge_configs[@]}" |
3369 |
-} |
3370 |
|
3371 |
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.207.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.207.ebuild |
3372 |
deleted file mode 100644 |
3373 |
index bf4c0106cbb7..000000000000 |
3374 |
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.207.ebuild |
3375 |
+++ /dev/null |
3376 |
@@ -1,100 +0,0 @@ |
3377 |
-# Copyright 2020-2022 Gentoo Authors |
3378 |
-# Distributed under the terms of the GNU General Public License v2 |
3379 |
- |
3380 |
-EAPI=7 |
3381 |
- |
3382 |
-inherit kernel-build |
3383 |
- |
3384 |
-MY_P=linux-${PV%.*} |
3385 |
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 5 )) |
3386 |
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 |
3387 |
-CONFIG_VER=5.4.21 |
3388 |
-CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea |
3389 |
-GENTOO_CONFIG_VER=g1 |
3390 |
- |
3391 |
-DESCRIPTION="Linux kernel built with Gentoo patches" |
3392 |
-HOMEPAGE="https://www.kernel.org/" |
3393 |
-SRC_URI+=" |
3394 |
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz |
3395 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz |
3396 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz |
3397 |
- https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz |
3398 |
- -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz |
3399 |
- amd64? ( |
3400 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64.config |
3401 |
- -> kernel-x86_64.config.${CONFIG_VER} |
3402 |
- ) |
3403 |
- arm64? ( |
3404 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64.config |
3405 |
- -> kernel-aarch64.config.${CONFIG_VER} |
3406 |
- ) |
3407 |
- ppc64? ( |
3408 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le.config |
3409 |
- -> kernel-ppc64le.config.${CONFIG_VER} |
3410 |
- ) |
3411 |
- x86? ( |
3412 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686.config |
3413 |
- -> kernel-i686.config.${CONFIG_VER} |
3414 |
- ) |
3415 |
-" |
3416 |
-S=${WORKDIR}/${MY_P} |
3417 |
- |
3418 |
-LICENSE="GPL-2" |
3419 |
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" |
3420 |
-IUSE="debug" |
3421 |
- |
3422 |
-RDEPEND=" |
3423 |
- !sys-kernel/gentoo-kernel-bin:${SLOT} |
3424 |
-" |
3425 |
-BDEPEND=" |
3426 |
- debug? ( dev-util/pahole ) |
3427 |
-" |
3428 |
-PDEPEND=" |
3429 |
- >=virtual/dist-kernel-${PV} |
3430 |
-" |
3431 |
- |
3432 |
-src_prepare() { |
3433 |
- local PATCHES=( |
3434 |
- # meh, genpatches have no directory |
3435 |
- "${WORKDIR}"/*.patch |
3436 |
- ) |
3437 |
- default |
3438 |
- |
3439 |
- # prepare the default config |
3440 |
- case ${ARCH} in |
3441 |
- amd64) |
3442 |
- cp "${DISTDIR}/kernel-x86_64.config.${CONFIG_VER}" .config || die |
3443 |
- ;; |
3444 |
- arm64) |
3445 |
- cp "${DISTDIR}/kernel-aarch64.config.${CONFIG_VER}" .config || die |
3446 |
- ;; |
3447 |
- ppc) |
3448 |
- # assume powermac/powerbook defconfig |
3449 |
- # we still package.use.force savedconfig |
3450 |
- cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die |
3451 |
- ;; |
3452 |
- ppc64) |
3453 |
- cp "${DISTDIR}/kernel-ppc64le.config.${CONFIG_VER}" .config || die |
3454 |
- ;; |
3455 |
- x86) |
3456 |
- cp "${DISTDIR}/kernel-i686.config.${CONFIG_VER}" .config || die |
3457 |
- ;; |
3458 |
- *) |
3459 |
- die "Unsupported arch ${ARCH}" |
3460 |
- ;; |
3461 |
- esac |
3462 |
- |
3463 |
- echo 'CONFIG_LOCALVERSION="-gentoo-dist"' > "${T}"/version.config || die |
3464 |
- local merge_configs=( |
3465 |
- "${T}"/version.config |
3466 |
- "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/base.config |
3467 |
- ) |
3468 |
- use debug || merge_configs+=( |
3469 |
- "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/no-debug.config |
3470 |
- ) |
3471 |
- [[ ${ARCH} == x86 ]] && merge_configs+=( |
3472 |
- "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/32-bit.config |
3473 |
- ) |
3474 |
- |
3475 |
- kernel-build_merge_configs "${merge_configs[@]}" |
3476 |
-} |
3477 |
|
3478 |
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.208.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.208.ebuild |
3479 |
deleted file mode 100644 |
3480 |
index bf4c0106cbb7..000000000000 |
3481 |
--- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.208.ebuild |
3482 |
+++ /dev/null |
3483 |
@@ -1,100 +0,0 @@ |
3484 |
-# Copyright 2020-2022 Gentoo Authors |
3485 |
-# Distributed under the terms of the GNU General Public License v2 |
3486 |
- |
3487 |
-EAPI=7 |
3488 |
- |
3489 |
-inherit kernel-build |
3490 |
- |
3491 |
-MY_P=linux-${PV%.*} |
3492 |
-GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 5 )) |
3493 |
-# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 |
3494 |
-CONFIG_VER=5.4.21 |
3495 |
-CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea |
3496 |
-GENTOO_CONFIG_VER=g1 |
3497 |
- |
3498 |
-DESCRIPTION="Linux kernel built with Gentoo patches" |
3499 |
-HOMEPAGE="https://www.kernel.org/" |
3500 |
-SRC_URI+=" |
3501 |
- https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz |
3502 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz |
3503 |
- https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz |
3504 |
- https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz |
3505 |
- -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz |
3506 |
- amd64? ( |
3507 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64.config |
3508 |
- -> kernel-x86_64.config.${CONFIG_VER} |
3509 |
- ) |
3510 |
- arm64? ( |
3511 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64.config |
3512 |
- -> kernel-aarch64.config.${CONFIG_VER} |
3513 |
- ) |
3514 |
- ppc64? ( |
3515 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le.config |
3516 |
- -> kernel-ppc64le.config.${CONFIG_VER} |
3517 |
- ) |
3518 |
- x86? ( |
3519 |
- https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686.config |
3520 |
- -> kernel-i686.config.${CONFIG_VER} |
3521 |
- ) |
3522 |
-" |
3523 |
-S=${WORKDIR}/${MY_P} |
3524 |
- |
3525 |
-LICENSE="GPL-2" |
3526 |
-KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" |
3527 |
-IUSE="debug" |
3528 |
- |
3529 |
-RDEPEND=" |
3530 |
- !sys-kernel/gentoo-kernel-bin:${SLOT} |
3531 |
-" |
3532 |
-BDEPEND=" |
3533 |
- debug? ( dev-util/pahole ) |
3534 |
-" |
3535 |
-PDEPEND=" |
3536 |
- >=virtual/dist-kernel-${PV} |
3537 |
-" |
3538 |
- |
3539 |
-src_prepare() { |
3540 |
- local PATCHES=( |
3541 |
- # meh, genpatches have no directory |
3542 |
- "${WORKDIR}"/*.patch |
3543 |
- ) |
3544 |
- default |
3545 |
- |
3546 |
- # prepare the default config |
3547 |
- case ${ARCH} in |
3548 |
- amd64) |
3549 |
- cp "${DISTDIR}/kernel-x86_64.config.${CONFIG_VER}" .config || die |
3550 |
- ;; |
3551 |
- arm64) |
3552 |
- cp "${DISTDIR}/kernel-aarch64.config.${CONFIG_VER}" .config || die |
3553 |
- ;; |
3554 |
- ppc) |
3555 |
- # assume powermac/powerbook defconfig |
3556 |
- # we still package.use.force savedconfig |
3557 |
- cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die |
3558 |
- ;; |
3559 |
- ppc64) |
3560 |
- cp "${DISTDIR}/kernel-ppc64le.config.${CONFIG_VER}" .config || die |
3561 |
- ;; |
3562 |
- x86) |
3563 |
- cp "${DISTDIR}/kernel-i686.config.${CONFIG_VER}" .config || die |
3564 |
- ;; |
3565 |
- *) |
3566 |
- die "Unsupported arch ${ARCH}" |
3567 |
- ;; |
3568 |
- esac |
3569 |
- |
3570 |
- echo 'CONFIG_LOCALVERSION="-gentoo-dist"' > "${T}"/version.config || die |
3571 |
- local merge_configs=( |
3572 |
- "${T}"/version.config |
3573 |
- "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/base.config |
3574 |
- ) |
3575 |
- use debug || merge_configs+=( |
3576 |
- "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/no-debug.config |
3577 |
- ) |
3578 |
- [[ ${ARCH} == x86 ]] && merge_configs+=( |
3579 |
- "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/32-bit.config |
3580 |
- ) |
3581 |
- |
3582 |
- kernel-build_merge_configs "${merge_configs[@]}" |
3583 |
-} |