diff options
Diffstat (limited to 'sys-kernel/gentoo-kernel')
-rw-r--r-- | sys-kernel/gentoo-kernel/Manifest | 12 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel/gentoo-kernel-5.10.205.ebuild | 134 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel/gentoo-kernel-5.15.144.ebuild | 141 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel/gentoo-kernel-6.1.69.ebuild | 146 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel/gentoo-kernel-6.6.8.ebuild | 152 |
5 files changed, 585 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest index e3d684cf5e5c..1402b6a507b5 100644 --- a/sys-kernel/gentoo-kernel/Manifest +++ b/sys-kernel/gentoo-kernel/Manifest @@ -2,16 +2,24 @@ DIST genpatches-5.10-214.base.tar.xz 6277292 BLAKE2B c048bb8187cad0d22c7aed93194 DIST genpatches-5.10-214.extras.tar.xz 3876 BLAKE2B d3d2b1b6b2b3d4574300a7a84ed449733bcde3a1aa855a54f10d484ab0dfb1b381ad7d9ae4551993515a8af2747aa42e830c39039803e0fccbe9a06be011a819 SHA512 34f83560c6ae888feabe56906bbda4e5b68ca36f418341ef2200018a79bcfacd0c30e8535c3684fbfe2b0557fdd59383b33a7e57e7cfbaacb81d94ddbb12afb7 DIST genpatches-5.10-215.base.tar.xz 6309840 BLAKE2B 0262f92a52738dfab01e7ff4359963652b822bff885e3f22c4afb0597099e4cd58d20215f25b0dabff662e4daa4fc1c0161e338bc3ff88cd18e8323453496dcc SHA512 f89384b62dfdf964caf0208f477211ebce680d8cdd30bbc4321bce652e8fa6cb9e666c7ca9c348daf02187c8b22b1f05bb5de064898e821a41b2752babc0ae30 DIST genpatches-5.10-215.extras.tar.xz 3876 BLAKE2B 65cd91d6dd01837f4cef599f5c247f45e9537665a4b728401ae6fa30013b18022dde1f8e988470dcbea4593f16c93627541fa287455842e1e85d528d3dc38132 SHA512 b9976e5c2347a53b56c5a3b6dda2c702162f05137fdbdd6de005059d781ddf47a047442f05b27ac3b34929e68ed0484fdb072f593005472e8ddf78ec41030cc6 +DIST genpatches-5.10-216.base.tar.xz 6323624 BLAKE2B 7322ad90ab57a998bd282bfe47defd592095beadeb75dc4caef010f1e05193df170c54676a69df1ae564cc2293fe275c5c56f324c0ce6fff022b86bae3b66577 SHA512 838ca62ea49fbdaffd47102cdf5c7f50da0a29ae4a20acf063193c48d2676b4633fa6c431044e47ecc79fad9ccca0481a2bd08d759444c6ac40fc5133c9bd709 +DIST genpatches-5.10-216.extras.tar.xz 3876 BLAKE2B 60da30135bee0734e352fa197aa1e6ee0db45907c3053ca0707282a00250d835e483b92dbff50e882a4b5345bda5a68ea421769229416c4feb6d5c5b08c63f0d SHA512 712301b6fd53fcef79ab508b44fedf1f55ed9cafd0f707cf86d4061770addb66f7f6c2b9f8f6e1366ff7b88ded5cc8fc4ffbcc06ccb0e60672dc39f90b586a6f DIST genpatches-5.15-151.base.tar.xz 5817984 BLAKE2B 182b52b69171a07dc6333c139f570d1f50e2c7351150d32bd0d32d268750cbc5f548a25b07111b2fc754de920dc78bf6add2cefb233ec5601e57efb9c516c24d SHA512 364c32d0ac7372367e343292e28b4325b6529fb6b46eb84296e4622b6f1d1d1c2496865aca89c447eff113a56780ea06d94cee3f90570d4b012f3aedfbab70ef DIST genpatches-5.15-151.extras.tar.xz 3936 BLAKE2B 290c41b3f8c750f82d6fb8ae4542a64ff395c8def74c6f3c3d4752b57d1725bf1947beb626d8ee413a4ff50fcc74bad7f1efbc1bfb29b67a35e4b5ea396427f0 SHA512 a3d22a5decba9d24e65239a96b3133af07e126c7e0dd733eae61de48644bc31b012eb6595a15ac82ff763bf39e9f7c91c0153badcc2e9c83604a64f27e0ea43b DIST genpatches-5.15-152.base.tar.xz 5859680 BLAKE2B f07d522838bae14efdba3399a9e4ad0a442537b1a9942477600660df2f71cd8d17774dff0ce563a7c46595c6a5390048994be0f894f84c255ebac2f9ef885220 SHA512 bb6d744e075f6d7e380f78be870c64a14595da3b24ae217db9e69778d1f65326ade92e7fa9edbedbc6b6825ff8a83f08725d0ad165e4165047720a4f72985089 DIST genpatches-5.15-152.extras.tar.xz 3940 BLAKE2B 91f8fa828c4fb434088a8cffc845c09484b613fb5990fd5faa925852e9d6009bc927135310372a3e7b78b59a9e6a1f52667ccf3dec0a2ec7f7ac4f66c5b63760 SHA512 615669b03df808733065081f58ef0c928fb45be1b5a15092dd6e8cc6ec13ed6c4df3ed69eb1e06fde52f35f19f4896e4ab8e557a02e061e8c1371c12cda7e04f +DIST genpatches-5.15-153.base.tar.xz 5880496 BLAKE2B 8de9f7e0a443bf5a196ae242283def0006da5252d5bbd732ff4d16eea018cb8649ab084c398eb6761a01d9ec8d4e5da9f6d6ad88c77fe5ac70385a9c5dbe679f SHA512 d3651cfcb047242eea4ad18986ce2667ff368f91a4496e30590f515d20898e7694afa409c02cfa1cc2747a6f80e1a7642aec62d67e0c7ea3c9d75e55a763b2fd +DIST genpatches-5.15-153.extras.tar.xz 3940 BLAKE2B a1f5239cf08d52f7d1bdc2815809513d7b56e1f38978f681c4266e6e536ac02343dcf7bbb2045cbdaeeb73b20731ef2e3c84c1ebaa883d7ab0c18a99c00de5ed SHA512 da1d9cc1e79ff14c54c94dbde26c6565b1192781b567e7fe969bbeef3d8bc21cb5618c3eee3a643ccae829a74e6874436a049d0f9f16cdc7cf3f0f7f399a50bd DIST genpatches-6.1-74.base.tar.xz 4113880 BLAKE2B 26d9abc23f66346e376b78bb687ae7bc955447093641abe0bf736ff9e1c4e7ca70a0bd26b581f295b168ecd94c6f84603f13f5d097cd8b05b9373ea03a9d0426 SHA512 4ec9211030d1d1cf8e412b46f6cc101768418a177d0113b58f3aa0c4468536faa45a0615483baec378eae7995a91b86da1c06af167a1dbc6eca9ff853ae838f3 DIST genpatches-6.1-74.extras.tar.xz 3812 BLAKE2B 52488fe7154cf6e0153a05184699dd1597a078a7a376e2866b68b923e7f82300757d1c70e7bc44920ab7813d500fb3d4677d49428261308e4b6b59a552381a9f SHA512 dd04bf075792824bf65cf349f6bc921d0c36cc66c878b8dfdd95c27f3a82de426d6725d79c02374e7372b74b68b9c0123875476de434f85646dd9aa8382d8de9 DIST genpatches-6.1-75.base.tar.xz 4114396 BLAKE2B c21211d430392fbe96b0616e0ece650736f7204066222f88b84cffdbedcbda78d8fbf30ce8dce4c7fa450f24410fba1af1929ee3b3ea0472fde3473db95a0f5c SHA512 106db04baa9ef92e324929d025bb68f9eab4d0144d12a3d11cbfffb018cc46abeaadc76240c1acfd3877ef8efc1992374ad15cca061258e5f20452e3cb71b90f DIST genpatches-6.1-75.extras.tar.xz 3816 BLAKE2B 6e34ca62609c5ce63e7accb16f0c295bf9a38602d0c11af80c81f12744c0d90aadad86164b83a362dfdf70301ecd879eb67066544dbcdfd522d767e103a8592b SHA512 05718354716e8c8a4bbbe94923201345e2d2e75274973114878d46bc34ac2dba4d7d5beea333b4823efbbef65449bad615733c0ad0c6ffc6e1b2595ce0e45d38 DIST genpatches-6.1-76.base.tar.xz 4170836 BLAKE2B 5f3d0f64b1b884d8401076e752e27f2021dbe9fd729172d5ae75ed8cd9cf578585e7dfcadf24542a07d4abc8350dcd0d17d41521f94f8d9d5bc1858e00752f5f SHA512 d4fa7598e022029d80199cf3c236b92c168674111f9d5a07fd3f8ba8db76249578db47ed68c412de369165d5c12c88510556241002285287cadd9a3e4a7b12e9 DIST genpatches-6.1-76.extras.tar.xz 3816 BLAKE2B d61edb2c2fb7ef815aca59eee532177c0452ccfb5896398200d704129e40daee6870b11c4758095fb6824eb015de46ac388cd77ec075e1d508c8a299bd4077a7 SHA512 9f90fc444beef2fcedae8fa2f6bb01492c9ff3fbf2a5f34cc17a52e5af9615538a6a24eedfc4e09575a03c67b339c4d964ac55e950b6aef11935d5f877862ca1 +DIST genpatches-6.1-77.base.tar.xz 4198960 BLAKE2B 9c6921ca87ec2c3338107a994d6e094c6bf4ca5a705f21b3efa2803454327782ccf2cefa78b2a1bfa59413402d5d89b757a5522b86943c8c8c5d97592138758a SHA512 34daab45df35b30a5bc155aa82b074f6516bb1af7b2976590f88d88e25f6e8ae369fd1299f7e2f645c045b29d6b805dd07291ab45c212a9aa27df566dd6aca96 +DIST genpatches-6.1-77.extras.tar.xz 3816 BLAKE2B 2129b36991f127c4bb4783a535a2d58bbe8ba9f4f139f7b70bf41a1c54bc2ac9026cdf3e3662f47c28118844ff40b6ad1c8da1c5fa8f1f4edc768fa69cae2083 SHA512 1de0ce45d9a0a1555faa92842f884cbaed8f5e727e4e59cbafc31326c9a183acc4954b2cdba1bec2019466545870ead8b5300f419533e30386aa2a36f6606a9a +DIST genpatches-6.6-10.base.tar.xz 603340 BLAKE2B cc3220f1df9406c393605942e1a6fdaaf8ab46da53bc2fe6d001c9608a55ae2e5073d94805eb233183142e81bcea9bab1ed4700e298fc32c16c033597219f9ad SHA512 1f0149759b98fa099bda28aa1c4913719f0b5c0c715a72f6c0b13d3faf317a8935ce10508cd3459c50e39a7759feb44e7cf43fd49b87bd5ccd6d42a5dfc531d1 +DIST genpatches-6.6-10.extras.tar.xz 3704 BLAKE2B 8b5e1453dd7bbbb7ee6dd02aef5e25e95f09a12a46d9dc014d71fe8fda96b94770f3cee75fa6f1db6bc9bdb67b39d272f8f887fc2986a17769237768bf6a382f SHA512 6ca7a360dc217684b1a06f869223a52772f267d48088d5e286dd27056faf34e9c4b4d575aa771c5f9b972febd4c656e32f470c4499feecd47716b07cc13ab933 DIST genpatches-6.6-7.base.tar.xz 472596 BLAKE2B c5f69fa43401555567c9e5c3b5bad31ef55a3f49756f86e1e5cb935cf8cffb6ee080f411b5113dc3fb9d43224de432e6f1f6fb5a18082d269e30181e72aa1fcd SHA512 6098a5d32ff83fe2ceb094055be6336a19c40246946606fd0b39e86ce8bf53b96cd5539e6cbc774dc865f4be742ac3c127f8f48ff5cd3a50484dcd5afb7b9df3 DIST genpatches-6.6-7.extras.tar.xz 3704 BLAKE2B 1bd0d01aefad3c47f2b7bdc550e607d2c4ba8e0cbbdbe3ba4ef57e539f9bd894222ca6f01908e6bb27221de1331634a6941867c7d6bece9620510110bf276107 SHA512 6da82d251ac6c33b8d2837e1a44a32ab5106f0a5816a8e76354c7d9eef510b4f485edfb1b80dad68e59b3a96494bed590ba1508f7b96697c364fd52c97b65496 DIST genpatches-6.6-8.base.tar.xz 472816 BLAKE2B 503418967edebb8cb2020edab16f060334fc16c9f6ce7980b8e25e3db1fc4869571fd466abc8ec4add3a095d089f0c77532b2524fae1136c5f7ed487e90ccd3c SHA512 04a247aadefd43a9ec1382b5f77f18dabb1701469cbeabcaa1604405cea9112bec56bc9a08d33f9ce5ebb90b8d77a7c7a21774a10906f3c8a685c0d3c10bbe9d @@ -41,12 +49,16 @@ DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35 EBUILD gentoo-kernel-5.10.203.ebuild 3661 BLAKE2B ff0cdc1daac1bb6a95598fa58c8079e4d5ce95b5e1ecc5428539a783f3537bd3d97a54f9b4c20da22b2be02d43c3d0da3dd7e3b775d0d39389df4f4f7f44c349 SHA512 c939bd683e4526cd09a4411401b073c567d0938f08f57e21d9469504a72a61c0f922fda443e206304e8b539c6db01a435de2c9c02e9eaccd23f5eb2cf1f442ee EBUILD gentoo-kernel-5.10.204.ebuild 3665 BLAKE2B bff1252c81fdd456b4b0a7447f4208c4ba868e559854c17ba2bc6596245e27c739934df38e23877bdc7ef39efd1ef06266d2f523cad589a36ac7ef7714b15598 SHA512 bbfbc04a671b2adc3b7ab8717cdbaa84a8d4a330ca8e15be809d9f306828a2f288951f1a3220711461da50d3d9def5239ee1902abc256d58cc0636abb4da8a06 +EBUILD gentoo-kernel-5.10.205.ebuild 3665 BLAKE2B bff1252c81fdd456b4b0a7447f4208c4ba868e559854c17ba2bc6596245e27c739934df38e23877bdc7ef39efd1ef06266d2f523cad589a36ac7ef7714b15598 SHA512 bbfbc04a671b2adc3b7ab8717cdbaa84a8d4a330ca8e15be809d9f306828a2f288951f1a3220711461da50d3d9def5239ee1902abc256d58cc0636abb4da8a06 EBUILD gentoo-kernel-5.15.142.ebuild 3739 BLAKE2B 98724de150e8a2f15cbee2400d6e832f58034bce8bc3661587a0ba36ec27110aa818970f2193447fa1b07552e86a6c923b41cc85df572740ffd0edfb35bde990 SHA512 8a32ccf6335bb0508a13bb0f309613d5bfe45c33ef994a715c462738d21493473a2f06029015457362c42222e7b8cb5e5568fd9474c10973446ee084e7a3b827 EBUILD gentoo-kernel-5.15.143.ebuild 3743 BLAKE2B 6f405c0f4d07f6f736f4dd0d7cfb86bdd2e69261788e1cd320ae93d0fb6d74f74980cccd2102c8888d9d2565f5626ab6dcf8538ae4d1051e87b1ed349257f9e7 SHA512 e5f9e91a4011e41ec7f20354988f6c75b56787c02f43d24fd41dc34327398019da9e5f4f94a907c7af319d63a1ffcec5ab3dccb5d1e479c93b7fbbb408ea94ca +EBUILD gentoo-kernel-5.15.144.ebuild 3743 BLAKE2B 6f405c0f4d07f6f736f4dd0d7cfb86bdd2e69261788e1cd320ae93d0fb6d74f74980cccd2102c8888d9d2565f5626ab6dcf8538ae4d1051e87b1ed349257f9e7 SHA512 e5f9e91a4011e41ec7f20354988f6c75b56787c02f43d24fd41dc34327398019da9e5f4f94a907c7af319d63a1ffcec5ab3dccb5d1e479c93b7fbbb408ea94ca EBUILD gentoo-kernel-6.1.66.ebuild 3975 BLAKE2B 45cc89f6f37d74c474b046e548e246357360609f4c1fbed59cb141ee85ac9ece54119a86b0140c9b259548a7fe4e32c59c09f4782ae7d5a0cb9552bf817d0e8f SHA512 420f9cecce8ba190d2301852532dbf162cbefae3f83bd75a3f9235880e07dc1a9b6a40f4f6316b23132d9dadac65d28803166d772f47547b4129d80b94c2ad0c EBUILD gentoo-kernel-6.1.67.ebuild 3975 BLAKE2B 45cc89f6f37d74c474b046e548e246357360609f4c1fbed59cb141ee85ac9ece54119a86b0140c9b259548a7fe4e32c59c09f4782ae7d5a0cb9552bf817d0e8f SHA512 420f9cecce8ba190d2301852532dbf162cbefae3f83bd75a3f9235880e07dc1a9b6a40f4f6316b23132d9dadac65d28803166d772f47547b4129d80b94c2ad0c EBUILD gentoo-kernel-6.1.68.ebuild 3979 BLAKE2B 0ae0758effdaff19a997f7135509eb724e3af68ce81872b1187ab3630db7c31323611ce3881dbbb89d44919926315ca357b92402174b88bd40ed001d1e4ad15e SHA512 66d1f135791fd0d3733e509acffaeb182b17e42b5d241b9e67a7fe92e5bbc36b8a8bf27d6822746be9a7b86b8660dea94d4618ff88bb892f880d98245f59c2b9 +EBUILD gentoo-kernel-6.1.69.ebuild 3979 BLAKE2B 0ae0758effdaff19a997f7135509eb724e3af68ce81872b1187ab3630db7c31323611ce3881dbbb89d44919926315ca357b92402174b88bd40ed001d1e4ad15e SHA512 66d1f135791fd0d3733e509acffaeb182b17e42b5d241b9e67a7fe92e5bbc36b8a8bf27d6822746be9a7b86b8660dea94d4618ff88bb892f880d98245f59c2b9 EBUILD gentoo-kernel-6.6.5.ebuild 4083 BLAKE2B 55b7a3871dca5bd5e67ebd3efa71c7b4848c6159fd7bdd3f2ca59e2a3448fe2ac7f2f43ec30a0122517cebaa39d0674dcfcce9aff11df205b7c2b6485e9490f6 SHA512 2859bd0f8256851bdab06a6d30d8cffef200a9095c4ef20c15158ce084836041f1c53cacaa29193831010598bd839f68051fecb5d0f8b8d219af4a4fbd53b943 EBUILD gentoo-kernel-6.6.6.ebuild 4083 BLAKE2B 55b7a3871dca5bd5e67ebd3efa71c7b4848c6159fd7bdd3f2ca59e2a3448fe2ac7f2f43ec30a0122517cebaa39d0674dcfcce9aff11df205b7c2b6485e9490f6 SHA512 2859bd0f8256851bdab06a6d30d8cffef200a9095c4ef20c15158ce084836041f1c53cacaa29193831010598bd839f68051fecb5d0f8b8d219af4a4fbd53b943 EBUILD gentoo-kernel-6.6.7.ebuild 4115 BLAKE2B 226d133dee0faab86f6ba6106144227085869c1930649b61724a791abeacca0366145f6f7e4440f446c66438247e8e995aab544419e550ba8fd0d726071cd0d6 SHA512 59e19da56732fb0f8aea838017c277a4b11fa7956e69a51666ab71822e1a6ddbd84dcb63dbee323c390fc940ee67c86ebf7739679ed2390c8a90b23432415d95 +EBUILD gentoo-kernel-6.6.8.ebuild 4115 BLAKE2B 226d133dee0faab86f6ba6106144227085869c1930649b61724a791abeacca0366145f6f7e4440f446c66438247e8e995aab544419e550ba8fd0d726071cd0d6 SHA512 59e19da56732fb0f8aea838017c277a4b11fa7956e69a51666ab71822e1a6ddbd84dcb63dbee323c390fc940ee67c86ebf7739679ed2390c8a90b23432415d95 MISC metadata.xml 465 BLAKE2B ea1260a1638588a48d9dd776e9eabd9730a181af8416ba778c936fa2e80a2360be146d3cc80599e50e0a72ac709eb9538184aac87cb96528e445ed450e34f4af SHA512 c7b7b1a45fb7082b8d8d66cf5a387cc4f7207cd9488d1d5e1d6900f1e4147aa9290b5522a94d941a885f1599b5df2482b529e40912d2b2cff400ecd4b1704c41 diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.205.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.205.ebuild new file mode 100644 index 000000000000..89ab1fe6bec5 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.205.ebuild @@ -0,0 +1,134 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 11 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +CONFIG_VER=5.10.12 +CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530 +GENTOO_CONFIG_VER=g11 + +DESCRIPTION="Linux kernel built with Gentoo patches" +HOMEPAGE=" + https://wiki.gentoo.org/wiki/Project:Distribution_Kernel + https://www.kernel.org/ +" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + amd64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="debug hardened" +REQUIRED_USE="arm? ( 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 +" + +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 + ;; + 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-5.15.144.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.144.ebuild new file mode 100644 index 000000000000..c2484efb4288 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.144.ebuild @@ -0,0 +1,141 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 9 )) +CONFIG_VER=5.15.19 +CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01 +GENTOO_CONFIG_VER=g11 + +DESCRIPTION="Linux kernel built with Gentoo patches" +HOMEPAGE=" + https://wiki.gentoo.org/wiki/Project:Distribution_Kernel + https://www.kernel.org/ +" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + amd64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug hardened" +REQUIRED_USE=" + arm? ( savedconfig ) + hppa? ( savedconfig ) + sparc? ( savedconfig ) +" + +RDEPEND=" + !sys-kernel/gentoo-kernel-bin:${SLOT} +" +BDEPEND=" + debug? ( dev-util/pahole ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +QA_FLAGS_IGNORED=" + usr/src/linux-.*/scripts/gcc-plugins/.*.so + usr/src/linux-.*/vmlinux + usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg +" + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + default + + local biendian=false + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + hppa) + return + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + sparc) + return + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-gentoo-dist" + use hardened && myversion+="-hardened" + echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die + local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" + + local merge_configs=( + "${T}"/version.config + "${dist_conf_path}"/base.config + ) + use debug || merge_configs+=( + "${dist_conf_path}"/no-debug.config + ) + if use hardened; then + merge_configs+=( "${dist_conf_path}"/hardened-base.config ) + + tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) + + if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then + merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) + fi + fi + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.69.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.69.ebuild new file mode 100644 index 000000000000..92d3ccf485e6 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.69.ebuild @@ -0,0 +1,146 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 8 )) +# 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=g11 + +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.8.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.8.ebuild new file mode 100644 index 000000000000..c69fb1a27ee8 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.8.ebuild @@ -0,0 +1,152 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KERNEL_IUSE_MODULES_SIGN=1 +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 2 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo +CONFIG_VER=6.6.4-gentoo +GENTOO_CONFIG_VER=g11 + +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 ~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[@]}" +} |