summaryrefslogtreecommitdiff
path: root/sys-kernel/gentoo-kernel
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/gentoo-kernel')
-rw-r--r--sys-kernel/gentoo-kernel/Manifest11
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-6.1.125.ebuild137
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-6.12.10.ebuild144
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-6.6.72.ebuild144
4 files changed, 436 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest
index 5f7e4f4ff0ff..729115eaacbe 100644
--- a/sys-kernel/gentoo-kernel/Manifest
+++ b/sys-kernel/gentoo-kernel/Manifest
@@ -14,6 +14,8 @@ DIST genpatches-6.1-133.base.tar.xz 6730928 BLAKE2B 0a3d788af308b602468d8bc26467
DIST genpatches-6.1-133.extras.tar.xz 4056 BLAKE2B e5510780c454bbdd69f0d5d01bc6d792316f62a9e9217fe7500f688a5b8854b9d8406521e553808cf65e10f937be884fc4bbf3e3ce70f75b28a8254af03b77dc SHA512 e93284e4812b2a0a43e9de73c392874e1d48dfc3ad4d27a145fd43864e310cc60df3f509477570dca011dee7a9fb17ea2a72882e5316a50746a5a6cad58f373d
DIST genpatches-6.1-134.base.tar.xz 6754804 BLAKE2B 36d49584071a74207d07d353e67b8c0e9f9d5ca3db44d5fc6c392bf34c022fd6ba9022734aba45fdd432673133e9f4f9ade495658550a68ad537153a08cd01af SHA512 214e8b20b52af4fb5b22035955dbafe665245c3ca85a1dab3419385be6f9f0d3b0f5d0ece9180c71a11c9e11b1c69153e82be282b46b41c1eba2df19226f90ea
DIST genpatches-6.1-134.extras.tar.xz 4056 BLAKE2B 7612c02201b9db803c7b7c0b0c6e8c48dab78783e4d144eaf2e798fd0f1fe1e192138dea1802fa7a17385c6ca65ddf9b089cc3e547ca23efa36bda45cf355f5e SHA512 33e35c97ba7017e0b8c78f53aa4ab91e57c0a1f1fc246fec6ba6c3a091577bda2f99ecb1d909f3599d9123f2d99e756b7b6bb5b8086c8ff4cefc28a1827e5410
+DIST genpatches-6.1-135.base.tar.xz 6772832 BLAKE2B 7aad4f211cbebf17baf43c2009e2343f3bb737d8665def616fe5aeed2816e9dffab4762d8a4cb3929c325315db5787d7404dbffe05ac23c3fc0c3327d5449d55 SHA512 ad3a1ffbba27a5ad0895367023db24be96cdb365c02dd77c49fa1e47866db77962a022d268cdebd156ac6e00bcfc24cd571b82b4a772a65f2f8d72874b8e8184
+DIST genpatches-6.1-135.extras.tar.xz 4060 BLAKE2B 3940d48e36b2986d8e97e8cfb56bbbc1118efa61a6077eb4a0c68a8962e03bf1d9896bcdc85f7fb478ff88219f4c10db7af7e83bbd328df2077fd56f309298d6 SHA512 6ad629028fe2b1d38d3949dca050673cf89b57fe229492a9964253f6129183d85ea9200fd3c008d95b0f58251029541895e1675d7ab5cf4c22446006a9765f14
DIST genpatches-6.12-10.base.tar.xz 680556 BLAKE2B 1e8b7fc1e380a238f2d3eb9778e0632a3d8d2a9fd59578c866b80d0f6d8452e737aecd3a443f576c9df434d2a81968be7382006db2ca032c9253168bb4463633 SHA512 f5a3dfe69b2dc0517f29a019b20abda79e608bdba568e838c1ceb8d26613fd7536c30f5f92336820a2cf33e89e7470455333b530292e0b63590e2def4d089147
DIST genpatches-6.12-10.experimental.tar.xz 78160 BLAKE2B d145325c0a3bbdc93b1e7ed86f860576192aa7260cea083508efc581257cfeced92f390c398299adb1c989a513c15a5252e79e9e05737eabb89a98cbda9f5d91 SHA512 5b3b355fbf2109d83104f92486df4ad3881f1a78b3dada8285e195486def7d1668c55c797460504647e43d5a8f4fbaac7523e9c4745387c314fd1a8410083c5c
DIST genpatches-6.12-10.extras.tar.xz 4060 BLAKE2B 9cf7abbfb23624ba1acd2c7fa972154d9c66bcba6e9170c9ba860f7370263cc9c8fa2dce8f1d663bdd10f2f95539a91f1c1f6e914c3a0bffae641c6c73cbec54 SHA512 cf3dc0120d4048cce2f2eb7f105cdeb9c70a95381518523bcbd8df126ad8fb5035b1d6862bd01f5530830e74f27d1a64f8c999382aeca327e80f385b7bb9ceb5
@@ -23,6 +25,9 @@ DIST genpatches-6.12-11.extras.tar.xz 4056 BLAKE2B f8c2a145a06ea061100ba4d16e873
DIST genpatches-6.12-12.base.tar.xz 758168 BLAKE2B 2f9fca909ebc5710fa9154fe4c824116e48adbf9d4e857a75661b0689a0c44add897a502700edf415ba4b664fe586ba490f16b4dd12f00b19b80c34800d4b6be SHA512 c7d125caa03b0ff053f37fc82a4fbd9d3be8f8eee024bf05639d4f3c3b51574983e5d0beadb7714865f6d72e02a22ceb528c8359115ac995b63f5d87eb055bb9
DIST genpatches-6.12-12.experimental.tar.xz 78128 BLAKE2B 771782a7f3c067bac0311f6f45cde1fa5fad2a1546c784bc00a6f3360cb52fe7ca157246e4c33d9674736eddec41a84daf123722b1aade862feecf563af7e145 SHA512 249c330f3844d67ed596c61cf032c0ac141f3319e438194be5cad9df970242564b621a9b28d51c9a3f0424e47d2c4070804a5e7bcd9b9683522991bf7b87a533
DIST genpatches-6.12-12.extras.tar.xz 4056 BLAKE2B 8e00efcd3af7862fb8bde9d8a2e9d51fd999474e33e63e058c3580b187abc71c2206663d37b7b4ebd96193c6185a29f5d1e9e9ef98167703f01bc5c3c9b767c7 SHA512 a52dec8d607e64c112a2b1c731f65ca3fe340712bb390c25e8f7bee90cabea619922540998ef6b95b97dc0626b4dfe3a9713a3f8e7efa8f99f3ebd95e8fdf855
+DIST genpatches-6.12-13.base.tar.xz 806528 BLAKE2B 0eec1195d5a497e64556d992893f251a54c558151aef1fc1d03de0b95bdbe03588ef486875e7676f9635da62e975dd8509279ed2d96b4dcb3796e1d8a4bb3768 SHA512 3cf8549679aae42fe56a25c0f9d5eb5c59fb867c77dc22c21446064e55d91276ec75f60f5737ab9a39c82dd0e74ab1ee3bd62b5a78f7448827b5577257976aed
+DIST genpatches-6.12-13.experimental.tar.xz 78444 BLAKE2B 721334f36ae20a598295ce87c31acb12eadee9080bed53ba3a4fbd03180abfa4771c39d0b2d79ccdd28b04766ddd6eb80b1c8f3dc9e5fd2b8c17fe921125d1ba SHA512 834f04aed25aa6f9e660e64b02e488f2c99cf8cb4e20a11c813c8e21b7d91a650e0c795c1369147206d707c75f2a1d25144b08ca9b1b02162443d4ea1bd36d26
+DIST genpatches-6.12-13.extras.tar.xz 4056 BLAKE2B af48fba5d81bf8e13658555d94fa131e3f8fa06144148dd11b58823f802c5c4aea823fc4cd8f308ba6518638b65637d0b8a030d513d4b2a05384fc8f40550d94 SHA512 d7b1290d44696284fde4980ad3b90a190659056739a084ae704d1edf1a06ee166fa78960a42999b9e6e2d8aad4fd330621c8865f5e2517f1453c916d6375a365
DIST genpatches-6.6-75.base.tar.xz 4089936 BLAKE2B f88b0f84e3d73f87025389a3a66edbeeb6c126bf93b2522105859d27911aebb768cbbb2aa8418fe7e778eed6130b2253d85c08cedfa99c188c02d8d043f5fc7d SHA512 ebaf66ba8a338d548041c1ed619c4cde495a3bcbc990caba75dc86bf990a159b7f431e46e84cd16cea62991ca9d50420747a988da6e0c3973aec25943bc00d8d
DIST genpatches-6.6-75.experimental.tar.xz 5760 BLAKE2B 7709337f3f3eefab7132b6efd7b702068ac11a63ccbce3fa7ea88310e2555ec6fa65b53ac25ff8f0fcef7cce4a6526ff9547da5f826732b6be0eed23c349a4f6 SHA512 3d9ecd5da8ce280be89f764a377bd04733d34a68909a2241ef61ac30b0e7741fb3bffde82b2737ef4798c1c20ceea2d3d224140a381503df89d6293bb46891e0
DIST genpatches-6.6-75.extras.tar.xz 4056 BLAKE2B 6e2e14f16a7ebc675e84b180a8f26f485aece3f22de1d27bef60b414deea8f3744cbd95536b58722d793aee320b505d5ca3c0af0b1e20f238b02c29a12abada9 SHA512 c8030df10b17675adf3c48931f04c59d1795598c955eef39c7b3dd4f36c1af1d79e8d7405004952cfe4922cf100aa95d2fe3d7c6f6e0d683276d5382bebce399
@@ -41,6 +46,9 @@ DIST genpatches-6.6-79.extras.tar.xz 4056 BLAKE2B 70ffc39672faf32971e8b3bf8e41fe
DIST genpatches-6.6-80.base.tar.xz 4222992 BLAKE2B cbdd564aecb24378e09623688dfcf5bb1931d63823a339c99d7a8b436e16ed20b98cc682a5ffd10afd4c24a7e91542f140e7448b6b81acdc112c25ef982bb107 SHA512 273542404785a57a14a732c4e0924d0c94fc95c3980293c6d5ba6a30abe30f1f42d756dfef27c9ad5ffe57da84f2368ce9d51293d4b006d13dde2c8d0b1376a9
DIST genpatches-6.6-80.experimental.tar.xz 5760 BLAKE2B de1b3cafd2ec9c84d75c08b2532228df4f234ac94ddee4224d000e7e748a856dda080c4899bf6f7969bae4bd80e1e5ebe017fd18006088464b27504f83db46b9 SHA512 11f72ed0b15f1d251f9ef539f512f39127a9a5721774c496334fffd956f9fab9a885c8325f2fbf711481f9b4874072b1e015dc77854017e47b550d346c72ade2
DIST genpatches-6.6-80.extras.tar.xz 4060 BLAKE2B c83e6d97ed086ae3b9f3d6bf4cd29d4eae9f57f638eccab183dbcbde85886df00653634b1cf272f26580f32e1a7786f68960bc51f78a01540c61c0f5c7823b79 SHA512 a0e0b309a2022daf6343e21c0f435bd617d2a029c28297c7a082a8380157ea4fa52b12f92bd045ad8c3fb680cfe98edfe69e10f4d6a28f9b115afe8b07d75433
+DIST genpatches-6.6-81.base.tar.xz 4254652 BLAKE2B 20fe02a8fe886c04569ba9490de06956b2927014c1d023dda7d55c4386a0cefae6ee3d4d8138e824798b2d410f52024c701ac0b099c74080d4e3e28a8ba11e8e SHA512 f837dd14a9a5fb677c163660e916751ee6c12ad8cddd6dbc011be87b083339083c4ce110e43e0e364d48cdd9da769ffb8617bcff650068b516e03b33d0996ce0
+DIST genpatches-6.6-81.experimental.tar.xz 5760 BLAKE2B 4f4397b8155470626d119604f7e4d392115fec5f32daf924ac34f3b9898707959b04374338d1ff2928c5e766a51647981cae6ad70662419545c7d41f31b66145 SHA512 83f9dc3099511928141881da7389d28751a421b61f63df6807de5283167fad7aca4ae5a87ed2fa7c0f61b89d2f6eaec43e65a5ce4cd70e2e838b3f7da5743103
+DIST genpatches-6.6-81.extras.tar.xz 4056 BLAKE2B f8999d149063deccfd69f06848c39fa87de113d9978b4537e9699b1c9ed5896db929bb28e06919a13c7bf425c5e17438086ab5714b2cff57c0e1a79c097a535f SHA512 99616bba8411fa7a4bf1955abe97612c514f4c299d97b2bbedd467fda98505525545b3a65aa679ffd3171829a99f8d008590503fbdfc14bbb45552b1f85f82ad
DIST gentoo-kernel-config-g14.tar.gz 5686 BLAKE2B e5147ff4ffab92428b3e7f1b0897b997f8a298805f4f43b0a4d3047607bbb1a5ebfc268e0bb9688372a5eda561df9f256c78e00cdd7e3caf7868724214722f56 SHA512 f79638f9ff9dd0154512baf0234024216b6708d35a3c03a580ca5913286ad1ea13bdde5ea9b4722c6a7cd8d591c11ec52c1e225111a260343cd56aa1f1a88502
DIST gentoo-kernel-config-g15.tar.gz 5746 BLAKE2B 2baef40e18cbf3bb975362d71ad674604ad80338d1e6914ffa2fc03af26f1b9c9cec66d39a56077693a7327060bc29bd5eb5787549857dd3779e841192cb2016 SHA512 45d609ee25a529988868b8c99c808f4e6abbde34ae501bf35523431ee85c9f3657663d6f938f2036a5f012a55a68965b32fd41fc44d8f6ca606a6fd38f952445
DIST kernel-aarch64-fedora.config.5.10.12 223184 BLAKE2B a0246dac2f7a4ad6a55b611538d24382ac87a8960077811a859c9595ac67f961b4bccb7e139a89abc7c0e26e80832da5c94211fc658082f2e7dde984f14dd29d SHA512 7d803b347b136331db1ad6e22e0445fe0224c3e26cd7c034cbe9794915d457b492e05f77664865079874ec001351553652646e2e08d0fee31e30b841b0008f52
@@ -76,6 +84,8 @@ EBUILD gentoo-kernel-6.1.121.ebuild 3936 BLAKE2B dcf88459003e6870e2fac0577ea2baf
EBUILD gentoo-kernel-6.1.122.ebuild 3940 BLAKE2B e25216f0e811fcf6b8fdebf47e1b37359e0d2a828663c3dca599a861e4e504d1c2e6e0d3dfe5a5ce0cdd2535c7db93dae937f2f000908d08ffe0ef6eaa919c07 SHA512 95704de64275cc7b118e4e45427ed742c4f356eb14145df02bda8852a15555b5ed23cc5487b0762a64b10c201b059d28966a8e8c4a94e4d0441d0572a5427929
EBUILD gentoo-kernel-6.1.123.ebuild 3940 BLAKE2B 8911136c4a459ae5d78375628ab9414a74639aa403ec4e838fb3378c032a3fcd0b5e1a407c645e9b53878b9ff2dab53778c40b126c66659bc34abc228c0ba475 SHA512 f7da7e65135152f3a90fc85d42ccdcb99d022f7f1e19299f7988b52e911d7213b81484bd3685773a23a21da16fafee7480e2be595d75e4df23fc9240c002f8ee
EBUILD gentoo-kernel-6.1.124.ebuild 3940 BLAKE2B 8911136c4a459ae5d78375628ab9414a74639aa403ec4e838fb3378c032a3fcd0b5e1a407c645e9b53878b9ff2dab53778c40b126c66659bc34abc228c0ba475 SHA512 f7da7e65135152f3a90fc85d42ccdcb99d022f7f1e19299f7988b52e911d7213b81484bd3685773a23a21da16fafee7480e2be595d75e4df23fc9240c002f8ee
+EBUILD gentoo-kernel-6.1.125.ebuild 3940 BLAKE2B 8911136c4a459ae5d78375628ab9414a74639aa403ec4e838fb3378c032a3fcd0b5e1a407c645e9b53878b9ff2dab53778c40b126c66659bc34abc228c0ba475 SHA512 f7da7e65135152f3a90fc85d42ccdcb99d022f7f1e19299f7988b52e911d7213b81484bd3685773a23a21da16fafee7480e2be595d75e4df23fc9240c002f8ee
+EBUILD gentoo-kernel-6.12.10.ebuild 4187 BLAKE2B 2fe745f8d9278a6ef0b4545e8a9298b71d911003a70f8a4e4929bcb6d48a0e50273a1d6a96f4158b75c9edbbd562567ccb627471b812a16b97615cb04255b286 SHA512 e5060cb5e03adeac9a4d9c6b7477f9296f6354dbcc66c1c65e717f4819547138a30709b7ced7cb17b281822c0367b678408e5748817a15cd6a297677224c61da
EBUILD gentoo-kernel-6.12.7.ebuild 4187 BLAKE2B bb85bd698eb5080f332b7d751533d72383812e796f57f2377e695ed9b181b01c7edba86e6b416b496519746b4211579fffebf9bf440bd805953522e01b14e555 SHA512 0cc6fcb09cfe7d9b9add4a0d2f952173a181dd05993210cf3b733b5aeca9d210347ea95b72fe56c7213be003a2e9ab92c9ee584dcd063ae8022f6d44443a5260
EBUILD gentoo-kernel-6.12.8.ebuild 4187 BLAKE2B e1f65a640a39ed20634b049b18159280f5f5d99d9de414d1bf0252f573030377f7ea1a65f9ac66a67b9e2c4cc7cad7b8db3931236382f3feb3dc8cd8cd2e1abd SHA512 8c6fc3e9fe5063a79f6673d44be94b24e3d14b6fee71038bf47b77e7b174f6aa193179702272f4d7c97ce8ab8c3f5c5fc88243152da91788dd0c3fe58542cc23
EBUILD gentoo-kernel-6.12.9.ebuild 4187 BLAKE2B 2fe745f8d9278a6ef0b4545e8a9298b71d911003a70f8a4e4929bcb6d48a0e50273a1d6a96f4158b75c9edbbd562567ccb627471b812a16b97615cb04255b286 SHA512 e5060cb5e03adeac9a4d9c6b7477f9296f6354dbcc66c1c65e717f4819547138a30709b7ced7cb17b281822c0367b678408e5748817a15cd6a297677224c61da
@@ -85,4 +95,5 @@ EBUILD gentoo-kernel-6.6.68.ebuild 4187 BLAKE2B 3c01463be2bbf082983d3a7d7c4f5cf9
EBUILD gentoo-kernel-6.6.69.ebuild 4187 BLAKE2B ebaa553d81376b3efbf1b57306e4ba1d7d215b7763a1ea61b1a405cfe1f8be9945531032e3d2655b16f8d8d6dee4002ed423316459de5b6f1cde9623ce0d91a1 SHA512 8e3c0a950c64d1175a7586aa3dc634a11da90a37b9e11c20edbd5b2f3befee1fe2cb4b9b12af6eaa228c56e2a77301d385ed6473be36f2fc6ad07474a297fa25
EBUILD gentoo-kernel-6.6.70.ebuild 4187 BLAKE2B ebaa553d81376b3efbf1b57306e4ba1d7d215b7763a1ea61b1a405cfe1f8be9945531032e3d2655b16f8d8d6dee4002ed423316459de5b6f1cde9623ce0d91a1 SHA512 8e3c0a950c64d1175a7586aa3dc634a11da90a37b9e11c20edbd5b2f3befee1fe2cb4b9b12af6eaa228c56e2a77301d385ed6473be36f2fc6ad07474a297fa25
EBUILD gentoo-kernel-6.6.71.ebuild 4187 BLAKE2B ebaa553d81376b3efbf1b57306e4ba1d7d215b7763a1ea61b1a405cfe1f8be9945531032e3d2655b16f8d8d6dee4002ed423316459de5b6f1cde9623ce0d91a1 SHA512 8e3c0a950c64d1175a7586aa3dc634a11da90a37b9e11c20edbd5b2f3befee1fe2cb4b9b12af6eaa228c56e2a77301d385ed6473be36f2fc6ad07474a297fa25
+EBUILD gentoo-kernel-6.6.72.ebuild 4187 BLAKE2B ebaa553d81376b3efbf1b57306e4ba1d7d215b7763a1ea61b1a405cfe1f8be9945531032e3d2655b16f8d8d6dee4002ed423316459de5b6f1cde9623ce0d91a1 SHA512 8e3c0a950c64d1175a7586aa3dc634a11da90a37b9e11c20edbd5b2f3befee1fe2cb4b9b12af6eaa228c56e2a77301d385ed6473be36f2fc6ad07474a297fa25
MISC metadata.xml 837 BLAKE2B 4a479438c85425dc4b1450f546cda4cb516284062391554a7944b56e11643c96dfcfdf354670b8e733ef3c1e86f6e47cee7e37445fed688123185c5e970a6669 SHA512 fc8982b0c939c006971bdaea1d91a13d232d41aa62451db5a07ebe55e5b87de548d40dd1d953f60fab8fd7567f56c8c918db76d34cd3c6239c6e0b545a539f94
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.125.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.125.ebuild
new file mode 100644
index 000000000000..1009a9df0132
--- /dev/null
+++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.125.ebuild
@@ -0,0 +1,137 @@
+# Copyright 2020-2025 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##*.} + 10 ))
+# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
+# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo
+CONFIG_VER=6.1.102-gentoo
+GENTOO_CONFIG_VER=g15
+
+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
+ arm | hppa | riscv | sparc)
+ > .config || die
+ ;;
+ amd64)
+ cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
+ ;;
+ arm64)
+ cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
+ biendian=true
+ ;;
+ ppc)
+ # assume powermac/powerbook defconfig
+ # we still package.use.force savedconfig
+ cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die
+ ;;
+ ppc64)
+ cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die
+ biendian=true
+ ;;
+ x86)
+ cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
+ ;;
+ *)
+ die "Unsupported arch ${ARCH}"
+ ;;
+ esac
+
+ local myversion="-gentoo-dist"
+ use hardened && myversion+="-hardened"
+ echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die
+ local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
+
+ local merge_configs=(
+ "${T}"/version.config
+ "${dist_conf_path}"/base.config
+ )
+ use debug || merge_configs+=(
+ "${dist_conf_path}"/no-debug.config
+ )
+ if use hardened; then
+ merge_configs+=( "${dist_conf_path}"/hardened-base.config )
+
+ tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config )
+
+ if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then
+ merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" )
+ fi
+ fi
+
+ # this covers ppc64 and aarch64_be only for now
+ if [[ ${biendian} == true && $(tc-endian) == big ]]; then
+ merge_configs+=( "${dist_conf_path}/big-endian.config" )
+ fi
+
+ kernel-build_merge_configs "${merge_configs[@]}"
+}
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.10.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.10.ebuild
new file mode 100644
index 000000000000..dab371bb9c4e
--- /dev/null
+++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.10.ebuild
@@ -0,0 +1,144 @@
+# Copyright 2020-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KERNEL_IUSE_GENERIC_UKI=1
+KERNEL_IUSE_MODULES_SIGN=1
+
+inherit kernel-build toolchain-funcs
+
+MY_P=linux-${PV%.*}
+GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 3 ))
+# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
+# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo
+CONFIG_VER=6.12.8-gentoo
+GENTOO_CONFIG_VER=g15
+
+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
+ experimental? (
+ https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.experimental.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}
+
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="debug experimental 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
+ arm | hppa | loong | riscv | sparc)
+ > .config || die
+ ;;
+ amd64)
+ cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
+ ;;
+ arm64)
+ cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
+ biendian=true
+ ;;
+ ppc)
+ # assume powermac/powerbook defconfig
+ # we still package.use.force savedconfig
+ cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die
+ ;;
+ ppc64)
+ cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die
+ biendian=true
+ ;;
+ x86)
+ cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
+ ;;
+ *)
+ die "Unsupported arch ${ARCH}"
+ ;;
+ esac
+
+ local myversion="-gentoo-dist"
+ use hardened && myversion+="-hardened"
+ echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die
+ local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
+
+ local merge_configs=(
+ "${T}"/version.config
+ "${dist_conf_path}"/base.config
+ )
+ use debug || merge_configs+=(
+ "${dist_conf_path}"/no-debug.config
+ )
+ if use hardened; then
+ merge_configs+=( "${dist_conf_path}"/hardened-base.config )
+
+ tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config )
+
+ if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then
+ merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" )
+ fi
+ fi
+
+ # this covers ppc64 and aarch64_be only for now
+ if [[ ${biendian} == true && $(tc-endian) == big ]]; then
+ merge_configs+=( "${dist_conf_path}/big-endian.config" )
+ fi
+
+ 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.72.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.72.ebuild
new file mode 100644
index 000000000000..3cd7741b4cb3
--- /dev/null
+++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.72.ebuild
@@ -0,0 +1,144 @@
+# Copyright 2020-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KERNEL_IUSE_GENERIC_UKI=1
+KERNEL_IUSE_MODULES_SIGN=1
+
+inherit kernel-build toolchain-funcs
+
+MY_P=linux-${PV%.*}
+GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 9 ))
+# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
+# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo
+CONFIG_VER=6.6.12-gentoo
+GENTOO_CONFIG_VER=g15
+
+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
+ experimental? (
+ https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.experimental.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}
+
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="debug experimental 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
+ arm | hppa | loong | riscv | sparc)
+ > .config || die
+ ;;
+ amd64)
+ cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
+ ;;
+ arm64)
+ cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
+ biendian=true
+ ;;
+ ppc)
+ # assume powermac/powerbook defconfig
+ # we still package.use.force savedconfig
+ cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die
+ ;;
+ ppc64)
+ cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die
+ biendian=true
+ ;;
+ x86)
+ cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
+ ;;
+ *)
+ die "Unsupported arch ${ARCH}"
+ ;;
+ esac
+
+ local myversion="-gentoo-dist"
+ use hardened && myversion+="-hardened"
+ echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die
+ local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
+
+ local merge_configs=(
+ "${T}"/version.config
+ "${dist_conf_path}"/base.config
+ )
+ use debug || merge_configs+=(
+ "${dist_conf_path}"/no-debug.config
+ )
+ if use hardened; then
+ merge_configs+=( "${dist_conf_path}"/hardened-base.config )
+
+ tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config )
+
+ if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then
+ merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" )
+ fi
+ fi
+
+ # this covers ppc64 and aarch64_be only for now
+ if [[ ${biendian} == true && $(tc-endian) == big ]]; then
+ merge_configs+=( "${dist_conf_path}/big-endian.config" )
+ fi
+
+ use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" )
+
+ kernel-build_merge_configs "${merge_configs[@]}"
+}