diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-14 10:36:56 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-14 10:36:56 +0100 |
commit | 5af5a2b4acc97daacc0bf0e1d4e85ec780734689 (patch) | |
tree | c3e48a276c7fda27c8e30b6b8864e178e5c496fb /sys-kernel/gentoo-kernel | |
parent | 605eb6cd753ab91e58e7561ebad2e75a44bcccc4 (diff) |
gentoo auto-resync : 14:07:2023 - 10:36:56
Diffstat (limited to 'sys-kernel/gentoo-kernel')
-rw-r--r-- | sys-kernel/gentoo-kernel/Manifest | 7 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel/gentoo-kernel-6.3.13.ebuild | 141 |
2 files changed, 148 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest index b32dde83e7d3..3bf87412352f 100644 --- a/sys-kernel/gentoo-kernel/Manifest +++ b/sys-kernel/gentoo-kernel/Manifest @@ -8,30 +8,36 @@ DIST genpatches-6.1-44.base.tar.xz 2683644 BLAKE2B d0264b6d6456fb2e6a67c1240cd3f DIST genpatches-6.1-44.extras.tar.xz 3812 BLAKE2B bd5605700d0b55036d186eca82031f1d38883fbb3e2e98f0b44269c914f5a2912c026bebfdfd3fdcd563b97d3167fb9908bd0e29422b02e9314392b3ad2281c5 SHA512 e274c0e50fc476bc071fc4d77623b75cdfdda51951f541f56bc4f8ab53da17e67f615c37d35c93290d20b51d3ab2eb923a8e147daec4c59d3d1c87d3e803beb0 DIST genpatches-6.3-16.base.tar.xz 774148 BLAKE2B 36b92eff5065338db81890a63ca51c7352dd775099b627e42673cd29ee2a2585d3ccf4675f9239a1c08660304d27e4d9b2307a72dbaddc088be714b5823432d3 SHA512 6aa4f1c72f85c43296891ab6d1474f9d1b0be3f716167312a8efe2d65219ecf4810a10bc42244388457add6a32874c2448afef70967700393c2ddf11665dc008 DIST genpatches-6.3-16.extras.tar.xz 3804 BLAKE2B d8e1e83f598a420856ceb60bb0d7218a90578d27ba8aa4f6f4f5c3b44bffe4b14f12050f3e41e389035dc24778909e30d44bda8b67ee156ad32aa12097d6dae9 SHA512 bd199c0baf3ad6be48acaee74a002e972069ac52ef4d35c03f523af03e95323ad792f42e3ac77aa7aa97258afcb830bac7b9a8a10208c36c332852edef218889 +DIST genpatches-6.3-17.base.tar.xz 898156 BLAKE2B 0c350ad89dfc73a4c2fb5e7113d38cb1a28a1ef0ffa95db4e7e394873cba6d7eeffafb55e89cf2163d200cdc8fbea2fc9e8e29ca94a63d23250a8a8154949d78 SHA512 5ca1f7aa65935ed6d479eabd9ba2bb2674c5f49a98c828bb3879994b2f64fbd0e278c9cbd07f1082aae9c067d8ba9d24e645d0231bb411252fd5356802970fc8 +DIST genpatches-6.3-17.extras.tar.xz 3808 BLAKE2B 0ffa95929a402b7263b0e6c9a1c3107b5c6db9fcba9d1dfafcef43b2b94e941ab3b91b626d1580cf6251cadedb85a7187d84ef05f26bd44b1a8821a5f20513a1 SHA512 e32adb3f00795a617ab09f3f93753a6902c2f38a7d0cf35540731e9a98e99018d7f618eee542e896e758e42601ff49b010efcc4431599fceeddd6c4d179bde65 DIST genpatches-6.4-5.base.tar.xz 29696 BLAKE2B 0e882d51de63cce7a7edc96c29fe46c27f607abddd0a70d2977054838d51ad623ec5ff3f4eac8e18b016f6c310ba79d326967947c17cf662391638d7fd2ecbd5 SHA512 3205df0e92db622aa397953de85605e58b4e977262a8dbb9e59174c7a55ad2c784ba417069f948dcdeddda8318389be45d54a516d9b2f45cd2948938942d7e5d DIST genpatches-6.4-5.extras.tar.xz 3700 BLAKE2B 701f2bbb493087bcd8de7c7293c802bada8965901838b2eae998ec14749da6c46814611092b4120c25dc9ebef2313e36bcdc3593110d06c510e9db1dcf575f53 SHA512 0be95fcd6ce4ca750ea97c17bd897bd8083de63b8573080a2f3cd41d07c951293083afb739153a3cb29ea55e93b7d2063089119080b26f932c6a74e9425a1920 DIST gentoo-kernel-config-g7.tar.gz 4625 BLAKE2B 72ba0d038ee34ca5eb26d43bd373735aef3a50d02b414993ea05485e49d83d46df98a6cb0f6f3170a8ec0c99b557432fd9a11cbb92ff7c2837625a7f4469831e SHA512 2d74a8ca9f5402b4290ed93cd3ddba04a7f2ff42c8d8d3f2cbbe22fc20daa0fca119368daa8af39b7a26b1b99e4e3187c3c5d95886a651675ad94ff98d686628 DIST kernel-aarch64-fedora.config.5.10.12 223184 BLAKE2B a0246dac2f7a4ad6a55b611538d24382ac87a8960077811a859c9595ac67f961b4bccb7e139a89abc7c0e26e80832da5c94211fc658082f2e7dde984f14dd29d SHA512 7d803b347b136331db1ad6e22e0445fe0224c3e26cd7c034cbe9794915d457b492e05f77664865079874ec001351553652646e2e08d0fee31e30b841b0008f52 DIST kernel-aarch64-fedora.config.5.15.19 242615 BLAKE2B 94e59440681535e38137b71814e1ae53f57a347f62cf31e0c1c8571ae43d9ae9be9957743c8cbc9ec74850c964eaabefe6799a28bc311ea7b99ee31391b47fb1 SHA512 fb77d3b73a215f97d70cd6d8c96ed20e497786b99ed7d7a7f2ed60cc1251289c1a4c7e058c41b5efac62e4a9b4b3d917dbdb11585955bba2b6584981430f4ddb DIST kernel-aarch64-fedora.config.6.1.7-gentoo 252811 BLAKE2B f6bad0d23132bf0dfbaa25db928a95f39763b6500fd1df9b4aeca4351e3e75f185891c0df96b111ad840e4bac431d74a9b11e7344e766ab49715663c89e4dbfc SHA512 41ebf195d8b656801d49c6bb693ebe1404b6725d70d88d93a75bc4af230030d65ef0701ea931846b022a3c598dcca068fbc38ecf6d064262b3f5b88e57060437 +DIST kernel-aarch64-fedora.config.6.3.13-gentoo 258009 BLAKE2B cf25967d02c5f0b9565dfedfcbcbdc1de335cf0590bcbeb28147f30352f0d11b799f6fa3921e7a44bec65ad72be512bf2cf5d8475a387a6aff23535a560e534a SHA512 1703a285eeb096c7ddcd10fd42d06ce96dd019a3f662945bb72493a553e2ad5c5cf5ffd1003dd353bfaf5369ec395750b566dac6ac22a1cf715542f92e02da56 DIST kernel-aarch64-fedora.config.6.3.7-gentoo 258020 BLAKE2B c5350816279b6de751d13d8b451bea5e6d3e494adf0a8c5c3164d7776965dab26a731c1161a568321a42ed438b965502431124043d74b5b63cf51ba707062acb SHA512 e49d4149ee466069199dc111ebbc3761ce4366f0b2fbe6c470806527a5581b73397e10d6f95d1f422714322b7bdb52016a29ab061e9e1b813fb919d9ef64c203 DIST kernel-aarch64-fedora.config.6.4.3-gentoo 260188 BLAKE2B 94fe84900f7ab351cb5c1df9831a5141fd9ad4436511176471f1961d5d583928fc5b70c8a3e7b6c87738b942f82096d0dac0b05a632f458fe4dc6bd57e4f34fa SHA512 2bcb58ddaeec2903fcffecbe53380970c6740f91e6775b8ac3ff41a77df42eb6f773f608be25545b8ade0cb0e0f2a72bf00d26e7c47771859ca2d111fe875e35 DIST kernel-aarch64.config.5.4.21 199104 BLAKE2B 578ad451a76204df2a9bbbe34b5cb27051d2ac5e2c33967f562b01338c43f35da6dc33a4c2cc67ea6c3b32b155729360d3748ec28dcaa750f18449245b2e8a09 SHA512 66e9a437beb350fdc59512c17b8f72c5b5bfacf2b35070d810d77e66f49cf7929026cc28ad44b04a016d61e65d9fb4a10af6996ba09b604bf97e9c467d08f8ff DIST kernel-i686-fedora.config.5.10.12 205412 BLAKE2B 92c715b7e2cd7dd74da7970c05981f520597d3e403ce82c8cf4eee31c9f1f50b638792a6bdb256ef5bfdc99f1bcd594e819e8f44dc6febb2ad9a854bad817f2b SHA512 69d8db11723ae1b40fdedfaace74d15bb63198cdb0485e0a1e5eba95b31217110c93a93e39cc7370cf45f1d3a8bc7f75ec096d6db5ea9ecb28ac6b56702ebb10 DIST kernel-i686-fedora.config.5.15.19 222233 BLAKE2B 9e0f4dd37058f59610e46a87d3165039e76299d3c186fbfc3312101bac1b8b198de404075f5bbc6f5e2ba04cfd45f9d02bdf94b01c3ed11b9275f37f11ee7617 SHA512 49ffc39de86763e707a5c0c07c1367d34e9249615f29fdf97904d7b61a375a86fc4ba37a2f02b5f61e4c76ad65d9ba12716d2523af6faa003f6336d7ae61a953 DIST kernel-i686-fedora.config.6.1.7-gentoo 228053 BLAKE2B 1b06ca68465d7833905b6236a6ccf9a594f44613cbd102990c1667c1ece53ad982fa3abbfe475333e3297331ce1cfadf27c00c3e7de6293e213278e8ca97cd3b SHA512 1ed70eb5254a04d99d28ad901d4556dfa7e8ec8b739a0a33040315718effe9348e75ca8ac19d3b33fa7b3dcad9b4bb0531075692087c0dbe57ec6a4d873a4b27 +DIST kernel-i686-fedora.config.6.3.13-gentoo 231325 BLAKE2B df0d13becb4c98e5ffbf4aaeaa397da63a5396a0bf367a1f6b7ea62b21f4755204cb9982c9d65182d81ac2c9d4c70f5ce21db32d6ecde4b083cd39a93735b646 SHA512 1c31952be7d0ba48e81cd9f4c11cc248000db708239cc73726c9f635bc3fa7d915dab7aec1a30869b53ac063604c3a362ee4936ba774c5f5b3864fb82ba0b1a0 DIST kernel-i686-fedora.config.6.3.7-gentoo 231304 BLAKE2B bb81478997b018f00b5b2ca2294c6c0ff58499d645b1fc365b535a79a24f8660c6578f592ec199c3cc9e4d431f57df882153fa5011a4445299fb0d4f15383ffb SHA512 54fc5ce3b3abeb7f242876cc80c49ad97a5063fdabc79aabe94be08d7777062ef94a053259a1148c26c66d323ec334272e09f9d029817ab653137a7f2f9796b9 DIST kernel-i686-fedora.config.6.4.3-gentoo 232810 BLAKE2B d68818234ecf03a26b0593be604daf2c45880dbd5fadcf66202b5b993733e3d21b56fcb4fc2b0ef87f502aaf83e8c671bf961e5a645ae87a60c3222b2b849410 SHA512 a4abda9f60e03a7a91340c55efb9e0149970194cfda7d457ca1669ad21f38dec93e0beb7f4e9f9185dcca04b76c7f16e5537327260fd60c04e3f7804d98db983 DIST kernel-i686.config.5.4.21 183910 BLAKE2B 185126ffb85718bb73761d01683def80b6f002d7a7a6eddd8e858a30d8eadc863fb378d83a1cd2ed82b3540337fa66ae44475e31fb41ebc46d77005b6f54e5c0 SHA512 6307afc2295902e44fe65b1cccaa7a0260b295a5f21f1d67ec66197bd972bd3f5675b624f08d9da8b224cb3ec987d5c21cbd743599aeab9ac6214bc651f43476 DIST kernel-ppc64le-fedora.config.5.10.12 192105 BLAKE2B 889141debb0656a358a3381bae14b5216b982acdfce0bc758f9445c16647807a68a788fb290199c2a1a23627bda1ef4c9405b3f5ac2a4176d1d2b55c71fb7db9 SHA512 3ab0f1401d9f50a61477c71369dede438f575d9d2c3a2f5c2cf36d624c2b59a938efca9c981b075511b3860c983eaaf5e5a9f877d659277f09ceba45edd43770 DIST kernel-ppc64le-fedora.config.5.15.19 213339 BLAKE2B db6bbc9f402b8b48a2441e39d1a78dc112656ae842bc5594065cfd2ec3f6d462e4bde200e8736a70192af35fb3a5d1fc42683783a5b7620881f3a95bb0bc5f4d SHA512 b43439c24be8fa8bdd17d4c0beece799544ae45b2c289f0202fa5eb7a52dce0165a0cbc924b0decf877582af9688efd675cbfbd2313ff85fcc2c8563bba4b1ad DIST kernel-ppc64le-fedora.config.6.1.7-gentoo 218278 BLAKE2B f4dda4430e9801c4660be4bbf6e4b37052e720656e77c928adb7176ff3dba55feb2fe66dd564d41a181809488941cf392ec9c94d786e4a3d813fbe5d683d305f SHA512 a5e12ab1045fae61b494938047cf1c2a3c34693d3d242968e4ab564a012c70e6d232b9d5333347f5ba114a64bb59dd96919b38c5a1327fb8c5154ef40ad28d2c +DIST kernel-ppc64le-fedora.config.6.3.13-gentoo 221744 BLAKE2B c878f61cb9217adb801683aa511c9c910abe48964d9ff27164e64b7a7549430feb7a6cc8ee01aebdf738bc869d67ade6bb8ecf5eb123d131a2a4a74c2b31def9 SHA512 ca8d5b2aabf3313eab7211c3d74c13b9917072813c2eba392c16678bbcdd06ccebe0a9e91226e35df7b0ef5283e0bb3b3d7d4898441b2055bfe16e5890d14458 DIST kernel-ppc64le-fedora.config.6.3.7-gentoo 221723 BLAKE2B c9d39b374eeeec89dd305415f017d4ae7e86d3646b093764aff17ba08ee13406cb2a525fba0f58810f3de3336e2075fc918a9ae25eba2ac5997367cb95ed986b SHA512 d0e9cd9c2aff239a4563faf774c7b40ce137004b8575ea15b52ffd00707a91b58ae238df2e6ee68343bfb669f5f57c1cabc23a091872183f283b9d79def4c384 DIST kernel-ppc64le-fedora.config.6.4.3-gentoo 223150 BLAKE2B 4a4685f6687568b1a7462e6fe9ea68eeb1a05d32d5402f893e1f6ef5d0061c651788bdcbb2980ef5f2675668dbad433e1c3370a4668f03b54233b1b39caf71f3 SHA512 42f8c255f2a8a8fa3eb6285c690bf2baa77ebecf11ecf141dd058b51afe959e74103ca5eac284b20e78abe7843ea0c82d0ac83efcb5dd15e13c2266d06dd8074 DIST kernel-ppc64le.config.5.4.21 172003 BLAKE2B b53887cb44f7c378cb3866780f8e556e19fdb02130d3b0df01d97698d2a91f7d90a200012559f288e962935742c3fdb67dfb6711876fad37862fe55cdca5b5f6 SHA512 82df8d0be47e9eb20bd7db570539bb061d0b6e2101dc78a54596cf4d0b4e0c536041449304ff9240b051ee09b342ea336c5645e9a3b66a5dfb96d7778ff86008 DIST kernel-x86_64-fedora.config.5.10.12 206357 BLAKE2B 0eda9d4f3f973336cabd67c1ac78f100aabde926354743e8dcb7ff84496f0de49210d45f99bc850a2096078b0b4687aa7fd965d999248559506004f2b29dac0c SHA512 b12f43d3c1a52a4915cd73db98874ce9ae6c425672c0f1c19ed1b1101341c868ebf1c9620bef5449752ec0d7342c1ce38fb77779d0f89b9267096a605ebf7a26 DIST kernel-x86_64-fedora.config.5.15.19 223286 BLAKE2B 239995703c01dcb6d179133dd115bc0a57872c07d7a08afaf4d92cf6d78f0c17b19487b5b399ac7fdde5d460fa7931628147817a569fef2c3a62951c96054bdf SHA512 9bee4aff7e5ef4ada57bee7496aaf47b8fdd5c936c4c9b580660d130db0678eaecdebdbcab0dfcaf5c17a71f6419069840db10f5886806b6fc810f8a3619554f DIST kernel-x86_64-fedora.config.6.1.7-gentoo 228685 BLAKE2B e68236ccc1d51b2aff850eda9f3197b7ea95b8a88716bc7b07dad30348a86fdbb99a948060300dddae73ca82267d851d357f1c9547a9dcefae1364deebdbd124 SHA512 42bec2ddb9cf7eb6e84bbdeb23eb98dc11c9cea41f6134b776010c6b36833b520a290f0ef0145379de15c7f7834398fa5e3aaabd7258d7d4e89567faa09eeb4c +DIST kernel-x86_64-fedora.config.6.3.13-gentoo 232009 BLAKE2B e722298bc9d9c7c0666ce5539e7ca5b32f4580a1c53365410df44657e0b6c45cf5c26a6a810a34cec7a69f2cbfd7f09f018b156dccd9c074dba9e26fcb3b0393 SHA512 9f79d13316c2f1f45cdde1803280e1589319acd03a72117f87e087744ad8f93752851ada2af8218f9e55a19aabff551ddefcdcdcb8fa5b1caa49b0a0b58a45f0 DIST kernel-x86_64-fedora.config.6.3.7-gentoo 231988 BLAKE2B 60b43c8f1d2a9c36c533280f77234079e73efb905cd300a057cce6254a8f036e82af977b213ddfb72532d604510ad1deea862fb1eafac917990c18d11e7de42c SHA512 79a17ebcfcd12551dddc6077245305b400d0069e5a3cb71432799465ff833c9ff0f1a85b371d0198e67bd38aec90e856ba4a52681b326a3ff749434dd5e75fd3 DIST kernel-x86_64-fedora.config.6.4.3-gentoo 233494 BLAKE2B 15481955940dc58447f9527dde755e6a6e3e4db86ea1a7fbb0f31d32ba3146d6773b068594425d4aa4c72df5fe65076bb08271473b69d4563d08c17012992611 SHA512 c2ff9676d6792f6c49dce5237fba97100b7e3659196ce8e3b4db4f727cf0f379665b2351c1a9f62dfdf45696940bbd76c5fa890f0849029614a2eed0a1efc169 DIST kernel-x86_64.config.5.4.21 184907 BLAKE2B 0eb2b07c14cea7545350fcdf3a94f2a531f0137c502ebda9299cacf44da5385686e2049b480b28bc153c9d413d453cfe682b9655eefe70428cb720f57c7bd200 SHA512 f3b3ee6841555ac3a9cc11536a7d44e1a5a8df2bab14ba341fda7df1ceb0de45cf1c799a1d54a64f2858fd1272d348bb52cf269ffa396878c5402baf2730237f @@ -46,5 +52,6 @@ EBUILD gentoo-kernel-5.15.120.ebuild 3656 BLAKE2B f28fc4c7aac5f5c4f20e0feb60082a EBUILD gentoo-kernel-5.4.249.ebuild 2860 BLAKE2B bc1812c00d3f6c58b51d0e9389055a6ca000db0fea5dbdbed392790fefce8a9abb2766c1083c3215c09453d89d6fe9889ffd62b1bf873ff69dfedce41badbf7f SHA512 96e28a4dc569a8d6ae0ea10710db9187a26a448640e76507414031b5ea16ee494a889cbb4a44b9f13cefc9c00d4066a46e8a0887f9fd5dabba5072605d283023 EBUILD gentoo-kernel-6.1.38.ebuild 3915 BLAKE2B 32fbcf1d2df4cd62c7f70e463e81d223e2f7281dac414cc912367bef913bc0bdad45abc487c3aa5da0b8a5c22ac6963d4ab862a69e7e15b418ba1582a763ccd7 SHA512 1da377d13d150ab5bd23b12bc05176e59bf2e2440c1b5d906a3e838e9927b2ce5b3591199ae55c06626316531a92b2cc170fdb85bd335062a1de20c4f47f349a EBUILD gentoo-kernel-6.3.12.ebuild 3946 BLAKE2B d9cd40cfdab4a29e9b2f7aad767b21aa6ebe9ecccc4ceb71fc47e452cfaa071e484e707c33182fc229150a328b8a24645e20cfd045e6a1687c4721d597ae09df SHA512 4fe04b5f1681d1a667f3962bd8eeba2aa41a472bb695eb679e60776b06ada2e0551b85332a0fdcb640c47068a117c2e1d85d76ab535b0feff3fbf5ea02fffb9d +EBUILD gentoo-kernel-6.3.13.ebuild 3947 BLAKE2B ab3ac79724aeca9037eef246d2581273a29365e4222fd89e9b8b340819bd3622fbbbd8b184e8ff579a9a2ef7266e1e3382ff453da93a09da12ef33c67b744e13 SHA512 754cb8a3e21c5df3ed1d3cdefbfee45148fbeb6649805e0ce93bc41c84522b67212e6d95de224d0eba8961dcf38b7328b72efec166b106c2874d167208eb5b00 EBUILD gentoo-kernel-6.4.3.ebuild 3946 BLAKE2B ea50d2741fd3988fbfeb1743d973430eed38e509e8c2708932a8a69ee904342d2d7e36592d1d0c8b7130277a0fae28bea0f031e3f2601c4c29fdfcb5dd2e5968 SHA512 9cc58c15ddd52d758437ac8775b5ea5ed8093c08d2d938c038fb14fedf850a8b909db1a817919909405d23e8607be590647ec141cb42bc0c685225ccf08acea5 MISC metadata.xml 465 BLAKE2B ea1260a1638588a48d9dd776e9eabd9730a181af8416ba778c936fa2e80a2360be146d3cc80599e50e0a72ac709eb9538184aac87cb96528e445ed450e34f4af SHA512 c7b7b1a45fb7082b8d8d66cf5a387cc4f7207cd9488d1d5e1d6900f1e4147aa9290b5522a94d941a885f1599b5df2482b529e40912d2b2cff400ecd4b1704c41 diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.3.13.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.3.13.ebuild new file mode 100644 index 000000000000..b62f032049ff --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.3.13.ebuild @@ -0,0 +1,141 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KERNEL_IUSE_MODULES_SIGN=1 +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 4 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo +CONFIG_VER=6.3.13-gentoo +GENTOO_CONFIG_VER=g7 + +DESCRIPTION="Linux kernel built with Gentoo patches" +HOMEPAGE=" + https://wiki.gentoo.org/wiki/Project:Distribution_Kernel + https://www.kernel.org/ +" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + amd64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" +IUSE="debug hardened" +REQUIRED_USE="arm? ( savedconfig ) + hppa? ( savedconfig ) + riscv? ( savedconfig )" + +RDEPEND=" + !sys-kernel/gentoo-kernel-bin:${SLOT} +" +BDEPEND=" + debug? ( dev-util/pahole ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +QA_FLAGS_IGNORED=" + usr/src/linux-.*/scripts/gcc-plugins/.*.so + usr/src/linux-.*/vmlinux + usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg +" + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + default + + local biendian=false + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + hppa) + return + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + riscv) + return + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-gentoo-dist" + use hardened && myversion+="-hardened" + echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die + local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" + + local merge_configs=( + "${T}"/version.config + "${dist_conf_path}"/base.config + ) + use debug || merge_configs+=( + "${dist_conf_path}"/no-debug.config + ) + if use hardened; then + merge_configs+=( "${dist_conf_path}"/hardened-base.config ) + + tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) + + if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then + merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) + fi + fi + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + kernel-build_merge_configs "${merge_configs[@]}" +} |