From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A754B158200 for ; Sat, 13 Sep 2025 16:18:00 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 73CDE3417F2 for ; Sat, 13 Sep 2025 16:18:00 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id E1A37110571; Sat, 13 Sep 2025 16:17:57 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id DAD6C110571 for ; Sat, 13 Sep 2025 16:17:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 01F5A34100A for ; Sat, 13 Sep 2025 16:17:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 976C93997 for ; Sat, 13 Sep 2025 16:17:55 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1757780271.26c797f350644dc4b1ba30d08611e46fa62b1b6c.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/gentoo-kernel/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-kernel/gentoo-kernel/Manifest sys-kernel/gentoo-kernel/gentoo-kernel-5.10.241.ebuild sys-kernel/gentoo-kernel/gentoo-kernel-5.10.242.ebuild sys-kernel/gentoo-kernel/gentoo-kernel-5.10.243.ebuild sys-kernel/gentoo-kernel/gentoo-kernel-5.15.190.ebuild sys-kernel/gentoo-kernel/gentoo-kernel-5.15.191.ebuild sys-kernel/gentoo-kernel/gentoo-kernel-5.15.192.ebuild sys-kernel/gentoo-kernel/gentoo-kernel-6.1.148.ebuild sys-kernel/gentoo-kernel/gentoo-kernel-6.1.149.ebuild sys-kernel/gentoo-kernel/gentoo-kernel-6.1.150.ebuild sys-kernel/gentoo-kernel/gentoo-kernel-6.1.151.ebuild sys-kernel/gentoo-kernel/gentoo-kernel-6.12.42.ebuild sys-kernel/gentoo-kernel/gentoo-kernel-6.12.43-r1.ebuild sys-kernel/gentoo-kernel/gentoo-kernel-6.12.43.ebuild sys-kernel/gentoo-kernel/gentoo-kernel-6.12.44.ebuild sys-kernel/gentoo-kernel/gentoo-kernel-6.12.45.ebuild sys-kernel/gentoo-kernel/gentoo-kernel-6.12.45_p1.ebuild sys-kernel/gentoo-kernel/gentoo-kernel-6.12.46.ebuild sys-kernel/gentoo-ker nel/gentoo-kernel-6.16.3-r1.ebuild sys-kernel/gentoo-kernel/gentoo-kernel-6.16.3.ebuild sys-kernel/gentoo-kernel/gentoo-kernel-6.16.4.ebuild sys-kernel/gentoo-kernel/gentoo-kernel-6.16.5.ebuild sys-kernel/gentoo-kernel/gentoo-kernel-6.16.5_p1.ebuild sys-kernel/gentoo-kernel/gentoo-kernel-6.16.6.ebuild sys-kernel/gentoo-kernel/gentoo-kernel-6.6.102-r1.ebuild sys-kernel/gentoo-kernel/gentoo-kernel-6.6.102.ebuild sys-kernel/gentoo-kernel/gentoo-kernel-6.6.103.ebuild sys-kernel/gentoo-kernel/gentoo-kernel-6.6.104.ebuild sys-kernel/gentoo-kernel/gentoo-kernel-6.6.105.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 26c797f350644dc4b1ba30d08611e46fa62b1b6c X-VCS-Branch: master Date: Sat, 13 Sep 2025 16:17:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6d777cbe-a5c4-4b5d-9909-1deb2cf662f1 X-Archives-Hash: 0401d668be6bca0e39823fbae1a8fc53 commit: 26c797f350644dc4b1ba30d08611e46fa62b1b6c Author: Michał Górny gentoo org> AuthorDate: Sat Sep 13 16:15:14 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Sep 13 16:17:51 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26c797f3 sys-kernel/gentoo-kernel: Remove old Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel/Manifest | 43 ----- .../gentoo-kernel/gentoo-kernel-5.10.241.ebuild | 173 ------------------- .../gentoo-kernel/gentoo-kernel-5.10.242.ebuild | 173 ------------------- .../gentoo-kernel/gentoo-kernel-5.10.243.ebuild | 173 ------------------- .../gentoo-kernel/gentoo-kernel-5.15.190.ebuild | 173 ------------------- .../gentoo-kernel/gentoo-kernel-5.15.191.ebuild | 173 ------------------- .../gentoo-kernel/gentoo-kernel-5.15.192.ebuild | 173 ------------------- .../gentoo-kernel/gentoo-kernel-6.1.148.ebuild | 169 ------------------- .../gentoo-kernel/gentoo-kernel-6.1.149.ebuild | 174 ------------------- .../gentoo-kernel/gentoo-kernel-6.1.150.ebuild | 174 ------------------- .../gentoo-kernel/gentoo-kernel-6.1.151.ebuild | 174 ------------------- .../gentoo-kernel/gentoo-kernel-6.12.42.ebuild | 180 -------------------- .../gentoo-kernel/gentoo-kernel-6.12.43-r1.ebuild | 180 -------------------- .../gentoo-kernel/gentoo-kernel-6.12.43.ebuild | 180 -------------------- .../gentoo-kernel/gentoo-kernel-6.12.44.ebuild | 185 --------------------- .../gentoo-kernel/gentoo-kernel-6.12.45.ebuild | 185 --------------------- .../gentoo-kernel/gentoo-kernel-6.12.45_p1.ebuild | 185 --------------------- .../gentoo-kernel/gentoo-kernel-6.12.46.ebuild | 185 --------------------- .../gentoo-kernel/gentoo-kernel-6.16.3-r1.ebuild | 180 -------------------- .../gentoo-kernel/gentoo-kernel-6.16.3.ebuild | 180 -------------------- .../gentoo-kernel/gentoo-kernel-6.16.4.ebuild | 185 --------------------- .../gentoo-kernel/gentoo-kernel-6.16.5.ebuild | 185 --------------------- .../gentoo-kernel/gentoo-kernel-6.16.5_p1.ebuild | 185 --------------------- .../gentoo-kernel/gentoo-kernel-6.16.6.ebuild | 185 --------------------- .../gentoo-kernel/gentoo-kernel-6.6.102-r1.ebuild | 173 ------------------- .../gentoo-kernel/gentoo-kernel-6.6.102.ebuild | 173 ------------------- .../gentoo-kernel/gentoo-kernel-6.6.103.ebuild | 178 -------------------- .../gentoo-kernel/gentoo-kernel-6.6.104.ebuild | 178 -------------------- .../gentoo-kernel/gentoo-kernel-6.6.105.ebuild | 178 -------------------- 29 files changed, 5032 deletions(-) diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest index c8110b5b3529..38f008d467f7 100644 --- a/sys-kernel/gentoo-kernel/Manifest +++ b/sys-kernel/gentoo-kernel/Manifest @@ -25,9 +25,6 @@ DIST kernel-x86_64-fedora.config.6.6.12-gentoo 243607 BLAKE2B 7e670d37c6471e50aa DIST linux-5.10.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a9362d2adacdadd8d96251f61f7230878ea297a269a7f3b3c56830f0b177e068691e1d7f88501a05653b0a13274d1 SHA512 95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b836666a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83 SHA512 d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a DIST linux-5.x-sha256sums-20250717.asc 364595 BLAKE2B 75abc4c666dede398ee54a7323380496f75cecb9439261305a60200169430544eaec7bc9e6ee3d4b1beb667d51cb6c858ebe109e3a9446667e9b1793298aef08 SHA512 1d52b1dfc0da4d287f4d1d02bb05a38c24f5505002c567bedc48b4bfd523a2135bdaa8e103c75e7bf521d356b66e7b36009054a792d8eaf3034ae1ef09fe3ff2 -DIST linux-5.x-sha256sums-20250828.asc 365626 BLAKE2B 5b51d730670f253a60dcbd986e71b13ab292285ea187291f57a527e8255c1312263e4f28a2386278d497a48c14a71b8541e9ec21ed514e6ffa7f163313740d83 SHA512 64613528d8f95681588a871c44e9de35bc8732f976a277751ca3cbbbe62bf260bfa2eddfb246ce8f75d5f294373fbf40cb02ad086d680642217614bbc1f67675 -DIST linux-5.x-sha256sums-20250904.asc 366657 BLAKE2B 2a84f42729cf4e317ce7d08d17eda3899be0c64aecf79cbb05aa06ac76c5779c685bd2dafb6c6cc0c6b1c2104f66ca5c4cac249d6599e7fa8d36b490bd9eeccf SHA512 704010e4214861d27b1bc5a7b1901d048dde104a55a0c8090e65c0f86bd2fc23478b44f11f32934225a66a6f884e1043d16f20de2302f09b58f8516b5282a0fc -DIST linux-5.x-sha256sums-20250909.asc 367688 BLAKE2B dbcbe0da1380871e9d718cac6bce73768836c48d79d89389ae47ad62756e8b9bcfa94a3b90e8f76510bb633bc5efd1d69cd35517db605187c9f3ddd35a67f35c SHA512 0ee8c6c53f847f7c5e247dd1c83ba6e7102a6ea35bfbda269b57dc76cb1fe02d1735212fef5ad706525cacb0d76d94d0ae0a96de22bccb6fd933a14dcd4c2a36 DIST linux-5.x-sha256sums-20250911.asc 368378 BLAKE2B 068e10fc2176a4e8c7bf19ce19c48f3fa1551af2a250267f0d177ff0a277d16506444c5bad5dca08fcbc2badfd22021a9a05cdad5e256ce84d5866d5fcc8fea0 SHA512 9e8ee63833ea184f54741ee7e04284ab4c181e5384dc0af12e51518269d0bbc57f4d20911b2888beedbbeffa6a9649fab29cd8a355277e26e55cd45c4875337b DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68 DIST linux-6.12.tar.xz 147906904 BLAKE2B b2ec2fc69218cacabbbe49f78384a5d259ca581b717617c12b000b16f4a4c59ee348ea886b37147f5f70fb9a7a01c1e2c8f19021078f6b23f5bc62d1c48d5e5e SHA512 a37b1823df7b4f72542f689b65882634740ba0401a42fdcf6601d9efd2e132e5a7650e70450ba76f6cd1f13ca31180f2ccee9d54fe4df89bc0000ade4380a548 @@ -35,66 +32,26 @@ DIST linux-6.16.tar.xz 152620004 BLAKE2B 87bc4da7e89cc8265aebffea7ec6c09f711be24 DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35 DIST linux-6.x-sha256sums-20250724.asc 159789 BLAKE2B 9a85b54a784ea9f026ccc7d63d961239f09c0e656a67eac035fac6d7f3eb8bbebd67097a1a38b6d06ab232e79411e6d0ea2cce30eb7972df4cac65fc5f63c664 SHA512 dd79403876b28843987b7685962a9f79f9dae3ae680ff1dd915ec78218c235df4177d1197f8ff9e2a05cb11a3464808dda4c15441626e0fc5b91bbbc217537d0 DIST linux-6.x-sha256sums-20250801.asc 161137 BLAKE2B b2bf0bde731b85404a19a7da414530d7d5c5df672e79d49eb8d55ba57e51d86d53d2cd5e69c7413908c06e4ec7f2a743eb022d6011e81e51faf0b33c2c8086af SHA512 927477c663091ba0003f743d8c82e3116eb95f5f7c10b0443e058fd43d3d7c1746c866e02e11f3ffcf9ccc0dcf7c6958a6ac7c869ee998e1c592893728e2b1e7 -DIST linux-6.x-sha256sums-20250815.asc 162838 BLAKE2B d5f8f57ce2d08a3d56ef4715ecf27d6e6c97117b80458c56e42c3c4c5cef8de47d3bd9954738fce58e3d711f3f6c49ec3b9731e95aabd089a6c301923ab6c80c SHA512 fe60f9c67a5889dd4dacb05478f2eb1e84e6e68b0e46839ff2107622eb3e9572b81f4b075e6258e8ff0e966fac4e021ab906a5934c286288f04610b481e39b7a -DIST linux-6.x-sha256sums-20250820.asc 163857 BLAKE2B f4a8b55e798922b4e20eb1cd46db04a25542fed1c6eef23ee5f054ebc4b21aa6328532119b18d94cea26dcc5f09a4d668bc52052c919e1ac7ea766ad7c9b937d SHA512 0d1830c65db75e7c59d0d70195da9c8fcb9d7364d67f6aa3fbd21f8dc1dd27f3737111afa84672728386e1942fd12cbeffb38f834f1a520f14443e68a21ac71a -DIST linux-6.x-sha256sums-20250823.asc 164194 BLAKE2B 7bf74d594d5bf818793b8a93f5d5a2119b16f5ab2c79cf313febf7eb9eb6094aef0c1b63ee1d9b983097dde381301125f85c8b37da967da2f69a772055afd0d5 SHA512 659016ae12304fec75b3ab398733da73753523974aa2f765a222352ce226ddc411a23f4cb6c502ca9d97d28a8277ac9b19a2ee59d3a84c5f53b22c1db6c617ae -DIST linux-6.x-sha256sums-20250828.asc 165554 BLAKE2B aaa421cca8c38daec94e7aacf5d4196671f527a933367104959da3b5013192087eebfc730026b451e6f18da922743da065452533b7cad6d5574e1a4a15eaac1e SHA512 737c067789ea1f1f6bdc4ace4e7ae026f20020bcd74906e909fdbbc5cca92c716e059b942fb1e27593f5745936307c6cdda5ae237720f22b131a5c76814b6bd8 -DIST linux-6.x-sha256sums-20250904.asc 166914 BLAKE2B 6237094e716a4a6bd7c4396bc3b4d1e5c5207581cf051a62a472260e15a707684db25f78b6092bbe4b5eb300dc2faf38338c93a1200ab2035e75c57fc8cc89f6 SHA512 32af3425faeae7c21d8c57ab7bf9018470ab5764acdcd0ca958d5ce2b6563f2b38c72a56aab63e04d6c423f94d191cea9abea7a00aa3db0c816d597ea15d6016 -DIST linux-6.x-sha256sums-20250909.asc 168274 BLAKE2B e01a10e2b5273a69a18fe62707ae1f2a0626da8aa195e19e3149490ac80429a2105f87f837969dc6001cfb661174ad5d01ec87f8e0ce382164100e3e2bafd17e SHA512 434075ae13dcb1a78274429695bbf799c2a35eaf36d067952ddbf9e134b86ed4a08b0b80cc45b2a38f73f881ae72e8fed7f5479be9f82af40963e59bb0837a95 DIST linux-6.x-sha256sums-20250911.asc 169634 BLAKE2B da96d04ed279153edd39a0e9936a49e6ed688ea1d660eba3f6543a27167bcaa5884ab5f802f7290cd33f703e99244ff0a0de94af9793e923f14ca762563faee9 SHA512 bbb722cbf511b748979d9e2ee8c216e6901473234fc2e620fb320eaf5f5da0bf19b56798011021a829edb10a33cd75f12c898f17077efeaacdeb38cfa186c73f DIST linux-gentoo-patches-5.10.240.tar.xz 19396 BLAKE2B f61ba4218c2fb65f3e67b7c3480936fdf00edf8e278554d5aae81ce7ac71c8f8c83f7b71dbbd679ac2305004c847b0a11670b59b137fb11cf77c4d0849ddfcf8 SHA512 3368213c927b3d672490d0af3653dcc8d8784ea165d70a6eaf3fdacb936637a67a07de4b3a06a06eeb42109a083bbf82c3a5a03b1f98a2d240039de6ff704d7c -DIST linux-gentoo-patches-5.10.241-r2.tar.xz 23680 BLAKE2B eb45c2920811c4afbcf6354e3e9724f3ef6e9e26eb2d4682b45e0e7d81fbb88e0d26517d556b05df6f01e7e90e4f0f11238b9fbd84e9ad5bde85ab375c9febaa SHA512 74290ffdf7fdc926f804009dddfc71ffad5b90bf8cfdb1912d851d7ef0e4dd49856517c13a1236e3566f2a1cafe5d091f736406d5112e625672c0a6c952e4363 DIST linux-gentoo-patches-5.10.241.tar.xz 21004 BLAKE2B 80efb313e1581e8a086bb20d1f30f59ea7982dc0fc3140974182a3802a49a00fae266222c08d3cb34eda7e315ef429bed25f145959c084843c58fdddfa68a2e9 SHA512 3a1b24d2fe5f3130e88abda428638d31adf6617332fe3baa7dfe6425d146e7607e5f8b571f406f0370acaf779cdd45f57af964bd955a3b5d5622d792527a5de0 DIST linux-gentoo-patches-5.15.187.tar.xz 8636 BLAKE2B 64db6ded446586a589fc36753258ec166cc1260b95fa43e7612f0e5f3f831668dd81c5ec6339bf3bf2dca6228c624cf114ae9380290eddb4acec949f84de3ca9 SHA512 b18fd19031ad2f8078ad37cd654a6dffccbe53cec1e0c008ff56c5088a32c7c87895cc00be64d79f5252e842ba757a4e6681a09e5d0ef2f986c9d67666eee81e DIST linux-gentoo-patches-5.15.190.tar.xz 10240 BLAKE2B 41c7a6f78b3ab7b442cb067dec112e8b38d7024f5af10a69839563109e705a52c1d61d7025cdb62d2ea2c99c1c64a8a05ae909795642aa667689d42a9e6c9288 SHA512 dcf79bec5c424bf9f81ae1c1e2a122f4ffed52e6e2d3123ccfd7885c43bebb627e2b34c058ea2e3f0aaeda0e0114a69eb03f83d10c0c1c5d8b6ec7a89f087286 DIST linux-gentoo-patches-6.1.147.tar.xz 29060 BLAKE2B ba49c42dad2186d320b37a2ed456ff0388de619bee4bda26336939567b2575be1cdf7adf853e28b7b5b1636a9638238337ff0e4f8001504c4e90287af017b367 SHA512 1e376dc5ba8f6d76fdeeb611802248b045059a4a2a7e174c31a73216d78f462366d88439d9cec2a60f493ba6258d5824d752f0f95b263349a0d12b3f196cbe32 DIST linux-gentoo-patches-6.1.151.tar.xz 29532 BLAKE2B fb668de25f6bb9086d4fa1c76768c5790b44dfde9dca155a87b06486359cc8e7f56b6f9f032cf48739a14b47cf45d128c51be704ad4a3c0fe602d0c32c8adad1 SHA512 8df05c50f5c634172f517ba2df7856752b433f3316649b1955f1dd2784adae29558c1e368421f15ab91899228e1f77891f215d65e71e8966fd5d982de33da6b6 DIST linux-gentoo-patches-6.12.40.tar.xz 19240 BLAKE2B 2e5bdafcbe44cab520c86d7ab37c48c5b032693cee5674d1625432e4ac6285137a3df2aec24abe4cf795247f76226ff236f09f7e748ba3bd7db81cc76af03526 SHA512 dfb551b87530b0509293e87cd70d2d91f1c669c62adc6c7f34395ffdd5fbfc19bbfe943f84c188653a71bd627bea95f5f9391f4edbf0e269a8da98e191477fe2 -DIST linux-gentoo-patches-6.12.43.tar.xz 20956 BLAKE2B 29333fc247ce5a1cc75ff70a2190e65943e23ec457b13e043ff9df77522fe27152a448074933ac801c91faa6ede75386743ebe58fc399c70067612d5ed1d71c5 SHA512 dc9efdc9852cbc33039eb335e8d4d9d490c707b62e2889898cc64a3691e271083f574e1afada68a73e4f94beb8c1ba4ec990d1e5522a585d856152b37d88af3e -DIST linux-gentoo-patches-6.12.44.tar.xz 22180 BLAKE2B 97b49825846827d29ca2bb313de8983f3dc3e18cf576a9b5bd5869bc38ebc42c8b61aeb7b6cf068aab918a58b48f024163ee6f3da448a4edbbbb37074a5b1397 SHA512 74292ae4f88746be65096a8c7025577b0d4920751d94f88417429e9aae91247e3aff7ce62b17b62503df8bb501a74c8f4e20c5c7ca5f4314549f21d977c97f44 -DIST linux-gentoo-patches-6.12.45.tar.xz 21680 BLAKE2B 4f45815da949c681b4768665629342011910bd949309d643a1e225a035ca2a5d5a90e0ab9133a482f41018e9fbb10b33f145f8039cddbeaf5ba0aa293c6a32b8 SHA512 84f9d56e49ede8cadda0142f9ae23e7cf6b8fab4fdf47ce258d43d99537100c6d1c376a8f15482403b76054cf8d9f86dec126cd0edfd1bbbb0073f58af3b16c6 -DIST linux-gentoo-patches-6.12.45_p1.tar.xz 21996 BLAKE2B d0fa141b468267f77d3b0fb331c719277e754390edf343e6687c110a6332b575779d3214b77632c2ba368d254e2063e5c8f4505f1a594aff5041b7074d11a6b5 SHA512 cbe1035826a8f79259295594019c98c275dbbd774c815cd65165ca1d83dfa49e8a35ae568cdd5ff29d19c0e25570c066b5ee7c35221f5fd3e05b8e59896f0005 DIST linux-gentoo-patches-6.12.46.tar.xz 19724 BLAKE2B edf0bc009a30dcf5d22c517bdfbab4ab7e4df3510e2102071fd24788d5cfc610434da2e92092ca5424e12e1676149b510f2de7e937be1ed96d0db4e2260ad42f SHA512 dd9d7c48767f3db0a8a6a33e8ffa9ecad4345044586d76de65d42e8985ef794bf7ab547852a1653bc1d66dbf4accdfc06cd5e35265cd2d2cccb0aafde21d8950 -DIST linux-gentoo-patches-6.16.2.tar.xz 85676 BLAKE2B 31adfc6ebdfe2412c1576734351a6ff5bc0c1cae86e87f3cfbf555d07e8441c64bd0e31f3760674e931a510a9401935dee46689eeff6f5ee5c28029a889a40cf SHA512 aa74585b4c71202176c851cc2b08569a752da58f5a43c5b1fb3dfd59db8ff016907985d448c51f4163b951a5bc500b81eca647e1b6a7c20ab7287292d4c2a3b8 -DIST linux-gentoo-patches-6.16.3.tar.xz 90080 BLAKE2B 0fdafabbaf6ebcbb997debdc17b5baec5a7e3154902a9093891e5d839540c55ddcba94ba34af11bbc374badcff67d1e47999bc998e5b21168eb92b332438ea01 SHA512 83de7cefae3d9ad9d47ae49db4a8328725b7b44fbd4e854dfad2a33917eace57958e9e25d275c83a5d026c2391b529015ac840e2fa3f3cf13733e570349d25e0 -DIST linux-gentoo-patches-6.16.4.tar.xz 89184 BLAKE2B 57ee7fcbbc519ff327162163b81f910ff90216b19b066acf7c873f69afdcba99f9d38be7c8998522b3870376441d8b3be5c9de7a12f8464bbaf597e18162a966 SHA512 b4c02d84b7023359e0f378459c31a6b0984d743a9415f667824295292f448aae185665c39537ca9fb8bbff3473956dd90419bbf42dce0b9eb3bdd1fa9465a7c5 -DIST linux-gentoo-patches-6.16.5.tar.xz 88704 BLAKE2B 38096552b25e4366ae4b4086b6777e468a52b846d4d9483aa42dadfd49e1d9c3e8a1d00f89a4e3018b7ccb9885b71aa3361a5c5e2c3d1baa2d0ae8ef5f14a263 SHA512 d5905c4e68cea8199f297186fc8174bb80dfd5354f534eb96f0d4c8757bcf7c8108964df54dbf035cb9f6d1336d195be527b57b85701ee121f51ac3826b7eb66 -DIST linux-gentoo-patches-6.16.5_p1.tar.xz 89012 BLAKE2B fe430dd2ef953ac1e341748b028df42ae1ae370e46d65069a9f463886fa9906800364538b00695a9169443f2e75063dbc9e339c76780c5d343ed7b9e655c7796 SHA512 a2e6519b27cfa817585af2cd92b8be0e72227f0ae3ce63550caca341a995ffa21fe69ab4b1b23f7220810e4ba4c54b5ac57d648f107e93598dae2a2ea340c04e DIST linux-gentoo-patches-6.16.6.tar.xz 86164 BLAKE2B a8d0590281c9e10008558979d3018fa5582ce052b8fbeda56b11115ae38ad3a8b3e5059513da86e89b2e8c1b4ac7525b3ce0260e3a25fbd0ac825b80edf697fa SHA512 799014df1f30fb9ccffcb6620611e6e11a94d9917d9ae7905e3647b0f1cb6699276c29d37efcf258465ca05819c3a457f334ef339761a2543c494f148b50eca0 DIST linux-gentoo-patches-6.6.100.tar.xz 42828 BLAKE2B e9d17c21e5355919e30e1a93178d3977d6ca1bf964ba18b601518616f31e098d65cb5008003fb6c8e1a8a5cc3ed803eaef3e1c9af5f1a895d230f172412b1283 SHA512 95c2790a5ebcca9f2b9e1ff098be0bcb9ef60f134a0f955995f27c020cff0d6831fc1af7c159b0bb918d3e3eba351f9428458d6e6964e9e751bd85afd47f7a2b -DIST linux-gentoo-patches-6.6.102.tar.xz 43900 BLAKE2B 119b27bfae8914cc13dcc64203bf4c6f57a6f4713eb84a19980a17be0a121658b5ed4d7ac93ba94e60adf4bc1134c7c1f174b6ade123ece292ef39911afb74f6 SHA512 a5606b750c6018655c7bf6357805afab65e08eb8a9c429cec927b1d79ee6a0ec9faf4734445ff261870953d247920f2bdb5cf199e937a8e272062f6609adad4d DIST linux-gentoo-patches-6.6.105.tar.xz 43320 BLAKE2B 0d292ea8ab4d5e46821ea3d9cbfaa2151527eb1b020652ab3703a34c6466697b7265e8737c15cb4f73ef289f658cb394d841e275478a555143ed1fda3c1ff137 SHA512 0658fd70e2ed54dd762ff4faf080326f114204bab54c4a95302ff8aa3ec5c37a0fbaa7aa68549f0ca589fd26e6031811da52348347681e84a4a82e87c8bc8a3c DIST patch-5.10.240.xz 6786568 BLAKE2B 1cb287b2c99bb403585cad3500a2de0819db40ea62a72d276c2b53d8637915cfc0350051bfdfc99cbb56a4e839331b7e11cbb2abdf6768a683d44e798ee5862d SHA512 91f059de27701a33e5c4d40f2d3e982dc60d9dc14fa8cb6a0bbd49e4452195715f0093a563e3a1db1efa37b3a1e09e74b0a6d53f77357757ffd29374abcead19 -DIST patch-5.10.241.xz 6872048 BLAKE2B 1dd77efa0df0b6e6bda4988abc8ebc9327c24c28bfc857348832afd2da478873e4adb00058fd99d57aa702130bb62c413404b3991b47ff54e541f4406ff0c78e SHA512 fed09611a6dde5ca3f90b37e31e765a54f5c5ef90cc5b2b44594df583573ca1b15b2b4586f154c90ca0e1fc3ec81eb994c99ce8bb53e28553479774378115e37 -DIST patch-5.10.242.xz 6877380 BLAKE2B 9ff8a5d39a79c04787bf460d381cc168b9924e81363700bac35f8bdf32e0572bdf3c1411f1725363c29a2c0974927bd5e23f1b1ec95a0ef33b0cd201acadc1cb SHA512 2977c2a7e397928c267811cead5f0b37eb173746826d3437c950b23b38bdbec193b7331bc82388857baf919266df6999fcfca1253b3c6ac92b421f8e012b1be3 -DIST patch-5.10.243.xz 6884080 BLAKE2B fcd41a791e7dfd284e467bf5e7466adaa0f53ee676ba59b9ff90f1969287c0768425babdbe6400724af3ce4c6be3fa09d555a16c1369873b297731c08286d42c SHA512 f405f4219834231a771e4eb8621e7196fea0961aae9c9c34c78a71375a6eb784ddd4754a66e4d2872d38f986e55ffa9097cf21834ac68f0a16699537a8f76395 DIST patch-5.10.244.xz 6886012 BLAKE2B 4472ca1171fa697c4e9de7835b82e670b22e2b8f12c3f8b2b4197321ae468d333691fda1c36ee480d2781a62229ce8adc394fbea53d1420cd823c9383739149a SHA512 64d02ae7401effc89e906a1d0e54293af14ad7895d55b39424d67ab98b79cdc12d197b01b95dcb6fd6d4010ae13d8e123e2dc725914dd010335fcf43a8724be9 DIST patch-5.15.189.xz 6955776 BLAKE2B bd2bf4ad70014395ffac8874434b2caae7823b1b9999231738552d9f23a53547533c248fdb7fc4b4bdd60dc05e8898a910e3e94e6f5edae7ae96a66937f387a2 SHA512 8ace7d82af676b101ed37c382c9833193ab487cbb15b8444b92ccf8239e2c62bfb70ef7342ef6f694d71e8ac72b7db445d544e4ad285d9bd977365350bf155d3 -DIST patch-5.15.190.xz 7065672 BLAKE2B b71810c588e369be5eeaf6fb3673dd7ce9293f4eeedd5454a8fee80a67950480879294caf5d0a0a5fe2ce2d234501ccaada5cc727b9c3379db500a3b3c00925b SHA512 357a1acb00d28a32e55409a54953dbbc10fe7595c3ddf0595dbda52fefc37b3ec2e94a78db8435714569593a42085680f1577749053d5ad7af11b4302e7d16ec -DIST patch-5.15.191.xz 7070404 BLAKE2B 30fd7d96c1cc2a7ad992b070845a9a46b3d06f0d4d9e08dcb9ef58997638c032c308a90a53abf7d818df0f12991e67b425c558dfa15aa1c8f069309bdf5fcd02 SHA512 6a9e05a940d414ad3403c943adde7bba977454ca86c2f3e398acf5d0496fc35e242c350c2ea9423690f92b352c6b7885ffe53aef30f81ac805a703459bf65cce -DIST patch-5.15.192.xz 7081276 BLAKE2B 29ea7b05890c9cd42ad69b1494de14efe39c7526c99bbf00ef2f2186dfc40dc136390f4112ff99667f2b984e9fd4a96b0b93376e843cd733c6b9924842114ae8 SHA512 4a9df8595defb2afbf08cd1a5f4dab1035dabebf59b8156eff203add90e0e107d0e5eca2d13eb774c5de32390937f7127f62c93c3206ca4a1865170ce1928465 DIST patch-5.15.193.xz 7083524 BLAKE2B ceb5cafae883916d5b0786e2aaf178aa841642aa4829c903d5d0697b53344400b9654642ef2c888a7ba41b23b51c4345a5748b552d36b4ce50673f9e6890dd74 SHA512 92048ebe709dec716391615dcc4135dd6ab764b4d36f2bd550b4e248c860e6f7a6b3451477ac66bade53e1af7edfd24179d48e832d3c6eebd9f1ff8d5722c747 DIST patch-6.1.147.xz 6320180 BLAKE2B d109214e0682653ead5f62f5699d0bad2764bae1765789720d780e74afefadc39faf8e833df1ee4cc1436e4db5facbfc7f4ba8c3b657fc48aabda3ab84a4b540 SHA512 2cfd04771f982da4b65caf53cb944bf9ae2888a32005428adce383c408c35c72bec5d88e49670deb87011f0d6bc329e0a53adcad065aaa716ad5c8baffb2fddf -DIST patch-6.1.148.xz 6365724 BLAKE2B 1f83c183389bbf4cedecaa22b49d6214d390f0cf92e3d7d7d56c00bbebacd55109f4886e667228ce038831207fb0b92f179303bc50acb85e36f40fda06cb2b79 SHA512 a0e0d1ede711c8a60c1dc2a260ef4d33866882952804418104c55f5f78f2ce69824c580cf48c92ffc5a74fdecbd6b9b74a739d9eb0bf7bdb36fab6a4456da0a6 -DIST patch-6.1.149.xz 6456632 BLAKE2B 87dcff96ed8ab59b95ad6f1e7c297fcba14a62056b0797090c10f410ed39139b21b4282c4f8c3b8f37e9e37d3c50df3ba1418d5e6b47e77bddbafd258efdc0a4 SHA512 691a92329951a6df6293be89dead4728abfce0036364d69e76508cdd42ed98a23d82daad6785a932d16771e923a6e5dfc4f4cbff7cd35f371e473e76d6250237 -DIST patch-6.1.150.xz 6465596 BLAKE2B 37dc4418a25e53ba22a893924bc4805a4443dd39801dda43f95c35bc7b6825ab1a2ae8040138353ed34fbf8bf84ab7df6e7fe83effa33e881ef75490dcbfe335 SHA512 c3cc0ed0829b1b19462abe03c37b345ebbbad8afeb2d150f88559a4d6d3929bed8fc4d855c3596fc99b10b5f6dcd21fcfaa57b53a1ac23c02aade0a73bc87353 -DIST patch-6.1.151.xz 6483956 BLAKE2B f7cbc9fe2a300d211d27270d69cbac4dbe5c41b63fbae023473f5ab1cfaaae7899d4f7cb28e0ffebb454451aa04385e2fa9dd4d6b0d6a6f97a79272d7b1ed60a SHA512 036ace4f66ef3daff7e4163112b3a581107e345cac4bbb1b58788a5710d84724c3d7332ed5277aec5d8675ffc4ba4f0e85850dcdc365629fc2a23cae4dcc7ef4 DIST patch-6.1.152.xz 6486524 BLAKE2B f9b532c867b2b5a15d28c08f89f9a30252b4b9d55dae069afbabc1f34eef570be6a39a6199e135c0cca18ede52accefa546dfa65342c8f6429a5b00280d1a56b SHA512 14fd84fc1f80125331940de767510a94735fce70f70cf71ef5868a46481ec146a2a6983af26935014547c90b84ff524a0e4a7341e8511fa18b92ae33fcd25a1d DIST patch-6.12.41.xz 2584360 BLAKE2B 8cb7d77a45e79b186e24bc59be15d74f4e9ea4b7c7f7b5c81b82eaa9b1a8b88a7aabff6768471d905e24539366bdb85593304365726307e19bcfa41937764bf0 SHA512 b9307fafe443eb61b0edc624b2c9ab7a0206765eb614683e0f01d7f7fab04a729a91d92d67b8ace03208d6b63088ff235203e8fdfad27adc97cdbf7df872b3c2 -DIST patch-6.12.42.xz 2666304 BLAKE2B 7e8cfcb30f98202d7cf9e152be9ff31bb013b358f12817bca1211816bc008171a1e0ebe09a3c67c3867f5b194dbf818ad4bd412509e6a44a25f944e16c0eedfe SHA512 8b31be7c22a413e13a7b68086ac7f326d4741c2ae21dbd2ba3d62fc1b04fd393861b2801dbfd48dcf5b84651bc271434521b5e07876bd97afceae01034a7c144 -DIST patch-6.12.43.xz 2759136 BLAKE2B a667414254b536de9d0158ceaf1e208241817352f237f914b2e6cb60091fa4db962d1d78b28d7131ffe967c293a06c97a056858b72d7710737d2c7f9fe1505a4 SHA512 44112176409936afbcd29690d4e097dc5a30052b9b6e8d91b293b51bcb5caca5e6f8fe998d3fd3bc9ed8f6ea36bcea05699a82a0bdd7f88e4a9a3907b6ae1d59 -DIST patch-6.12.44.xz 2834532 BLAKE2B 812cb9e1a980a0ababa1a8a89e86798674c9fbfac401b1551b59d50f7df949c9ab24014b2d3e06b49f38b8da7af0df7fec112ef5b0765504d646c07bb7cfbede SHA512 ac82bd5ceb75e6e0bccad3faf9f07c2a11415552efb5db40a65b50347974cb39bc4fd9f43afe3f3a5ac475bfcc767735d9e9eebc1def441b6d887269b23b94ec -DIST patch-6.12.45.xz 2853180 BLAKE2B 3d07c28085584c1e684680cf59b023293a604dd5e227f01ff02a5bb9026ddc8280701edf6f77b712792a24c5f4b93eae86dcbc8fff53a86496fd307e6f25739f SHA512 1822808c6480bc506b0ea92f1e69ad1e1f2ed7c44865780db20327b6bf629150336a450f6c32fc05256e5d44de6a7430e6f14bbd8afc70e20ff3a871c7a0fb91 -DIST patch-6.12.46.xz 2894304 BLAKE2B 4486d5ed39245d6ff97057f855ee30cb403c2e9321619b834cfb5b829d5446d150cc717c8769bf2cca793abc95f32eba0c4c2a8d2abe0df5c9033fbec1fe2de2 SHA512 1b6faebd78e4b062dca101796ada82a3f9d8697d0d0da1b7826ca377e5467f41c4f19ef5941ed4274e431736a89e7723a7c194e05180c755801385cea8d4a04f DIST patch-6.12.47.xz 2896968 BLAKE2B 4064af2ae029d13d63a0a6cfb9e4121266ab33622c03e088ad3544a0f5bf443d75a2ff2f7c35b58d7cc8669acb0eac93165cd3bfe5d8567f332516850bc9f7a4 SHA512 19bb9e9e235fa408e3b37dd6fe475f1dc7690bd09274dcdcb722ccc9733da9169dbaa97dffb15e0b32da6a62cd89b2da8cad32b4d2f16f2fbbd9d023b5ebae9b -DIST patch-6.16.3.xz 404136 BLAKE2B 3b33459a827feb8c31bdc5ef80e0a16d80c8555c8f6482aee2d4965cdf4072f172704498ff9bbc29a20a71400338a001e0fc23ed53691164012120c9200e32ef SHA512 b4ca71e98add9b84a0f3aad3fdc994d225bf051d033290ebbfde208eb8044d5904278871863a3ffe927b6f2b45a82284dfb036b0198bc8d120530a64b4b6844d -DIST patch-6.16.4.xz 541776 BLAKE2B f343d8d03d5b09e06fbf906df7ac6175726c5cef8f2b9db2f31f509785d5d6e2a4d6b5573e8f6cce818e08e6a21da19320e2af3b43207fbd549a738ac2455f33 SHA512 b71b17fdc8f25e4e4e05b364c31a66502a3e00e6e3d66808f9726098f1f2e315e3666aa69c6f164a6cf8f1c2c4359fcd620b0dd624a98d007da4bd34310b03f1 -DIST patch-6.16.5.xz 593096 BLAKE2B d31bf76e05249e8414b1df045eff96015b6b47b38aa36745fdca1ea3f5f2c6d552cb1a7eb9d57c3234d3ec069333cab5e0b87619232fc850881188c8f0f48465 SHA512 d146208501727047695524cd1e5d6c4b4e008e1d9e354ff49460b972a6dd187f7ce4a6891a7856b4bc31ead63299523253d8b03c6134c4a09373decee74a7e66 -DIST patch-6.16.6.xz 645248 BLAKE2B 0820eda5a99cf3ef8938a7b5efa5aa568247528b90d8fc2d6acf64cc656ebbde5a7a65820256aae5513cb6e304a119ba3986d2772829bf46bfecc627471312cf SHA512 497d6208c334c2a0cc6cd9e6743d273b88abac60b534481736e89173f5ef8fc52e1339a017e49bf75a66b23ca91ad9b8a702850b7adf6046a74451db7e02ecac DIST patch-6.16.7.xz 650544 BLAKE2B 5ceb5a463cf7c9df15a894103913e7f872af9b879a6a8751b2cd4208c687e477654a2b23f468a44d6af66a987f55e76da55c0080de5025dcc286ddf1d1be9e4b SHA512 9351c2d01a914854831cd5db71aec3ebf9887161871ba7a00fdd234849121764b0af9ce4b08c5f275d9278268fc960e4aa4232edec15220e75113fc9610ca59e DIST patch-6.6.101.xz 4660596 BLAKE2B 3b02a5a37a67113ec35d647bb13f729fa0b883fa59b004e7b19b401bed374b700ef806f27285c0951c2dc8cd3e0af16ae7d9fc3268b4f5020eafb1d0361aaab8 SHA512 bcb5671c660a84f34556210dd525c6b38f3a9cf6c78bbc6b7d936f8efeb3170b27bfbf4a343b0ac94659cc63a35c479e1e158ca35043d5937eebbaf4fd8cadb6 -DIST patch-6.6.102.xz 4713208 BLAKE2B 8790f52d46e96c3e4ac88e883dd9bb1875abef3ca0a860fbd348bd6f6857465f0da53aae376df60b9a0e22451a2303d2ddcccc407322d3cd0659344a5acd589a SHA512 97bb31a9aa4e417145d951bdd95a7c1138ec13e66e0869362f209be13fb638e09afbbdbed4b0dc01c2550d061bf6526ae4123760d9e00d1a464870329456d958 -DIST patch-6.6.103.xz 4835452 BLAKE2B 477d10f8cc23326a6c6d195529327546d3addf11436c6696ce4f3b1c8bae1622f04da0abb6cd257126db4fe44408466b94a16400ce8b29b98421297cb0e0f91f SHA512 305eb896563c19b6d9cd9a4faddd7b39b41a651f64dfee017364cd18c962f6e1c1840e8350532d13007afbe5d89bdfb8a982c328586ce1d2e7e3f199836654aa -DIST patch-6.6.104.xz 4851576 BLAKE2B 80d56cbc928370fc31c79cae2d0d5381fe784df2b08d6ac0c921ca328f81adea365eac545765b8bf69cb92a7d97a398bfc9cb02f1f643689e3f02c541e925d37 SHA512 bc16cde26764f633b6053df1d5c569698e41b7afb887a377ca8c935ee4d59e0e800cbb6aa0031ff386afe7f4990de9653aa9c03940425adfdc35600b5715edc5 -DIST patch-6.6.105.xz 4877884 BLAKE2B 9dc3abb2ac9f503455c1d16fcc5eba756d79c26624e02a4d0562d51503ea07e6863000a1bea22261b5123874282a7d93b16d42a0e38bc9d7d145c3d2976b9dff SHA512 9a4e8a820b54093af64d88053cde950caea2ea01eb85806afa28e835097b506c774b466d76ac276ef0e7e5f487485911473e5ab34fb4dbd5cc2b115b7ae76b1e DIST patch-6.6.106.xz 4880660 BLAKE2B 3205119e8c10be006eb9f5c455a6fd2cec6b98f351e5e9983c6303f11b5f8822f73ede0dbc95c390736ddbd90bd2ca6383e3737618d108ffe3637d38dafad762 SHA512 e4a2bbd7c0f6a5a875fe4bdb1fbc82ff54a7d8a37f0c8cf04e6222a2be3d4579458bcbd87736b9fc95058f79a5181a381d40dc4d5b69761378eae29dc30349bc diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.241.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.241.ebuild deleted file mode 100644 index 3f60b1e36716..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.241.ebuild +++ /dev/null @@ -1,173 +0,0 @@ -# Copyright 2020-2025 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 verify-sig - -BASE_P=linux-${PV%.*} -PATCH_PV=${PV%_p*} -PATCHSET=linux-gentoo-patches-5.10.241-r2 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 -CONFIG_VER=5.10.12 -CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530 -GENTOO_CONFIG_VER=g17 -SHA256SUM_DATE=20250828 - -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/${BASE_P}.tar.xz - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz - https://dev.gentoo.org/~mgorny/dist/linux/${PATCHSET}.tar.xz - https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz - -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz - verify-sig? ( - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc - -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc - ) - 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}/${BASE_P} - -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" -IUSE="debug experimental hardened" -REQUIRED_USE=" - arm? ( savedconfig ) - hppa? ( savedconfig ) - sparc? ( savedconfig ) -" - -RDEPEND=" - !sys-kernel/gentoo-kernel-bin:${SLOT} -" -BDEPEND=" - debug? ( dev-util/pahole ) - verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 ) -" -PDEPEND=" - >=virtual/dist-kernel-${PATCH_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 -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \ - sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz" - cd "${WORKDIR}" || die - fi - - default -} - -src_prepare() { - local patch - eapply "${WORKDIR}/patch-${PATCH_PV}" - for patch in "${WORKDIR}/${PATCHSET}"/*.patch; do - eapply "${patch}" - # non-experimental patches always finish with Gentoo Kconfig - # when ! use experimental, stop applying after it - if [[ ${patch} == *Add-Gentoo-Linux-support-config-settings* ]] && - ! use experimental - then - break - fi - done - - default - - # add Gentoo patchset version - local extraversion=${PV#${PATCH_PV}} - sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die - - local biendian=false - - # prepare the default config - case ${ARCH} in - arm | hppa | 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}/${BASE_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-5.10.242.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.242.ebuild deleted file mode 100644 index 92d3f4f75db4..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.242.ebuild +++ /dev/null @@ -1,173 +0,0 @@ -# Copyright 2020-2025 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 verify-sig - -BASE_P=linux-${PV%.*} -PATCH_PV=${PV%_p*} -PATCHSET=linux-gentoo-patches-5.10.241 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 -CONFIG_VER=5.10.12 -CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530 -GENTOO_CONFIG_VER=g17 -SHA256SUM_DATE=20250904 - -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/${BASE_P}.tar.xz - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz - https://dev.gentoo.org/~mgorny/dist/linux/${PATCHSET}.tar.xz - https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz - -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz - verify-sig? ( - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc - -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc - ) - 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}/${BASE_P} - -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" -IUSE="debug experimental hardened" -REQUIRED_USE=" - arm? ( savedconfig ) - hppa? ( savedconfig ) - sparc? ( savedconfig ) -" - -RDEPEND=" - !sys-kernel/gentoo-kernel-bin:${SLOT} -" -BDEPEND=" - debug? ( dev-util/pahole ) - verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 ) -" -PDEPEND=" - >=virtual/dist-kernel-${PATCH_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 -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \ - sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz" - cd "${WORKDIR}" || die - fi - - default -} - -src_prepare() { - local patch - eapply "${WORKDIR}/patch-${PATCH_PV}" - for patch in "${WORKDIR}/${PATCHSET}"/*.patch; do - eapply "${patch}" - # non-experimental patches always finish with Gentoo Kconfig - # when ! use experimental, stop applying after it - if [[ ${patch} == *Add-Gentoo-Linux-support-config-settings* ]] && - ! use experimental - then - break - fi - done - - default - - # add Gentoo patchset version - local extraversion=${PV#${PATCH_PV}} - sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die - - local biendian=false - - # prepare the default config - case ${ARCH} in - arm | hppa | 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}/${BASE_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-5.10.243.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.243.ebuild deleted file mode 100644 index cd0fe3659b7a..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.243.ebuild +++ /dev/null @@ -1,173 +0,0 @@ -# Copyright 2020-2025 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 verify-sig - -BASE_P=linux-${PV%.*} -PATCH_PV=${PV%_p*} -PATCHSET=linux-gentoo-patches-5.10.241 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 -CONFIG_VER=5.10.12 -CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530 -GENTOO_CONFIG_VER=g17 -SHA256SUM_DATE=20250909 - -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/${BASE_P}.tar.xz - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz - https://dev.gentoo.org/~mgorny/dist/linux/${PATCHSET}.tar.xz - https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz - -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz - verify-sig? ( - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc - -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc - ) - 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}/${BASE_P} - -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" -IUSE="debug experimental hardened" -REQUIRED_USE=" - arm? ( savedconfig ) - hppa? ( savedconfig ) - sparc? ( savedconfig ) -" - -RDEPEND=" - !sys-kernel/gentoo-kernel-bin:${SLOT} -" -BDEPEND=" - debug? ( dev-util/pahole ) - verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 ) -" -PDEPEND=" - >=virtual/dist-kernel-${PATCH_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 -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \ - sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz" - cd "${WORKDIR}" || die - fi - - default -} - -src_prepare() { - local patch - eapply "${WORKDIR}/patch-${PATCH_PV}" - for patch in "${WORKDIR}/${PATCHSET}"/*.patch; do - eapply "${patch}" - # non-experimental patches always finish with Gentoo Kconfig - # when ! use experimental, stop applying after it - if [[ ${patch} == *Add-Gentoo-Linux-support-config-settings* ]] && - ! use experimental - then - break - fi - done - - default - - # add Gentoo patchset version - local extraversion=${PV#${PATCH_PV}} - sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die - - local biendian=false - - # prepare the default config - case ${ARCH} in - arm | hppa | 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}/${BASE_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-5.15.190.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.190.ebuild deleted file mode 100644 index 4a7261c42033..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.190.ebuild +++ /dev/null @@ -1,173 +0,0 @@ -# Copyright 2020-2025 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 verify-sig - -BASE_P=linux-${PV%.*} -PATCH_PV=${PV%_p*} -PATCHSET=linux-gentoo-patches-5.15.190 -# 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=g17 -SHA256SUM_DATE=20250828 - -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/${BASE_P}.tar.xz - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz - https://dev.gentoo.org/~mgorny/dist/linux/${PATCHSET}.tar.xz - https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz - -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz - verify-sig? ( - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc - -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc - ) - 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}/${BASE_P} - -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" -IUSE="debug experimental hardened" -REQUIRED_USE=" - arm? ( savedconfig ) - hppa? ( savedconfig ) - sparc? ( savedconfig ) -" - -RDEPEND=" - !sys-kernel/gentoo-kernel-bin:${SLOT} -" -BDEPEND=" - debug? ( dev-util/pahole ) - verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 ) -" -PDEPEND=" - >=virtual/dist-kernel-${PATCH_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 -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \ - sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz" - cd "${WORKDIR}" || die - fi - - default -} - -src_prepare() { - local patch - eapply "${WORKDIR}/patch-${PATCH_PV}" - for patch in "${WORKDIR}/${PATCHSET}"/*.patch; do - eapply "${patch}" - # non-experimental patches always finish with Gentoo Kconfig - # when ! use experimental, stop applying after it - if [[ ${patch} == *Add-Gentoo-Linux-support-config-settings* ]] && - ! use experimental - then - break - fi - done - - default - - # add Gentoo patchset version - local extraversion=${PV#${PATCH_PV}} - sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die - - local biendian=false - - # prepare the default config - case ${ARCH} in - arm | hppa | 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}/${BASE_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-5.15.191.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.191.ebuild deleted file mode 100644 index dedd949b1013..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.191.ebuild +++ /dev/null @@ -1,173 +0,0 @@ -# Copyright 2020-2025 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 verify-sig - -BASE_P=linux-${PV%.*} -PATCH_PV=${PV%_p*} -PATCHSET=linux-gentoo-patches-5.15.190 -# 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=g17 -SHA256SUM_DATE=20250904 - -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/${BASE_P}.tar.xz - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz - https://dev.gentoo.org/~mgorny/dist/linux/${PATCHSET}.tar.xz - https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz - -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz - verify-sig? ( - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc - -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc - ) - 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}/${BASE_P} - -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" -IUSE="debug experimental hardened" -REQUIRED_USE=" - arm? ( savedconfig ) - hppa? ( savedconfig ) - sparc? ( savedconfig ) -" - -RDEPEND=" - !sys-kernel/gentoo-kernel-bin:${SLOT} -" -BDEPEND=" - debug? ( dev-util/pahole ) - verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 ) -" -PDEPEND=" - >=virtual/dist-kernel-${PATCH_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 -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \ - sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz" - cd "${WORKDIR}" || die - fi - - default -} - -src_prepare() { - local patch - eapply "${WORKDIR}/patch-${PATCH_PV}" - for patch in "${WORKDIR}/${PATCHSET}"/*.patch; do - eapply "${patch}" - # non-experimental patches always finish with Gentoo Kconfig - # when ! use experimental, stop applying after it - if [[ ${patch} == *Add-Gentoo-Linux-support-config-settings* ]] && - ! use experimental - then - break - fi - done - - default - - # add Gentoo patchset version - local extraversion=${PV#${PATCH_PV}} - sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die - - local biendian=false - - # prepare the default config - case ${ARCH} in - arm | hppa | 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}/${BASE_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-5.15.192.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.192.ebuild deleted file mode 100644 index 6072dd821222..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.192.ebuild +++ /dev/null @@ -1,173 +0,0 @@ -# Copyright 2020-2025 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 verify-sig - -BASE_P=linux-${PV%.*} -PATCH_PV=${PV%_p*} -PATCHSET=linux-gentoo-patches-5.15.190 -# 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=g17 -SHA256SUM_DATE=20250909 - -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/${BASE_P}.tar.xz - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz - https://dev.gentoo.org/~mgorny/dist/linux/${PATCHSET}.tar.xz - https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz - -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz - verify-sig? ( - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc - -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc - ) - 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}/${BASE_P} - -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" -IUSE="debug experimental hardened" -REQUIRED_USE=" - arm? ( savedconfig ) - hppa? ( savedconfig ) - sparc? ( savedconfig ) -" - -RDEPEND=" - !sys-kernel/gentoo-kernel-bin:${SLOT} -" -BDEPEND=" - debug? ( dev-util/pahole ) - verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 ) -" -PDEPEND=" - >=virtual/dist-kernel-${PATCH_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 -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \ - sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz" - cd "${WORKDIR}" || die - fi - - default -} - -src_prepare() { - local patch - eapply "${WORKDIR}/patch-${PATCH_PV}" - for patch in "${WORKDIR}/${PATCHSET}"/*.patch; do - eapply "${patch}" - # non-experimental patches always finish with Gentoo Kconfig - # when ! use experimental, stop applying after it - if [[ ${patch} == *Add-Gentoo-Linux-support-config-settings* ]] && - ! use experimental - then - break - fi - done - - default - - # add Gentoo patchset version - local extraversion=${PV#${PATCH_PV}} - sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die - - local biendian=false - - # prepare the default config - case ${ARCH} in - arm | hppa | 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}/${BASE_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.1.148.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.148.ebuild deleted file mode 100644 index ef59acd08308..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.148.ebuild +++ /dev/null @@ -1,169 +0,0 @@ -# Copyright 2020-2025 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 verify-sig - -MY_P=linux-${PV%.*} -PATCHSET=linux-gentoo-patches-6.1.147 -# 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=g17 -SHA256SUM_DATE=20250815 - -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://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PV}.xz - https://dev.gentoo.org/~mgorny/dist/linux/${PATCHSET}.tar.xz - https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz - -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz - verify-sig? ( - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc - -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc - ) - 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 ) - verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 ) -" -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 -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \ - sha256 "${MY_P}.tar.xz patch-${PV}.xz" - cd "${WORKDIR}" || die - fi - - default -} - -src_prepare() { - local patch - eapply "${WORKDIR}/patch-${PV}" - for patch in "${WORKDIR}/${PATCHSET}"/*.patch; do - eapply "${patch}" - # non-experimental patches always finish with Gentoo Kconfig - # when ! use experimental, stop applying after it - if [[ ${patch} == *Add-Gentoo-Linux-support-config-settings* ]] && - ! use experimental - then - break - fi - done - - 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.1.149.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.149.ebuild deleted file mode 100644 index f0a7af9a8218..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.149.ebuild +++ /dev/null @@ -1,174 +0,0 @@ -# Copyright 2020-2025 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 verify-sig - -BASE_P=linux-${PV%.*} -PATCH_PV=${PV%_p*} -PATCHSET=linux-gentoo-patches-6.1.147 -# 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=g17 -SHA256SUM_DATE=20250828 - -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/${BASE_P}.tar.xz - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz - https://dev.gentoo.org/~mgorny/dist/linux/${PATCHSET}.tar.xz - https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz - -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz - verify-sig? ( - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc - -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc - ) - 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}/${BASE_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 ) - verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 ) -" -PDEPEND=" - >=virtual/dist-kernel-${PATCH_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 -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \ - sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz" - cd "${WORKDIR}" || die - fi - - default -} - -src_prepare() { - local patch - eapply "${WORKDIR}/patch-${PATCH_PV}" - for patch in "${WORKDIR}/${PATCHSET}"/*.patch; do - eapply "${patch}" - # non-experimental patches always finish with Gentoo Kconfig - # when ! use experimental, stop applying after it - if [[ ${patch} == *Add-Gentoo-Linux-support-config-settings* ]] && - ! use experimental - then - break - fi - done - - default - - # add Gentoo patchset version - local extraversion=${PV#${PATCH_PV}} - sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die - - 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}/${BASE_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.1.150.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.150.ebuild deleted file mode 100644 index 4e74b50c407f..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.150.ebuild +++ /dev/null @@ -1,174 +0,0 @@ -# Copyright 2020-2025 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 verify-sig - -BASE_P=linux-${PV%.*} -PATCH_PV=${PV%_p*} -PATCHSET=linux-gentoo-patches-6.1.147 -# 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=g17 -SHA256SUM_DATE=20250904 - -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/${BASE_P}.tar.xz - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz - https://dev.gentoo.org/~mgorny/dist/linux/${PATCHSET}.tar.xz - https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz - -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz - verify-sig? ( - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc - -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc - ) - 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}/${BASE_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 ) - verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 ) -" -PDEPEND=" - >=virtual/dist-kernel-${PATCH_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 -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \ - sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz" - cd "${WORKDIR}" || die - fi - - default -} - -src_prepare() { - local patch - eapply "${WORKDIR}/patch-${PATCH_PV}" - for patch in "${WORKDIR}/${PATCHSET}"/*.patch; do - eapply "${patch}" - # non-experimental patches always finish with Gentoo Kconfig - # when ! use experimental, stop applying after it - if [[ ${patch} == *Add-Gentoo-Linux-support-config-settings* ]] && - ! use experimental - then - break - fi - done - - default - - # add Gentoo patchset version - local extraversion=${PV#${PATCH_PV}} - sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die - - 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}/${BASE_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.1.151.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.151.ebuild deleted file mode 100644 index d6f9ddcb2bb8..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.151.ebuild +++ /dev/null @@ -1,174 +0,0 @@ -# Copyright 2020-2025 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 verify-sig - -BASE_P=linux-${PV%.*} -PATCH_PV=${PV%_p*} -PATCHSET=linux-gentoo-patches-6.1.151 -# 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=g17 -SHA256SUM_DATE=20250909 - -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/${BASE_P}.tar.xz - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz - https://dev.gentoo.org/~mgorny/dist/linux/${PATCHSET}.tar.xz - https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz - -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz - verify-sig? ( - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc - -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc - ) - 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}/${BASE_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 ) - verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 ) -" -PDEPEND=" - >=virtual/dist-kernel-${PATCH_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 -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \ - sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz" - cd "${WORKDIR}" || die - fi - - default -} - -src_prepare() { - local patch - eapply "${WORKDIR}/patch-${PATCH_PV}" - for patch in "${WORKDIR}/${PATCHSET}"/*.patch; do - eapply "${patch}" - # non-experimental patches always finish with Gentoo Kconfig - # when ! use experimental, stop applying after it - if [[ ${patch} == *Add-Gentoo-Linux-support-config-settings* ]] && - ! use experimental - then - break - fi - done - - default - - # add Gentoo patchset version - local extraversion=${PV#${PATCH_PV}} - sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die - - 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}/${BASE_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.12.42.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.42.ebuild deleted file mode 100644 index 76c5382325dc..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.42.ebuild +++ /dev/null @@ -1,180 +0,0 @@ -# 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 verify-sig - -MY_P=linux-${PV%.*} -PATCHSET=linux-gentoo-patches-6.12.40 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 -# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo -CONFIG_VER=6.12.41-gentoo -GENTOO_CONFIG_VER=g17 -SHA256SUM_DATE=20250815 - -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://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PV}.xz - https://dev.gentoo.org/~mgorny/dist/linux/${PATCHSET}.tar.xz - https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz - -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz - verify-sig? ( - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc - -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc - ) - 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} - ) - riscv? ( - https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-riscv64-fedora.config - -> kernel-riscv64-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 ) - sparc? ( savedconfig ) -" - -RDEPEND=" - !sys-kernel/gentoo-kernel-bin:${SLOT} -" -BDEPEND=" - debug? ( dev-util/pahole ) - verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 ) -" -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 -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \ - sha256 "${MY_P}.tar.xz patch-${PV}.xz" - cd "${WORKDIR}" || die - fi - - default -} - -src_prepare() { - local patch - eapply "${WORKDIR}/patch-${PV}" - for patch in "${WORKDIR}/${PATCHSET}"/*.patch; do - eapply "${patch}" - # non-experimental patches always finish with Gentoo Kconfig - # when ! use experimental, stop applying after it - if [[ ${patch} == *Add-Gentoo-Linux-support-config-settings* ]] && - ! use experimental - then - break - fi - done - - default - - local biendian=false - - # prepare the default config - case ${ARCH} in - arm | hppa | loong | 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 - ;; - riscv) - cp "${DISTDIR}/kernel-riscv64-fedora.config.${CONFIG_VER}" .config || die - ;; - 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 - "${dist_conf_path}"/6.12+.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" - "${dist_conf_path}/zboot.config" - ) - - kernel-build_merge_configs "${merge_configs[@]}" -} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.43-r1.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.43-r1.ebuild deleted file mode 100644 index 44ccd6701ae9..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.43-r1.ebuild +++ /dev/null @@ -1,180 +0,0 @@ -# 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 verify-sig - -MY_P=linux-${PV%.*} -PATCHSET=linux-gentoo-patches-6.12.43 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 -# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo -CONFIG_VER=6.12.41-gentoo -GENTOO_CONFIG_VER=g17 -SHA256SUM_DATE=20250820 - -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://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PV}.xz - https://dev.gentoo.org/~mgorny/dist/linux/${PATCHSET}.tar.xz - https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz - -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz - verify-sig? ( - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc - -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc - ) - 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} - ) - riscv? ( - https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-riscv64-fedora.config - -> kernel-riscv64-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 ) - sparc? ( savedconfig ) -" - -RDEPEND=" - !sys-kernel/gentoo-kernel-bin:${SLOT} -" -BDEPEND=" - debug? ( dev-util/pahole ) - verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 ) -" -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 -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \ - sha256 "${MY_P}.tar.xz patch-${PV}.xz" - cd "${WORKDIR}" || die - fi - - default -} - -src_prepare() { - local patch - eapply "${WORKDIR}/patch-${PV}" - for patch in "${WORKDIR}/${PATCHSET}"/*.patch; do - eapply "${patch}" - # non-experimental patches always finish with Gentoo Kconfig - # when ! use experimental, stop applying after it - if [[ ${patch} == *Add-Gentoo-Linux-support-config-settings* ]] && - ! use experimental - then - break - fi - done - - default - - local biendian=false - - # prepare the default config - case ${ARCH} in - arm | hppa | loong | 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 - ;; - riscv) - cp "${DISTDIR}/kernel-riscv64-fedora.config.${CONFIG_VER}" .config || die - ;; - 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 - "${dist_conf_path}"/6.12+.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" - "${dist_conf_path}/zboot.config" - ) - - kernel-build_merge_configs "${merge_configs[@]}" -} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.43.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.43.ebuild deleted file mode 100644 index a6bab36c1c27..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.43.ebuild +++ /dev/null @@ -1,180 +0,0 @@ -# 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 verify-sig - -MY_P=linux-${PV%.*} -PATCHSET=linux-gentoo-patches-6.12.40 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 -# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo -CONFIG_VER=6.12.41-gentoo -GENTOO_CONFIG_VER=g17 -SHA256SUM_DATE=20250820 - -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://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PV}.xz - https://dev.gentoo.org/~mgorny/dist/linux/${PATCHSET}.tar.xz - https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz - -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz - verify-sig? ( - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc - -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc - ) - 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} - ) - riscv? ( - https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-riscv64-fedora.config - -> kernel-riscv64-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 ) - sparc? ( savedconfig ) -" - -RDEPEND=" - !sys-kernel/gentoo-kernel-bin:${SLOT} -" -BDEPEND=" - debug? ( dev-util/pahole ) - verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 ) -" -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 -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \ - sha256 "${MY_P}.tar.xz patch-${PV}.xz" - cd "${WORKDIR}" || die - fi - - default -} - -src_prepare() { - local patch - eapply "${WORKDIR}/patch-${PV}" - for patch in "${WORKDIR}/${PATCHSET}"/*.patch; do - eapply "${patch}" - # non-experimental patches always finish with Gentoo Kconfig - # when ! use experimental, stop applying after it - if [[ ${patch} == *Add-Gentoo-Linux-support-config-settings* ]] && - ! use experimental - then - break - fi - done - - default - - local biendian=false - - # prepare the default config - case ${ARCH} in - arm | hppa | loong | 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 - ;; - riscv) - cp "${DISTDIR}/kernel-riscv64-fedora.config.${CONFIG_VER}" .config || die - ;; - 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 - "${dist_conf_path}"/6.12+.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" - "${dist_conf_path}/zboot.config" - ) - - kernel-build_merge_configs "${merge_configs[@]}" -} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.44.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.44.ebuild deleted file mode 100644 index 2a7fa29070e2..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.44.ebuild +++ /dev/null @@ -1,185 +0,0 @@ -# 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 verify-sig - -BASE_P=linux-${PV%.*} -PATCH_PV=${PV%_p*} -PATCHSET=linux-gentoo-patches-6.12.44 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 -# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo -CONFIG_VER=6.12.41-gentoo -GENTOO_CONFIG_VER=g17 -SHA256SUM_DATE=20250828 - -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/${BASE_P}.tar.xz - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz - https://dev.gentoo.org/~mgorny/dist/linux/${PATCHSET}.tar.xz - https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz - -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz - verify-sig? ( - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc - -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc - ) - 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} - ) - riscv? ( - https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-riscv64-fedora.config - -> kernel-riscv64-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}/${BASE_P} - -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="debug experimental hardened" -REQUIRED_USE=" - arm? ( savedconfig ) - hppa? ( savedconfig ) - sparc? ( savedconfig ) -" - -RDEPEND=" - !sys-kernel/gentoo-kernel-bin:${SLOT} -" -BDEPEND=" - debug? ( dev-util/pahole ) - verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 ) -" -PDEPEND=" - >=virtual/dist-kernel-${PATCH_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 -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \ - sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz" - cd "${WORKDIR}" || die - fi - - default -} - -src_prepare() { - local patch - eapply "${WORKDIR}/patch-${PATCH_PV}" - for patch in "${WORKDIR}/${PATCHSET}"/*.patch; do - eapply "${patch}" - # non-experimental patches always finish with Gentoo Kconfig - # when ! use experimental, stop applying after it - if [[ ${patch} == *Add-Gentoo-Linux-support-config-settings* ]] && - ! use experimental - then - break - fi - done - - default - - # add Gentoo patchset version - local extraversion=${PV#${PATCH_PV}} - sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die - - local biendian=false - - # prepare the default config - case ${ARCH} in - arm | hppa | loong | 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}/${BASE_P}/arch/powerpc/configs/pmac32_defconfig" .config || die - ;; - ppc64) - cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die - biendian=true - ;; - riscv) - cp "${DISTDIR}/kernel-riscv64-fedora.config.${CONFIG_VER}" .config || die - ;; - 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 - "${dist_conf_path}"/6.12+.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" - "${dist_conf_path}/zboot.config" - ) - - kernel-build_merge_configs "${merge_configs[@]}" -} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.45.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.45.ebuild deleted file mode 100644 index 1ee9a6df3e55..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.45.ebuild +++ /dev/null @@ -1,185 +0,0 @@ -# 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 verify-sig - -BASE_P=linux-${PV%.*} -PATCH_PV=${PV%_p*} -PATCHSET=linux-gentoo-patches-6.12.45 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 -# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo -CONFIG_VER=6.12.41-gentoo -GENTOO_CONFIG_VER=g17 -SHA256SUM_DATE=20250904 - -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/${BASE_P}.tar.xz - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz - https://dev.gentoo.org/~mgorny/dist/linux/${PATCHSET}.tar.xz - https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz - -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz - verify-sig? ( - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc - -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc - ) - 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} - ) - riscv? ( - https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-riscv64-fedora.config - -> kernel-riscv64-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}/${BASE_P} - -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="debug experimental hardened" -REQUIRED_USE=" - arm? ( savedconfig ) - hppa? ( savedconfig ) - sparc? ( savedconfig ) -" - -RDEPEND=" - !sys-kernel/gentoo-kernel-bin:${SLOT} -" -BDEPEND=" - debug? ( dev-util/pahole ) - verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 ) -" -PDEPEND=" - >=virtual/dist-kernel-${PATCH_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 -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \ - sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz" - cd "${WORKDIR}" || die - fi - - default -} - -src_prepare() { - local patch - eapply "${WORKDIR}/patch-${PATCH_PV}" - for patch in "${WORKDIR}/${PATCHSET}"/*.patch; do - eapply "${patch}" - # non-experimental patches always finish with Gentoo Kconfig - # when ! use experimental, stop applying after it - if [[ ${patch} == *Add-Gentoo-Linux-support-config-settings* ]] && - ! use experimental - then - break - fi - done - - default - - # add Gentoo patchset version - local extraversion=${PV#${PATCH_PV}} - sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die - - local biendian=false - - # prepare the default config - case ${ARCH} in - arm | hppa | loong | 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}/${BASE_P}/arch/powerpc/configs/pmac32_defconfig" .config || die - ;; - ppc64) - cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die - biendian=true - ;; - riscv) - cp "${DISTDIR}/kernel-riscv64-fedora.config.${CONFIG_VER}" .config || die - ;; - 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 - "${dist_conf_path}"/6.12+.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" - "${dist_conf_path}/zboot.config" - ) - - kernel-build_merge_configs "${merge_configs[@]}" -} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.45_p1.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.45_p1.ebuild deleted file mode 100644 index 24b81dea0c6d..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.45_p1.ebuild +++ /dev/null @@ -1,185 +0,0 @@ -# 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 verify-sig - -BASE_P=linux-${PV%.*} -PATCH_PV=${PV%_p*} -PATCHSET=linux-gentoo-patches-6.12.45_p1 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 -# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo -CONFIG_VER=6.12.41-gentoo -GENTOO_CONFIG_VER=g17 -SHA256SUM_DATE=20250904 - -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/${BASE_P}.tar.xz - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz - https://dev.gentoo.org/~mgorny/dist/linux/${PATCHSET}.tar.xz - https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz - -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz - verify-sig? ( - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc - -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc - ) - 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} - ) - riscv? ( - https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-riscv64-fedora.config - -> kernel-riscv64-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}/${BASE_P} - -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="debug experimental hardened" -REQUIRED_USE=" - arm? ( savedconfig ) - hppa? ( savedconfig ) - sparc? ( savedconfig ) -" - -RDEPEND=" - !sys-kernel/gentoo-kernel-bin:${SLOT} -" -BDEPEND=" - debug? ( dev-util/pahole ) - verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 ) -" -PDEPEND=" - >=virtual/dist-kernel-${PATCH_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 -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \ - sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz" - cd "${WORKDIR}" || die - fi - - default -} - -src_prepare() { - local patch - eapply "${WORKDIR}/patch-${PATCH_PV}" - for patch in "${WORKDIR}/${PATCHSET}"/*.patch; do - eapply "${patch}" - # non-experimental patches always finish with Gentoo Kconfig - # when ! use experimental, stop applying after it - if [[ ${patch} == *Add-Gentoo-Linux-support-config-settings* ]] && - ! use experimental - then - break - fi - done - - default - - # add Gentoo patchset version - local extraversion=${PV#${PATCH_PV}} - sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die - - local biendian=false - - # prepare the default config - case ${ARCH} in - arm | hppa | loong | 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}/${BASE_P}/arch/powerpc/configs/pmac32_defconfig" .config || die - ;; - ppc64) - cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die - biendian=true - ;; - riscv) - cp "${DISTDIR}/kernel-riscv64-fedora.config.${CONFIG_VER}" .config || die - ;; - 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 - "${dist_conf_path}"/6.12+.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" - "${dist_conf_path}/zboot.config" - ) - - kernel-build_merge_configs "${merge_configs[@]}" -} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.46.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.46.ebuild deleted file mode 100644 index 3eda944fafa5..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.46.ebuild +++ /dev/null @@ -1,185 +0,0 @@ -# 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 verify-sig - -BASE_P=linux-${PV%.*} -PATCH_PV=${PV%_p*} -PATCHSET=linux-gentoo-patches-6.12.46 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 -# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo -CONFIG_VER=6.12.41-gentoo -GENTOO_CONFIG_VER=g17 -SHA256SUM_DATE=20250909 - -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/${BASE_P}.tar.xz - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz - https://dev.gentoo.org/~mgorny/dist/linux/${PATCHSET}.tar.xz - https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz - -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz - verify-sig? ( - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc - -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc - ) - 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} - ) - riscv? ( - https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-riscv64-fedora.config - -> kernel-riscv64-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}/${BASE_P} - -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="debug experimental hardened" -REQUIRED_USE=" - arm? ( savedconfig ) - hppa? ( savedconfig ) - sparc? ( savedconfig ) -" - -RDEPEND=" - !sys-kernel/gentoo-kernel-bin:${SLOT} -" -BDEPEND=" - debug? ( dev-util/pahole ) - verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 ) -" -PDEPEND=" - >=virtual/dist-kernel-${PATCH_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 -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \ - sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz" - cd "${WORKDIR}" || die - fi - - default -} - -src_prepare() { - local patch - eapply "${WORKDIR}/patch-${PATCH_PV}" - for patch in "${WORKDIR}/${PATCHSET}"/*.patch; do - eapply "${patch}" - # non-experimental patches always finish with Gentoo Kconfig - # when ! use experimental, stop applying after it - if [[ ${patch} == *Add-Gentoo-Linux-support-config-settings* ]] && - ! use experimental - then - break - fi - done - - default - - # add Gentoo patchset version - local extraversion=${PV#${PATCH_PV}} - sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die - - local biendian=false - - # prepare the default config - case ${ARCH} in - arm | hppa | loong | 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}/${BASE_P}/arch/powerpc/configs/pmac32_defconfig" .config || die - ;; - ppc64) - cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die - biendian=true - ;; - riscv) - cp "${DISTDIR}/kernel-riscv64-fedora.config.${CONFIG_VER}" .config || die - ;; - 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 - "${dist_conf_path}"/6.12+.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" - "${dist_conf_path}/zboot.config" - ) - - kernel-build_merge_configs "${merge_configs[@]}" -} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.16.3-r1.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.16.3-r1.ebuild deleted file mode 100644 index 805668b543f6..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.16.3-r1.ebuild +++ /dev/null @@ -1,180 +0,0 @@ -# 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 verify-sig - -MY_P=linux-${PV%.*} -PATCHSET=linux-gentoo-patches-6.16.3 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 -# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo -CONFIG_VER=6.16.2-gentoo -GENTOO_CONFIG_VER=g17 -SHA256SUM_DATE=20250823 - -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://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PV}.xz - https://dev.gentoo.org/~mgorny/dist/linux/${PATCHSET}.tar.xz - https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz - -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz - verify-sig? ( - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc - -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc - ) - 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} - ) - riscv? ( - https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-riscv64-fedora.config - -> kernel-riscv64-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 ) - sparc? ( savedconfig ) -" - -RDEPEND=" - !sys-kernel/gentoo-kernel-bin:${SLOT} -" -BDEPEND=" - debug? ( dev-util/pahole ) - verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 ) -" -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 -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \ - sha256 "${MY_P}.tar.xz patch-${PV}.xz" - cd "${WORKDIR}" || die - fi - - default -} - -src_prepare() { - local patch - eapply "${WORKDIR}/patch-${PV}" - for patch in "${WORKDIR}/${PATCHSET}"/*.patch; do - eapply "${patch}" - # non-experimental patches always finish with Gentoo Kconfig - # when ! use experimental, stop applying after it - if [[ ${patch} == *Add-Gentoo-Linux-support-config-settings* ]] && - ! use experimental - then - break - fi - done - - default - - local biendian=false - - # prepare the default config - case ${ARCH} in - arm | hppa | loong | 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 - ;; - riscv) - cp "${DISTDIR}/kernel-riscv64-fedora.config.${CONFIG_VER}" .config || die - ;; - 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 - "${dist_conf_path}"/6.12+.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" - "${dist_conf_path}/zboot.config" - ) - - kernel-build_merge_configs "${merge_configs[@]}" -} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.16.3.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.16.3.ebuild deleted file mode 100644 index ec85db392178..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.16.3.ebuild +++ /dev/null @@ -1,180 +0,0 @@ -# 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 verify-sig - -MY_P=linux-${PV%.*} -PATCHSET=linux-gentoo-patches-6.16.2 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 -# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo -CONFIG_VER=6.16.2-gentoo -GENTOO_CONFIG_VER=g17 -SHA256SUM_DATE=20250823 - -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://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PV}.xz - https://dev.gentoo.org/~mgorny/dist/linux/${PATCHSET}.tar.xz - https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz - -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz - verify-sig? ( - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc - -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc - ) - 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} - ) - riscv? ( - https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-riscv64-fedora.config - -> kernel-riscv64-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 ) - sparc? ( savedconfig ) -" - -RDEPEND=" - !sys-kernel/gentoo-kernel-bin:${SLOT} -" -BDEPEND=" - debug? ( dev-util/pahole ) - verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 ) -" -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 -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \ - sha256 "${MY_P}.tar.xz patch-${PV}.xz" - cd "${WORKDIR}" || die - fi - - default -} - -src_prepare() { - local patch - eapply "${WORKDIR}/patch-${PV}" - for patch in "${WORKDIR}/${PATCHSET}"/*.patch; do - eapply "${patch}" - # non-experimental patches always finish with Gentoo Kconfig - # when ! use experimental, stop applying after it - if [[ ${patch} == *Add-Gentoo-Linux-support-config-settings* ]] && - ! use experimental - then - break - fi - done - - default - - local biendian=false - - # prepare the default config - case ${ARCH} in - arm | hppa | loong | 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 - ;; - riscv) - cp "${DISTDIR}/kernel-riscv64-fedora.config.${CONFIG_VER}" .config || die - ;; - 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 - "${dist_conf_path}"/6.12+.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" - "${dist_conf_path}/zboot.config" - ) - - kernel-build_merge_configs "${merge_configs[@]}" -} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.16.4.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.16.4.ebuild deleted file mode 100644 index abac09d4399d..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.16.4.ebuild +++ /dev/null @@ -1,185 +0,0 @@ -# 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 verify-sig - -BASE_P=linux-${PV%.*} -PATCH_PV=${PV%_p*} -PATCHSET=linux-gentoo-patches-6.16.4 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 -# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo -CONFIG_VER=6.16.2-gentoo -GENTOO_CONFIG_VER=g17 -SHA256SUM_DATE=20250828 - -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/${BASE_P}.tar.xz - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz - https://dev.gentoo.org/~mgorny/dist/linux/${PATCHSET}.tar.xz - https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz - -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz - verify-sig? ( - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc - -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc - ) - 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} - ) - riscv? ( - https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-riscv64-fedora.config - -> kernel-riscv64-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}/${BASE_P} - -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="debug experimental hardened" -REQUIRED_USE=" - arm? ( savedconfig ) - hppa? ( savedconfig ) - sparc? ( savedconfig ) -" - -RDEPEND=" - !sys-kernel/gentoo-kernel-bin:${SLOT} -" -BDEPEND=" - debug? ( dev-util/pahole ) - verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 ) -" -PDEPEND=" - >=virtual/dist-kernel-${PATCH_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 -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \ - sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz" - cd "${WORKDIR}" || die - fi - - default -} - -src_prepare() { - local patch - eapply "${WORKDIR}/patch-${PATCH_PV}" - for patch in "${WORKDIR}/${PATCHSET}"/*.patch; do - eapply "${patch}" - # non-experimental patches always finish with Gentoo Kconfig - # when ! use experimental, stop applying after it - if [[ ${patch} == *Add-Gentoo-Linux-support-config-settings* ]] && - ! use experimental - then - break - fi - done - - default - - # add Gentoo patchset version - local extraversion=${PV#${PATCH_PV}} - sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die - - local biendian=false - - # prepare the default config - case ${ARCH} in - arm | hppa | loong | 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}/${BASE_P}/arch/powerpc/configs/pmac32_defconfig" .config || die - ;; - ppc64) - cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die - biendian=true - ;; - riscv) - cp "${DISTDIR}/kernel-riscv64-fedora.config.${CONFIG_VER}" .config || die - ;; - 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 - "${dist_conf_path}"/6.12+.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" - "${dist_conf_path}/zboot.config" - ) - - kernel-build_merge_configs "${merge_configs[@]}" -} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.16.5.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.16.5.ebuild deleted file mode 100644 index 377d4e54350f..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.16.5.ebuild +++ /dev/null @@ -1,185 +0,0 @@ -# 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 verify-sig - -BASE_P=linux-${PV%.*} -PATCH_PV=${PV%_p*} -PATCHSET=linux-gentoo-patches-6.16.5 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 -# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo -CONFIG_VER=6.16.2-gentoo -GENTOO_CONFIG_VER=g17 -SHA256SUM_DATE=20250904 - -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/${BASE_P}.tar.xz - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz - https://dev.gentoo.org/~mgorny/dist/linux/${PATCHSET}.tar.xz - https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz - -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz - verify-sig? ( - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc - -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc - ) - 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} - ) - riscv? ( - https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-riscv64-fedora.config - -> kernel-riscv64-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}/${BASE_P} - -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="debug experimental hardened" -REQUIRED_USE=" - arm? ( savedconfig ) - hppa? ( savedconfig ) - sparc? ( savedconfig ) -" - -RDEPEND=" - !sys-kernel/gentoo-kernel-bin:${SLOT} -" -BDEPEND=" - debug? ( dev-util/pahole ) - verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 ) -" -PDEPEND=" - >=virtual/dist-kernel-${PATCH_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 -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \ - sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz" - cd "${WORKDIR}" || die - fi - - default -} - -src_prepare() { - local patch - eapply "${WORKDIR}/patch-${PATCH_PV}" - for patch in "${WORKDIR}/${PATCHSET}"/*.patch; do - eapply "${patch}" - # non-experimental patches always finish with Gentoo Kconfig - # when ! use experimental, stop applying after it - if [[ ${patch} == *Add-Gentoo-Linux-support-config-settings* ]] && - ! use experimental - then - break - fi - done - - default - - # add Gentoo patchset version - local extraversion=${PV#${PATCH_PV}} - sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die - - local biendian=false - - # prepare the default config - case ${ARCH} in - arm | hppa | loong | 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}/${BASE_P}/arch/powerpc/configs/pmac32_defconfig" .config || die - ;; - ppc64) - cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die - biendian=true - ;; - riscv) - cp "${DISTDIR}/kernel-riscv64-fedora.config.${CONFIG_VER}" .config || die - ;; - 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 - "${dist_conf_path}"/6.12+.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" - "${dist_conf_path}/zboot.config" - ) - - kernel-build_merge_configs "${merge_configs[@]}" -} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.16.5_p1.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.16.5_p1.ebuild deleted file mode 100644 index aa1544972de8..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.16.5_p1.ebuild +++ /dev/null @@ -1,185 +0,0 @@ -# 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 verify-sig - -BASE_P=linux-${PV%.*} -PATCH_PV=${PV%_p*} -PATCHSET=linux-gentoo-patches-6.16.5_p1 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 -# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo -CONFIG_VER=6.16.2-gentoo -GENTOO_CONFIG_VER=g17 -SHA256SUM_DATE=20250904 - -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/${BASE_P}.tar.xz - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz - https://dev.gentoo.org/~mgorny/dist/linux/${PATCHSET}.tar.xz - https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz - -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz - verify-sig? ( - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc - -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc - ) - 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} - ) - riscv? ( - https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-riscv64-fedora.config - -> kernel-riscv64-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}/${BASE_P} - -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="debug experimental hardened" -REQUIRED_USE=" - arm? ( savedconfig ) - hppa? ( savedconfig ) - sparc? ( savedconfig ) -" - -RDEPEND=" - !sys-kernel/gentoo-kernel-bin:${SLOT} -" -BDEPEND=" - debug? ( dev-util/pahole ) - verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 ) -" -PDEPEND=" - >=virtual/dist-kernel-${PATCH_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 -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \ - sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz" - cd "${WORKDIR}" || die - fi - - default -} - -src_prepare() { - local patch - eapply "${WORKDIR}/patch-${PATCH_PV}" - for patch in "${WORKDIR}/${PATCHSET}"/*.patch; do - eapply "${patch}" - # non-experimental patches always finish with Gentoo Kconfig - # when ! use experimental, stop applying after it - if [[ ${patch} == *Add-Gentoo-Linux-support-config-settings* ]] && - ! use experimental - then - break - fi - done - - default - - # add Gentoo patchset version - local extraversion=${PV#${PATCH_PV}} - sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die - - local biendian=false - - # prepare the default config - case ${ARCH} in - arm | hppa | loong | 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}/${BASE_P}/arch/powerpc/configs/pmac32_defconfig" .config || die - ;; - ppc64) - cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die - biendian=true - ;; - riscv) - cp "${DISTDIR}/kernel-riscv64-fedora.config.${CONFIG_VER}" .config || die - ;; - 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 - "${dist_conf_path}"/6.12+.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" - "${dist_conf_path}/zboot.config" - ) - - kernel-build_merge_configs "${merge_configs[@]}" -} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.16.6.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.16.6.ebuild deleted file mode 100644 index 1d1d5b66c148..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.16.6.ebuild +++ /dev/null @@ -1,185 +0,0 @@ -# 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 verify-sig - -BASE_P=linux-${PV%.*} -PATCH_PV=${PV%_p*} -PATCHSET=linux-gentoo-patches-6.16.6 -# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 -# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo -CONFIG_VER=6.16.2-gentoo -GENTOO_CONFIG_VER=g17 -SHA256SUM_DATE=20250909 - -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/${BASE_P}.tar.xz - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz - https://dev.gentoo.org/~mgorny/dist/linux/${PATCHSET}.tar.xz - https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz - -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz - verify-sig? ( - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc - -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc - ) - 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} - ) - riscv? ( - https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-riscv64-fedora.config - -> kernel-riscv64-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}/${BASE_P} - -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="debug experimental hardened" -REQUIRED_USE=" - arm? ( savedconfig ) - hppa? ( savedconfig ) - sparc? ( savedconfig ) -" - -RDEPEND=" - !sys-kernel/gentoo-kernel-bin:${SLOT} -" -BDEPEND=" - debug? ( dev-util/pahole ) - verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 ) -" -PDEPEND=" - >=virtual/dist-kernel-${PATCH_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 -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \ - sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz" - cd "${WORKDIR}" || die - fi - - default -} - -src_prepare() { - local patch - eapply "${WORKDIR}/patch-${PATCH_PV}" - for patch in "${WORKDIR}/${PATCHSET}"/*.patch; do - eapply "${patch}" - # non-experimental patches always finish with Gentoo Kconfig - # when ! use experimental, stop applying after it - if [[ ${patch} == *Add-Gentoo-Linux-support-config-settings* ]] && - ! use experimental - then - break - fi - done - - default - - # add Gentoo patchset version - local extraversion=${PV#${PATCH_PV}} - sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die - - local biendian=false - - # prepare the default config - case ${ARCH} in - arm | hppa | loong | 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}/${BASE_P}/arch/powerpc/configs/pmac32_defconfig" .config || die - ;; - ppc64) - cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die - biendian=true - ;; - riscv) - cp "${DISTDIR}/kernel-riscv64-fedora.config.${CONFIG_VER}" .config || die - ;; - 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 - "${dist_conf_path}"/6.12+.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" - "${dist_conf_path}/zboot.config" - ) - - kernel-build_merge_configs "${merge_configs[@]}" -} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.102-r1.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.102-r1.ebuild deleted file mode 100644 index b00545a7bfb3..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.102-r1.ebuild +++ /dev/null @@ -1,173 +0,0 @@ -# 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 verify-sig - -MY_P=linux-${PV%.*} -PATCHSET=linux-gentoo-patches-6.6.102 -# 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=g17 -SHA256SUM_DATE=20250815 - -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://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PV}.xz - https://dev.gentoo.org/~mgorny/dist/linux/${PATCHSET}.tar.xz - https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz - -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz - verify-sig? ( - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc - -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc - ) - 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 ) - verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 ) -" -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 -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \ - sha256 "${MY_P}.tar.xz patch-${PV}.xz" - cd "${WORKDIR}" || die - fi - - default -} - -src_prepare() { - local patch - eapply "${WORKDIR}/patch-${PV}" - for patch in "${WORKDIR}/${PATCHSET}"/*.patch; do - eapply "${patch}" - # non-experimental patches always finish with Gentoo Kconfig - # when ! use experimental, stop applying after it - if [[ ${patch} == *Add-Gentoo-Linux-support-config-settings* ]] && - ! use experimental - then - break - fi - done - - 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" - "${dist_conf_path}/zboot.config" - ) - - kernel-build_merge_configs "${merge_configs[@]}" -} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.102.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.102.ebuild deleted file mode 100644 index e634cc5d0214..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.102.ebuild +++ /dev/null @@ -1,173 +0,0 @@ -# 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 verify-sig - -MY_P=linux-${PV%.*} -PATCHSET=linux-gentoo-patches-6.6.100 -# 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=g17 -SHA256SUM_DATE=20250815 - -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://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PV}.xz - https://dev.gentoo.org/~mgorny/dist/linux/${PATCHSET}.tar.xz - https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz - -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz - verify-sig? ( - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc - -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc - ) - 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 ) - verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 ) -" -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 -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \ - sha256 "${MY_P}.tar.xz patch-${PV}.xz" - cd "${WORKDIR}" || die - fi - - default -} - -src_prepare() { - local patch - eapply "${WORKDIR}/patch-${PV}" - for patch in "${WORKDIR}/${PATCHSET}"/*.patch; do - eapply "${patch}" - # non-experimental patches always finish with Gentoo Kconfig - # when ! use experimental, stop applying after it - if [[ ${patch} == *Add-Gentoo-Linux-support-config-settings* ]] && - ! use experimental - then - break - fi - done - - 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" - "${dist_conf_path}/zboot.config" - ) - - kernel-build_merge_configs "${merge_configs[@]}" -} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.103.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.103.ebuild deleted file mode 100644 index ae18c6e47094..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.103.ebuild +++ /dev/null @@ -1,178 +0,0 @@ -# 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 verify-sig - -BASE_P=linux-${PV%.*} -PATCH_PV=${PV%_p*} -PATCHSET=linux-gentoo-patches-6.6.102 -# 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=g17 -SHA256SUM_DATE=20250828 - -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/${BASE_P}.tar.xz - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz - https://dev.gentoo.org/~mgorny/dist/linux/${PATCHSET}.tar.xz - https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz - -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz - verify-sig? ( - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc - -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc - ) - 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}/${BASE_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 ) - verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 ) -" -PDEPEND=" - >=virtual/dist-kernel-${PATCH_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 -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \ - sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz" - cd "${WORKDIR}" || die - fi - - default -} - -src_prepare() { - local patch - eapply "${WORKDIR}/patch-${PATCH_PV}" - for patch in "${WORKDIR}/${PATCHSET}"/*.patch; do - eapply "${patch}" - # non-experimental patches always finish with Gentoo Kconfig - # when ! use experimental, stop applying after it - if [[ ${patch} == *Add-Gentoo-Linux-support-config-settings* ]] && - ! use experimental - then - break - fi - done - - default - - # add Gentoo patchset version - local extraversion=${PV#${PATCH_PV}} - sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die - - 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}/${BASE_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" - "${dist_conf_path}/zboot.config" - ) - - kernel-build_merge_configs "${merge_configs[@]}" -} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.104.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.104.ebuild deleted file mode 100644 index e3a94ef112dc..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.104.ebuild +++ /dev/null @@ -1,178 +0,0 @@ -# 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 verify-sig - -BASE_P=linux-${PV%.*} -PATCH_PV=${PV%_p*} -PATCHSET=linux-gentoo-patches-6.6.102 -# 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=g17 -SHA256SUM_DATE=20250904 - -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/${BASE_P}.tar.xz - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz - https://dev.gentoo.org/~mgorny/dist/linux/${PATCHSET}.tar.xz - https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz - -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz - verify-sig? ( - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc - -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc - ) - 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}/${BASE_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 ) - verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 ) -" -PDEPEND=" - >=virtual/dist-kernel-${PATCH_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 -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \ - sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz" - cd "${WORKDIR}" || die - fi - - default -} - -src_prepare() { - local patch - eapply "${WORKDIR}/patch-${PATCH_PV}" - for patch in "${WORKDIR}/${PATCHSET}"/*.patch; do - eapply "${patch}" - # non-experimental patches always finish with Gentoo Kconfig - # when ! use experimental, stop applying after it - if [[ ${patch} == *Add-Gentoo-Linux-support-config-settings* ]] && - ! use experimental - then - break - fi - done - - default - - # add Gentoo patchset version - local extraversion=${PV#${PATCH_PV}} - sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die - - 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}/${BASE_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" - "${dist_conf_path}/zboot.config" - ) - - kernel-build_merge_configs "${merge_configs[@]}" -} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.105.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.105.ebuild deleted file mode 100644 index 3fcfc0dcf357..000000000000 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.105.ebuild +++ /dev/null @@ -1,178 +0,0 @@ -# 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 verify-sig - -BASE_P=linux-${PV%.*} -PATCH_PV=${PV%_p*} -PATCHSET=linux-gentoo-patches-6.6.105 -# 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=g17 -SHA256SUM_DATE=20250909 - -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/${BASE_P}.tar.xz - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PATCH_PV}.xz - https://dev.gentoo.org/~mgorny/dist/linux/${PATCHSET}.tar.xz - https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz - -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz - verify-sig? ( - https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc - -> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc - ) - 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}/${BASE_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 ) - verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 ) -" -PDEPEND=" - >=virtual/dist-kernel-${PATCH_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 -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc - -src_unpack() { - if use verify-sig; then - cd "${DISTDIR}" || die - verify-sig_verify_signed_checksums \ - "linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \ - sha256 "${BASE_P}.tar.xz patch-${PATCH_PV}.xz" - cd "${WORKDIR}" || die - fi - - default -} - -src_prepare() { - local patch - eapply "${WORKDIR}/patch-${PATCH_PV}" - for patch in "${WORKDIR}/${PATCHSET}"/*.patch; do - eapply "${patch}" - # non-experimental patches always finish with Gentoo Kconfig - # when ! use experimental, stop applying after it - if [[ ${patch} == *Add-Gentoo-Linux-support-config-settings* ]] && - ! use experimental - then - break - fi - done - - default - - # add Gentoo patchset version - local extraversion=${PV#${PATCH_PV}} - sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die - - 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}/${BASE_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" - "${dist_conf_path}/zboot.config" - ) - - kernel-build_merge_configs "${merge_configs[@]}" -}