From 0ebcd2cbf178600b5eb36b2f24cdbb3d2f4a9000 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 13 Jun 2024 00:08:30 +0100 Subject: gentoo auto-resync : 13:06:2024 - 00:08:29 --- sys-kernel/gentoo-kernel/Manifest | 9 ++ .../gentoo-kernel/gentoo-kernel-6.1.93.ebuild | 146 ++++++++++++++++++++ .../gentoo-kernel/gentoo-kernel-6.6.33.ebuild | 153 +++++++++++++++++++++ .../gentoo-kernel/gentoo-kernel-6.9.4.ebuild | 153 +++++++++++++++++++++ 4 files changed, 461 insertions(+) create mode 100644 sys-kernel/gentoo-kernel/gentoo-kernel-6.1.93.ebuild create mode 100644 sys-kernel/gentoo-kernel/gentoo-kernel-6.6.33.ebuild create mode 100644 sys-kernel/gentoo-kernel/gentoo-kernel-6.9.4.ebuild (limited to 'sys-kernel/gentoo-kernel') diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest index 305c80c0bd34..ea6239976aa8 100644 --- a/sys-kernel/gentoo-kernel/Manifest +++ b/sys-kernel/gentoo-kernel/Manifest @@ -14,6 +14,8 @@ DIST genpatches-6.1-100.base.tar.xz 5230656 BLAKE2B ce1e60a36233dfb26eefad5351fb DIST genpatches-6.1-100.extras.tar.xz 4048 BLAKE2B f8266ea5ef27224671f17cce493a10c02a0b93e4b904b608ec9953e7fdde42f0e89419d7d32f926a400bdda952aa87be2d9c66896e6fb120fdcd92b6473d5ddd SHA512 c044c5fe35ce29113d127b0ff34004d7125d45433ddbb3943549d0eae657a177a1bf037291c151b2ba3a9d35a89663031afa11f0bfd114531aa5bc54894cbb99 DIST genpatches-6.1-101.base.tar.xz 5248940 BLAKE2B af64a685e905a51004350b263e6d5bf9078518a979bb5d192752672d15f54a1dd330ec71c33dde0dc6afce11f5d53bc62837ba400314978d740d4adfa3f32778 SHA512 fde5c4d51ba8cb095743d936e6b7e31ad4b7b04b46db66a4746d8fd03205a0b18a17e4d1d08210beaaff13557fd47a9752cd36a28abf19d879639c175cf755fd DIST genpatches-6.1-101.extras.tar.xz 4048 BLAKE2B 8664a60521d881f8e80103f2509831e35763c891cd589c907979d49d7af96d699fec7f9e8c3b8bb90bcb442ed2016890769f53d4ff205d76d25521094b24091f SHA512 79276866b12b61d11109c27ea31eca847374a3938c20e4a07ca2a6f63bc62ae0c89a9a96e65227ab123fdc85c171cfa100261444fb9058a30d70b6ce4c175dba +DIST genpatches-6.1-102.base.tar.xz 5362424 BLAKE2B 74e978125492fec046201698208fa1e7b28af5fbdd89f2a1225de522313d92b7ae196771f922164e832b73e8c6f0fca498de10147f705a2a484a3a324ad8a198 SHA512 0e5725a4f5bf7aaf5dd24b185ce3037566032f6726cf3b288b490475bc95ff67c9d5d45b5f3ec4fbeebe6d827ff569eeb9ac5f819c8646fa838cb842f5b36091 +DIST genpatches-6.1-102.extras.tar.xz 4052 BLAKE2B 9820e9c0f2e7bf2c64f3195c3491596430ba901951aa3e9174e799100310d038a20f8f82f0ece1fa397daa45fb3adaafc84c31d22367065e05fa7b2c0ce26f87 SHA512 2fadc41f696940abc7f7c02851542c42feff71e81910d779bc795ab2969a0885536054396766de2d071d289a372c79608c75286ea2009a774976da826b885901 DIST genpatches-6.1-99.base.tar.xz 5167668 BLAKE2B 0dfd80fa50e373b99b3ec8c2adcc80eabaa0df9606831465c2afbca34cc195f41902a5ad4472b822eb2e011356c51b257a39294ae1d123c7384f915bd0a6249a SHA512 39116b71b7da155596a158ebb1aeafb029bf5c0d1ec983efbbdb323af61fc505c3a67beac4e6f888b3b673cdc271ef1dbc3090580aa89f573a652ebe0d501ccf DIST genpatches-6.1-99.extras.tar.xz 3848 BLAKE2B aaa18ac05550c0694e3a8051e41acbf7b135d593dbbe2ebf8f757996502d1721e96cf11edb5ae87337667f340640ee1ca55de0a8266b4a2fc929dc80065df746 SHA512 0528cbbeb530d0765af843db8479ab6ce011df60be5c3bdc913c81f1299868f772e9d751b973edd75d7020cef7ac0f5645528e50b87f4ae59fac2392cf86137d DIST genpatches-6.6-37.base.tar.xz 1986828 BLAKE2B 003cfae8adc04f3ea319ecff4344662e27df5d501bcdcb1801d6b429ac85a60834a896a9222e0b9ba7c173376fa137a2470cb04f08289abd6805a2f0b07b0b0e SHA512 e21bc0eac8103091dae7d3e5d29ceebb4e47eb3e1fe63d577b0d000444837d723568c13bfac4f5deb61132dc3adc153e8de4661a15e6880b38fb097bb143bbf1 @@ -22,6 +24,8 @@ DIST genpatches-6.6-38.base.tar.xz 2066552 BLAKE2B 61205dc2b5d17f15af23d8eb8af07 DIST genpatches-6.6-38.extras.tar.xz 4052 BLAKE2B 7d25eaaf329cc043fd5189114c5d100f2a3dad9a97b0c87cfc9541ff95ffeb9e3a8a723e5c4fa1f9241c4fd67aac5aa1e4aba96f5cedad5609463b96bc272da7 SHA512 d5957d7ca9718bf87621fb4200b5bbc4e1457fc7fda1500714fc88730a4dfd4dce81e386bd2a2f88e02aff16c46e35402421439e6393a5ad15848d26d9056b44 DIST genpatches-6.6-39.base.tar.xz 2117476 BLAKE2B ffc2263d43bf5e87e3a57c0370f1cd1ecfac87ddaaee1ed3213f36bedbe4441ecfb062abebd1312572971e9cc9e5a0e8d3e16c7af98862b087906d61fb4e1e10 SHA512 6db496702e671459f3b054ce7068bfa48fc3b2be6bd3cbc3b158f7d4e0a2fa2310b875e46d233adea870775358e6e9b4f19fe8940d146575df9a41bfafeb1ded DIST genpatches-6.6-39.extras.tar.xz 4048 BLAKE2B ee5b09ec6303feb32fcd38a500900d6c96922a7a4032bea83202d25f914f2bb55d8e2e8e8d3b34911d0cc6755dde1e4382365f7351ccffe9901a0f6f671554c1 SHA512 d73671c60a9b57de492432eac1eac98178e1e3cd6fc2b68f4aaa24e6dc0fa4345a91633bd400f78a982e288033c69e0d28abbffc90ac2bdddb3430d2ab3bae91 +DIST genpatches-6.6-40.base.tar.xz 2364536 BLAKE2B 53bf04c020921c8d0c2e7ff8466db4cf5078ac8985e95b5b94c5fe9e824747d66344acd5d8675c42364704dc34268cd636fe10bcb02b657cac889ea8d0b4ae48 SHA512 c5852fc2db474fcf697818cec947cfcce0dcff834c57c042c42321889839d94c26d1994dfc275e64e0acba3055c90f0f0cc4e2a07c80a71a71f3ba99f6093401 +DIST genpatches-6.6-40.extras.tar.xz 4052 BLAKE2B e3e882483caa9222b702b1387c1cd5a1888b6466611b3dca23f9368f423040f27006c8889e477a4ef52719213433e4ad6187322e80ea236ff390aa306b4a5e33 SHA512 509bfb18a8218c6a7eec28543cad0db44b5a693c50465dfda09b92dd176a5102c3c2fd064a7426c0b33d4acd1dd58b77483babcd44389999bbfbc5757cd0fac9 DIST genpatches-6.8-12.base.tar.xz 687664 BLAKE2B 3c27ee511c258f3659d7f8cd5b6d470ffa10a2fc95bd536b272e0bb20c368dfc8c512f23fdc025e85ad90d6f628a58c80d8d15ec0ef8898caf7461162cf2dec2 SHA512 cd845b49341366190834b9782c9ffa270608a35e616ff483b40094913f6d01809421b80a7830117b606e57e6bb0ed9b0ed6dc14220826364fc9d2ee6a5916ad6 DIST genpatches-6.8-12.extras.tar.xz 3736 BLAKE2B 15a15ca3097dc42ac5855e59fe61c961854c1afa8adc719c761ac58bb7c869d3240c228b0963a91927a9bc0af6998b4c40e4d286faf7d2defc2f21029d11c114 SHA512 4f1c8c07e81c0d1ed110bd4512d2a16c3e202c47d8ab6bedf5213cf6c2f8675e9b543e52dbce50fbbf550d88252e2c1c19c2465ddd7907f11a2979fa92466a7c DIST genpatches-6.8-13.base.tar.xz 781972 BLAKE2B 7e8d26cca0d5fff4e1dbbd7088cb88ca705fa80df33437e1d9ca16305e162757010fa5c3ae5c869c20ed8a3bcbc72f89e055b5b8af1bb9110411e04e920e19d5 SHA512 e57405fe56630baef2d062973576b33b1528640491164f1cfd64bf230a9f2afb0c75e2ac6bfab2f085b4b7aee8c138315a9cfe56abc52e7c1a5385e80eb66ef1 @@ -34,6 +38,8 @@ DIST genpatches-6.9-3.base.tar.xz 22900 BLAKE2B 6cc860e07ef37d83920accee580c0dc6 DIST genpatches-6.9-3.extras.tar.xz 4052 BLAKE2B 5c97314b601fac604449ffd391d3c1389bec1a5c5bebc3a7fc3678c44de8bee31431f01567ea7b239ac62c22c149d4e563f6f52336f0eced4a105b99a1a3b93d SHA512 84ef3f91d3c9823b7371022b276d3b5c7bb86fc7be00aaffeddca171438c21f70291e67c992fa75f7222fa964f049be2816bcf7e081e35fbbb31d68da8c5bd08 DIST genpatches-6.9-4.base.tar.xz 158304 BLAKE2B cf964990abe6f7428e3a590752519f9a0bb16416186f06e6e377a33fc48acb42b38515e5a628f3394b418780fbb6b420636d6b896ea92906578e0bdf57b6125c SHA512 ad9e039a8a7ee29a5c258b42cd688737c9c575c097ced8d23792bbb2856480081a64cfc65488e5c0c8d5c6cdab9016be22183199ee8357c1c1ca372360035b1c DIST genpatches-6.9-4.extras.tar.xz 4048 BLAKE2B 7a47f3ef9bd870175c4373d064316fa746c3480a4075492fb04b4eca4496ab2c33c713875997a4fa33695177bbade0b6686f7d7e4f2cba110cd89a0f2017e2cd SHA512 5cd79406ad14a07fb95fc94a5aaee2bcd18f143996c111e16675b77402e9ee0917fd51f2a2023fd58d462caa2edfe5a950eb72bdb04870b185012b20ff302560 +DIST genpatches-6.9-5.base.tar.xz 275240 BLAKE2B cb961b8245eaa58405bf758f4432f1ad98b767d7f9ea8e45fb440bd2616e67c6e12cff6ec3af89748f19043c9b0b58b634e28e7bcdc469fcc4daf2f752b3a438 SHA512 60fb3290eabe8289fc4acb4f1df809ace44d7678188683b64ef2ec92edb8c2ac0d757280ebb63087145fd068e64619a3b0a9227fd5f3061099d287e8e8dd5720 +DIST genpatches-6.9-5.extras.tar.xz 4052 BLAKE2B e72e5a5195db42f38ed671899217d7609eb8a5d9f954ebbc36a53a88fcadd1cadecf7257b33a880661e949f2c7b176a5762ecc1e56be0195e6768d8be8ae5fc4 SHA512 3d9315afb5c45cf24f6e5287048d49f6969e49ba2c8f339d9f4da0f5a08708ffa65636c3d24efdcfd246f6d28c72535089078971e97f7aefeb75119a67cee11d DIST gentoo-kernel-config-g13.tar.gz 5759 BLAKE2B 831f89078e539c8b4ce244528dfd847c12a45b52d540eb10d85ec0d9deb1c14288d8de12456865c92d16e3523ec3595676787a8f3b79545d76870b0fb68deb5d SHA512 2a7230cce57a67e3333f9a88a311afe4a928e27ce76036747451cb77d3186569ad11d7a5b827748ad53290a17ad63637a8362ca896516f85ff0944a8d68265a6 DIST kernel-aarch64-fedora.config.5.10.12 223184 BLAKE2B a0246dac2f7a4ad6a55b611538d24382ac87a8960077811a859c9595ac67f961b4bccb7e139a89abc7c0e26e80832da5c94211fc658082f2e7dde984f14dd29d SHA512 7d803b347b136331db1ad6e22e0445fe0224c3e26cd7c034cbe9794915d457b492e05f77664865079874ec001351553652646e2e08d0fee31e30b841b0008f52 DIST kernel-aarch64-fedora.config.5.15.19 242615 BLAKE2B 94e59440681535e38137b71814e1ae53f57a347f62cf31e0c1c8571ae43d9ae9be9957743c8cbc9ec74850c964eaabefe6799a28bc311ea7b99ee31391b47fb1 SHA512 fb77d3b73a215f97d70cd6d8c96ed20e497786b99ed7d7a7f2ed60cc1251289c1a4c7e058c41b5efac62e4a9b4b3d917dbdb11585955bba2b6584981430f4ddb @@ -82,13 +88,16 @@ EBUILD gentoo-kernel-5.15.160.ebuild 3744 BLAKE2B 9f109fb30ae8c400985d4916375450 EBUILD gentoo-kernel-6.1.90.ebuild 3975 BLAKE2B 62b3bcdbc16a17ac7eb6c20b96c954414071811d3a2be5a86b0827f465373fdbe73c94ea3f646dfc6880767ec14761054e8999ccc34a1443ab2ed7ac6a957ae8 SHA512 87c0febcf786d95ab9f2e6f6f567c99698e678e76260c1906a0d1ed5b71cd3cfb14adaacc598a367592923451f8a0fded0439add4bd52c7137a5c51365b6417c EBUILD gentoo-kernel-6.1.91.ebuild 3979 BLAKE2B 6a29be8dcce1ffb2a6318bff3168b2a4291f5e2c9a310c6a6ff51607f408e79adda63a869185379f59a4bb550e5cc796c770edd3aa612cfa34ec0a2746acd6a8 SHA512 9305966f05b627930307bb617b69449ed408ca074aa33a620077620e835de0e2302bf01a13c3c91b17edd238855da809fe95d5b26fa18ceaff64878e37076d45 EBUILD gentoo-kernel-6.1.92.ebuild 3979 BLAKE2B 6a29be8dcce1ffb2a6318bff3168b2a4291f5e2c9a310c6a6ff51607f408e79adda63a869185379f59a4bb550e5cc796c770edd3aa612cfa34ec0a2746acd6a8 SHA512 9305966f05b627930307bb617b69449ed408ca074aa33a620077620e835de0e2302bf01a13c3c91b17edd238855da809fe95d5b26fa18ceaff64878e37076d45 +EBUILD gentoo-kernel-6.1.93.ebuild 3979 BLAKE2B 6a29be8dcce1ffb2a6318bff3168b2a4291f5e2c9a310c6a6ff51607f408e79adda63a869185379f59a4bb550e5cc796c770edd3aa612cfa34ec0a2746acd6a8 SHA512 9305966f05b627930307bb617b69449ed408ca074aa33a620077620e835de0e2302bf01a13c3c91b17edd238855da809fe95d5b26fa18ceaff64878e37076d45 EBUILD gentoo-kernel-6.6.30.ebuild 4123 BLAKE2B 1b07caa2c6ae459256d88d61ab40759cecc46991f858a40eca936547c658316b21595416775fbe421bb04d98c78974510626d7bca309e63e9d76e2e93998a69c SHA512 8b35589963315760b14a1465da5d47f13fbb588dcc801aff14ae4d262ea485eadb9d8312cf5b320120b49c650bbbf7f367e3ae70b9252f9bb10a373c7a7b3208 EBUILD gentoo-kernel-6.6.31.ebuild 4127 BLAKE2B 3a567cc665e12d3a63fdd2034447898740f9129c99ed259f98369540e1767763ab3dca748502e90e59481b273ee6c0e31ad85c8302b49f06d8fee8e46c62f3d1 SHA512 66232fef54017a33e1adfa6b166484947486fa75bc82540696a4c3aa2368daf7d2964c968ad604498505f6218e7773a76998f51e85897eb51622f12906a5f701 EBUILD gentoo-kernel-6.6.32.ebuild 4127 BLAKE2B 3a567cc665e12d3a63fdd2034447898740f9129c99ed259f98369540e1767763ab3dca748502e90e59481b273ee6c0e31ad85c8302b49f06d8fee8e46c62f3d1 SHA512 66232fef54017a33e1adfa6b166484947486fa75bc82540696a4c3aa2368daf7d2964c968ad604498505f6218e7773a76998f51e85897eb51622f12906a5f701 +EBUILD gentoo-kernel-6.6.33.ebuild 4127 BLAKE2B 3a567cc665e12d3a63fdd2034447898740f9129c99ed259f98369540e1767763ab3dca748502e90e59481b273ee6c0e31ad85c8302b49f06d8fee8e46c62f3d1 SHA512 66232fef54017a33e1adfa6b166484947486fa75bc82540696a4c3aa2368daf7d2964c968ad604498505f6218e7773a76998f51e85897eb51622f12906a5f701 EBUILD gentoo-kernel-6.8.10.ebuild 4126 BLAKE2B 583d4ac127df77d689dd13638887957eac2922bc65cdbae64255439109596b19e2c83e19e0184a39d0fe701e5c06d6fb9c69aa35957d28d4b6d63b5470e31f01 SHA512 b4c33ad4f53b17fdb510417449748d2cdd66949f3f177b10821d8c38090fb980ea15c3d9d2fa8a4e4ac21bf0288cacf640cfe5bdb51a8e6fd4a225503ad0c545 EBUILD gentoo-kernel-6.8.11.ebuild 4126 BLAKE2B 583d4ac127df77d689dd13638887957eac2922bc65cdbae64255439109596b19e2c83e19e0184a39d0fe701e5c06d6fb9c69aa35957d28d4b6d63b5470e31f01 SHA512 b4c33ad4f53b17fdb510417449748d2cdd66949f3f177b10821d8c38090fb980ea15c3d9d2fa8a4e4ac21bf0288cacf640cfe5bdb51a8e6fd4a225503ad0c545 EBUILD gentoo-kernel-6.8.12.ebuild 4127 BLAKE2B 806e2665a88e99db52e5c7a6468b3d3cb96af1d58cc058fc3d16f1172821c78061da98cd1e8f056b6296cfcf97db67dc617846370c6bde71f9adbd37c30d1eec SHA512 43ae645753f1d1d6d10736df31d94abac1e4f82bdfcd84927c6dc919f26beb5ae08156c521781a3a962a4c8e4a079a5edb7fbdc3429b2e84d2270846e8235bbd EBUILD gentoo-kernel-6.8.9.ebuild 4126 BLAKE2B 583d4ac127df77d689dd13638887957eac2922bc65cdbae64255439109596b19e2c83e19e0184a39d0fe701e5c06d6fb9c69aa35957d28d4b6d63b5470e31f01 SHA512 b4c33ad4f53b17fdb510417449748d2cdd66949f3f177b10821d8c38090fb980ea15c3d9d2fa8a4e4ac21bf0288cacf640cfe5bdb51a8e6fd4a225503ad0c545 EBUILD gentoo-kernel-6.9.2.ebuild 4126 BLAKE2B b0999aed430352d334749bc75a12e48705e49726e9fa3b9bd02a9a1a4020ab074e5e26322a0e09eb4c022a2821713a628ca3a3e5a86053fe38be8b733ec6d0d7 SHA512 349d3fab32698b9e2b3fbe94901b7081ce5519addb4ceca072a71e7eb77f9bb3b1890896c90a52ae9538906b92de25f8d9f3c60058cb2cc57cc960861b789bfa EBUILD gentoo-kernel-6.9.3.ebuild 4126 BLAKE2B 92c049f21834818211cd830f8fd3b04c4c03005e664469b9e7b64b1a19996267cd3113a9e6db3bca4a17b0954d632f0b57c4f4aa8fd4932a9dfd6415e2a909ce SHA512 f9a30cf4af806fb8e267a60e0432f7992108be087066d3a5e72fdbd9805d957e915d46dec5b1341cfd0ee8693e7e6f97e45daaf8cf91ac294785ea9f91558647 +EBUILD gentoo-kernel-6.9.4.ebuild 4126 BLAKE2B 92c049f21834818211cd830f8fd3b04c4c03005e664469b9e7b64b1a19996267cd3113a9e6db3bca4a17b0954d632f0b57c4f4aa8fd4932a9dfd6415e2a909ce SHA512 f9a30cf4af806fb8e267a60e0432f7992108be087066d3a5e72fdbd9805d957e915d46dec5b1341cfd0ee8693e7e6f97e45daaf8cf91ac294785ea9f91558647 MISC metadata.xml 681 BLAKE2B c773ebc6132d1c1a2466655e2441e7bfd7be7979e5912d3a27dd1c81b59614fd7a9a9a6f865075071126337eee6435e4c2b57356cec46f47966c4bdbb131ff3f SHA512 caabebdfd4cb3db2a69406cd1dfd9638c828bc1602d3f972350a7e84db1a2caeb563c6750c0998756c66f949953a1508a395b4b4139e88fbe9a20a70ab3a5ad5 diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.93.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.93.ebuild new file mode 100644 index 000000000000..05e46adc1bda --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.93.ebuild @@ -0,0 +1,146 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 9 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo +CONFIG_VER=6.1.7-gentoo +GENTOO_CONFIG_VER=g13 + +DESCRIPTION="Linux kernel built with Gentoo patches" +HOMEPAGE=" + https://wiki.gentoo.org/wiki/Project:Distribution_Kernel + https://www.kernel.org/ +" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + amd64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="debug hardened" +REQUIRED_USE=" + arm? ( savedconfig ) + hppa? ( savedconfig ) + riscv? ( savedconfig ) + sparc? ( savedconfig ) +" + +RDEPEND=" + !sys-kernel/gentoo-kernel-bin:${SLOT} +" +BDEPEND=" + debug? ( dev-util/pahole ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +QA_FLAGS_IGNORED=" + usr/src/linux-.*/scripts/gcc-plugins/.*.so + usr/src/linux-.*/vmlinux + usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg +" + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + default + + local biendian=false + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + hppa) + return + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + riscv) + return + ;; + sparc) + return + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-gentoo-dist" + use hardened && myversion+="-hardened" + echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die + local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" + + local merge_configs=( + "${T}"/version.config + "${dist_conf_path}"/base.config + ) + use debug || merge_configs+=( + "${dist_conf_path}"/no-debug.config + ) + if use hardened; then + merge_configs+=( "${dist_conf_path}"/hardened-base.config ) + + tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) + + if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then + merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) + fi + fi + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.33.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.33.ebuild new file mode 100644 index 000000000000..4f603a059b70 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.33.ebuild @@ -0,0 +1,153 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KERNEL_IUSE_GENERIC_UKI=1 +KERNEL_IUSE_MODULES_SIGN=1 + +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 7 )) +# 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=g13 + +DESCRIPTION="Linux kernel built with Gentoo patches" +HOMEPAGE=" + https://wiki.gentoo.org/wiki/Project:Distribution_Kernel + https://www.kernel.org/ +" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + amd64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="debug hardened" +REQUIRED_USE=" + arm? ( savedconfig ) + hppa? ( savedconfig ) + riscv? ( savedconfig ) + sparc? ( savedconfig ) +" + +RDEPEND=" + !sys-kernel/gentoo-kernel-bin:${SLOT} +" +BDEPEND=" + debug? ( dev-util/pahole ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +QA_FLAGS_IGNORED=" + usr/src/linux-.*/scripts/gcc-plugins/.*.so + usr/src/linux-.*/vmlinux + usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg +" + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + default + + local biendian=false + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + hppa) + return + ;; + 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 + ;; + riscv) + return + ;; + sparc) + return + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-gentoo-dist" + use hardened && myversion+="-hardened" + echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die + local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" + + local merge_configs=( + "${T}"/version.config + "${dist_conf_path}"/base.config + ) + use debug || merge_configs+=( + "${dist_conf_path}"/no-debug.config + ) + if use hardened; then + merge_configs+=( "${dist_conf_path}"/hardened-base.config ) + + tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) + + if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then + merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) + fi + fi + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" ) + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.9.4.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.9.4.ebuild new file mode 100644 index 000000000000..694d7c73a94e --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.9.4.ebuild @@ -0,0 +1,153 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KERNEL_IUSE_GENERIC_UKI=1 +KERNEL_IUSE_MODULES_SIGN=1 + +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 1 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo +CONFIG_VER=6.9.3-gentoo +GENTOO_CONFIG_VER=g13 + +DESCRIPTION="Linux kernel built with Gentoo patches" +HOMEPAGE=" + https://wiki.gentoo.org/wiki/Project:Distribution_Kernel + https://www.kernel.org/ +" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + amd64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="debug hardened" +REQUIRED_USE=" + arm? ( savedconfig ) + hppa? ( savedconfig ) + riscv? ( savedconfig ) + sparc? ( savedconfig ) +" + +RDEPEND=" + !sys-kernel/gentoo-kernel-bin:${SLOT} +" +BDEPEND=" + debug? ( dev-util/pahole ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +QA_FLAGS_IGNORED=" + usr/src/linux-.*/scripts/gcc-plugins/.*.so + usr/src/linux-.*/vmlinux + usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg +" + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + default + + local biendian=false + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + hppa) + return + ;; + 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 + ;; + riscv) + return + ;; + sparc) + return + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-gentoo-dist" + use hardened && myversion+="-hardened" + echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die + local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" + + local merge_configs=( + "${T}"/version.config + "${dist_conf_path}"/base.config + ) + use debug || merge_configs+=( + "${dist_conf_path}"/no-debug.config + ) + if use hardened; then + merge_configs+=( "${dist_conf_path}"/hardened-base.config ) + + tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) + + if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then + merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) + fi + fi + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" ) + + kernel-build_merge_configs "${merge_configs[@]}" +} -- cgit v1.2.3