From f8ce9f2b903374606b4f44deb7727aca194ef970 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 1 Jan 2024 23:49:35 +0000 Subject: gentoo auto-resync : 01:01:2024 - 23:49:35 --- sys-kernel/Manifest.gz | Bin 4577 -> 4571 bytes sys-kernel/gentoo-kernel-bin/Manifest | 22 ++- .../gentoo-kernel-bin-5.10.205.ebuild | 4 +- .../gentoo-kernel-bin-5.15.145.ebuild | 4 +- .../gentoo-kernel-bin-6.1.69.ebuild | 4 +- .../gentoo-kernel-bin-6.1.70.ebuild | 127 ++++++++++++++++ .../gentoo-kernel-bin-6.6.9.ebuild | 161 +++++++++++++++++++++ sys-kernel/gentoo-kernel-bin/metadata.xml | 8 +- sys-kernel/gentoo-kernel/Manifest | 14 +- .../gentoo-kernel/gentoo-kernel-5.10.205.ebuild | 4 +- .../gentoo-kernel/gentoo-kernel-5.15.145.ebuild | 4 +- .../gentoo-kernel/gentoo-kernel-6.1.69.ebuild | 4 +- .../gentoo-kernel/gentoo-kernel-6.1.70.ebuild | 146 +++++++++++++++++++ .../gentoo-kernel/gentoo-kernel-6.6.9.ebuild | 153 ++++++++++++++++++++ sys-kernel/gentoo-kernel/metadata.xml | 14 +- sys-kernel/vanilla-kernel/Manifest | 6 + .../vanilla-kernel/vanilla-kernel-6.1.70.ebuild | 137 ++++++++++++++++++ .../vanilla-kernel/vanilla-kernel-6.6.9.ebuild | 143 ++++++++++++++++++ 18 files changed, 932 insertions(+), 23 deletions(-) create mode 100644 sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.70.ebuild create mode 100644 sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.9.ebuild create mode 100644 sys-kernel/gentoo-kernel/gentoo-kernel-6.1.70.ebuild create mode 100644 sys-kernel/gentoo-kernel/gentoo-kernel-6.6.9.ebuild create mode 100644 sys-kernel/vanilla-kernel/vanilla-kernel-6.1.70.ebuild create mode 100644 sys-kernel/vanilla-kernel/vanilla-kernel-6.6.9.ebuild (limited to 'sys-kernel') diff --git a/sys-kernel/Manifest.gz b/sys-kernel/Manifest.gz index 99d6ab896615..85bcc11ca4df 100644 Binary files a/sys-kernel/Manifest.gz and b/sys-kernel/Manifest.gz differ diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index c7188f0238cb..59c78f9e42d9 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -20,8 +20,12 @@ DIST genpatches-6.1-76.base.tar.xz 4170836 BLAKE2B 5f3d0f64b1b884d8401076e752e27 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.1-78.base.tar.xz 4233428 BLAKE2B 489c688bdce6b557065c5a2c63b359682ba79fc5e76665afb1cfc4c39c7451308aca9f72bb67551cba84a5b258e08e5133ed844307e51d7a47bca01d73a5cd9c SHA512 51665654f2be21a920678fe24af34f4a1b047bbe2038edf08eb68947b72e96a97daefb2b104d1ffc2d8ac691bf0624217960089b7d22bb63db43e51f2d8cc02a +DIST genpatches-6.1-78.extras.tar.xz 3812 BLAKE2B b06900c35aba0f1866d2c64a71785afe6a8b6ff0abe12a15f02475470e6f327c7ea35df1af5bcad92ad0cb9aeac030f0c4328beb69b1b74cf9420ac7a38555cc SHA512 d3b76b5301b4d6901ef8ae3589f9a3c948a2c88cdd932e748991987f45e4ef8b19b9b7102db83210ec17b67b00ceb597c22722c7ba3f66ae7be76624a1564522 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-11.base.tar.xz 649760 BLAKE2B d435eda1a18196b24c451ae605c719cf5a45c255b2017f1b7ab3612df3f4101c003e615589841d02329e44c3411b4cb27b577e8ff05f09e9349d38e622b823d1 SHA512 b06c66f730e4a43d8730c5c98661b6061485696375d2bc623b818303b0f6f15d9ad9da318bf9d3153036c3d8a2215fe12c5fd8b789775027c5c21f2ef8d93c4a +DIST genpatches-6.6-11.extras.tar.xz 3704 BLAKE2B a5ec7394f611c491ae0867c4694fdd000a0a53d6353832ecfb702f6b86711d7c955f0e4a8d10ee2cde6f2255a6e180fa26e3b1088f04902affa51d29f590fe82 SHA512 2ea475f922c98a83950441e86bd6805fc958f44c77866431b28da13d522d11841fc778945b253e292c8cd09ee378bd7e0169540ef12a9206d6341ec69ff463c6 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 @@ -72,6 +76,10 @@ DIST gentoo-kernel-6.1.69-1.amd64.gpkg.tar 72601600 BLAKE2B 3213eafb8fc9a2118a97 DIST gentoo-kernel-6.1.69-1.arm64.gpkg.tar 65607680 BLAKE2B d3f19ffcdfa1c9fa5d938e7dccd23bbb7d6b139a662ab00c8e890a177cf87400612bcb287653153a42b5088116ee58ebfb1ab6c6f490ee6da0aa36fe316a78f2 SHA512 1f1fd6ffa7b0d6ddb75b7576f0263e0268c4e4c4c74f1dd12e6303657c5b2320f821d63359fa2268cbdee5435e4cd4b5fc9814cd5d990046027fae8846577ac6 DIST gentoo-kernel-6.1.69-1.ppc64le.gpkg.tar 59863040 BLAKE2B 151afb62e5fc5b14e5ea1eb87e9fc2161bac9e0c02f3e39c2072a76e05b84fa046489a7e4c1915ac6db53f43872f25fb4b7b2a425bc990b393b845db78f55be7 SHA512 89014298eee186e94776a812ed83a7a0495b0d595f94b74d48f3bf62b91756e643d16ef40c665b77514a0a8c3056e3855130e3b63b5b9d3a530e6eeb4244a7bf DIST gentoo-kernel-6.1.69-1.x86.gpkg.tar 62126080 BLAKE2B 9ada4a79c8f722b4f464d0917aca8bb4f6073d941668ba21ddc89500fe91edb89d7c14358c6b1c583083c73d386cf7bfa6254d5d589c385a0a6d57cfac01cf1e SHA512 9609ad6c536694caf696918971645393f22758d34c11e42211a8074d158a3dccff74a5755357aa607fecf58463cf98649cbb77dc125498450f46aecb5382dc5d +DIST gentoo-kernel-6.1.70-1.amd64.gpkg.tar 72591360 BLAKE2B 0b96f6c5f577996993daf20ca7fdd9c263449dcc399163b6f5035435a3e391022fdd35e09688c4b83c6305ddc5dede94351db3de04823e7a94d677fcf6ec8551 SHA512 5e6c01bdcd32d3ceb17eb553c5ac187e91aea0232f6f88aa6c7255c989928e0f0c1fbe0e276f8098dc7102778b14f31d040aac65a8648d64a0e1536bd23ab3b0 +DIST gentoo-kernel-6.1.70-1.arm64.gpkg.tar 65617920 BLAKE2B 4dab1b4d9e6260b1d05f47ee656e4f774350db706181ff389824051e825a2a03eefcf4acebab032d3dbdf00c06c96100ed2f98e5425a0210ff07c70b7d6c9a3e SHA512 c5c8a308b0aed3ec3adb7151b6cf236d03bf8bca6a9f816bca506fdec7759d5039c23960a951236488b9e0f163e4d27df1951199a45a445a200b365204342b22 +DIST gentoo-kernel-6.1.70-1.ppc64le.gpkg.tar 59863040 BLAKE2B 7668c818b8b9b8d184da4b645bfacbc21dfe532e8119307401161960b6ead504b357cc28cbb83f521dc5b0f3d17a6d83b108ff7af6351bf7a1a60ff90fa4f8ff SHA512 b69eaef7142f31348234b40102f3d0a64fe4317a13781ec17698759c4c1d6a32fbb56f5e5adf6db79a3bafbf9fa15f2691c5dfc8a095c7fc52472ca0956ec515 +DIST gentoo-kernel-6.1.70-1.x86.gpkg.tar 62156800 BLAKE2B 6381839795a5f9e44c4fffee5af62c831febd7991446a42eda427e2fe91c051266aeddf05a3cb156737a7f6ab64238795a151bd249528e1a1a7395f49cfffe20 SHA512 355d07dc048d69668d1b3fe725c7d65bcbafc2fff670e92be7c4ddf0bfc37a33ece37b3b0066c29d9e6e524e102073393d7439dfd2457ea9db5e2d1ca4e3f1e0 DIST gentoo-kernel-6.6.5-1.amd64.gpkg.tar 84510720 BLAKE2B c2e532d30dd0c248fbb09238ee45d4a736e7495fba0ffd1f75898a613ebc53fd83f8d20703570b27c5fa2a79b0e5be56cb2c2abc93d4630ed150910d4f4392e7 SHA512 788e2a74eefee4f48a71426d3b01ab5c2e3572a260c5c4a32f07f29266d789e1aa4af535e4a8b13ca0337ad38903a8f2148bc72786070eacec053c5efe80cf3d DIST gentoo-kernel-6.6.5-1.arm64.gpkg.tar 74332160 BLAKE2B d486a15c14a396cfcfb276aba8f3ba047594379828ffe9cc4804bbb20c8bf0db46da08fe82216efcc63803ca460336388fc90085f9b82a4ab40d8cb25a394f50 SHA512 6b4e381dfc9bb51ef870d03bf1ef86a2543b52359bfcb66b47f1fa21785a0d522e177b5e9abe711286e8634aae95cee7589d3069a132144d49bcfd4f6d1d4f07 DIST gentoo-kernel-6.6.5-1.ppc64le.gpkg.tar 64337920 BLAKE2B 24ca829e20217cbbef416658003f8a100ff3b0a836baa331dc363a8822ac34b47812f3966055eee0b58d2d3af2a1217eba86e3a97e2c5f4f5b24e3b940823b40 SHA512 d285158b0d57427f23ca15ccdbd7affa9a34dd03daac665f3508cce11b3c59f9e9c4c933310fa5faafa5c65713a598c2f596a56294c31d73a49f23de02845e43 @@ -88,23 +96,29 @@ DIST gentoo-kernel-6.6.8-1.amd64.gpkg.tar 84592640 BLAKE2B bc10348b50a26e45cd3e2 DIST gentoo-kernel-6.6.8-1.arm64.gpkg.tar 74332160 BLAKE2B ecbed4c3045e117bb4040195dc2dbdf252bc2553eb71b87248e5bd2037a91f397796a0d857e97135defd805dd0eb701c9fe9f32722ca47b1bbc8c9fff6987e6a SHA512 737286d0583d836d0c6726470dcceb9e2496660de1103cd591c406ee827e23457713c960bba28118d2fd756a08235a65900bc165d5320fb9063a71b5e6a19eb3 DIST gentoo-kernel-6.6.8-1.ppc64le.gpkg.tar 64348160 BLAKE2B 69a1a842f65f87db305e05f8430b40fc1639867eef5c013848b0683d4018da2247cc89655fddebf840ff390ce5c1b23c768acf8b9b6fe4230be78bb0b60e7f1f SHA512 2811b86ea85e193750e75c94d20bb59978964626dd05abcc482bf61ee4a81aa89bbd8e48f83b80752f7ff7e5bf79721eb4464bbc5814ad6092745802375ae842 DIST gentoo-kernel-6.6.8-1.x86.gpkg.tar 68259840 BLAKE2B f36b39afcc2032f84664a2917fd4bd344f515e647de544b58c482dcb34cb78f21afdc5fa971c8b8e4af5bf4895a91f90e69fcfec7fd47a3d9c692f865546c357 SHA512 e98aca6dce21e70de98937c742777343a2208c58730f222afa6b87429d6cce566f513abfb3266a7f46b088061fca57942b8686e8ea3199cbf3d43ccb8e75b763 +DIST gentoo-kernel-6.6.9-1.amd64.gpkg.tar 145643520 BLAKE2B ceae9156ae6c37c45b0105e86a8bc29b562ed11c58a2f8c1d38e38b6b0c5c9e4f29908e633628a18bcd4180ce5def1ddda5e75dc5e25422ca4b108675e30ea9a SHA512 3ccec88ed280714b2e26e0c7cc2a07ef3436bb07502bdd704c005a4e54f9469355ff1d543956b049b52f8b3277f664bbdc353f5983c16cb046f49b86b7d26d12 +DIST gentoo-kernel-6.6.9-1.arm64.gpkg.tar 118558720 BLAKE2B 170d7f90400b9bdc0d4e98f7871d4f7622c670bac8baefd77ce531a11acfbb34e5ce4c4fe727918009b2980985c6c8d5d15d1859f2e129762c68efba3d3a621b SHA512 e7e56d77eb5391579fa1e8b5a6ced2c383e53c56b4079578f14a0ad5364405fc2e0088c6ab0851e5f8eb461912bec0b3d377560cf551b35cab3039ba750f76ff +DIST gentoo-kernel-6.6.9-1.ppc64le.gpkg.tar 64337920 BLAKE2B 93a44b217ad4a3d7c1ce253554238e5d04da795f3eaf1c94fd44294eefe1c56130bda61985ce759dbc98f851c7da910934a777046f22984b6521867db6d69a05 SHA512 1d55ac1965e86783a290437bb654d727899a19d3953d428097fc9b169bb732227d8042ceadde85449278aaa323dff8827bf751c520cbbc8f36c7c742298d486b +DIST gentoo-kernel-6.6.9-1.x86.gpkg.tar 68259840 BLAKE2B 86c05ed50692df9fae4daefc0448970f34b52c940db70803c6e8b259f12d9bdc1e8539f6d8b7c92886c19e9d84e6a20072c6d4f7b284cc9a0e0bbd67b30cfe9d SHA512 157a67acbbd6f5731b31fba5861316aab90ba9d9254bb4623582c15d45508eaed7903af56b64fe7c3fbebbd28c4b6b3d6f3670b952b84e2fa2ac1260f1fef509 DIST linux-5.10.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a9362d2adacdadd8d96251f61f7230878ea297a269a7f3b3c56830f0b177e068691e1d7f88501a05653b0a13274d1 SHA512 95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b836666a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83 SHA512 d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68 DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35 EBUILD gentoo-kernel-bin-5.10.203.ebuild 3025 BLAKE2B e7d20774a8f1d0fb6a177e8b2fdc0f04e9e604ce6fa49e7fd4f38958232b598d08adc752fe1d523e7284edca140cb952e70f5d740964b033dc34c02d6f7989e6 SHA512 940fac11a7334552035af1f8c9bafa736c4036e01c9a909116196b718887815a4c3d92c6b99541007204f1d1b9950ac280e89f389519b09dc967b649b8f51d15 EBUILD gentoo-kernel-bin-5.10.204.ebuild 3029 BLAKE2B ba1ab92597bb3c6d0e3e55d88c838960345288180cc5e12595fc6ab63707dca05b342b6a35dd89b4f6a141f679e4bb097937ae11b11a5639a6e6d2696b187970 SHA512 7ca7853ee658e36d70b2ca418388ee154359d820d77d7692eae1462e468d655f48b489391dfec67f8a6147343eb846b6cc4755fffca1bc88961eddc62d0f5449 -EBUILD gentoo-kernel-bin-5.10.205.ebuild 3029 BLAKE2B ba1ab92597bb3c6d0e3e55d88c838960345288180cc5e12595fc6ab63707dca05b342b6a35dd89b4f6a141f679e4bb097937ae11b11a5639a6e6d2696b187970 SHA512 7ca7853ee658e36d70b2ca418388ee154359d820d77d7692eae1462e468d655f48b489391dfec67f8a6147343eb846b6cc4755fffca1bc88961eddc62d0f5449 +EBUILD gentoo-kernel-bin-5.10.205.ebuild 3027 BLAKE2B 7a9b45194ba067e6a7b631b865275e118f156792eff1e0fb16187d53747aa91296657adda553acb61f77509ea44ededcd9b3de27856217e9e12df2c4041b15fc SHA512 e53617064d590dcd1c2134391490f82c9136a982e09a37dc62b4b495323c16c819cf5a005ca24a1c40d5f26f8767270f01e9269d516fdbb75742dfd1fb4dea36 EBUILD gentoo-kernel-bin-5.15.142.ebuild 3025 BLAKE2B ad91d76e8a913963e4e630f8155f78dc51bf546ca3aafbf8ff83730b9cc2b4203cf31ce94b3296c5911d54036417a06833c26e37d626784ce700d9ae7d8ef9c7 SHA512 756f82a11a2dd65be78036df8469905811e3341f123be2f8e1444708e56ff0c7b262c4fc785281178b36d71a12a408d09f249a06e4cd1aab04b251a6b89cb7dd EBUILD gentoo-kernel-bin-5.15.143.ebuild 3029 BLAKE2B 404f2faac61c38ebfa082cfe32f2fec1580dcf1f986c1396e59b40d505865ac672339c0006ac4b13bb846c514390a7abe446117f2331c45dc0dc796667a6c3e7 SHA512 ce81f6778cb31680b6dba55cea23b9256c2483f14894622106f3d28ff3c1bd95075f4bf30356984c0159f007d04caa667806501bc4dc4ba7094d0882a80affa3 EBUILD gentoo-kernel-bin-5.15.144.ebuild 3029 BLAKE2B 404f2faac61c38ebfa082cfe32f2fec1580dcf1f986c1396e59b40d505865ac672339c0006ac4b13bb846c514390a7abe446117f2331c45dc0dc796667a6c3e7 SHA512 ce81f6778cb31680b6dba55cea23b9256c2483f14894622106f3d28ff3c1bd95075f4bf30356984c0159f007d04caa667806501bc4dc4ba7094d0882a80affa3 -EBUILD gentoo-kernel-bin-5.15.145.ebuild 3029 BLAKE2B 404f2faac61c38ebfa082cfe32f2fec1580dcf1f986c1396e59b40d505865ac672339c0006ac4b13bb846c514390a7abe446117f2331c45dc0dc796667a6c3e7 SHA512 ce81f6778cb31680b6dba55cea23b9256c2483f14894622106f3d28ff3c1bd95075f4bf30356984c0159f007d04caa667806501bc4dc4ba7094d0882a80affa3 +EBUILD gentoo-kernel-bin-5.15.145.ebuild 3027 BLAKE2B 92ad526faeffb1c046745f53ed61b4db0f972b22cf7491991ee2cb5c07b8feef1dd8abc0edb28e885640c07d06f7bbb2a9a7d976f1602615389d2fa7a4f053ae SHA512 6dea45c5414db7cac33c9fdab1aa39c1eaf5e3b20f192616bece4a3f4cbcdd2a1e540bbcdf99f91125540caf5bfb4e911b53c88e2df933b9ab29e0a4c4000e8b EBUILD gentoo-kernel-bin-6.1.66.ebuild 3025 BLAKE2B 874396d9c81967a6bff730d8f4ee2b199931a232134bdaf0ef80e64fc68c06489e53d200109fbf79f227cb06944f59603e747633c7175f6c3e00bd5963d91a91 SHA512 9d9b26b825e006bb5866c221d08260ae7ab7592186db0c5647a46862b2bd53e55a20c5d1cec375e197c13131284751daa4b24b145c3c6fcac8e34d4f1fac8fee EBUILD gentoo-kernel-bin-6.1.67.ebuild 3025 BLAKE2B 874396d9c81967a6bff730d8f4ee2b199931a232134bdaf0ef80e64fc68c06489e53d200109fbf79f227cb06944f59603e747633c7175f6c3e00bd5963d91a91 SHA512 9d9b26b825e006bb5866c221d08260ae7ab7592186db0c5647a46862b2bd53e55a20c5d1cec375e197c13131284751daa4b24b145c3c6fcac8e34d4f1fac8fee EBUILD gentoo-kernel-bin-6.1.68.ebuild 3029 BLAKE2B a3cb1a02eb9fa0eee8f67236b0852f250395ae753a711f62a180fd3c4cbb6c62d1dee4d464b3d5e6e89583e945635dbf5f179a3b664034983ca3a3c8a2fa831e SHA512 be57128fbffba5fcda1874103e061769441be3082e0e7bb1e3cc1bd62ce36d53d832972669ecb97e75065434d898a75ac2c5ef18914c4142be57f60ffcbe8bbb -EBUILD gentoo-kernel-bin-6.1.69.ebuild 3029 BLAKE2B a3cb1a02eb9fa0eee8f67236b0852f250395ae753a711f62a180fd3c4cbb6c62d1dee4d464b3d5e6e89583e945635dbf5f179a3b664034983ca3a3c8a2fa831e SHA512 be57128fbffba5fcda1874103e061769441be3082e0e7bb1e3cc1bd62ce36d53d832972669ecb97e75065434d898a75ac2c5ef18914c4142be57f60ffcbe8bbb +EBUILD gentoo-kernel-bin-6.1.69.ebuild 3028 BLAKE2B d4a80667985462724b886b404fc8ae34bf7d936571b762ee33df71ac1872f688f24ea9c5fd7f1bcd18736345370c28f1af5746497d5c11e4313450022c5c2c3d SHA512 bf6b687a2f4379b9affcfaef8c2166cd1a5ff405c3362ccbe659405fa6af93b242efb019a2d909cbe1f20d443a4c0e1fe0e7b4739d4fd188938f643a96738d7e +EBUILD gentoo-kernel-bin-6.1.70.ebuild 3029 BLAKE2B 79aed5773a26b88a97724a5f2dfc19ddcc523c350a0da7bb92d25ed30ccc18b2e5bf1e2bbee945d5cb23687cefd5332b18b3917640b2ee7bde21f573d9e24812 SHA512 55e4f4e5f2cd64606ef8e30421119660392e76727d52ec9bff862ab0e0bbd2bdaa9e4f7df54a0529d8d86f7a546b189dac4bd27cd9118642a77317cb74126cc3 EBUILD gentoo-kernel-bin-6.6.5.ebuild 3160 BLAKE2B 56befa90a572da973654c27f61d9303eebf75154eb8f381c87acf65b05ce70264690c36ff6d2896ead4d7aa6a26c5bbd9ff5a65ce32521cdee4910fd640cc276 SHA512 9c61b0fd4305f5ec716a3f1998875bb6268d3402466776e35e3413c2d69e255c9851cf15f0dd2f5d75d2f94208480f601f3b4cbaf09815cf63624432d5fef531 EBUILD gentoo-kernel-bin-6.6.6.ebuild 3160 BLAKE2B 56befa90a572da973654c27f61d9303eebf75154eb8f381c87acf65b05ce70264690c36ff6d2896ead4d7aa6a26c5bbd9ff5a65ce32521cdee4910fd640cc276 SHA512 9c61b0fd4305f5ec716a3f1998875bb6268d3402466776e35e3413c2d69e255c9851cf15f0dd2f5d75d2f94208480f601f3b4cbaf09815cf63624432d5fef531 EBUILD gentoo-kernel-bin-6.6.7.ebuild 3160 BLAKE2B 56befa90a572da973654c27f61d9303eebf75154eb8f381c87acf65b05ce70264690c36ff6d2896ead4d7aa6a26c5bbd9ff5a65ce32521cdee4910fd640cc276 SHA512 9c61b0fd4305f5ec716a3f1998875bb6268d3402466776e35e3413c2d69e255c9851cf15f0dd2f5d75d2f94208480f601f3b4cbaf09815cf63624432d5fef531 EBUILD gentoo-kernel-bin-6.6.8.ebuild 3160 BLAKE2B 56befa90a572da973654c27f61d9303eebf75154eb8f381c87acf65b05ce70264690c36ff6d2896ead4d7aa6a26c5bbd9ff5a65ce32521cdee4910fd640cc276 SHA512 9c61b0fd4305f5ec716a3f1998875bb6268d3402466776e35e3413c2d69e255c9851cf15f0dd2f5d75d2f94208480f601f3b4cbaf09815cf63624432d5fef531 -MISC metadata.xml 353 BLAKE2B cd022bd01b289ae703ae6ef6c2539fcfce833206c55e328ba02fc42b360d60f76b1920927b259dbb199724e6d3e7b0f68ba2044680d962d3cd03a973475582ff SHA512 10b10fd24801843108a71ca7d0c27514965b0a15a60da4d9b521fc41493448a1b1685ae3278dbd46cede0d069e51dede402d2c1448c8ae6a7fcfce8acf415bf3 +EBUILD gentoo-kernel-bin-6.6.9.ebuild 4067 BLAKE2B ab93e9c63ea180b1891f0fdcae6750481043789b78273f8a1322d650b7611e6d50f910cb52d5073819dcff9d2dde59577bebbbfde9e2753ef67d3f15a381b723 SHA512 f0244594a39584509e2b9e7999fac2c300f453ea84d3672dc3df0fc7d95afb248d6fc49e7d36ece2113c585b8e55a691cf8f6c616cd31b189a1e2cdaa3e66f1c +MISC metadata.xml 482 BLAKE2B 3e7e4723542cbb8ac93dae78248fb8c26b96b7bfb2a3cd7913e4e7aef9beff07d9e8301219ae95bbbe4282d0806614b2733bea5d818797d19b0070c9119c0e1d SHA512 e3de887610d2c063fde21d52ce78c5d15301bffff49a82508c50dc1b03e606bf3e87506b376f10c6c10334949f577bc0f5307c3f45f2544fac799c57cf75d4d4 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.205.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.205.ebuild index ea061d08855e..a728742e64eb 100644 --- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.205.ebuild +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.205.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2023 Gentoo Authors +# Copyright 2020-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -35,7 +35,7 @@ SRC_URI+=" S=${WORKDIR} LICENSE="GPL-2" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="~amd64 arm64 ~ppc64 x86" RDEPEND=" !sys-kernel/gentoo-kernel:${SLOT} diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.145.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.145.ebuild index 0c08429b1f95..3bb35ac23c69 100644 --- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.145.ebuild +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.145.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2023 Gentoo Authors +# Copyright 2020-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -35,7 +35,7 @@ SRC_URI+=" S=${WORKDIR} LICENSE="GPL-2" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="~amd64 arm64 ~ppc64 x86" RDEPEND=" !sys-kernel/gentoo-kernel:${SLOT} diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.69.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.69.ebuild index 726e0ef534f8..8fbfa020c269 100644 --- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.69.ebuild +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.69.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2023 Gentoo Authors +# Copyright 2020-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -35,7 +35,7 @@ SRC_URI+=" S=${WORKDIR} LICENSE="GPL-2" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +KEYWORDS="~amd64 arm64 ~ppc64 ~x86" RDEPEND=" !sys-kernel/gentoo-kernel:${SLOT} diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.70.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.70.ebuild new file mode 100644 index 000000000000..1366b6d0ff33 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.70.ebuild @@ -0,0 +1,127 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-install toolchain-funcs unpacker + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 8 )) +BINPKG=${PF/-bin}-1 + +DESCRIPTION="Pre-built Linux kernel with Gentoo patches" +HOMEPAGE="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 + amd64? ( + https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.amd64.gpkg.tar + ) + arm64? ( + https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.arm64.gpkg.tar + ) + ppc64? ( + https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.ppc64le.gpkg.tar + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.x86.gpkg.tar + ) +" +S=${WORKDIR} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + !sys-kernel/gentoo-kernel:${SLOT} +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" +BDEPEND=" + sys-devel/bc + sys-devel/flex + virtual/libelf + app-alternatives/yacc +" + +QA_PREBUILT='*' + +KV_LOCALVERSION='-gentoo-dist' +KPV=${PV}${KV_LOCALVERSION} + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + cd "${MY_P}" || die + default +} + +src_configure() { + # force ld.bfd if we can find it easily + local LD="$(tc-getLD)" + if type -P "${LD}.bfd" &>/dev/null; then + LD+=.bfd + fi + + tc-export_build_env + local makeargs=( + V=1 + + HOSTCC="$(tc-getBUILD_CC)" + HOSTCXX="$(tc-getBUILD_CXX)" + HOSTCFLAGS="${BUILD_CFLAGS}" + HOSTLDFLAGS="${BUILD_LDFLAGS}" + + CROSS_COMPILE=${CHOST}- + AS="$(tc-getAS)" + CC="$(tc-getCC)" + LD="${LD}" + AR="$(tc-getAR)" + NM="$(tc-getNM)" + STRIP=":" + OBJCOPY="$(tc-getOBJCOPY)" + OBJDUMP="$(tc-getOBJDUMP)" + + # we need to pass it to override colliding Gentoo envvar + ARCH="$(tc-arch-kernel)" + + O="${WORKDIR}"/modprep + ) + + mkdir modprep || die + cp "${BINPKG}/image/usr/src/linux-${KPV}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + kernel-install_test "${KPV}" \ + "${WORKDIR}/${BINPKG}/image/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \ + "${BINPKG}/image/lib/modules/${KPV}" +} + +src_install() { + mv "${BINPKG}"/image/{lib,usr} "${ED}"/ || die + + # FIXME: requires proper mount-boot + if [[ -d ${BINPKG}/image/boot/dtbs ]]; then + mv "${BINPKG}"/image/boot "${ED}"/ || die + fi + + # strip out-of-source build stuffs from modprep + # and then copy built files + find modprep -type f '(' \ + -name Makefile -o \ + -name '*.[ao]' -o \ + '(' -name '.*' -a -not -name '.config' ')' \ + ')' -delete || die + rm modprep/source || die + cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die +} diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.9.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.9.ebuild new file mode 100644 index 000000000000..fef68306ec7d --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.9.ebuild @@ -0,0 +1,161 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KERNEL_EFI_ZBOOT=1 +KERNEL_IUSE_GENERIC_UKI=1 +KERNEL_IUSE_SECUREBOOT=1 + +inherit kernel-install toolchain-funcs unpacker + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 2 )) +BINPKG=${PF/-bin}-1 + +DESCRIPTION="Pre-built Linux kernel with Gentoo patches" +HOMEPAGE="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 + amd64? ( + https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.amd64.gpkg.tar + ) + arm64? ( + https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.arm64.gpkg.tar + ) + ppc64? ( + https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.ppc64le.gpkg.tar + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.x86.gpkg.tar + ) +" +S=${WORKDIR} + +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + !sys-kernel/gentoo-kernel:${SLOT} +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" +BDEPEND=" + sys-devel/bc + sys-devel/flex + virtual/libelf + app-alternatives/yacc +" + +QA_PREBUILT='*' + +KV_LOCALVERSION='-gentoo-dist' +KPV=${PV}${KV_LOCALVERSION} + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + cd "${MY_P}" || die + default +} + +src_configure() { + # force ld.bfd if we can find it easily + local LD="$(tc-getLD)" + if type -P "${LD}.bfd" &>/dev/null; then + LD+=.bfd + fi + + tc-export_build_env + local makeargs=( + V=1 + + HOSTCC="$(tc-getBUILD_CC)" + HOSTCXX="$(tc-getBUILD_CXX)" + HOSTCFLAGS="${BUILD_CFLAGS}" + HOSTLDFLAGS="${BUILD_LDFLAGS}" + + CROSS_COMPILE=${CHOST}- + AS="$(tc-getAS)" + CC="$(tc-getCC)" + LD="${LD}" + AR="$(tc-getAR)" + NM="$(tc-getNM)" + STRIP="$(tc-getSTRIP)" + OBJCOPY="$(tc-getOBJCOPY)" + OBJDUMP="$(tc-getOBJDUMP)" + + # we need to pass it to override colliding Gentoo envvar + ARCH="$(tc-arch-kernel)" + + O="${WORKDIR}"/modprep + ) + + local kernel_dir="${BINPKG}/image/usr/src/linux-${KPV}" + local image="${kernel_dir}/$(dist-kernel_get_image_path)" + local uki="${image%/*}/uki.efi" + if [[ -s ${uki} ]]; then + # We need to extract the plain image for the test phase + # and USE=-generic-uki. + kernel-install_extract_from_uki linux "${uki}" "${image}" + fi + + mkdir modprep || die + cp "${kernel_dir}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + local kernel_dir="${BINPKG}/image/usr/src/linux-${KPV}" + kernel-install_test "${KPV}" \ + "${WORKDIR}/${kernel_dir}/$(dist-kernel_get_image_path)" \ + "${BINPKG}/image/lib/modules/${KPV}" +} + +src_install() { + local kernel_dir="${BINPKG}/image/usr/src/linux-${KPV}" + local image="${kernel_dir}/$(dist-kernel_get_image_path)" + local uki="${image%/*}/uki.efi" + if [[ -s ${uki} ]]; then + # Keep the kernel image type we don't want out of install tree + # Replace back with placeholder + if use generic-uki; then + > "${image}" || die + else + > "${uki}" || die + fi + fi + + mv "${BINPKG}"/image/{lib,usr} "${ED}"/ || die + + # FIXME: requires proper mount-boot + if [[ -d ${BINPKG}/image/boot/dtbs ]]; then + mv "${BINPKG}"/image/boot "${ED}"/ || die + fi + + # strip out-of-source build stuffs from modprep + # and then copy built files + find modprep -type f '(' \ + -name Makefile -o \ + -name '*.[ao]' -o \ + '(' -name '.*' -a -not -name '.config' ')' \ + ')' -delete || die + rm modprep/source || die + cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die + + # Update timestamps on all modules to ensure cleanup works correctly + # when switching USE=modules-compress. + find "${ED}/lib" -name '*.ko' -exec touch {} + || die + + # Modules were already stripped before signing + dostrip -x /lib/modules + kernel-install_compress_modules +} diff --git a/sys-kernel/gentoo-kernel-bin/metadata.xml b/sys-kernel/gentoo-kernel-bin/metadata.xml index dcee5ac96edf..783070054089 100644 --- a/sys-kernel/gentoo-kernel-bin/metadata.xml +++ b/sys-kernel/gentoo-kernel-bin/metadata.xml @@ -6,6 +6,12 @@ Distribution Kernel Project - Build initramfs along with the kernel. + + Install a prebuilt generic initramfs and Unified Kernel Image + (EXPERIMENTAL). + + + Build initramfs along with the kernel. + diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest index 4f6252c77c30..dc94b4219e90 100644 --- a/sys-kernel/gentoo-kernel/Manifest +++ b/sys-kernel/gentoo-kernel/Manifest @@ -20,8 +20,12 @@ DIST genpatches-6.1-76.base.tar.xz 4170836 BLAKE2B 5f3d0f64b1b884d8401076e752e27 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.1-78.base.tar.xz 4233428 BLAKE2B 489c688bdce6b557065c5a2c63b359682ba79fc5e76665afb1cfc4c39c7451308aca9f72bb67551cba84a5b258e08e5133ed844307e51d7a47bca01d73a5cd9c SHA512 51665654f2be21a920678fe24af34f4a1b047bbe2038edf08eb68947b72e96a97daefb2b104d1ffc2d8ac691bf0624217960089b7d22bb63db43e51f2d8cc02a +DIST genpatches-6.1-78.extras.tar.xz 3812 BLAKE2B b06900c35aba0f1866d2c64a71785afe6a8b6ff0abe12a15f02475470e6f327c7ea35df1af5bcad92ad0cb9aeac030f0c4328beb69b1b74cf9420ac7a38555cc SHA512 d3b76b5301b4d6901ef8ae3589f9a3c948a2c88cdd932e748991987f45e4ef8b19b9b7102db83210ec17b67b00ceb597c22722c7ba3f66ae7be76624a1564522 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-11.base.tar.xz 649760 BLAKE2B d435eda1a18196b24c451ae605c719cf5a45c255b2017f1b7ab3612df3f4101c003e615589841d02329e44c3411b4cb27b577e8ff05f09e9349d38e622b823d1 SHA512 b06c66f730e4a43d8730c5c98661b6061485696375d2bc623b818303b0f6f15d9ad9da318bf9d3153036c3d8a2215fe12c5fd8b789775027c5c21f2ef8d93c4a +DIST genpatches-6.6-11.extras.tar.xz 3704 BLAKE2B a5ec7394f611c491ae0867c4694fdd000a0a53d6353832ecfb702f6b86711d7c955f0e4a8d10ee2cde6f2255a6e180fa26e3b1088f04902affa51d29f590fe82 SHA512 2ea475f922c98a83950441e86bd6805fc958f44c77866431b28da13d522d11841fc778945b253e292c8cd09ee378bd7e0169540ef12a9206d6341ec69ff463c6 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 @@ -51,17 +55,19 @@ 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.10.205.ebuild 3663 BLAKE2B e29beeb38b3cbc03338557b961030659789b466f3a31f0e19680dbce5abc6dea18ec498ec12f1a5f426ad844109c821cae4be7e98d0ed20f5afefbd07aba21f2 SHA512 22a2a42f67ce189307a352124c649614648f5c3dccef9cbd6cad47c07c4ca47b100d8055542d22a9dd442ec6b9dd00794c31e5dfb21339c8dea7789126ba1e99 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-5.15.145.ebuild 3743 BLAKE2B 6f405c0f4d07f6f736f4dd0d7cfb86bdd2e69261788e1cd320ae93d0fb6d74f74980cccd2102c8888d9d2565f5626ab6dcf8538ae4d1051e87b1ed349257f9e7 SHA512 e5f9e91a4011e41ec7f20354988f6c75b56787c02f43d24fd41dc34327398019da9e5f4f94a907c7af319d63a1ffcec5ab3dccb5d1e479c93b7fbbb408ea94ca +EBUILD gentoo-kernel-5.15.145.ebuild 3741 BLAKE2B 2e405f91e2c835f83db4eb88f33477a1be1c595cc8b6bc091bb8b46ba5ec7b2c5590116a90ff009136f34e2089798892f8293585caf5d3f619fc43ac0793cbb9 SHA512 de79071144e28b34aa146a3b9d53040bed1068a2503f3af4de12714a4939ad638bf0700a05710e93d96002575d7dbeb4a84c9b6def7c5b2d68fd31fece9584a5 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.1.69.ebuild 3978 BLAKE2B e004ae8b8f5a56350bd9bf4344c472f25665514df9f2a6ba63b9aec972671b28313558814b59118ecc8ec089ed11a21c42600e42ca1d6363abe8952c79cab70e SHA512 fbe1c941c7230ec5de2c9d0e66588c4c4bd84e8618b5838f4c6205377859c9626d465dc88bcb97e4d955c08216de27434f923e1f6a14ea5ae4b291265e74dfbc +EBUILD gentoo-kernel-6.1.70.ebuild 3979 BLAKE2B 7690e854fda0148bc7efa873f90cb2986e86f07d132c1380746c02b8d9ecd50b4cc26383824278276eaa33cf50485c442397f5870703c1ef3e7056e65f7c2c76 SHA512 92736ed96ee8bc159eb655f91612b02d0e9904eaaafcf4441e1cccc481d4864f81563a5688799b36576ec122650573936ad36ec6fad268c23cd2b3b617dd7088 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 +EBUILD gentoo-kernel-6.6.9.ebuild 4126 BLAKE2B 6f4fea379e3f966646477680de549477b27d88244ae0104d9047e9ac03c8d3cb0f43d9b0a2253e9f2f13d59191cee1745167c2dce731d4ff6b6d5915c3898411 SHA512 aa5ead4f2c83579b12a2806bf7304476b398ca86d76426e009aa47b1cdf20dcbb6eaa6aa62490922349565d4334930022a69e14a743a44440fa7fa5d5b6ecc2c +MISC metadata.xml 681 BLAKE2B c773ebc6132d1c1a2466655e2441e7bfd7be7979e5912d3a27dd1c81b59614fd7a9a9a6f865075071126337eee6435e4c2b57356cec46f47966c4bdbb131ff3f SHA512 caabebdfd4cb3db2a69406cd1dfd9638c828bc1602d3f972350a7e84db1a2caeb563c6750c0998756c66f949953a1508a395b4b4139e88fbe9a20a70ab3a5ad5 diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.205.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.205.ebuild index 89ab1fe6bec5..f02347e56440 100644 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.205.ebuild +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.205.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2023 Gentoo Authors +# Copyright 2020-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -43,7 +43,7 @@ SRC_URI+=" S=${WORKDIR}/${MY_P} LICENSE="GPL-2" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm arm64 ~hppa ~ppc ~ppc64 x86" IUSE="debug hardened" REQUIRED_USE="arm? ( savedconfig )" diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.145.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.145.ebuild index c2484efb4288..6b4709be0060 100644 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.145.ebuild +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.145.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2023 Gentoo Authors +# Copyright 2020-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -42,7 +42,7 @@ SRC_URI+=" S=${WORKDIR}/${MY_P} LICENSE="GPL-2" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~amd64 ~arm arm64 ~hppa ~ppc ~ppc64 ~sparc x86" IUSE="debug hardened" REQUIRED_USE=" arm? ( savedconfig ) diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.69.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.69.ebuild index 92d3ccf485e6..e9d6aed4583a 100644 --- a/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.69.ebuild +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.69.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2023 Gentoo Authors +# Copyright 2020-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -43,7 +43,7 @@ SRC_URI+=" S=${WORKDIR}/${MY_P} LICENSE="GPL-2" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~amd64 ~arm arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" IUSE="debug hardened" REQUIRED_USE=" arm? ( savedconfig ) diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.70.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.70.ebuild new file mode 100644 index 000000000000..e949903da3c9 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.70.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##*.} + 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.9.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.9.ebuild new file mode 100644 index 000000000000..2af28f01a0e7 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.9.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##*.} + 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} + +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/metadata.xml b/sys-kernel/gentoo-kernel/metadata.xml index 27f41ed2adb6..5eaf5d2b77d8 100644 --- a/sys-kernel/gentoo-kernel/metadata.xml +++ b/sys-kernel/gentoo-kernel/metadata.xml @@ -6,7 +6,17 @@ Distribution Kernel Project - Use selection of hardening options recommended by Kernel Self Protection Project - Build initramfs along with the kernel. + + Build and install a generic initramfs and Unified Kernel Image, + this is intended for building binpkgs with a pre-generated UKI + included (EXPERIMENTAL). + + + Use selection of hardening options recommended by Kernel Self + Protection Project + + + Build initramfs along with the kernel. + diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index e98222911cb4..adda8f758321 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -38,6 +38,8 @@ DIST linux-6.1.68.tar.sign 989 BLAKE2B 646b5742ce3e7225e3f1a8f436a21aa4975c3d882 DIST linux-6.1.68.tar.xz 135037496 BLAKE2B 35aaad87cf0fc957b2e9123e13c9971bfb5f04eeaecf4ff04d1fa3484556f12ed2dedc8beb8bf4d859f6f8dfab691cea7c46bffb2490e6de788933a91262d5e4 SHA512 249b3272af9bf6f8f2dc65859dd6e7cb150ac0521a52d482fc854db2d5268d559c40c64a413a9baa4870cfaff823c5fd1762e22370ee63ce10b2abe2a4bd2c33 DIST linux-6.1.69.tar.sign 989 BLAKE2B 354a497dc3ba0b2c00f374f3339b3970b95b0a83b933d0ad24f3855129379a7a7829b381a0b9aa5eb9c899cb99f8ff4912f28841653a9436cd2149d118116ef2 SHA512 b19b5c33c40ad494181f75141653b77ff9ae0ede9e183da5e124f973e500a9d87824057153b3835cea29f3f33cae60b6ea4f3b3506b2d2c3941750834e760f57 DIST linux-6.1.69.tar.xz 135035040 BLAKE2B 21038f291c7eb06f6fbe866132c0805d5784e3ed53dd089cfe97c95569701776d20e84f39e6d687ec7ddc06db9608045a16bc5b204a8a95f6fd269a1e8f41cc9 SHA512 70afe2642b58cb0a1a5b38867e00052b3236f7701d9d006f0d95c66f204935453e997bd8b4d28c890617e745e08610d39933ef0798ede13f230485a8222b9819 +DIST linux-6.1.70.tar.sign 989 BLAKE2B 25bd23eab2b1afcdd401f93946b73c05eb2fd2079ae01cfc0114b8af19ad0154e065b87f7bb32d4b756faaacdc1e5dd05df5fea89fd37feb4e9d1efa69402bac SHA512 1efd254c0ddb8911b9a71944d35dc2f832f36c200e0c71d364b736d0bddc09cac7d3604da996d97de12768d745575c62bc1dfeb255287c3cc78cfcc95cdfb784 +DIST linux-6.1.70.tar.xz 135042228 BLAKE2B e32727946bb9169bc903b051dfbbb1423b3fef3fe124162fe1125f1364b3ebd4ab8e4195a788f5102b056be7d23acd88e4a2d1da6f1e6c5546552bcefb1283a1 SHA512 e5ad2477005291d21168d9417f329b3ddee47d0af5ada3e7325490f2a673c9546458e84829aff0728f23a07d693470a7650ae64106e46aa76af4cbf92c22cd36 DIST linux-6.6.5.tar.sign 987 BLAKE2B 88ce36e009471c9dc796f2ed36012a7e76d2d9e6e4f5a62b996019a131b37ac14916d949e964a1dd4824e6daed562011b87764f996bd756deba87b7a7ce1fafe SHA512 2cdb44bac311b64138170158e49157dab631b21fe7b938770ed92f096dc6d4c9ef68e6003f3d84b1ee62903e88c3dfc28b734d97f60bbca0e83385b2e27d8d01 DIST linux-6.6.5.tar.xz 140039516 BLAKE2B 9d66d720f2f037cfd480835ab38807fe5aabcff09bd210c5cb0dc80bd3e1182434df9f04a286df4e8cbc508ac984ecba12d2098a3296e3aac60afad94c085876 SHA512 364df8c838a17742c67c4a919a4e8dbed2212bb5658f63d32d8c94ab765bf0b4e33ec524c0988427edf3d2bdfc7c04d1929024206131e26e04ce19d61ef6a89e DIST linux-6.6.6.tar.sign 987 BLAKE2B 56f75ef6ce549a3e35f9f774d0d9819e8755237851743bfa53277f6f3f3fc1d9753c27c86466a4f2b8abbd3a8d7c3be7a3007a61d2f47fc39644b913f6a89a0d SHA512 97e185e532d49a531a143596720c062b2e73acb17f1fde0ca96be5465b07a2286092c3084e00c0bfeec118413331342e88ad5c2a5ff220b0ea79af008182d82d @@ -46,6 +48,8 @@ DIST linux-6.6.7.tar.sign 987 BLAKE2B 41d1d20f5109cba63f81e9b2606d4bf1ab5f087aa7 DIST linux-6.6.7.tar.xz 140029048 BLAKE2B 000c45693d074c79816ea61c8e46b58281eed5532903df92c466d3f062ec6a302e59c2782235b21d309976929659e581ff08c8d5b067bb02e7f0cc4e40593643 SHA512 aa0b09f355a31f33fd8d6a15987080355d25757832a38fbc4e553335e82e78a0b68a70380184094b3bc03e2c4de2d816a10dcfad49343d6936ba59db9a5c1985 DIST linux-6.6.8.tar.sign 987 BLAKE2B d8293cb79cf31f1a6d907050adb3c023a577a3f83c812401f9a70edd5735aa5823211bfbec0a7a0157ce069ff3461e1d3ad46bea7b57cbe04f9b5b43a4b8dbc9 SHA512 391fa80f178ef0d52476b205ca16162976ba0d827d97a0c86031f8270f500d02b909ac96698c184a670185c2a89529b6a5ab2d9c6fce04f2b9ca0638f842443a DIST linux-6.6.8.tar.xz 140076264 BLAKE2B d6f58bfae29239f985c1aa329b19c2fdea1c08c79e819e60f85359e9ef00e97a7f72d74662df7d9def75ff85a3b4bdf36dc9ded578ee472e9b4efa7bf50fcd33 SHA512 aa43e54d86db2bd699b59c5c6e9fbaba6565f0052a8068c316468c7bb4cec8dc98b6c92218f6914c9c3313fece7498efe547c2fb2c8b344da882d40fc3e032a8 +DIST linux-6.6.9.tar.sign 987 BLAKE2B 947a3f09c87d9d02a8f8b5330d25cddc6f71ab501d2f52804ca0fa5394cdd5df27e413a17c1af5eba09afd0494328c122e76fec6a7792ba6c889c6d8ba7ab27a SHA512 e25e0b8cae76be052711c3113a7acfc0ecfd7e735fb0a3c7716ac8fdac689ff3f0ac51c6ea0677f3e585561f9c777dfb12b397ce25a323df7728b3352596f74c +DIST linux-6.6.9.tar.xz 140052968 BLAKE2B c7deb1221716144b636018ee2936abe6397e15204c9bdb4cb5806f6bd303cd5d3f953a7da5865c4f211b866e4dfec4cd347c0a1a0a675f18b1a4ad197b099cec SHA512 a6a9608b158408bb55737505058ee8d64a901af38230bf31d2eee007c3530503154067e5d37c1f86c36b60ba5dc24771047c6e91de24ed6a256c2f9ecbb9c2dc EBUILD vanilla-kernel-5.10.203.ebuild 3769 BLAKE2B a819d95060bc10320257a1c35a843a763f89e702fe33d93a33770ec02eaaf32a432b6b17bd6485d9e2565c57afa8bcef706bc1cc41ae945b0357f6c7530d7f8b SHA512 539e37e22646fa009c09bc4d9334771e5d57c5d1f234ff668fb7d0fab2cab28fe8b9d7f57fb739f4b72070bfefe6d3e378e65574fee341bd80e219a16f112df2 EBUILD vanilla-kernel-5.10.204.ebuild 3769 BLAKE2B a819d95060bc10320257a1c35a843a763f89e702fe33d93a33770ec02eaaf32a432b6b17bd6485d9e2565c57afa8bcef706bc1cc41ae945b0357f6c7530d7f8b SHA512 539e37e22646fa009c09bc4d9334771e5d57c5d1f234ff668fb7d0fab2cab28fe8b9d7f57fb739f4b72070bfefe6d3e378e65574fee341bd80e219a16f112df2 EBUILD vanilla-kernel-5.10.205.ebuild 3769 BLAKE2B a819d95060bc10320257a1c35a843a763f89e702fe33d93a33770ec02eaaf32a432b6b17bd6485d9e2565c57afa8bcef706bc1cc41ae945b0357f6c7530d7f8b SHA512 539e37e22646fa009c09bc4d9334771e5d57c5d1f234ff668fb7d0fab2cab28fe8b9d7f57fb739f4b72070bfefe6d3e378e65574fee341bd80e219a16f112df2 @@ -59,9 +63,11 @@ EBUILD vanilla-kernel-6.1.66.ebuild 3887 BLAKE2B c89d198cc5b48e3fb06e4fca0c98108 EBUILD vanilla-kernel-6.1.67.ebuild 3887 BLAKE2B c89d198cc5b48e3fb06e4fca0c981083a9a04414def46e51ec8f6c44c7d7157c6d8a132eec8d0ba307ae50d1af54876469842a74027abecdd973b5cc19928ad3 SHA512 cf9e0deb874b83f923982f5a11379502bcda164237ad635c64ba60dac8e2d8b9256759be6b01cf3a3d55f5a412e8bc7aaf1ef641b5da071b70f66a9598ed6b58 EBUILD vanilla-kernel-6.1.68.ebuild 3887 BLAKE2B c89d198cc5b48e3fb06e4fca0c981083a9a04414def46e51ec8f6c44c7d7157c6d8a132eec8d0ba307ae50d1af54876469842a74027abecdd973b5cc19928ad3 SHA512 cf9e0deb874b83f923982f5a11379502bcda164237ad635c64ba60dac8e2d8b9256759be6b01cf3a3d55f5a412e8bc7aaf1ef641b5da071b70f66a9598ed6b58 EBUILD vanilla-kernel-6.1.69.ebuild 3887 BLAKE2B c89d198cc5b48e3fb06e4fca0c981083a9a04414def46e51ec8f6c44c7d7157c6d8a132eec8d0ba307ae50d1af54876469842a74027abecdd973b5cc19928ad3 SHA512 cf9e0deb874b83f923982f5a11379502bcda164237ad635c64ba60dac8e2d8b9256759be6b01cf3a3d55f5a412e8bc7aaf1ef641b5da071b70f66a9598ed6b58 +EBUILD vanilla-kernel-6.1.70.ebuild 3887 BLAKE2B c5d406c26ca7656d70c30b04ec6a63b67516a10553498c14be274e818b1a5124cf5b147a84b91733ae04866dc04a60ec777dd51cc6bcddf71ed23763ae069228 SHA512 ae9ce235f1fdf67212cfc744c50e897a44272027149a39e0f2b5adc5b8bbc6c485b965153019da033b110aad68e8ac893e16b1c4247abc24c26ac0faae4976f5 EBUILD vanilla-kernel-6.1.9999.ebuild 3401 BLAKE2B 892c5605024b72860be2a59edc694f278c58190fca3992084696d3ef13e30e273184dbb77d0cdd0ddf340c1e54e4e8d26b10d97367233403f2968644c66db2cb SHA512 d3ee150f3f35be6b644c70110610ea475f881d7e281195862ce01de3f567a1e6c3e710f127f8cf6f5b780cb72829e2b41211e2df0c65b53239d73ba83dc29a53 EBUILD vanilla-kernel-6.6.5.ebuild 3991 BLAKE2B 979f19a66d2da7694b7442cea0018cbfda19dbc5a3d26ec902f64db38ebf28c5a11b07d7f6819dfa72dbf5c5e7eed9c40e1157b82fb36a77868e0bd822758a57 SHA512 9a49c5ae519003b1c2f390cd859dfafc3763ebf0e77328d233a9a06e24e66925134927b56f007776b96800b1741cef73f4546286566f49563890e3efdd0e8595 EBUILD vanilla-kernel-6.6.6.ebuild 3991 BLAKE2B 979f19a66d2da7694b7442cea0018cbfda19dbc5a3d26ec902f64db38ebf28c5a11b07d7f6819dfa72dbf5c5e7eed9c40e1157b82fb36a77868e0bd822758a57 SHA512 9a49c5ae519003b1c2f390cd859dfafc3763ebf0e77328d233a9a06e24e66925134927b56f007776b96800b1741cef73f4546286566f49563890e3efdd0e8595 EBUILD vanilla-kernel-6.6.7.ebuild 4023 BLAKE2B 24eeaff90a8dc26391dcfd00f9edd1a84c284c209f58cb106db277f71a187f45c483245e192d07ee4b8c05f87a984ddfabf03563ea714513fb802281ad25758a SHA512 2d8fe1677e557b0fd3cdec3faeb1df49db52db0b4f2235ee7b79eef6810adb6879e92191571eb7894fcefcf0a2ea8aaf0a87da04cda61c166471b59fe087f496 EBUILD vanilla-kernel-6.6.8.ebuild 4023 BLAKE2B 24eeaff90a8dc26391dcfd00f9edd1a84c284c209f58cb106db277f71a187f45c483245e192d07ee4b8c05f87a984ddfabf03563ea714513fb802281ad25758a SHA512 2d8fe1677e557b0fd3cdec3faeb1df49db52db0b4f2235ee7b79eef6810adb6879e92191571eb7894fcefcf0a2ea8aaf0a87da04cda61c166471b59fe087f496 +EBUILD vanilla-kernel-6.6.9.ebuild 4023 BLAKE2B 92b3faade9e526e8cd2d27dbd0a3a486189ba28aff820bc449dee97d2abe5945a03248367c917cb9ecfe195dc918358aa06377177d6eddafbae6c645e7fe5630 SHA512 ecea7c4c34a5022fdc5599b95acb2478b21bcc2457ba793671f361f320ff8751426fe3fce483a44335f486d558d8c23e6b3d434581703825773edb3e5dfd3f5a MISC metadata.xml 353 BLAKE2B cd022bd01b289ae703ae6ef6c2539fcfce833206c55e328ba02fc42b360d60f76b1920927b259dbb199724e6d3e7b0f68ba2044680d962d3cd03a973475582ff SHA512 10b10fd24801843108a71ca7d0c27514965b0a15a60da4d9b521fc41493448a1b1685ae3278dbd46cede0d069e51dede402d2c1448c8ae6a7fcfce8acf415bf3 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.70.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.70.ebuild new file mode 100644 index 000000000000..af7961f3fb66 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.70.ebuild @@ -0,0 +1,137 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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.1.7-gentoo +GENTOO_CONFIG_VER=g11 + +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 ~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 + ;; + 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 + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.9.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.9.ebuild new file mode 100644 index 000000000000..117098af327e --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.9.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.6.4-gentoo +GENTOO_CONFIG_VER=g11 + +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[@]}" +} -- cgit v1.2.3