From be675f929577458bd306c90ed78b62054197c0b1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 20 Nov 2023 17:13:51 +0000 Subject: gentoo auto-resync : 20:11:2023 - 17:13:50 --- sys-kernel/gentoo-kernel/Manifest | 12 ++ .../gentoo-kernel/gentoo-kernel-5.15.139.ebuild | 141 +++++++++++++++++++ .../gentoo-kernel/gentoo-kernel-6.1.63.ebuild | 146 ++++++++++++++++++++ .../gentoo-kernel/gentoo-kernel-6.5.12.ebuild | 149 +++++++++++++++++++++ .../gentoo-kernel/gentoo-kernel-6.6.2.ebuild | 149 +++++++++++++++++++++ 5 files changed, 597 insertions(+) create mode 100644 sys-kernel/gentoo-kernel/gentoo-kernel-5.15.139.ebuild create mode 100644 sys-kernel/gentoo-kernel/gentoo-kernel-6.1.63.ebuild create mode 100644 sys-kernel/gentoo-kernel/gentoo-kernel-6.5.12.ebuild create mode 100644 sys-kernel/gentoo-kernel/gentoo-kernel-6.6.2.ebuild (limited to 'sys-kernel/gentoo-kernel') diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest index 3acd693fc5e1..27d4cffc9779 100644 --- a/sys-kernel/gentoo-kernel/Manifest +++ b/sys-kernel/gentoo-kernel/Manifest @@ -6,18 +6,26 @@ DIST genpatches-5.15-143.base.tar.xz 5634608 BLAKE2B a00b2898db47b874fdfe2e2bf0c DIST genpatches-5.15-143.extras.tar.xz 3936 BLAKE2B c942135c9120024effcc516070b81aef19de95969e19c95b7c222ccf9ba515db329735596f3c5dfe81f12ef29165b898de75988f0c632cd228b6d3579e3c5648 SHA512 eb9d0661d81c1acbf5884f3ccc864e0b110a517556bd62020f41f3fad77c32e57da5a7c1f6411a4dc7d9b85ad8fe9af4658613b0a3e9484fb609a7f9ac1a3f39 DIST genpatches-5.15-144.base.tar.xz 5663416 BLAKE2B a4347f6e6f5916a3811ddb7ce19a506f6f4bb691e57ed5229adb55d90aa2fce14656d1a77d63539ef5fba8c0a5ed8c3cd0933c9f286694a83c65898b77015e66 SHA512 8f4a7429a9673cc2aeffe870ac1f742b6d111b0fb72bff74b3407d13eaaa6200ae7b931449b7c5923c215428b2c55352f728d60a09f1ac7907625f37a454a3cf DIST genpatches-5.15-144.extras.tar.xz 3940 BLAKE2B b605a72df3376503172f7a3e7c170fd6b46490061a8a435230372c12a95cfd3deae488639b3ca579c602e86d1e34b1e11c4b873bfd2bc037520df5f1906f6caf SHA512 5db17e336aa1cd4b839b5e4b595e632484af239a662c7f631009a10811be3b87188049eb8a576543f132e674b382b5ba9d9af94a26b3d5a24fb4c654f6a3e2e0 +DIST genpatches-5.15-145.base.tar.xz 5716840 BLAKE2B ab0ea42db784aed619fbbce1600fab744a083fd5f47067210b3d3f2874d6d1d399f2aab0fba538865b584f7bd018a4ceec569cfe93ab32ff250bf298996be3da SHA512 8797528fd32dfebf76a804ddb4f6adf07d666758c8f0eaa18a694341872bbe2c3febf44c56268f1852eaac0afe36e6e6c33f287a389f4782af673ce63836a574 +DIST genpatches-5.15-145.extras.tar.xz 3936 BLAKE2B 3e0d75d0029aa817b3e7f184b34150adaf337c05f37122a46290b24d4769a1ff1b5fd82adc2a50b09f2b0be235ea9f4f06a4c3111dc68cf2acccae1bd39a0d67 SHA512 4f3e94e59bffcf5a9f6f7ca98c34c7302ad843860532e6022f6ba33d1d9c1a89b3dba606ec771ccbf063f01808fc51b9a1162dd8aadbf898d17759488a04ef5d DIST genpatches-6.1-67.base.tar.xz 3816044 BLAKE2B 9116263f1f3cbb472ad09ad785eb643cc4deb16f94936196c1dbb3d500b6e20447d07d434f4fbc59fe8cfc03076da0aa0ec22a3c6d93e09d0dfed6d6fdfe7add SHA512 609935fec85285a34e4fa6032f552230aeb7aed1caa867d34810a25f68c2295e0a8f886e0a093f111b1623ba364cfd6e17b237d670d42c8c539778810a02f681 DIST genpatches-6.1-67.extras.tar.xz 3816 BLAKE2B 6aa8e9614221c2b9d84df9f75e5b8eb530ae8752b406ad698be86a8031b47940f9efb1de9bedfa0e466d0bad32dae60c5c639815785353a49e4b439de79a80ef SHA512 a911476dcfa9767f4adb946bcdcbe475e78f83753a7880a7e3a96aed347f1ec520ba8d75fe4e5565b2aded25965cecd3c7f79fa12009af043f7408200e27189a DIST genpatches-6.1-68.base.tar.xz 3834732 BLAKE2B 3fc3dd48708491bf32a17cbb8c23e531e2b95e60ebcbe3faa6fbe2c60e610aad9226d1846774ddd2af56e985371780e10a249a50e2ac46d7e482428f67b289d9 SHA512 28b810ad914e12035ef724f7dc4b3cc6226cccad4997804a9e3ba5a4f4a420f5f397eade002dd7a9231efc2b0c1850c40c44bf5daa358c24e42bb50da05141d8 DIST genpatches-6.1-68.extras.tar.xz 3816 BLAKE2B 86fce6b028ed4c3b713cddfea42f56adf55e105c9defbb8f6a84bfe397f0163ee9759218c2b43bbe9f9f6838623816fd3c31887e5b05ac8e98235f01f750a4dd SHA512 23550c824e7f3a1507d1e124224f0c1f4b7bd3deb07750d392011d374352ee430acb84e55143f3bbaafb67f9ea28a6aabdee77ffe3a78d68691f30fefd4304cb DIST genpatches-6.1-69.base.tar.xz 3845328 BLAKE2B 8712160e24a37b1333b7cb2314cc9a807caab08d2a19a4c784d38f8790bb7d5f8bae06ea3f18e0430bb9d196f5525299f6530661d182769ecf5e77cc28bfc852 SHA512 bb88322d976e4dbabb9f884e6eb6a4d581c409fe7d249b80bc4ab87945cce579878c0b197db16b1543576eb1580ba46586b077ec6294647fcff083d26268d889 DIST genpatches-6.1-69.extras.tar.xz 3816 BLAKE2B beff365f70a79f0b89ffaf3807f69e770a2bc05baf568b80dff66d135d59557bb0463d2c914953722b0511a2e1b100b0c4b6181192b3ad42eb4f592c0b785eea SHA512 9fbf140b90103a750287f4ac94b3f1606a5f12d97626dbb8370b876e1894d5397f4af740885b07dd5c4e0616583f6c909bc881b9cd90c05cf1fef614a006a6bc +DIST genpatches-6.1-70.base.tar.xz 3972184 BLAKE2B 4fecbaed663f02725423386867efcb5d92ada6fd1efa880bad4eb75c19285172e5faf8fde382287d76e0140cbb92b9befa547c8c8e761017e28aaa3cd368c012 SHA512 e197bbac9740394d4207d3e6261ae0ea755dee69e1b64e8ef16632b32a827ae994f0c197117346871d5fcfb44fe9cc919e5c0f3e4a94b8e3de2bf35bf6bdc8cd +DIST genpatches-6.1-70.extras.tar.xz 3816 BLAKE2B 24fceb3a4d3482fe840ec8053badc22d06a8eb0091af745991ec729bde2dd99202122c149fe39553e3a0cc4e853c6d97d084d24a759172c643ceed829f2f6cf9 SHA512 381d9c79faf43a9c26991a3064096e90e7dbf027350c299b3a0afba6248b4cff4c7c58e6667528a33d77ed3b8e91516cd018f0aa4c9ae340bb441218e681a5af DIST genpatches-6.5-12.base.tar.xz 720508 BLAKE2B 429f4fbc3292ab46250bc1716212f369f888ee0219ab19baaf8a7e3634c012bcaa64820639b5650b5346cc93fffb3b00c8ba5ad48c3f0030e5db6102646ca60f SHA512 1b5de16a305f7cddc3125be3786347a037e25b8b53ad05c35c8efd57e624dbd7cf152898c3084847d6c9b77f5bc6df378644434e877434d40ad4fb0d08d6a37d DIST genpatches-6.5-12.extras.tar.xz 3704 BLAKE2B 3d18f544a455d1184eb9687a5c53c7dd348b12f736313a3bb9d3417e0f4458a8e7f962451ede58f45016af700014fea87cc3336b30ede9f899dd75369eaadc57 SHA512 0a8c8a23d99962e5f0028ef1ee8ba79cd20af0ccf6b08e554405ee964cf542b6758d0e2456612a410d7fdfca5572e4af7c4d1c3b65a9b426412c1b480b2d6475 DIST genpatches-6.5-13.base.tar.xz 741136 BLAKE2B 3e13a5bb6effb4005e2c1e604722cffb27583aa78ba0642ae2eacb2f5905fc19fd16212b502196e58d0ee4064779623b44af03e34c6bef0635104bbdfa49253d SHA512 5b63c998dfe984b5435e7e951889dbd1bf4cab2d8db41e89978ffd06ca58ba3e8687e740bb42514e0da5e5ae19998234f87e8220d5eb550e21fb6bd7c665e139 DIST genpatches-6.5-13.extras.tar.xz 3704 BLAKE2B 9473c94b0d34075ba0652c672d7b0b732258a5c57d933b8782e8cf6d394143a2efece463d2692bd71dd0915ead6af1dbf2b10d7ed80eddebeede3a7619b7822b SHA512 489c266ef698bb03a8a7bd3fc552266b787f9036c473c003b7d20135e5e7ec9bc3f3c5caf443f702c6cb029d8d95c23a302a8c8171769b0fe44720da700dd8d7 +DIST genpatches-6.5-14.base.tar.xz 905872 BLAKE2B b8fff1e8a9a9c4d23e70597a7602c92017108d40b83f1c0411a00b5bb9bf2a41c31e7cdb0773c78bf40fe8cef131bb879ba80fe85c024b9725af7505ad87f8c6 SHA512 9166ab48252ea3cc7192aba8b2d4881ba608ec70f22e975477ad50f077c47ebd37993275b2927ca282a9fb1434479a56c82bbc26e4f8afee8b4e7c44e304dee0 +DIST genpatches-6.5-14.extras.tar.xz 3704 BLAKE2B 21b8a21e4c86bf6d49a6eead8db5baaf2d1c4aaffc8ce6afb23a66cb1b3cc124e864e982d0d2bcf8d3edfdbeb58db71bec3de701db40027b56720969eda3f314 SHA512 f2f3cb5dc4535167448c426d22d8d49205c1474b8faad880306a317bafb3e40052689bf25942f1537c5c9188a10095fea45f4e259ee06739e8913b70ba9f13e2 DIST genpatches-6.6-2.base.tar.xz 14616 BLAKE2B 3da38df6de90845f4ffdd61708573589973649c5d38082199994488d2679cfc70f954acdd1760a1b4a9162944f0bffc0443590956898b6d1fb79a363958c2859 SHA512 5abd3bf1d05e0e4331ebd2046d6f1e4f1091e25bc4d5624b78f6cc702dd14f6e11f6441bf12694500e96803909384420cf3b82148ae80c23a7f1c66b5bd2bb84 DIST genpatches-6.6-2.extras.tar.xz 3704 BLAKE2B d236133d98bb12a2310894614452c4d293b082a8f42a26c502e26022432515e71791dbdba1ca25e62e5d4904b441bc86ab123915ace1606d1e28571e83f0e9a5 SHA512 3bc907ecd0bab38c21ba8703fd0b44a0f23c9ac3de36029764813d121f0e4f3da8299671ebc021bf501c7e6cd63b848bb80a14fcb601f02cf850a8bf3bb0d826 +DIST genpatches-6.6-3.base.tar.xz 214140 BLAKE2B 8004fed867cbb854c681834b0d297336189a638cf4b2f513e3f78fba469e0f385ac02ad7cfd752ec351da1aea7698576a7ae7001fd2872cd8124d4e664cba0c3 SHA512 1d6f276b145b7ebb6dbf9064319ae64050ff613f495fefaa973c06abfebce23f176ca00988918812ce81610044ab840cbf77f3b015c43754cf2c1b905a516dcd +DIST genpatches-6.6-3.extras.tar.xz 3704 BLAKE2B b8d26172a7fe7a85bdb30d9812da3e76d9bc061597da43b66d514b6aa24fd1ca8047989196003488db13107002a727445fe6d5cc7160d795b9a6f0f2c43c0f8e SHA512 964a49545c37d981049f2471ca9a29609e491550018b248ed7cc2775e32974ccd015f116533d0468652c9ee3af0f16831cc5ba2ba4c68bffa4e250826b9b11fa DIST gentoo-kernel-config-g10.tar.gz 5035 BLAKE2B e965f157b6dadb9c6e355ebe5f9c56625ac69f34a70d6238cd56faf76f7a6583242ea61283c45f2d2cc807ce258c2d405130109ac6e28155849a73871691ea9a SHA512 ad7419f1f183a0380896b3784ff4ab260ff850f2c055156c53f20d2bf3ea4350affaf37aef505e680928ae0f8882f12faeda02bdbd9fc26aed4aaae388290e95 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 @@ -48,10 +56,14 @@ EBUILD gentoo-kernel-5.10.199.ebuild 3661 BLAKE2B 1e31cd092a8729281ccd3fd587f7f2 EBUILD gentoo-kernel-5.10.200.ebuild 3665 BLAKE2B 08e37b776a476294fb4f427fa98b1a8ee88589c0e4f749f49c31062fc047ee3d84ba0eb46b0ee8c702207cf8889eddbb437ca862b9b3381259f8db89ff5397a7 SHA512 84c97253bc112965259444312adbcf121388df8965541401852f9a7737eadcf5b5e44119f80089e9f17d77b20bc975262218b4901bc64a5d4e3a39a4496f1a5d EBUILD gentoo-kernel-5.15.137.ebuild 3739 BLAKE2B e23a5cea731695d964850e6092e28172e851a03fdc7c64a2d85d6e26ec1ab2d70af4407f6e9b9d53c32e1fc5a602cbc6462fe8398eeb652e36ec2b20358e07ef SHA512 5baf5add233f50491b37fc25ea1698fe3897400e5c70f3ad8e7cd5456d93b1fb4062930473882b3d2a56a38e2cd93b2225cf6af5d08b1bbdac7c07b5fc6e18c9 EBUILD gentoo-kernel-5.15.138.ebuild 3743 BLAKE2B 58d79b0682d9a5d3bf6395cb3691a94c0495ef641f136a51f39512a5da7fd7b41fd003a3e6542f2b4d00bc2d62ad2f0f654b7954985e486e18e9897501205f80 SHA512 f8af5d94efd3557c381de32607572375b6b303f029e9ce903ad99e78c6a70524c5d285dacff8bb9125c49e9a5872206398342222be945858fcc7d79d90cc8780 +EBUILD gentoo-kernel-5.15.139.ebuild 3743 BLAKE2B 58d79b0682d9a5d3bf6395cb3691a94c0495ef641f136a51f39512a5da7fd7b41fd003a3e6542f2b4d00bc2d62ad2f0f654b7954985e486e18e9897501205f80 SHA512 f8af5d94efd3557c381de32607572375b6b303f029e9ce903ad99e78c6a70524c5d285dacff8bb9125c49e9a5872206398342222be945858fcc7d79d90cc8780 EBUILD gentoo-kernel-6.1.60.ebuild 3975 BLAKE2B 0c9ac70d98412c72ed4b46cc24ac0aabce24fa7a4cd28bedbe1faf0d6c859f0df0440bfb51bdde106224447936288509cd2cd1590a4deeab014907d45ab0a816 SHA512 271c9b745e931a6d41a4d98ac2d1225b269859f8c491660d069cd00bf61ba5113a2db16796704cc93c84b2b378efb6efe834e59378bbc440e00e38a2fad974ce EBUILD gentoo-kernel-6.1.61.ebuild 3979 BLAKE2B c04f720c772323946514832e6f0ef407785e84e0e5901b698813271c629c5f2916f63ac52c55cbb2b73e5ee8db0c3e8ca61a67a54386ad43b0ec3dde4183a282 SHA512 849b5af98a41d8167b8ad500ea541359f87a491ee5657ff219ee74bc88e93dda0bd299c0e92646f441eab3a94b3b0aed2826cde585d9fd8451141d9c39411641 EBUILD gentoo-kernel-6.1.62.ebuild 3979 BLAKE2B c04f720c772323946514832e6f0ef407785e84e0e5901b698813271c629c5f2916f63ac52c55cbb2b73e5ee8db0c3e8ca61a67a54386ad43b0ec3dde4183a282 SHA512 849b5af98a41d8167b8ad500ea541359f87a491ee5657ff219ee74bc88e93dda0bd299c0e92646f441eab3a94b3b0aed2826cde585d9fd8451141d9c39411641 +EBUILD gentoo-kernel-6.1.63.ebuild 3979 BLAKE2B c04f720c772323946514832e6f0ef407785e84e0e5901b698813271c629c5f2916f63ac52c55cbb2b73e5ee8db0c3e8ca61a67a54386ad43b0ec3dde4183a282 SHA512 849b5af98a41d8167b8ad500ea541359f87a491ee5657ff219ee74bc88e93dda0bd299c0e92646f441eab3a94b3b0aed2826cde585d9fd8451141d9c39411641 EBUILD gentoo-kernel-6.5.10.ebuild 4083 BLAKE2B 45a8f8678bf06bc39b349d1a1cc4b29a825e4fe7ae0649c723272aa0da2d9b77a3fcd14eb5d53ade9a0131da0ad6aa321f3a0c4a0c25bb21e9ed88994bf1a004 SHA512 2d85339dea6d07f377d7b18b6b7a38fe8059ed7c712e0cfb334616a97360238d31e560bbea8cc901eb6ea0fee1ffedf007c563f0b45fffd7a46eaaaf0b5d54cd EBUILD gentoo-kernel-6.5.11.ebuild 4083 BLAKE2B 45a8f8678bf06bc39b349d1a1cc4b29a825e4fe7ae0649c723272aa0da2d9b77a3fcd14eb5d53ade9a0131da0ad6aa321f3a0c4a0c25bb21e9ed88994bf1a004 SHA512 2d85339dea6d07f377d7b18b6b7a38fe8059ed7c712e0cfb334616a97360238d31e560bbea8cc901eb6ea0fee1ffedf007c563f0b45fffd7a46eaaaf0b5d54cd +EBUILD gentoo-kernel-6.5.12.ebuild 4083 BLAKE2B 45a8f8678bf06bc39b349d1a1cc4b29a825e4fe7ae0649c723272aa0da2d9b77a3fcd14eb5d53ade9a0131da0ad6aa321f3a0c4a0c25bb21e9ed88994bf1a004 SHA512 2d85339dea6d07f377d7b18b6b7a38fe8059ed7c712e0cfb334616a97360238d31e560bbea8cc901eb6ea0fee1ffedf007c563f0b45fffd7a46eaaaf0b5d54cd EBUILD gentoo-kernel-6.6.1.ebuild 4083 BLAKE2B c45de6cb31abe4f8749029b075ae68875f4492126932d8ea1c955adf221e8c831f1d3921d29f626cdeac3186a5f163db32c7c275df3bd97d138320766c564a81 SHA512 d1675430b71406b3d7156387ef626dd72dac9515cc01dc6a9f0974b9cf821756e17ee55ab4f7b40228fd1a249fa6339f7a45653853414b20041fa67ad9fbc1bb +EBUILD gentoo-kernel-6.6.2.ebuild 4083 BLAKE2B c45de6cb31abe4f8749029b075ae68875f4492126932d8ea1c955adf221e8c831f1d3921d29f626cdeac3186a5f163db32c7c275df3bd97d138320766c564a81 SHA512 d1675430b71406b3d7156387ef626dd72dac9515cc01dc6a9f0974b9cf821756e17ee55ab4f7b40228fd1a249fa6339f7a45653853414b20041fa67ad9fbc1bb MISC metadata.xml 465 BLAKE2B ea1260a1638588a48d9dd776e9eabd9730a181af8416ba778c936fa2e80a2360be146d3cc80599e50e0a72ac709eb9538184aac87cb96528e445ed450e34f4af SHA512 c7b7b1a45fb7082b8d8d66cf5a387cc4f7207cd9488d1d5e1d6900f1e4147aa9290b5522a94d941a885f1599b5df2482b529e40912d2b2cff400ecd4b1704c41 diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.139.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.139.ebuild new file mode 100644 index 000000000000..6ff9fa71d26d --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.139.ebuild @@ -0,0 +1,141 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 6 )) +CONFIG_VER=5.15.19 +CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01 +GENTOO_CONFIG_VER=g10 + +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://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug hardened" +REQUIRED_USE=" + arm? ( savedconfig ) + hppa? ( savedconfig ) + sparc? ( 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 + ;; + sparc) + 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[@]}" +} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.63.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.63.ebuild new file mode 100644 index 000000000000..5eb6a81e331d --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.63.ebuild @@ -0,0 +1,146 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 7 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo +CONFIG_VER=6.1.7-gentoo +GENTOO_CONFIG_VER=g10 + +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 ~sparc ~x86" +IUSE="debug hardened" +REQUIRED_USE=" + arm? ( savedconfig ) + hppa? ( savedconfig ) + riscv? ( savedconfig ) + sparc? ( 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 + ;; + sparc) + 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[@]}" +} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.5.12.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.5.12.ebuild new file mode 100644 index 000000000000..8ee35da11de4 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.5.12.ebuild @@ -0,0 +1,149 @@ +# 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##*.} + 2 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo +CONFIG_VER=6.5.8-gentoo +GENTOO_CONFIG_VER=g10 + +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 ~sparc ~x86" +IUSE="debug hardened" +REQUIRED_USE=" + arm? ( savedconfig ) + hppa? ( savedconfig ) + riscv? ( savedconfig ) + sparc? ( 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 + ;; + sparc) + 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 + + use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" ) + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.2.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.2.ebuild new file mode 100644 index 000000000000..71044a7e9136 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.2.ebuild @@ -0,0 +1,149 @@ +# 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##*.} + 1 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo +CONFIG_VER=6.6.1-gentoo +GENTOO_CONFIG_VER=g10 + +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 ~sparc ~x86" +IUSE="debug hardened" +REQUIRED_USE=" + arm? ( savedconfig ) + hppa? ( savedconfig ) + riscv? ( savedconfig ) + sparc? ( 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 + ;; + sparc) + 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 + + use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" ) + + kernel-build_merge_configs "${merge_configs[@]}" +} -- cgit v1.2.3