From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5923D1581D3 for ; Thu, 30 May 2024 17:44:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 856F2E2A59; Thu, 30 May 2024 17:44:05 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5E16FE2A59 for ; Thu, 30 May 2024 17:44:05 +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 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6676533BDC5 for ; Thu, 30 May 2024 17:44:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C9E85183C for ; Thu, 30 May 2024 17:44:02 +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: <1717091032.6bba7ceb8e0694e128d61793e708b93369add704.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/vanilla-kernel/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-kernel/vanilla-kernel/Manifest sys-kernel/vanilla-kernel/vanilla-kernel-6.8.12.ebuild X-VCS-Directories: sys-kernel/vanilla-kernel/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 6bba7ceb8e0694e128d61793e708b93369add704 X-VCS-Branch: master Date: Thu, 30 May 2024 17:44:02 +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: 93ca92fa-5fe5-4529-b05e-5b8d99635078 X-Archives-Hash: dbb87c318d594f06afcf02cd86b03106 commit: 6bba7ceb8e0694e128d61793e708b93369add704 Author: Michał Górny gentoo org> AuthorDate: Thu May 30 15:42:57 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu May 30 17:43:52 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bba7ceb sys-kernel/vanilla-kernel: Bump to 6.8.12 Signed-off-by: Michał Górny gentoo.org> sys-kernel/vanilla-kernel/Manifest | 6 + .../vanilla-kernel/vanilla-kernel-6.8.12.ebuild | 143 +++++++++++++++++++++ 2 files changed, 149 insertions(+) diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index c5446ed52ac8..38c41b72c65d 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -4,24 +4,28 @@ DIST kernel-aarch64-fedora.config.5.10.12 223184 BLAKE2B a0246dac2f7a4ad6a55b611 DIST kernel-aarch64-fedora.config.5.15.19 242615 BLAKE2B 94e59440681535e38137b71814e1ae53f57a347f62cf31e0c1c8571ae43d9ae9be9957743c8cbc9ec74850c964eaabefe6799a28bc311ea7b99ee31391b47fb1 SHA512 fb77d3b73a215f97d70cd6d8c96ed20e497786b99ed7d7a7f2ed60cc1251289c1a4c7e058c41b5efac62e4a9b4b3d917dbdb11585955bba2b6584981430f4ddb DIST kernel-aarch64-fedora.config.6.1.7-gentoo 252811 BLAKE2B f6bad0d23132bf0dfbaa25db928a95f39763b6500fd1df9b4aeca4351e3e75f185891c0df96b111ad840e4bac431d74a9b11e7344e766ab49715663c89e4dbfc SHA512 41ebf195d8b656801d49c6bb693ebe1404b6725d70d88d93a75bc4af230030d65ef0701ea931846b022a3c598dcca068fbc38ecf6d064262b3f5b88e57060437 DIST kernel-aarch64-fedora.config.6.6.12-gentoo 271041 BLAKE2B 5af7c2f57cd6cd9230d9ab1a539a4b12b02cfdd777f5921b2d69329b171060a8085909a60eed9916aea504e8d9c9d1e907a61f0c6681ac75d5c64864052f821e SHA512 f744444f2840020dce2dc8473e3e562fa53ac1c34a641a9f322c2c7efd8fc4d9b3677479d3a31e705fa60beff0b1beca79ab78ad7dd4b6633d4499bebbfc76bd +DIST kernel-aarch64-fedora.config.6.8.12-gentoo 277881 BLAKE2B b9be1ed7eb5f88c747c356410a8d9a0beb516a2793ff2956e88186c320727f16940f97fc660478a2690422b237f2f0ba92b299353699867766ea4901eaac05cd SHA512 ce0993ffe6d7d6e7edfb19b2f857a085ec72fffbd0ac77c89afbf81c08eded20ee764d881dad7f55cb01507053acda7b11b3b3e832224586fc730aa1731bf6c0 DIST kernel-aarch64-fedora.config.6.8.7-gentoo 277695 BLAKE2B e3f4270b1543b96391229d673a1dc097975b065b1ce5966ff3886e31e449cc0542c986085feaca7030e41fd0acad2b6921115c4d0f81234cf9f72ce4bfe84696 SHA512 4721995bd2100e2d90f67a3c21db3a5507a3001f5f409b2894fc1a9cad3ff159e1784d06aacc0254229aff40598f78e0a51355b6cfc5cf860bdaf4e8a30a5235 DIST kernel-aarch64-fedora.config.6.9.1-gentoo 279240 BLAKE2B d25b0f719b05d64560ae0431fd5d8b36764cb6a8698d2c704c9a929199ba9dcc6480ab0313127720d21aa92094ed8b1f5228bff5c3569aa3ffa1acc29bb7f691 SHA512 348db83b70e05048f69d8acab34b569dead90938d45a6134f92825568813db05a2516f0d84cdd0c747340b697d77cf3183fa2f38fa5e862d32b318c118b3e497 DIST kernel-i686-fedora.config.5.10.12 205412 BLAKE2B 92c715b7e2cd7dd74da7970c05981f520597d3e403ce82c8cf4eee31c9f1f50b638792a6bdb256ef5bfdc99f1bcd594e819e8f44dc6febb2ad9a854bad817f2b SHA512 69d8db11723ae1b40fdedfaace74d15bb63198cdb0485e0a1e5eba95b31217110c93a93e39cc7370cf45f1d3a8bc7f75ec096d6db5ea9ecb28ac6b56702ebb10 DIST kernel-i686-fedora.config.5.15.19 222233 BLAKE2B 9e0f4dd37058f59610e46a87d3165039e76299d3c186fbfc3312101bac1b8b198de404075f5bbc6f5e2ba04cfd45f9d02bdf94b01c3ed11b9275f37f11ee7617 SHA512 49ffc39de86763e707a5c0c07c1367d34e9249615f29fdf97904d7b61a375a86fc4ba37a2f02b5f61e4c76ad65d9ba12716d2523af6faa003f6336d7ae61a953 DIST kernel-i686-fedora.config.6.1.7-gentoo 228053 BLAKE2B 1b06ca68465d7833905b6236a6ccf9a594f44613cbd102990c1667c1ece53ad982fa3abbfe475333e3297331ce1cfadf27c00c3e7de6293e213278e8ca97cd3b SHA512 1ed70eb5254a04d99d28ad901d4556dfa7e8ec8b739a0a33040315718effe9348e75ca8ac19d3b33fa7b3dcad9b4bb0531075692087c0dbe57ec6a4d873a4b27 DIST kernel-i686-fedora.config.6.6.12-gentoo 242515 BLAKE2B dbb4df93a5c8ee34d687262cced152a07f412a89ef2e8122429477633424fdac80809ed57a5a6de72de05313ec91f266d37c3494426099621d047c0561ccb57e SHA512 a65fe3299b6d8f89373937d2a782aa1469ebf18954b00bbf2798cee952b9946d7fead795388c079cb508f6d431e49b2812fb6d845c8a0e3861a4a3bd11e81968 +DIST kernel-i686-fedora.config.6.8.12-gentoo 246738 BLAKE2B 0e3c36f397e824254308d810b6ee6b3952f051b262b0caa881d8a169d8279d150ee9f573bfe03fc2374ae5adb42c764c479787f906f08674ac2fdaa16c3f8cc4 SHA512 73fffc9d9cf64309f3cac562a33b583dd1ac15bd568091d4d4f8fcc2433596a12d92c83880a02fd07d26141d092682ea8b57d9d59905dba408178a54d4d9a57f DIST kernel-i686-fedora.config.6.8.7-gentoo 246668 BLAKE2B 4726a7dba114cc320832d137306f072d5d69cc52aba7ffbc157858e43c6405c71fdec9812eba4f6fc98f169e156785beb54c8cedf70e56bbd8f353dd13692f29 SHA512 9009adff76b1f42c5188608ed29e227d44d55c55c11a0f31c4d60e0e60773e5a3bb527a827463ae1c7f4d37656e0e857d673cb8325b55c6a5c5e08c830024d90 DIST kernel-i686-fedora.config.6.9.1-gentoo 248714 BLAKE2B 60b8cc73282abf31bf3267a1dff25a43ae1a7bcb35af7a49650cdcc9572fdd35b5d9d4831492e5368e4245831cefc87ca1e5c66ebdc6b2bd23c1737b54bff28b SHA512 514b2852f7ae07ee171fe7bba9af01d243ac585127d7f90972ea860324fe25c08a5f27477a5f0e8bad15066e3e3ef7e930c415141c8281c8715491a0507f1cd2 DIST kernel-ppc64le-fedora.config.5.10.12 192105 BLAKE2B 889141debb0656a358a3381bae14b5216b982acdfce0bc758f9445c16647807a68a788fb290199c2a1a23627bda1ef4c9405b3f5ac2a4176d1d2b55c71fb7db9 SHA512 3ab0f1401d9f50a61477c71369dede438f575d9d2c3a2f5c2cf36d624c2b59a938efca9c981b075511b3860c983eaaf5e5a9f877d659277f09ceba45edd43770 DIST kernel-ppc64le-fedora.config.5.15.19 213339 BLAKE2B db6bbc9f402b8b48a2441e39d1a78dc112656ae842bc5594065cfd2ec3f6d462e4bde200e8736a70192af35fb3a5d1fc42683783a5b7620881f3a95bb0bc5f4d SHA512 b43439c24be8fa8bdd17d4c0beece799544ae45b2c289f0202fa5eb7a52dce0165a0cbc924b0decf877582af9688efd675cbfbd2313ff85fcc2c8563bba4b1ad DIST kernel-ppc64le-fedora.config.6.1.7-gentoo 218278 BLAKE2B f4dda4430e9801c4660be4bbf6e4b37052e720656e77c928adb7176ff3dba55feb2fe66dd564d41a181809488941cf392ec9c94d786e4a3d813fbe5d683d305f SHA512 a5e12ab1045fae61b494938047cf1c2a3c34693d3d242968e4ab564a012c70e6d232b9d5333347f5ba114a64bb59dd96919b38c5a1327fb8c5154ef40ad28d2c DIST kernel-ppc64le-fedora.config.6.6.12-gentoo 232147 BLAKE2B d67c2ab2d089ecdde3879129d2b1f85a592adae811ed053d00d4ff120e6bb44546bb41d74817be558adb1d669d06f3dd50e6ea542c8a9c2f13672f77f4e4eed5 SHA512 b130b4c57959c0f7be983334b08354640d5e2946bfdd956d6c5b895f816f6177d5fa4bb1c4382cca5c4dd4723aac42e9e89a002b71d86f4eb30f755008f8f9af +DIST kernel-ppc64le-fedora.config.6.8.12-gentoo 234243 BLAKE2B 9ec10391d522bc3962c76ede4eb31a4435228a4902b99c39500fe080124e46a275ce1177ee9bbf972f55acd982c967513369a19fcf98b9b2a86b420290f7eb5e SHA512 bd40d51e2a27021879c36cf3a36a9fadcd8249f0e30717068126f31f1593aa85e79a87a27b48708adc59c883d26d7a35146d46aef7b98b909c4ec8ea75376f41 DIST kernel-ppc64le-fedora.config.6.8.7-gentoo 234240 BLAKE2B e9ab5506caf4ed1df3a746e58f6698963a27df7b343fff2b3678f21f630014bcba1f23bef9968bad253025093b0cf2006ea7fb067e7394a23c7f9c1eaa110663 SHA512 44dc12c0e9c62df264b86ffff5c4d42c67ceec2e0a336a4dcaf6f2de5914e230a0919a55c2152cd2f6ad7b57479dd695ff77df6755e84c49580304a93a2027be DIST kernel-ppc64le-fedora.config.6.9.1-gentoo 235130 BLAKE2B c6469868de904d9d4740f5d5042c076c0bdfc4540e0fb43d6b7acb855b6be25352d2d445b71081603d1e5cb93f75a757cdced6b9a1680476a35e5b0a961f503c SHA512 c2fe8f693e869d7e0bb458cc6d5e2578c5b3a60c2a88c264088e830a636fa0d6429fcc2639b9a1e8dd5cc9b5330cb3495389818fb465f64178fe247486d5abe7 DIST kernel-x86_64-fedora.config.5.10.12 206357 BLAKE2B 0eda9d4f3f973336cabd67c1ac78f100aabde926354743e8dcb7ff84496f0de49210d45f99bc850a2096078b0b4687aa7fd965d999248559506004f2b29dac0c SHA512 b12f43d3c1a52a4915cd73db98874ce9ae6c425672c0f1c19ed1b1101341c868ebf1c9620bef5449752ec0d7342c1ce38fb77779d0f89b9267096a605ebf7a26 DIST kernel-x86_64-fedora.config.5.15.19 223286 BLAKE2B 239995703c01dcb6d179133dd115bc0a57872c07d7a08afaf4d92cf6d78f0c17b19487b5b399ac7fdde5d460fa7931628147817a569fef2c3a62951c96054bdf SHA512 9bee4aff7e5ef4ada57bee7496aaf47b8fdd5c936c4c9b580660d130db0678eaecdebdbcab0dfcaf5c17a71f6419069840db10f5886806b6fc810f8a3619554f DIST kernel-x86_64-fedora.config.6.1.7-gentoo 228685 BLAKE2B e68236ccc1d51b2aff850eda9f3197b7ea95b8a88716bc7b07dad30348a86fdbb99a948060300dddae73ca82267d851d357f1c9547a9dcefae1364deebdbd124 SHA512 42bec2ddb9cf7eb6e84bbdeb23eb98dc11c9cea41f6134b776010c6b36833b520a290f0ef0145379de15c7f7834398fa5e3aaabd7258d7d4e89567faa09eeb4c DIST kernel-x86_64-fedora.config.6.6.12-gentoo 243607 BLAKE2B 7e670d37c6471e50aa0ba395570cd0173af0210afe63faa48d7a147327110652e3aab5c339cf10ed22a6a20e81e505aee84311beb21fda3eb577e06ea55ecac8 SHA512 c484403a60670dd006ecbe65240cb00d97e8b3fe22d1169c5b6ccb92bcdbddb3ecd474d2b57880b30baf6a38bcef11fc8d56b8b0b02fcddd859833c3640cdc9c +DIST kernel-x86_64-fedora.config.6.8.12-gentoo 247787 BLAKE2B 2563fc5a02ad499f2f96c0219015b4cbdfaed79500370c4274172b9842efcc8679b9c25d717850a181daed21333a8643e8870213c91dfb2e1bd24de185b5007f SHA512 55a4415dde417b13cf22c8c9ea529bcda1d82a713f831be6e350bb82d0a7cc50d7a6ed64902143c5cdd351e3f0dc4d0cade268f64a25b826c7b5be5e4b74dd4e DIST kernel-x86_64-fedora.config.6.8.7-gentoo 247759 BLAKE2B 1005d5b08b75419ecfcca207b407ec3a80e644d8b8feb03ce70880de79ea4ff17f56175b7c3c4ffa8279ca42edd154161ff10e89fbefc43d71f4c0eb614a094a SHA512 fd2d6ef4d2b426509c6ad42cf29fe1663a95a9ef4277e9cf300c825e58689e2eabd37932c55ebabc11cfc2694423b75cd215f206ee925ae8945ead61266c02cd DIST kernel-x86_64-fedora.config.6.9.1-gentoo 249762 BLAKE2B 077e4e37ac8c4287342106ed9ec4319f8db41b9293e72e9b8f7cec56a346b4ae42640ee02526108a3384631f140922c1eb5000a50bd8f3ade43bca4903036737 SHA512 9051567f6d68443d8b2525d203d827f3856e95bd721ec3bdfcc8865696152b65fcee114ca2629906e66abdca7dcc7549f79d8bc6574c7816fa08f9bf25779c8e DIST linux-5.10.216.tar.sign 993 BLAKE2B 7d049ccef5511bf9f57094e768908da7dbc77b8b4d15eaea56610678d4212935f3ac5cc5252983d4d2755d1fc3b7ca46dc4f2705ef60202c478d1f90385615f5 SHA512 54679b6d929c44f96ab2e04ff9753b5512a5f26d9fbcee012dbae47de2eecf2fad44964a2bba7d4db4169563f41f3219713d9fec5cdb6f9b9a0b67feeeee5355 @@ -52,6 +56,8 @@ DIST linux-6.8.10.tar.sign 989 BLAKE2B 4c38e702a545742f56e899f0905734692b7157c1c DIST linux-6.8.10.tar.xz 142586612 BLAKE2B 1e3fba4cdbe1c3d4f0ea56f8e54242e0276a3ae47e5dc97152d0afd7042a02ae9b57d6808ed8482358eb244eecc73ed41f7411ab50d4b462fc776b68c293c30a SHA512 97869a0271ae7f36a16e0a73eba3962fef96129bc33fea98909020127336b2cac54184cac1fcafacae2e4fa1fa24fa27dd68a2d43e4c588636782fdaef6b9fff DIST linux-6.8.11.tar.sign 989 BLAKE2B 4a0f5f89f9009fc8aa9dc363832e80dbf897ea42107952d05d5dff849f2098e9b52ab49cf938fb77ce5b136b837e29a146db798ff2f8457ac303adc06d218fe7 SHA512 2e7066ac30a066e0c4b4672411d8adf0ca9a62c28470cf38fda84ec0a0eb50eaf5a48329c0eb8e4c957ae9708aa0c474d1573c282073bcde9a58ea122975f63c DIST linux-6.8.11.tar.xz 142569852 BLAKE2B d9bf3665bff55b9242b24f9cce835056bad0abfd6ef998f63ee56418ee76a67ddf8bd5af1a1f02a4767a2af7a3f8c19f61f079e4991bdf4749fcdd04d7fdb7b6 SHA512 7885a8cc5b11eae67f48dd95d364a782f07fdfa4d2a843f7e2b009a266a1f200ef3c4c495e59710db40eea4fed5b7a5443c4e5f0c22f5fb442f87f44c7325549 +DIST linux-6.8.12.tar.sign 989 BLAKE2B a203a69d5b5b80a7b8057e8ddec9fddacbbebdefd7f26c300f4a53840ccc341e3f0801f066304a2f3445d322a0d7f373d4ea9a7db1dbacf9120e8ba2dcefdc95 SHA512 1666430011e175b16c5e411a866436d4e86429b0dbb8ca35bd70f40c59878ed2ae871110a1404d1d9996eea89bd7681b21bfdeac75a590384266f1670a87dd44 +DIST linux-6.8.12.tar.xz 142594556 BLAKE2B 45d0b9e5967aab2e38571984ac73e6caa9fe3f9d06baed753c9fcbd9679d3cdd921d42e2b76027bdfb6896add5f4d89aba587a7b841f21540ffe8aadb6bdf259 SHA512 95c4c814a0257ae4678889249cb36867451e59e106d615cdcc1be929fbd6f44a925db98ee6bf1c01ae59f976a66e481231e6131348dd7da60dd08a7901dfeab9 DIST linux-6.8.9.tar.sign 987 BLAKE2B 0fc69e60bae77731897380cf929ae43785e0b7db7e68e761e53894b288a6a80fbf5ad888b5c0312f601a56984ec0b9206901d7c02b202e73dc0d19e17212c81d SHA512 18730f08135b06018d1f7757e1332dd0f20761363aa8bea7d49734a22a9cb27067b8052849cd2180299a4323786f7dc0bcd598536e8ce5e5042f2f841589daf0 DIST linux-6.8.9.tar.xz 142582332 BLAKE2B 0305b6636a4e382855a2804cedc3984f1e891b26b24412e3533b1f29a07459d39be5121d4618da20098623290e922d502b7ac1b774f39e732f23a778a4b5b5be SHA512 67056eae13be9130e11ea7e4d394d1f0b6b1dccc4f080f72c136870d4486fdebc2c315d149ca4f1e57af4c79dedf849e31c439426166544691508edafca3d350 DIST linux-6.9.2.tar.sign 987 BLAKE2B fd066ec190b29c5d278011962454eaaad990dff0dafa105431f8f408453079594f8291b6a21027abc738b366b800e3f638b0ec74e9cf3e90f16ffbef505a6726 SHA512 daed5db6aebcc922f15ca5d89a745b92b581a3a90022ee73c38ee3f3573a795beba2cbdf2796632bddfa2900efa5a2d9327e51428672cc2a614ba11ca4296fc6 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.8.12.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.8.12.ebuild new file mode 100644 index 000000000000..27ee0dd57d73 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.8.12.ebuild @@ -0,0 +1,143 @@ +# Copyright 2020-2024 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} +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo +CONFIG_VER=6.8.12-gentoo +GENTOO_CONFIG_VER=g13 + +DESCRIPTION="Linux kernel built from vanilla upstream sources" +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://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/${MY_P}.tar.sign + ) + amd64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~x86" +IUSE="debug hardened" +REQUIRED_USE="arm? ( savedconfig )" + +BDEPEND=" + debug? ( dev-util/pahole ) + verify-sig? ( sec-keys/openpgp-keys-kernel ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc + +src_unpack() { + if use verify-sig; then + einfo "Unpacking linux-${PV}.tar.xz ..." + verify-sig_verify_detached - "${DISTDIR}"/linux-${PV}.tar.sign \ + < <(xz -cd "${DISTDIR}"/linux-${PV}.tar.xz | tee >(tar -x)) + assert "Unpack failed" + unpack "gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz" + else + default + fi +} + +src_prepare() { + default + + local biendian=false + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + hppa) + return + ;; + loong) + return + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-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[@]}" +}