diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-10 02:01:16 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-10 02:01:16 +0000 |
commit | 59437d191de3ff33f9bfa37f8656d849184fcaf0 (patch) | |
tree | 7d5e645c0aac6d8b71229a0e53d7a93136f83781 /sys-kernel | |
parent | 1a95f960273f276a4fdefb824336b073d83bcb5e (diff) |
gentoo auto-resync : 10:12:2024 - 02:01:16
Diffstat (limited to 'sys-kernel')
16 files changed, 1029 insertions, 4 deletions
diff --git a/sys-kernel/Manifest.gz b/sys-kernel/Manifest.gz Binary files differindex 1708db85995b..f80b69780c6a 100644 --- a/sys-kernel/Manifest.gz +++ b/sys-kernel/Manifest.gz diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest index 39b5a4e0309e..91be136f70fa 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -14,10 +14,14 @@ DIST genpatches-6.12-2.base.tar.xz 6548 BLAKE2B 6872ca3238aa7b9e811ce82726033085 DIST genpatches-6.12-2.extras.tar.xz 4060 BLAKE2B ce854b442562d86627eed172c94d6766ed27a29e0c7cbd240ec7b18b3fb0965a30289640d828b603eb309f2e911dec157c206740b4f16f40ffc3ce8069fabf3e SHA512 dd14190aaf8dfd51696e0fd3751695889e9c4c6ac9eb36b288f5991f01874b3cafb29240fa115fe54b718ee741c810c154e97aad8f5eb72f988bb3bae0005222 DIST genpatches-6.12-5.base.tar.xz 331136 BLAKE2B 6af9e74cc62063482672566432da6173b605d67ed0555ca1486cc0ffde606d84446c40d832276a9ee2a6d2584aae4a8de22a186a2c5b68ced840135b87b37457 SHA512 4b6f205a9fef89118e408e492b179289338e9453563dc95746826f71f5c995d4b36ca14ff106ef5ed6112f5d8dcf6992c7e368ab8ad3fd682c9c0219956ff02e DIST genpatches-6.12-5.extras.tar.xz 4056 BLAKE2B a3e17cf0578b3cb3d5edb399e7030283c35cfb71357202de8b4ce28b0c21ffa5d5e777d6f6fa64f5791ecfac6a37cce3f7e1a926fc16bf75ebfe7029af9e4c03 SHA512 52dd7cb88876ad7a643eb39c7e86a3341438b3662b9821ee1f479aafd759962db247d7d746ae1ee63a4b803c28e8b7fd14e89efafe918327663df5029651c3ef +DIST genpatches-6.12-6.base.tar.xz 365140 BLAKE2B bf281f8314de03b6ac24de430632999188ff1573f46f58cab999f92fbcf0c2e5fd14413892e5a961eb1ee8b64360a253e8cc26d24f8687b413ff9cc1df72a4c2 SHA512 ddca7ef8f67bdc182ccfeb6ed2e5fd08297287fcd5744285c549643a854c7d6148342a3ac1a13ad6cdd87c334acc5abc58a7f6e6a58f34db8ce9dca2b0802152 +DIST genpatches-6.12-6.extras.tar.xz 4056 BLAKE2B 4d3a72ea884a1b6cc84034277d6cfb57f7cc3fd43e9d229b46707c07dcef1af73bbd61aa880805ca5746c3b470335ad48c10d55f442f3396f0aaaa9a7a23c73b SHA512 538ba6590f3f4ff9bcb44131393a95a677ee6c59b6ee67ad2519ff242fb182358cd217d5e0533e11225646ecc92e8efeb4688c332db70d35a977a8e3cb475787 DIST genpatches-6.6-70.base.tar.xz 3723176 BLAKE2B 19017743aaa0e1c717746592f253a14ca476eae1658742c6e487023ee5a670473fe582a814a1202f2aeefc78d7dd3dd249810d7665299f740fcfceb1c8c11f84 SHA512 dfaa2df7ceb9411e9e35fc9f4822f7d579c1106b49c57805d657ec14699764a54e10d93f717801db7e33698b1c01dbab489e7b9953b1ff23feacbdec5a99c95b DIST genpatches-6.6-70.extras.tar.xz 4060 BLAKE2B 65cc5e2a27894992dd78d6cbfe5601f2e10b21f6e588d8a8d75f1f265f1fdab3ab03dd4d5c18e3ac5f48a6a72f021e2f125c5140224b26f0caeba3def4054042 SHA512 728495f3fa06f52f0ececb3b5e69b1cd4c7aa29d8ca02bc7a537616a2c1cf81859b5f624e125332a1def8176f7a878da58843ef8d363a5d622009b31548879c6 DIST genpatches-6.6-71.base.tar.xz 3745848 BLAKE2B ab33221175b500bce645d302fb32095aa15a536ba475b866c41087d963e57a713579ddde608d93a5f2ea823e7126850599b49522c8c7112cf9435fd85897805f SHA512 eecd342f586e1b594009f91fa1ac12399d90a164dbdbdb454414eeca9bd47ce04a78e0ceee28f889324ccc505112f6a3bb4cc093f88ed10a4c521869769f4e07 DIST genpatches-6.6-71.extras.tar.xz 4056 BLAKE2B def4ae87c4a1b9221a7f8a38cc1b5e66867f599dba38f57b2641690a80ece90851fe9e4484d85894c5d41500d736fc5564c30669becd582898db2b8d3da3dff4 SHA512 66225121d986d43ef542899b32845867f22a9165c2a6ea7d891f6d8d35bc9dd6f6a0aee82e945a1566cb4c523b9b821175921e436f7217c16acaa9a1685bc307 +DIST genpatches-6.6-72.base.tar.xz 3928624 BLAKE2B 65d75de6e47496de435004b9cc85f29517583accbe8b795774c3cc48a9886510b2032a8234da1ef02f28ba42573d3c2ab3aa60e2bfd2bf4a2ed0dff4366c804d SHA512 3432d58a63d5964f7c45b83d108825254bc7b2cc93dbd797f517d18bf3ac37b258503fb544781d8d8fe9ee6d335e7aad13eee5cad45cd68d45b11499d26f32db +DIST genpatches-6.6-72.extras.tar.xz 4056 BLAKE2B 5c3a9d0cc988a15fb2ea4cc3edc0d807d7523814226cd22cdad3d82b7a67138cc860445006d32d34667ae5441201adbc28e250b4c9fdfb6340129e5a23aa13a9 SHA512 6712bf418245ecedd113c451b795be17c6886f3c081ab9204124faac97703c7d4aacb02c7b8a9d68b5d981cb280dfeffc0a168c576c68b3bc4f65ca9cba4702e DIST gentoo-kernel-5.10.230-1.amd64.gpkg.tar 63324160 BLAKE2B 62af76878c2adad51cbdfa4f7fe6b508ac77d58490c807b8d800e971a6c60d32a0f6d8478bfb6d3a167e118d8a928a4da5c338a00d4bab3fae59a391d4a74cc3 SHA512 5a8eed28b0e8d49d5a45a4aca5e11c5f39eda93ed854fd9237c3cd6b90a511bc0426383b0a65293d6a5910bcbd27e67a26626e7df6844ee41797de527e2d2144 DIST gentoo-kernel-5.10.230-1.arm64.gpkg.tar 56780800 BLAKE2B 5e294f0fc44a4df76c251be2232b85ec94a613bf59a116b7753373532d7d45f845809df0d379108ac6c75a8ecf290da47abbb574453a5595a05fcfc3d143fa0b SHA512 ecaac1adf2e5727edf3d1a0dc4c3cbbebc9fb6f8d574749c8a2c2bca7b0a57b6d66d4f28b9ee7378052cab4e7f671affd7f24d777f978b55396470ee071fe842 DIST gentoo-kernel-5.10.230-1.ppc64le.gpkg.tar 52797440 BLAKE2B da3ae36a895bf2b8135098be61b6b1712dda4ad0ce241306b65d877bf48494f71d84ac209895dc73054846e23623c77144fdfdc6cfdc43cec9516f0be78c125e SHA512 b352e0e7df9e1ac907b840348b3c341be45a0dabbd539ddd89bac158c11517164414c73f528c7c9a0a5b6c92404045e1e41ca906a393ff1e2ae8d17f0e6422d4 @@ -50,6 +54,10 @@ DIST gentoo-kernel-6.12.3-1.amd64.gpkg.tar 298690560 BLAKE2B 38f8670f67bbd9ab5b5 DIST gentoo-kernel-6.12.3-1.arm64.gpkg.tar 272814080 BLAKE2B e562374063514452ead9f93905ac0a745f0eb7841aa1c6dc9d6a79dffdc4b939d8ea868d47e66277f66052d096285516723774000f0a9c8bc694fc5e83142f9c SHA512 9889b42c9ebde4a350a085477560d076384cd1da48090a629de1f71ae1aff3b15beedf1b630989b09602c77299fcf341e4d736a5519ec79d9424119a30d7bf1b DIST gentoo-kernel-6.12.3-1.ppc64le.gpkg.tar 73072640 BLAKE2B f10734adfd71df134f10ab7f737256fb6e2d1a475ca0dd948c95f9b4371e54ab22374afb17b68c5c9e4d4aac4e6f51ae8aa4b58e968b09c92c7fcea6932f833d SHA512 d9de25e1eaa6eac0a31c31be8d7cfa3b48ce89a940dfccb200f048c353aba3c6cbcd1acc1764203c2fac35c0e47274fb8f0d0f5ba3404e861d505e72f07065f3 DIST gentoo-kernel-6.12.3-1.x86.gpkg.tar 77373440 BLAKE2B 0a6b4e351ea26fc033c82ebc83bbcac086ed3bedf169d1eb68a908113f2b8b6c7cb3ac0af1ab1898e9befaea5a1549eae8f3902f8c0c98aee2e7371b3775270d SHA512 bbcee4f339bc265afc6b7d9df25861f1f0f4fc426d740be9e20ac296ee9912e41731c1da5ada3832b36cd6a58e5b0addd27db1e21f5794e943f41dd22938389d +DIST gentoo-kernel-6.12.4-1.amd64.gpkg.tar 298762240 BLAKE2B b05d0ee9b91861d34071db2cdb088b83d36155d946a0be21af2583bfcc01cd0a059aa953de92a5431449758e2ac76d2d26a967b989202c88692e517480f1de9c SHA512 10fddc460a6da166bd2567e00864375739343e0e25d1b9436c27be20981794e21b68cdfcfd5947e8bc8342d02b2e443a72bd96d3919b086b1fea9b7319342d57 +DIST gentoo-kernel-6.12.4-1.arm64.gpkg.tar 272793600 BLAKE2B 808837f2e196d65f35a939d9d8a24fa7acb90d3c603ae5c1879d977a8b3b89240a4d9052eb7ca6c014811a72dec75e9082f1d92eeeb6049e06a1cd3926a787c9 SHA512 68fb263672e5c40702671370fc32f67f85a0a2aaa8a71f091c4d96e16c1aec7fb0e652f3b0eef9a1a7895c85e43c1ebb22d50ec3a59a0cc40b1a465950d82ab2 +DIST gentoo-kernel-6.12.4-1.ppc64le.gpkg.tar 73062400 BLAKE2B 1a24e24a8433ca2b3c963c57c51f53ccad08320c1cc7f65d1f5e621d36bb8e0e2a677d1014c3cd573465e1386e98856cd0c5951cc13f6a360c2bc2ed35eba760 SHA512 b32ad6aed53adb6efcf3ea000294535aaccc05f11bf161273016c745d49b08ff05b73c4c0faa4f63fe099d36194c84cce92e092f2b456edc44c9d3cce72361e2 +DIST gentoo-kernel-6.12.4-1.x86.gpkg.tar 77352960 BLAKE2B 4eff060db996daff2ca09072ecbdd9dd3a86917bd7b0767bac8ff4788a5490dace803eba654f56e4a95abef5c4ffa97b5920e71fa4ba08d0b958c68bc6456059 SHA512 0154a2ca907d8d78602dd5b5213e08db460b9a0c13030ad250ed21f477aa70ff976cfe8e3b89e26b5c22d30bcfc0b161a68c6d12230c601c14a885a1256b12f9 DIST gentoo-kernel-6.6.62-1.amd64.gpkg.tar 266598400 BLAKE2B f02bf7a4a53b025a1c2da579f73f3b0222e0c1b06deb3657b39e70103bf2ff0ef5e56386b70ae70a0d6822f41626e574f620e1901d46a752c3d3cfdffac70318 SHA512 8a62586c680c0d0dfd3f498dca24292ef337797adb15aa200f2964cc37624cb2dfb537ddf42036640ff46237749d1313f1a8724169a78ed958f2e99f5d530ddc DIST gentoo-kernel-6.6.62-1.arm64.gpkg.tar 241633280 BLAKE2B 67f10267c5f7bbbd436c7fa44f1f0e9dac83262f58c3b297a681d8769c1d0577123b4cc3c45283aaf94eb3dc14189c90207d0415ea174737f7eec12688bf1f4e SHA512 6933a49baa988b84171cb4a6a1849c1f115cae4d09715f2d450fed9a8e2808a1c86b4af67545554ad91992d77eb06196ce1b395f6749f9547e01bd63f157a827 DIST gentoo-kernel-6.6.62-1.ppc64le.gpkg.tar 64327680 BLAKE2B 7bb24f2f5d97446baaf70f15ad2f8437057274f371569caa7dda12c0e31de8be168422623d685609c37ef532b8b67dbc6c90aecbc561e7e86c66ca46945962bb SHA512 4936c616f77f1bd1a728778722207d298e7c596cfc4e35c0f3ce703ae4282e7ccce274762183a81cfa2feaadb456d4467a87a87c191abb3c72d3da5a498cb297 @@ -58,6 +66,10 @@ DIST gentoo-kernel-6.6.63-1.amd64.gpkg.tar 266588160 BLAKE2B 7c027dd6ae51c0dd7a9 DIST gentoo-kernel-6.6.63-1.arm64.gpkg.tar 241684480 BLAKE2B 0f106377785dd6abd9b38bc0d1284c0c7f3646f46e682487ac6baf520bdb017d743026399c48d9545792d70ae0d60faa574c10c7190c4cef917843a87385f61d SHA512 369524dd39b1839239de8d68bfd059053fa7f0f8552e53ac103fa6ac4c4176f9c8f42e538225fd9392917116bccce0309f79b125afd9b2859793bfe7ad189ece DIST gentoo-kernel-6.6.63-1.ppc64le.gpkg.tar 64337920 BLAKE2B a0b9d53652113f5988b8e836d3d903e688980bc46cdad43039124249cafb74cfaac6195babf64917dc7fedc6889dfd23b971c1c772f7daad49e497a4cc3f5128 SHA512 81b0582f32c45949e5b38e3055804b42e38b2702e127380c993df3c5cd05aa6f8f5a58da737bbcef4e371dc968770a223785cfcc76fbfdf5828f83fa7ef0073e DIST gentoo-kernel-6.6.63-1.x86.gpkg.tar 68341760 BLAKE2B f13fb306fa881f8498955187f133f75ac437b68db3819fa251dbc0abd340ba51c049a72a5327d29624369b6e93e68770599aa5a5cc91a264f79d8f45d4276334 SHA512 6096fa62135d592b05850265a2cf755e4624c1377d3c471960db12076781bd0e4d000b5373a4492198ebc773129ad394e94030b66e02f7d3e57b66a7610c56df +DIST gentoo-kernel-6.6.64-1.amd64.gpkg.tar 267520000 BLAKE2B 180bbbc82fbd8f00c988f50dfd42413401d42fa31d8a44d3124785bf49e713432219ee4eec850c084aba05a694337f666484ea465e490db74fd49d73780abd29 SHA512 2582b8255001738f3a9e62719c182a28c28330807ef2dc8e16443c95986df174a253fa36eed691862f97a9e7a7abf73b8d62954d692b2ed9f6504ec066593586 +DIST gentoo-kernel-6.6.64-1.arm64.gpkg.tar 242135040 BLAKE2B 5c43ccfd15cabc703f60998579abfd7bbf6aa35b07de57798f32e79d73d739367acdf5ffaceae6c51957af0dbfe85f3b6b195dbf51746f0afd387e125df9ae8c SHA512 bb6c89364785f223ca6ae0994ce54b707ca88182daaad2322e5501645c10a8a2410322706596e8f5cb3901a59f6a2742a4fffe709cb2b91e7eac718e6084fafd +DIST gentoo-kernel-6.6.64-1.ppc64le.gpkg.tar 64378880 BLAKE2B 302b2c567ace8d87738777519fcd00cce9eb0c53370be987d439e7ad14e21868a101101be3d315e0de137a5df18b301628f3ca92735fe92fc42bbd64980ad1ee SHA512 295320344086ae14205f831c7f5bee5a0e70649fc5984834270067a9d0b820091cd3cf11a936466ef4aa0c36f4378cbf43fe1f71aef22f7083326e48c3bcf425 +DIST gentoo-kernel-6.6.64-1.x86.gpkg.tar 68526080 BLAKE2B 839a5c742a7a9a3ac1fb49b533f9d5c1e0ea367d68f3aedbf1709fb37b15448b1f23b2b3e277d9ed783b277cc3cf7cf40c448b9d2760f23196b5cd094f230b44 SHA512 67254751da697663e8e14171334e0a17d7f9260819d5fe9e3e9d601431ec79329b70125855d2f4cd35872378b88f499eac7c054fb4cbed9071d4eb3ed7c31b9a 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 @@ -72,6 +84,8 @@ EBUILD gentoo-kernel-bin-6.11.10.ebuild 4778 BLAKE2B a067fbe9b60da41eba0f660de3f EBUILD gentoo-kernel-bin-6.11.11.ebuild 4778 BLAKE2B a067fbe9b60da41eba0f660de3f32c4e9e62eb9c471b8241864058be4c0ad9cf06ae119de1d580b4a031cec0b2976201ed6c1b22b395bba30e6e501ae99bfea9 SHA512 13c61915f2895a139eeb063dfdaa6df29ab74830b730a1ce59e87ccd65d7a3a5b22383b03fd5a44e783bfe7afd8c8d5af350b202ee8d7a82aa4f839a3ad9cdf0 EBUILD gentoo-kernel-bin-6.12.1.ebuild 4778 BLAKE2B c9812c9d49073d6def5dd285bbc2fa9f743a85cc406477c1066a44fbf6a740795a73d6c83c9d64feddac343f6723f2adc90e1a9fee6a7fdc76d4780f8956a17d SHA512 904cc1577f4507a26f45c82977960af064029cd16340b24a5b5c437538c1812404733b6d1bb05bb53b68c3c38ef313f2c97292595a3997e104e4a0e4864093b5 EBUILD gentoo-kernel-bin-6.12.3.ebuild 4778 BLAKE2B a067fbe9b60da41eba0f660de3f32c4e9e62eb9c471b8241864058be4c0ad9cf06ae119de1d580b4a031cec0b2976201ed6c1b22b395bba30e6e501ae99bfea9 SHA512 13c61915f2895a139eeb063dfdaa6df29ab74830b730a1ce59e87ccd65d7a3a5b22383b03fd5a44e783bfe7afd8c8d5af350b202ee8d7a82aa4f839a3ad9cdf0 +EBUILD gentoo-kernel-bin-6.12.4.ebuild 4778 BLAKE2B a067fbe9b60da41eba0f660de3f32c4e9e62eb9c471b8241864058be4c0ad9cf06ae119de1d580b4a031cec0b2976201ed6c1b22b395bba30e6e501ae99bfea9 SHA512 13c61915f2895a139eeb063dfdaa6df29ab74830b730a1ce59e87ccd65d7a3a5b22383b03fd5a44e783bfe7afd8c8d5af350b202ee8d7a82aa4f839a3ad9cdf0 EBUILD gentoo-kernel-bin-6.6.62.ebuild 4732 BLAKE2B 81dfd37444aa76204e847ec6cc48dea2b2f96d93ca099199a80b494bf3cf4035a6f5d271fc2cfecfc1cce82839e805169733c1df8d91735967094cea7bf61f55 SHA512 ec422e6742e7e725cadc2aa5bf4af91e6b4180c59fb83ac2f19853ccfcf687177d33e6ade4504f2035c612ff160f31e269042acb72136700cb0d1743de2baeb1 EBUILD gentoo-kernel-bin-6.6.63.ebuild 4736 BLAKE2B b6fcee48143cf24075e2fe50cf1d7aa3fbb3a1192bee00fc823833293d650695aade4e346a196a5456901935765b3f1ce79e84e16087b411717db71fd40eba11 SHA512 8070598c8e0345f674daecf5ff1e9530f1b901c9414397b4972106fe3eed323ba2f07449f34145f6dc8fae51adba9c98273210a5cc0510fec0d3ae5210fac669 +EBUILD gentoo-kernel-bin-6.6.64.ebuild 4736 BLAKE2B b6fcee48143cf24075e2fe50cf1d7aa3fbb3a1192bee00fc823833293d650695aade4e346a196a5456901935765b3f1ce79e84e16087b411717db71fd40eba11 SHA512 8070598c8e0345f674daecf5ff1e9530f1b901c9414397b4972106fe3eed323ba2f07449f34145f6dc8fae51adba9c98273210a5cc0510fec0d3ae5210fac669 MISC metadata.xml 482 BLAKE2B 3e7e4723542cbb8ac93dae78248fb8c26b96b7bfb2a3cd7913e4e7aef9beff07d9e8301219ae95bbbe4282d0806614b2733bea5d818797d19b0070c9119c0e1d SHA512 e3de887610d2c063fde21d52ce78c5d15301bffff49a82508c50dc1b03e606bf3e87506b376f10c6c10334949f577bc0f5307c3f45f2544fac799c57cf75d4d4 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.12.4.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.12.4.ebuild new file mode 100644 index 000000000000..b35a3727e6c5 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.12.4.ebuild @@ -0,0 +1,182 @@ +# 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/-2/-1}.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" +IUSE="debug" + +RDEPEND=" + !sys-kernel/gentoo-kernel:${SLOT} +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" +BDEPEND=" + app-alternatives/bc + app-alternatives/lex + dev-util/pahole + 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 HOSTLD="$(tc-getBUILD_LD)" + if type -P "${HOSTLD}.bfd" &>/dev/null; then + HOSTLD+=.bfd + fi + 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)" + HOSTLD="${HOSTLD}" + HOSTAR="$(tc-getBUILD_AR)" + 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)" + READELF="$(tc-getREADELF)" + + # 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 rel_kernel_dir=/usr/src/linux-${KPV} + local kernel_dir="${BINPKG}/image${rel_kernel_dir}" + 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 + + # Overwrite the identifier in the prebuilt package + echo "${CATEGORY}/${PF}:${SLOT}" > "${kernel_dir}/dist-kernel" || die + + 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}${rel_kernel_dir}"/ || 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 + + # Mirror the logic from kernel-build_src_install, for architectures + # where USE=debug is used. + if use ppc64; then + dostrip -x "${rel_kernel_dir}/$(dist-kernel_get_image_path)" + elif use debug && { use amd64 || use arm64; }; then + dostrip -x "${rel_kernel_dir}/vmlinux" + dostrip -x "${rel_kernel_dir}/vmlinux.ctfa" + fi +} diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.64.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.64.ebuild new file mode 100644 index 000000000000..cd18b39c84d7 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.64.ebuild @@ -0,0 +1,181 @@ +# 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##*.} + 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} + +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="debug" + +RDEPEND=" + !sys-kernel/gentoo-kernel:${SLOT} +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" +BDEPEND=" + app-alternatives/bc + app-alternatives/lex + dev-util/pahole + 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 HOSTLD="$(tc-getBUILD_LD)" + if type -P "${HOSTLD}.bfd" &>/dev/null; then + HOSTLD+=.bfd + fi + 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)" + HOSTLD="${HOSTLD}" + HOSTAR="$(tc-getBUILD_AR)" + 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)" + READELF="$(tc-getREADELF)" + + # 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 + + # Overwrite the identifier in the prebuilt package + echo "${CATEGORY}/${PF}:${SLOT}" > "${kernel_dir}/dist-kernel" || die + + 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 + + # Mirror the logic from kernel-build_src_install, for architectures + # where USE=debug is used. + if use ppc64; then + dostrip -x "${rel_kernel_dir}/$(dist-kernel_get_image_path)" + elif use debug && { use amd64 || use arm64; }; then + dostrip -x "${rel_kernel_dir}/vmlinux" + dostrip -x "${rel_kernel_dir}/vmlinux.ctfa" + fi +} diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest index 564805a7dc28..232b38c15f32 100644 --- a/sys-kernel/gentoo-kernel/Manifest +++ b/sys-kernel/gentoo-kernel/Manifest @@ -18,12 +18,18 @@ DIST genpatches-6.12-2.extras.tar.xz 4060 BLAKE2B ce854b442562d86627eed172c94d67 DIST genpatches-6.12-5.base.tar.xz 331136 BLAKE2B 6af9e74cc62063482672566432da6173b605d67ed0555ca1486cc0ffde606d84446c40d832276a9ee2a6d2584aae4a8de22a186a2c5b68ced840135b87b37457 SHA512 4b6f205a9fef89118e408e492b179289338e9453563dc95746826f71f5c995d4b36ca14ff106ef5ed6112f5d8dcf6992c7e368ab8ad3fd682c9c0219956ff02e DIST genpatches-6.12-5.experimental.tar.xz 78160 BLAKE2B d04df4de8991e23396474c717dcc9ae069bbe877c921589fd61e19d16ab38be7bbe416c44406a8b5aa501bedbab18f2874d218f1af0a5ca8c853ee666ee98172 SHA512 27296cacf0fe5dd4a71033955956023bdbc3c5d21d9ee61030845e978c28170a434fbc5554c2ffbe315983ccdb31feed1e5be6ce51ae439b6bf5c4433d8c1999 DIST genpatches-6.12-5.extras.tar.xz 4056 BLAKE2B a3e17cf0578b3cb3d5edb399e7030283c35cfb71357202de8b4ce28b0c21ffa5d5e777d6f6fa64f5791ecfac6a37cce3f7e1a926fc16bf75ebfe7029af9e4c03 SHA512 52dd7cb88876ad7a643eb39c7e86a3341438b3662b9821ee1f479aafd759962db247d7d746ae1ee63a4b803c28e8b7fd14e89efafe918327663df5029651c3ef +DIST genpatches-6.12-6.base.tar.xz 365140 BLAKE2B bf281f8314de03b6ac24de430632999188ff1573f46f58cab999f92fbcf0c2e5fd14413892e5a961eb1ee8b64360a253e8cc26d24f8687b413ff9cc1df72a4c2 SHA512 ddca7ef8f67bdc182ccfeb6ed2e5fd08297287fcd5744285c549643a854c7d6148342a3ac1a13ad6cdd87c334acc5abc58a7f6e6a58f34db8ce9dca2b0802152 +DIST genpatches-6.12-6.experimental.tar.xz 78104 BLAKE2B 52c6578ce4e6d3618e30d8ec2032c7e7fb642b4eca551d5bf3cbd635c40d1f7fcc5e453c05ff4376ca0261892e73ccc534d74ad33b68e50eeb69486c9d0b8e36 SHA512 9e924b32bf695ef62c4009152633a188927702534e2825f66cc2bbd75ddf0bdb141c8a7dacea4e33b2fe259b1da70010ba3dbe4c44cbdd7164b1a37f6f70df36 +DIST genpatches-6.12-6.extras.tar.xz 4056 BLAKE2B 4d3a72ea884a1b6cc84034277d6cfb57f7cc3fd43e9d229b46707c07dcef1af73bbd61aa880805ca5746c3b470335ad48c10d55f442f3396f0aaaa9a7a23c73b SHA512 538ba6590f3f4ff9bcb44131393a95a677ee6c59b6ee67ad2519ff242fb182358cd217d5e0533e11225646ecc92e8efeb4688c332db70d35a977a8e3cb475787 DIST genpatches-6.6-70.base.tar.xz 3723176 BLAKE2B 19017743aaa0e1c717746592f253a14ca476eae1658742c6e487023ee5a670473fe582a814a1202f2aeefc78d7dd3dd249810d7665299f740fcfceb1c8c11f84 SHA512 dfaa2df7ceb9411e9e35fc9f4822f7d579c1106b49c57805d657ec14699764a54e10d93f717801db7e33698b1c01dbab489e7b9953b1ff23feacbdec5a99c95b DIST genpatches-6.6-70.experimental.tar.xz 5760 BLAKE2B 819eec9931b944363d5da41bddcc17007f9825d6caa736e30869d175cceb138a87a2c22c2b17ebd070b583d69840d2b28597dbf80ce2835e1088cc6c7fa86660 SHA512 b6b1a58c549a1350e4b1479544db9658a8ad78f61dd3c486b909351c29e61d9d6fe97230f01437775d32711633cde4300be1b00bfa6dc9687e60b126427689da DIST genpatches-6.6-70.extras.tar.xz 4060 BLAKE2B 65cc5e2a27894992dd78d6cbfe5601f2e10b21f6e588d8a8d75f1f265f1fdab3ab03dd4d5c18e3ac5f48a6a72f021e2f125c5140224b26f0caeba3def4054042 SHA512 728495f3fa06f52f0ececb3b5e69b1cd4c7aa29d8ca02bc7a537616a2c1cf81859b5f624e125332a1def8176f7a878da58843ef8d363a5d622009b31548879c6 DIST genpatches-6.6-71.base.tar.xz 3745848 BLAKE2B ab33221175b500bce645d302fb32095aa15a536ba475b866c41087d963e57a713579ddde608d93a5f2ea823e7126850599b49522c8c7112cf9435fd85897805f SHA512 eecd342f586e1b594009f91fa1ac12399d90a164dbdbdb454414eeca9bd47ce04a78e0ceee28f889324ccc505112f6a3bb4cc093f88ed10a4c521869769f4e07 DIST genpatches-6.6-71.experimental.tar.xz 5764 BLAKE2B 4cbf4c611acb9281bbc55ee5b7ff1efea0ec5a38b7fca982d2c95409677bbad72ca616fbe9e565adf3abec8c0ba82e8f7beb8440d55409e4f367bc5569da7669 SHA512 f923ca73f6d23ec8a2f4c04b6bd32b3fcba5979014a789689367eecf977ba3dddd0674a69db459aac639718837c6bebbcf6265fef364b4206943e97d03055de3 DIST genpatches-6.6-71.extras.tar.xz 4056 BLAKE2B def4ae87c4a1b9221a7f8a38cc1b5e66867f599dba38f57b2641690a80ece90851fe9e4484d85894c5d41500d736fc5564c30669becd582898db2b8d3da3dff4 SHA512 66225121d986d43ef542899b32845867f22a9165c2a6ea7d891f6d8d35bc9dd6f6a0aee82e945a1566cb4c523b9b821175921e436f7217c16acaa9a1685bc307 +DIST genpatches-6.6-72.base.tar.xz 3928624 BLAKE2B 65d75de6e47496de435004b9cc85f29517583accbe8b795774c3cc48a9886510b2032a8234da1ef02f28ba42573d3c2ab3aa60e2bfd2bf4a2ed0dff4366c804d SHA512 3432d58a63d5964f7c45b83d108825254bc7b2cc93dbd797f517d18bf3ac37b258503fb544781d8d8fe9ee6d335e7aad13eee5cad45cd68d45b11499d26f32db +DIST genpatches-6.6-72.experimental.tar.xz 5768 BLAKE2B 7bdcf51be9777e331b2f44c709729e6fafa9ff9496c6a462af3dd9118358ad3a11452c3adb8786c18a350e704f699dc07738113bc2ae7254ce424511ec828f22 SHA512 381893b8c48db2d400a1ab42bace7e678cdcac082cb09ba2487496d445fb59110b905cb1a3e11e9a7bdb7efecccb6043ac4ff242de583c40a09031c6e5cada93 +DIST genpatches-6.6-72.extras.tar.xz 4056 BLAKE2B 5c3a9d0cc988a15fb2ea4cc3edc0d807d7523814226cd22cdad3d82b7a67138cc860445006d32d34667ae5441201adbc28e250b4c9fdfb6340129e5a23aa13a9 SHA512 6712bf418245ecedd113c451b795be17c6886f3c081ab9204124faac97703c7d4aacb02c7b8a9d68b5d981cb280dfeffc0a168c576c68b3bc4f65ca9cba4702e DIST gentoo-kernel-config-g14.tar.gz 5686 BLAKE2B e5147ff4ffab92428b3e7f1b0897b997f8a298805f4f43b0a4d3047607bbb1a5ebfc268e0bb9688372a5eda561df9f256c78e00cdd7e3caf7868724214722f56 SHA512 f79638f9ff9dd0154512baf0234024216b6708d35a3c03a580ca5913286ad1ea13bdde5ea9b4722c6a7cd8d591c11ec52c1e225111a260343cd56aa1f1a88502 DIST kernel-aarch64-fedora.config.5.10.12 223184 BLAKE2B a0246dac2f7a4ad6a55b611538d24382ac87a8960077811a859c9595ac67f961b4bccb7e139a89abc7c0e26e80832da5c94211fc658082f2e7dde984f14dd29d SHA512 7d803b347b136331db1ad6e22e0445fe0224c3e26cd7c034cbe9794915d457b492e05f77664865079874ec001351553652646e2e08d0fee31e30b841b0008f52 DIST kernel-aarch64-fedora.config.6.1.102-gentoo 252811 BLAKE2B f6bad0d23132bf0dfbaa25db928a95f39763b6500fd1df9b4aeca4351e3e75f185891c0df96b111ad840e4bac431d74a9b11e7344e766ab49715663c89e4dbfc SHA512 41ebf195d8b656801d49c6bb693ebe1404b6725d70d88d93a75bc4af230030d65ef0701ea931846b022a3c598dcca068fbc38ecf6d064262b3f5b88e57060437 @@ -59,6 +65,8 @@ EBUILD gentoo-kernel-6.11.10.ebuild 4187 BLAKE2B 683e9f023de69630f12186054127c49 EBUILD gentoo-kernel-6.11.11.ebuild 4187 BLAKE2B 683e9f023de69630f12186054127c49597f295876a6bdb88413d86f62a0f38683a9806cd997cbf4f5aad27e7f8229cf599d07f965a3ae543f918e9113a1f1697 SHA512 e87ba074be06c3d30d47563de9898f70fbc30cb6e9a450976dfddb45ac7260108de9b98d1d69b10d70379606969710dac1d7f5ab66714220acc734b91802b054 EBUILD gentoo-kernel-6.12.1.ebuild 4187 BLAKE2B c14e3890bbbcb9eaa1182d7accf1fc0f5851f477d09de0706862393f9c2ac67807ca79af0b9b3b6a67dfe6e1412cac5cdc6161607803f0ee1fc71c582c0e4ef6 SHA512 08d9fbd51e58127a0a8cdf8ef543ccd0d5a4b3a71c492fbb66b089520ea12a95ef4251d8e32ded60ab99a68cac40446b4004cb0f95173da7fdfe090c067bf5d5 EBUILD gentoo-kernel-6.12.3.ebuild 4187 BLAKE2B aacf585b9c2826101810945e3b89ba409afe90fb35ece9daee859e5360c3f18f66676e4792b1e2000226a30a878018de2a4c546d7e7a716297f4d917bdf181b2 SHA512 cbd1fd0b34d3ac1dbc0a75c003065ff2d5ee982295b1f6203c9ee1fdaafba3d08118689da7b7d8d745dd3c9d3cbc849c526b261a6558ff78f20c0ad4b81cf2b1 +EBUILD gentoo-kernel-6.12.4.ebuild 4187 BLAKE2B aacf585b9c2826101810945e3b89ba409afe90fb35ece9daee859e5360c3f18f66676e4792b1e2000226a30a878018de2a4c546d7e7a716297f4d917bdf181b2 SHA512 cbd1fd0b34d3ac1dbc0a75c003065ff2d5ee982295b1f6203c9ee1fdaafba3d08118689da7b7d8d745dd3c9d3cbc849c526b261a6558ff78f20c0ad4b81cf2b1 EBUILD gentoo-kernel-6.6.62.ebuild 4183 BLAKE2B 0598a06064bd5c90bea8d3eea31933a15ad4a749d3e3648ddb29a6024c12bed813854e3447cb6a82067d917a3c777b6dd5ce22d97581e6b24bb4854883f0b143 SHA512 ff4ff9dbf3854ff063ce7b47d1534036828c200264864f0e32d587c40c6ef67d132983c8a0a269c45016a560e0a0fec5bf95b20f7228d41a6f985da3aea2d8bc EBUILD gentoo-kernel-6.6.63.ebuild 4187 BLAKE2B 3c01463be2bbf082983d3a7d7c4f5cf98b0824b5f0b077874a4e78b4193b81b497414e800e51f747095a87f3a6ae5f818ccfb972d8bc58a2b6565f287294df9d SHA512 beda23b415caa04be906399091d675881247f86d57bab888800649bfd040c4b93f4fc9c930dd511f5c66fedb58580cb4d17f9accccf7af7927fae763a0379fc8 +EBUILD gentoo-kernel-6.6.64.ebuild 4187 BLAKE2B 3c01463be2bbf082983d3a7d7c4f5cf98b0824b5f0b077874a4e78b4193b81b497414e800e51f747095a87f3a6ae5f818ccfb972d8bc58a2b6565f287294df9d SHA512 beda23b415caa04be906399091d675881247f86d57bab888800649bfd040c4b93f4fc9c930dd511f5c66fedb58580cb4d17f9accccf7af7927fae763a0379fc8 MISC metadata.xml 837 BLAKE2B 4a479438c85425dc4b1450f546cda4cb516284062391554a7944b56e11643c96dfcfdf354670b8e733ef3c1e86f6e47cee7e37445fed688123185c5e970a6669 SHA512 fc8982b0c939c006971bdaea1d91a13d232d41aa62451db5a07ebe55e5b87de548d40dd1d953f60fab8fd7567f56c8c918db76d34cd3c6239c6e0b545a539f94 diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.4.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.4.ebuild new file mode 100644 index 000000000000..1d4087944e1a --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.12.4.ebuild @@ -0,0 +1,144 @@ +# 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.12.1-gentoo +GENTOO_CONFIG_VER=g14 + +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 + experimental? ( + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.experimental.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 experimental 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 + arm | hppa | loong | riscv | sparc) + > .config || die + ;; + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-gentoo-dist" + use hardened && myversion+="-hardened" + echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die + local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" + + local merge_configs=( + "${T}"/version.config + "${dist_conf_path}"/base.config + ) + use debug || merge_configs+=( + "${dist_conf_path}"/no-debug.config + ) + if use hardened; then + merge_configs+=( "${dist_conf_path}"/hardened-base.config ) + + tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) + + if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then + merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) + fi + fi + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" ) + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.64.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.64.ebuild new file mode 100644 index 000000000000..b94f0d5ca83d --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.64.ebuild @@ -0,0 +1,144 @@ +# 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##*.} + 8 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo +CONFIG_VER=6.6.12-gentoo +GENTOO_CONFIG_VER=g14 + +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 + experimental? ( + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.experimental.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 experimental 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 + arm | hppa | loong | riscv | sparc) + > .config || die + ;; + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-gentoo-dist" + use hardened && myversion+="-hardened" + echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die + local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" + + local merge_configs=( + "${T}"/version.config + "${dist_conf_path}"/base.config + ) + use debug || merge_configs+=( + "${dist_conf_path}"/no-debug.config + ) + if use hardened; then + merge_configs+=( "${dist_conf_path}"/hardened-base.config ) + + tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) + + if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then + merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) + fi + fi + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" ) + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/gentoo-sources/Manifest b/sys-kernel/gentoo-sources/Manifest index 47adc4aa4f2c..7a1a02f88b05 100644 --- a/sys-kernel/gentoo-sources/Manifest +++ b/sys-kernel/gentoo-sources/Manifest @@ -37,6 +37,9 @@ DIST genpatches-6.12-4.extras.tar.xz 4056 BLAKE2B 2e9652c0c6ae1a8f9c8a11382e8316 DIST genpatches-6.12-5.base.tar.xz 331136 BLAKE2B 6af9e74cc62063482672566432da6173b605d67ed0555ca1486cc0ffde606d84446c40d832276a9ee2a6d2584aae4a8de22a186a2c5b68ced840135b87b37457 SHA512 4b6f205a9fef89118e408e492b179289338e9453563dc95746826f71f5c995d4b36ca14ff106ef5ed6112f5d8dcf6992c7e368ab8ad3fd682c9c0219956ff02e DIST genpatches-6.12-5.experimental.tar.xz 78160 BLAKE2B d04df4de8991e23396474c717dcc9ae069bbe877c921589fd61e19d16ab38be7bbe416c44406a8b5aa501bedbab18f2874d218f1af0a5ca8c853ee666ee98172 SHA512 27296cacf0fe5dd4a71033955956023bdbc3c5d21d9ee61030845e978c28170a434fbc5554c2ffbe315983ccdb31feed1e5be6ce51ae439b6bf5c4433d8c1999 DIST genpatches-6.12-5.extras.tar.xz 4056 BLAKE2B a3e17cf0578b3cb3d5edb399e7030283c35cfb71357202de8b4ce28b0c21ffa5d5e777d6f6fa64f5791ecfac6a37cce3f7e1a926fc16bf75ebfe7029af9e4c03 SHA512 52dd7cb88876ad7a643eb39c7e86a3341438b3662b9821ee1f479aafd759962db247d7d746ae1ee63a4b803c28e8b7fd14e89efafe918327663df5029651c3ef +DIST genpatches-6.12-6.base.tar.xz 365140 BLAKE2B bf281f8314de03b6ac24de430632999188ff1573f46f58cab999f92fbcf0c2e5fd14413892e5a961eb1ee8b64360a253e8cc26d24f8687b413ff9cc1df72a4c2 SHA512 ddca7ef8f67bdc182ccfeb6ed2e5fd08297287fcd5744285c549643a854c7d6148342a3ac1a13ad6cdd87c334acc5abc58a7f6e6a58f34db8ce9dca2b0802152 +DIST genpatches-6.12-6.experimental.tar.xz 78104 BLAKE2B 52c6578ce4e6d3618e30d8ec2032c7e7fb642b4eca551d5bf3cbd635c40d1f7fcc5e453c05ff4376ca0261892e73ccc534d74ad33b68e50eeb69486c9d0b8e36 SHA512 9e924b32bf695ef62c4009152633a188927702534e2825f66cc2bbd75ddf0bdb141c8a7dacea4e33b2fe259b1da70010ba3dbe4c44cbdd7164b1a37f6f70df36 +DIST genpatches-6.12-6.extras.tar.xz 4056 BLAKE2B 4d3a72ea884a1b6cc84034277d6cfb57f7cc3fd43e9d229b46707c07dcef1af73bbd61aa880805ca5746c3b470335ad48c10d55f442f3396f0aaaa9a7a23c73b SHA512 538ba6590f3f4ff9bcb44131393a95a677ee6c59b6ee67ad2519ff242fb182358cd217d5e0533e11225646ecc92e8efeb4688c332db70d35a977a8e3cb475787 DIST genpatches-6.6-59.base.tar.xz 3174716 BLAKE2B 8eded8d4d4c343869f587ecc2a218d124c34618494ded9d17b493f26894e545658021ad9cfa05bafd14389de07406f43a722c37276cc14096a3a7a00040e2ae7 SHA512 88e5ef8de0954f349e5c0745adb8f718dcabcd2e166c597c9de753c892eaad42c936984279fde86974b307858959cdef401f92f6f62a98bf1d4bed14cbff821e DIST genpatches-6.6-59.experimental.tar.xz 5760 BLAKE2B c17d9205c4cc8e9b25d992fa77296b2935a2b2827c322a3575690bdb081a82f8dbaac8a5135d9a8675d9ebcfa0b58db64b1ec857a412b9e8ea82ed8af2d3ac78 SHA512 7c275ec38d8bf6aa7d1e81d23f90c054c8febadd7b6d7602d27166128d97facd478a393270e119995301f51932d95d24a6e5a872465bd92c55c1f00508ce67b4 DIST genpatches-6.6-59.extras.tar.xz 4056 BLAKE2B 8d68a426082bcb168f74abb849a7a58090268c9cf098aa8982d9e700fab754a6f42dd833c1ee5d44d52f58d1a6b3da018a954d873ba131a2049a286a39ca3099 SHA512 ee133a7efaeba2abe242482825f4490e1c1b17fca64f9183713dca601fc64048288aa79125f7b8c0715f6c4fb158ea3a230e76b39b63d1a59dbecf80697ac000 @@ -46,6 +49,9 @@ DIST genpatches-6.6-70.extras.tar.xz 4060 BLAKE2B 65cc5e2a27894992dd78d6cbfe5601 DIST genpatches-6.6-71.base.tar.xz 3745848 BLAKE2B ab33221175b500bce645d302fb32095aa15a536ba475b866c41087d963e57a713579ddde608d93a5f2ea823e7126850599b49522c8c7112cf9435fd85897805f SHA512 eecd342f586e1b594009f91fa1ac12399d90a164dbdbdb454414eeca9bd47ce04a78e0ceee28f889324ccc505112f6a3bb4cc093f88ed10a4c521869769f4e07 DIST genpatches-6.6-71.experimental.tar.xz 5764 BLAKE2B 4cbf4c611acb9281bbc55ee5b7ff1efea0ec5a38b7fca982d2c95409677bbad72ca616fbe9e565adf3abec8c0ba82e8f7beb8440d55409e4f367bc5569da7669 SHA512 f923ca73f6d23ec8a2f4c04b6bd32b3fcba5979014a789689367eecf977ba3dddd0674a69db459aac639718837c6bebbcf6265fef364b4206943e97d03055de3 DIST genpatches-6.6-71.extras.tar.xz 4056 BLAKE2B def4ae87c4a1b9221a7f8a38cc1b5e66867f599dba38f57b2641690a80ece90851fe9e4484d85894c5d41500d736fc5564c30669becd582898db2b8d3da3dff4 SHA512 66225121d986d43ef542899b32845867f22a9165c2a6ea7d891f6d8d35bc9dd6f6a0aee82e945a1566cb4c523b9b821175921e436f7217c16acaa9a1685bc307 +DIST genpatches-6.6-72.base.tar.xz 3928624 BLAKE2B 65d75de6e47496de435004b9cc85f29517583accbe8b795774c3cc48a9886510b2032a8234da1ef02f28ba42573d3c2ab3aa60e2bfd2bf4a2ed0dff4366c804d SHA512 3432d58a63d5964f7c45b83d108825254bc7b2cc93dbd797f517d18bf3ac37b258503fb544781d8d8fe9ee6d335e7aad13eee5cad45cd68d45b11499d26f32db +DIST genpatches-6.6-72.experimental.tar.xz 5768 BLAKE2B 7bdcf51be9777e331b2f44c709729e6fafa9ff9496c6a462af3dd9118358ad3a11452c3adb8786c18a350e704f699dc07738113bc2ae7254ce424511ec828f22 SHA512 381893b8c48db2d400a1ab42bace7e678cdcac082cb09ba2487496d445fb59110b905cb1a3e11e9a7bdb7efecccb6043ac4ff242de583c40a09031c6e5cada93 +DIST genpatches-6.6-72.extras.tar.xz 4056 BLAKE2B 5c3a9d0cc988a15fb2ea4cc3edc0d807d7523814226cd22cdad3d82b7a67138cc860445006d32d34667ae5441201adbc28e250b4c9fdfb6340129e5a23aa13a9 SHA512 6712bf418245ecedd113c451b795be17c6886f3c081ab9204124faac97703c7d4aacb02c7b8a9d68b5d981cb280dfeffc0a168c576c68b3bc4f65ca9cba4702e 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 @@ -66,7 +72,9 @@ EBUILD gentoo-sources-6.12.0.ebuild 927 BLAKE2B cea628b629a5aff7c2793d53bfcc44bc EBUILD gentoo-sources-6.12.1.ebuild 927 BLAKE2B 497f7727dd060498412ad2b5dcd1b3c67244589d0b5cf0eaf4457a56e650d2590b525ffae24aea4a166c7cfd4660224150ffc84daefb0001317b7cdf41d7edfe SHA512 6dd4bbb20b217ceb77f689aaf3e56b8fa1b95ed66ec5a8ad871bf4b542b9d30d02b608d3e26d19a6b7fd1996e4717b83e2ee265a877177b9fa8aca35186bcae6 EBUILD gentoo-sources-6.12.2-r1.ebuild 927 BLAKE2B 3743deca76663d877f8356770739420826f01052fab44d9ab73b0dfedf556dc964efd7f379ffb3ee4cb563aebc2ad3a0c05c46db45f9daa62785ced427ff2213 SHA512 27be1e107f6eabe20a999d65cc90ba32094cf09db7dceffe7639f6a4a9ee7d05f400fb8184cbec176758c1fc11041340070e696dd674f4aa487469dd58be6db9 EBUILD gentoo-sources-6.12.3.ebuild 927 BLAKE2B 8a547cad12366c7dc51e55c29895b1adec54343ede6006615732b7daa0ac58515c82549b41265a20c932150bc07374489033113136a71957924e82e926f485c7 SHA512 1849cf823e4eeb91e818915259d3b57b5a1822bab3ad220f94504620ce2b88f65aa628c86ccdff5e9c5685d71ee2c073f60bb05445b711bee0d403ebf08cb13a +EBUILD gentoo-sources-6.12.4.ebuild 927 BLAKE2B 5dcddd84122e2cfb90bcbe170b38ffe790ac3a25c24dd456691a9964cfda2160215a9b527fa444cfbde59fe534479ac55d066925475508b7e2759590f3b50bf4 SHA512 8f878ce23ccaa8a49fc408914807cf9b050032d41825a0524bc8f99663765cf938e6f045040a415a8517f83bea92f748c50b613d53e3a4fc881c5f9c4770fe15 EBUILD gentoo-sources-6.6.52.ebuild 698 BLAKE2B 0b281e897c5eed455a86210451b161b1a91dfac8aa74fb4eedb443a917bb5d082e647793c9f35dfc5483e96db229886fa905ca91116b21f097399af28c3c1aed SHA512 0b95d3ea6126ad20c5626f18cf8a4155cd812fc1ab41ab2e0ce8f7c24c993dc2c1daa3078981a1cc85e86d44d331af007b04e21b95e1452209660bc4bf1f6fb5 EBUILD gentoo-sources-6.6.62.ebuild 740 BLAKE2B 69a70dbc59d92706c7f8f14094a2f2b86819cdb3eb2f0a751cf63cc0284e714267531ad26953377a7cdb954b5fa293597ff2dd2b06e6eb9cc934fe01e8ee327b SHA512 0bdc4c285c54ce42ef42dd9b40d51a46e0189c24005925769e7fd8fc913a9ebeefdd16b29c152e308940b82796b83997d8930b70a860d95420e2eefe24e6ae78 EBUILD gentoo-sources-6.6.63.ebuild 748 BLAKE2B 58001d778d9e95b8ca97181182365ed311980787ac71805c10ad2cf96199555d619bd45fbabd07d1ac0899abe0401e03dc3256d7cd3e6eb7037e3224a970efe2 SHA512 f9708cd0533d404ea2c1a03f3053ebae1831158218e4d372fe7c8234d4fb49e40695bcc96397912c99a02e7aa9fbbb7f9378bed30040560cf6f737a33c61a210 +EBUILD gentoo-sources-6.6.64.ebuild 748 BLAKE2B 799d39f7837c8823ba3c479b5f97f2701ad8a9effe0dac15ea394710ce5e1043404a4066d41caaa9aa99f1ebb9adcb7e9c7fb54a16dfd412305440c6058ab496 SHA512 b8131fe5320af51db78a6cb2108b915d39ce321383f376dde6c9112bf633e9544b987403931e3ba8c5a886cdfab7f6a6fc6d3308dab701832c4c4898b6b7ccbe MISC metadata.xml 501 BLAKE2B f5363c8a19540d5bb924b38bdebeb8dbc60c84e58d1d87a9148a3e7abb09b0a1b733c98b130b778b8ab3a88375598444aa9d537d8c5338864a3d4497600d7836 SHA512 bc1ba0d75dbf5b95b3f93e666389c6408f20aebeec99bc8ec00653758b67588e07214285ed106fd9e5aed2c8d57c625d666c797212fda51e1ab98ce1df816467 diff --git a/sys-kernel/gentoo-sources/gentoo-sources-6.12.4.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-6.12.4.ebuild new file mode 100644 index 000000000000..4c3c401281f0 --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-6.12.4.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="6" + +inherit check-reqs kernel-2 +detect_version +detect_arch + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="experimental" + +pkg_pretend() { + CHECKREQS_DISK_BUILD="4G" + check-reqs_pkg_pretend +} + +src_prepare() { + kernel-2_src_prepare + rm "${S}/tools/testing/selftests/tc-testing/action-ebpf" +} + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/gentoo-sources/gentoo-sources-6.6.64.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-6.6.64.ebuild new file mode 100644 index 000000000000..46706f1f2e9d --- /dev/null +++ b/sys-kernel/gentoo-sources/gentoo-sources-6.6.64.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" +ETYPE="sources" +K_WANT_GENPATCHES="base extras experimental" +K_GENPATCHES_VER="72" + +inherit kernel-2 +detect_version +detect_arch + +DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" +HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches" +SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="experimental" + +pkg_postinst() { + kernel-2_pkg_postinst + einfo "For more info on this patchset, and how to report problems, see:" + einfo "${HOMEPAGE}" +} + +pkg_postrm() { + kernel-2_pkg_postrm +} diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 3c2149d28f66..975856301a59 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -40,10 +40,14 @@ DIST linux-6.12.1.tar.sign 989 BLAKE2B 13e9dc9afe6b77987d69835b14c61def632fb109c DIST linux-6.12.1.tar.xz 147912528 BLAKE2B de3f4dec2fc7e36711c68683d6564d0c3ce6fe728ffa6a629604e2fa9e489dbab45fd6676343f6e68bafbd202a3e814e82a1448b46844e34046b9f82f819b8f4 SHA512 c7523dc5b012367301ab43a685b766dce025c4993041acd3dacd085b052b3fccc7f50c892357acf481e24ccad512770ef46a13d2da16c2a178c44a27f7022932 DIST linux-6.12.3.tar.sign 989 BLAKE2B 58c619d496dbc75fae9b06cae2a88deb987d6d67f75a04e896c3efd477709f49682303b8c879108b5a44eb53892e6a1ef7449f2ffde86fd11e8da09f210c43e6 SHA512 517b2b8296771d791f5fcbe363563f1cfee80a22abd3b3a9191104fafb8ed3694596624e342b349979537125c53139d07241da73f2254a963aa73e87b66a99ed DIST linux-6.12.3.tar.xz 147962640 BLAKE2B 1caaf9aed83a69a0c8b17ca923a97848cbb3b042d023aaaa7462c24f66f0d1b8a4fa42e2f3b9248ab8c57000a0e68d185072b0c88be7bcd93175f3e88ac76955 SHA512 a87aadeec3d65d7e9aaa63affdd74e31bc94e84fb153e633a2e6bb2be62e0c6d5b195dc7a1db8666216308b640db577a75e05bb7aeb91db646f3fdfdec51f1aa +DIST linux-6.12.4.tar.sign 989 BLAKE2B 84c01a36f2ee6cfcfb7a35fbc13c3d121943ca19cd7aea53f2288987b85f2998caf365af6d647638c4fcc69b64e74808fb15ea9e8ca95a384f31d6ada4419705 SHA512 02824068dab8e17cf7781f21ffcce89f45e84914cf92ba096d43c2d9d33508337d1d226bb1ddc460024136e915417c25f3bcff17ab89bd0057c93922e15743f6 +DIST linux-6.12.4.tar.xz 147926844 BLAKE2B 5f0db13ed414b6221db1acb6019580e10533ecd1b596918230a6076ce433c75c154a3799bcdab48b1fbb2ff90e573f8cc879ae2d26677c560c6818fa37ce3c24 SHA512 6784c451b75fc3ae8517b22c151113317cff8101abfe5ddedcb3c6f1df4576de31def36b6687445d8e54ec428b69bd0af1adb50435b51b7baf9a065b7ad3e047 DIST linux-6.6.62.tar.sign 989 BLAKE2B fc8e42f4e6967a3b1617590e7eda620a1e422cd1991cef4be75a3a0b7a6f7a4a3517a0229a750665ef17893d12c3f74222f3115cf557804edd6c390470688ac9 SHA512 340234e7c438e3a6396d2aa7de330e82822158193d8f1daadd7f566f29da152fc465e461383e0ab1add8981df11bd51d2593d00729ea893553d1085b933176f4 DIST linux-6.6.62.tar.xz 140430984 BLAKE2B be626b8e4af2394a9eca5024f0c6b2274d3bfccae9989c353d9b1a80c903f8a632cf986d43a0e283c02b62ae77a7409fbca6a6c7bf9cf1530119d7a712e8076f SHA512 9b49ff136afe1044ed29b776246d91fbbc9976629f3dd30bd0ee233664db10c35cd1791fc1c82c0d9b2db8829e562c547db43da60a6de962100f2a0dbdbbd00c DIST linux-6.6.63.tar.sign 989 BLAKE2B 16ab329b4e25021c785ffd5285e369ba9e54f084a6b06e5385973a8924b635b61d34159de9fef6675d569bf04ae2b5a77be4c861db29e68756142e7172ab9987 SHA512 72ed22a290f027386f2d864f91b6c79ccb49ad164576752b8ebe3ce755c8b49e710feb1c2520d9c147830da4ba258c059940331eebd4c544a406ef46f6773629 DIST linux-6.6.63.tar.xz 140405280 BLAKE2B e7e00e6e7e333929be3145784d0dc4cac53e236154627026bd2be0030cc76c347bffa43dffc69677b4a74a19725c54483b14f3168e743e4607e3c5228bd32aa4 SHA512 7ae46444545754d0ea70884d981206b3122adfb5217bf6d14f5726d0bc31e125000e498759f9a13378b5b8b3e1f09f85c93644671995ff05ed95603432d2c64d +DIST linux-6.6.64.tar.sign 989 BLAKE2B 1245983fe9e4fdcf9b12d39a0a795608c652955a8abeee33a3ec3962e0c097a7171c6a5a3fa91cd86679d1e7a2274a7bf21579c6074b4f371d2db2a413249098 SHA512 528270d0ffcdb305790b77e07721e5e2f1d7557e0e4c09f758256d66c24f44c04f925269ee48b935391e63f22a2f9f0f5abc2ce0c26688cbfa8ea13549cb1ad3 +DIST linux-6.6.64.tar.xz 140404904 BLAKE2B ed33f8fd88ea5b4fb23b83b4b411a049cc0d9142f1777fb476fda65d1729513eb9932dae52784997eb92c88ba20d6e508e370b097dccda6b99548f2e948a2ab9 SHA512 99d9d1f4f392bc2a5ae98466338fd9e2613eb785169908af571675476c756852d48ec0dcd330f5d419ca3cec84ced7f627f8e9907a996af85086cec704ffdda4 EBUILD vanilla-kernel-5.10.230.ebuild 3764 BLAKE2B e4e7ac881605be76416364c57e7834399afb6ca082450a0530ce2bfdeeb5509bbe2c29707a3d6916a87c3908fd3437950ed4660038b0b93b8a0064ef1e51fa6e SHA512 0b69e6ccf3f97eb619e38bc4c83537a0d70e366c3abfe6488f56a3d9355c90051c6d2e637bcac157dbfc3277fb513c032511094e52d1a9dd135c19315c874ca6 EBUILD vanilla-kernel-5.10.9999.ebuild 3276 BLAKE2B c60d73d8b0cd26bac12ddb2fb7a13453b368263d67f0a33ebcef8dfd7cd98b079c20b201d7ca4e2885e4e6d6c32dee2b69aa3305e0fcecccca8cadd4390556da SHA512 42ddd72b3fc53f19dc134cb0a602c69f2bad3d88b663e6a34dcb70e8d91e1043b47dafb4cecbdd06a7b54b134c27b56b2a0d07fcbb52284ea09544463a075686 EBUILD vanilla-kernel-5.15.173.ebuild 3884 BLAKE2B ddfee1aaf8746615bdea9254735ec31f9ab7a1f053b1e6b7017f586b60d9704dc02b3ea5bb9984a05b7a2445301b24abfd46f508310cbd0a290c9e792976c6a8 SHA512 a315e86000a31e9ccef33f59c151ffb90300725745a01d9ea781037e10eba0462c42221dd23750d2eda6e3c1e7150d79caefe18d277b543daf28374e2dadfb0d @@ -54,7 +58,9 @@ EBUILD vanilla-kernel-6.11.10.ebuild 4002 BLAKE2B 4d6ad84f1ce0b1d1d1c85bb5b0f980 EBUILD vanilla-kernel-6.11.11.ebuild 4002 BLAKE2B 4d6ad84f1ce0b1d1d1c85bb5b0f980e58b155e7f181d811ebd5868fb2d441bbef4e56cfc4c569f6afc9cf84d15f8c346987ce1e43d7a9baade6f1ab7ce79366b SHA512 307b5877e0ff59b0917842d95df39848cf5d3ce2efaa4225b9f8e49158ad982bf9be91d850594b5bfb85015667e915671aef7897869ee99453420767a98fe00d EBUILD vanilla-kernel-6.12.1.ebuild 4002 BLAKE2B cc8515f0f3d72167ffa6925dfccbe22961117f593e09b13fe5611ff4e7081b205acb758174c3e1fdde852ca674d33406eed910a35fade0bb634cb00fc578d5f0 SHA512 7f6cccfb124c9e28682a74507a7094ba870ee4442ce6446ea65b34aaca6fe85f1d641ba1ad7eb8d5b170cd0f7beda417fa40af100ae9f9471e144abc5bc33cf0 EBUILD vanilla-kernel-6.12.3.ebuild 4002 BLAKE2B cc8515f0f3d72167ffa6925dfccbe22961117f593e09b13fe5611ff4e7081b205acb758174c3e1fdde852ca674d33406eed910a35fade0bb634cb00fc578d5f0 SHA512 7f6cccfb124c9e28682a74507a7094ba870ee4442ce6446ea65b34aaca6fe85f1d641ba1ad7eb8d5b170cd0f7beda417fa40af100ae9f9471e144abc5bc33cf0 +EBUILD vanilla-kernel-6.12.4.ebuild 4002 BLAKE2B cc8515f0f3d72167ffa6925dfccbe22961117f593e09b13fe5611ff4e7081b205acb758174c3e1fdde852ca674d33406eed910a35fade0bb634cb00fc578d5f0 SHA512 7f6cccfb124c9e28682a74507a7094ba870ee4442ce6446ea65b34aaca6fe85f1d641ba1ad7eb8d5b170cd0f7beda417fa40af100ae9f9471e144abc5bc33cf0 EBUILD vanilla-kernel-6.6.62.ebuild 4002 BLAKE2B 3845ba8050f428f23d20d11136f4f161265bdd31491bd66901c0f016a977e29713f3ba898506999264965d9b99f287f3bf1ba7a11f12106d463cd7417a218405 SHA512 9e8201a0de1dfe4c68f9c350ca6b3fca384e89dc8e517c0caf589d38f7c0847deefb2d1bd144fb9a06c088bc6a32cc2ec75dae6f929b74bdde90ba0a2e219432 EBUILD vanilla-kernel-6.6.63.ebuild 4002 BLAKE2B 3845ba8050f428f23d20d11136f4f161265bdd31491bd66901c0f016a977e29713f3ba898506999264965d9b99f287f3bf1ba7a11f12106d463cd7417a218405 SHA512 9e8201a0de1dfe4c68f9c350ca6b3fca384e89dc8e517c0caf589d38f7c0847deefb2d1bd144fb9a06c088bc6a32cc2ec75dae6f929b74bdde90ba0a2e219432 +EBUILD vanilla-kernel-6.6.64.ebuild 4002 BLAKE2B 3845ba8050f428f23d20d11136f4f161265bdd31491bd66901c0f016a977e29713f3ba898506999264965d9b99f287f3bf1ba7a11f12106d463cd7417a218405 SHA512 9e8201a0de1dfe4c68f9c350ca6b3fca384e89dc8e517c0caf589d38f7c0847deefb2d1bd144fb9a06c088bc6a32cc2ec75dae6f929b74bdde90ba0a2e219432 EBUILD vanilla-kernel-6.6.9999.ebuild 3507 BLAKE2B 975ad487827f300f7a951c81b5e9b919333dcce1ed5b2a74b66f5d67a451a080c9a29f94fbfd271f71f72d651181fa5cd31355495aeb920929ee009ad3173ea3 SHA512 2565c099c58725eea9104276a412cf245a97d0bd67aedbca3718cf69eba6183cab15544244e6e0e39132f650ae0219d2208d6f03b485da2a40d974f09c07ce5a MISC metadata.xml 353 BLAKE2B cd022bd01b289ae703ae6ef6c2539fcfce833206c55e328ba02fc42b360d60f76b1920927b259dbb199724e6d3e7b0f68ba2044680d962d3cd03a973475582ff SHA512 10b10fd24801843108a71ca7d0c27514965b0a15a60da4d9b521fc41493448a1b1685ae3278dbd46cede0d069e51dede402d2c1448c8ae6a7fcfce8acf415bf3 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.12.4.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.12.4.ebuild new file mode 100644 index 000000000000..ee14efba51b8 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.12.4.ebuild @@ -0,0 +1,137 @@ +# 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.12.1-gentoo +GENTOO_CONFIG_VER=g14 + +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 -xf -)) + 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 + arm | hppa | loong) + > .config || die + ;; + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-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/vanilla-kernel/vanilla-kernel-6.6.64.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.64.ebuild new file mode 100644 index 000000000000..024fb0dc392c --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.64.ebuild @@ -0,0 +1,137 @@ +# 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.12-gentoo +GENTOO_CONFIG_VER=g14 + +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 -xf -)) + 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 + arm | hppa | loong) + > .config || die + ;; + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-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/vanilla-sources/Manifest b/sys-kernel/vanilla-sources/Manifest index 45db0799250a..c26e638753f0 100644 --- a/sys-kernel/vanilla-sources/Manifest +++ b/sys-kernel/vanilla-sources/Manifest @@ -12,14 +12,14 @@ DIST patch-5.15.173.xz 6431224 BLAKE2B bfaa22de47d30b1cc8d9db9a01ecc89a8c93d76d1 DIST patch-5.4.286.xz 5857424 BLAKE2B d4c3e5b91987f90c75bbcabff94da9f550ace0776486964b299417927cfd5f68dff10ac20309d78f2fae36e35c0302c05ec432ca774e5613bbc406951d3d8514 SHA512 7042c46bbafbd58cfc992b9706a5fd8955139dfd0c4c69ec6c7a66587ffb98b5ee89eb261fc1b7227c260c8727f325aa17780d237c48f5ba4ead4aa7b6a82624 DIST patch-6.1.119.xz 5514064 BLAKE2B ad5047966d44fc55e0c2b37d6fae602165ff133a6c62b82ee6cd9bddf1c106484af3ada10f78c8f236294ebd66fd8eb77b3ce09dc1a247078827b9e212145774 SHA512 f9777da284f9c0d4e7da9db788e3bd271ff480516511f20604c37ed6b8bf94ce08a9c4b8c49cfdcc1e65f3bec41a10dde9a03399079dcea558ba83ab4fb68b26 DIST patch-6.11.11.xz 998240 BLAKE2B cb06065b7fd5833505f4de31255bd4d4a281faa4f1e5fd634fdf604555d7bcfa2a9d26fcb535abe959092c275f5d3c0010ea8d8b0f6789585ad9feae2bfaec18 SHA512 06c184c75c00bdcdf7ecb9b3daaf887a52ef353e4a7b485efa001565acca0edda0cce9b491215fb1f8dfacfba2e8661476fe53aac696c0fef63dc150c39ab0e8 -DIST patch-6.12.3.xz 324836 BLAKE2B 1d41bdf702356a8d114a20ec4d92638f58bac233b064fb94dce5bbfffa8f4227420f42f91a0400309595f44cb6f06f303218b9ef80514c2e927c911b412ed6b5 SHA512 28284a95036a47fc1a801976eaeb7c70e65bc607033f322264eeea8383e45adfdde1048467bc14ed0855b6ce70a88144e3848e9791f124414d260e0b7c1a524f -DIST patch-6.6.63.xz 3358596 BLAKE2B d986bc579df311f6462094df4341e4e5723f0b7b28b36afe5ab1415ae3194c568e38c22ebac371d2bddeaad86c400fe8fe336fa57710325b6d17a26386dae75d SHA512 ae164a675b1d63f52631f68363bac55814d84bd9f03c44fb5971847074f56f4302dd49242a9ba5610f3892d4021d15b2b2f816268e48981ffd26994fb4d6f962 +DIST patch-6.12.4.xz 358076 BLAKE2B 959a9bf461c16b735e6b1e3715d4c883d3d4018a8e5164b05884a161d8ad307dd1225e3f1f5105a415c6611a9bdbe3afe89d5a2c99049a756812c3ae61416d7a SHA512 1332f4632c6d1434ac82a5b0e5ea2003807eaebd3c635f82f5a3cd20526e5329d60cac416014925c4acef9b61e331f4264a8fbbe0119bc5d9615cd32cb663027 +DIST patch-6.6.64.xz 3510240 BLAKE2B 7085a4f5a32127cb0b4f4771039ec5641692bda4743765a4d321cb7d4f29e0d33e546fd6557f587bf14c5fc92ba22ce00d21da2cc4881356cdeabecf02cf0465 SHA512 9146effb56b1cd05c6489b1b1d1339e48d4254ea32bcb92b53dc5d324bff4c27b47a7422cb1a7db4c42be69ad3bcc6ae15d8bf144659809fe8494009144fe4c2 EBUILD vanilla-sources-4.19.325.ebuild 426 BLAKE2B ec7dd53ef38be4295bddbac0c766897e4a0ebe87a33554ec68cbada97a2fb41b6361cbf0630b1cb50f6c71dc0971ecb096c165bca065fd902d4a0345cc0ea495 SHA512 5c5b3f94bcdbb8295ab4ee47bb0cfc37a57855a8d7d901b958335eebfa87a8fefa99b8f18ef9eef6f06bc00c1f327b4b5d3e3bd2ec7acbeab9e15896c5c2e1ad EBUILD vanilla-sources-5.10.230.ebuild 426 BLAKE2B ec7dd53ef38be4295bddbac0c766897e4a0ebe87a33554ec68cbada97a2fb41b6361cbf0630b1cb50f6c71dc0971ecb096c165bca065fd902d4a0345cc0ea495 SHA512 5c5b3f94bcdbb8295ab4ee47bb0cfc37a57855a8d7d901b958335eebfa87a8fefa99b8f18ef9eef6f06bc00c1f327b4b5d3e3bd2ec7acbeab9e15896c5c2e1ad EBUILD vanilla-sources-5.15.173.ebuild 426 BLAKE2B ec7dd53ef38be4295bddbac0c766897e4a0ebe87a33554ec68cbada97a2fb41b6361cbf0630b1cb50f6c71dc0971ecb096c165bca065fd902d4a0345cc0ea495 SHA512 5c5b3f94bcdbb8295ab4ee47bb0cfc37a57855a8d7d901b958335eebfa87a8fefa99b8f18ef9eef6f06bc00c1f327b4b5d3e3bd2ec7acbeab9e15896c5c2e1ad EBUILD vanilla-sources-5.4.286.ebuild 426 BLAKE2B ec7dd53ef38be4295bddbac0c766897e4a0ebe87a33554ec68cbada97a2fb41b6361cbf0630b1cb50f6c71dc0971ecb096c165bca065fd902d4a0345cc0ea495 SHA512 5c5b3f94bcdbb8295ab4ee47bb0cfc37a57855a8d7d901b958335eebfa87a8fefa99b8f18ef9eef6f06bc00c1f327b4b5d3e3bd2ec7acbeab9e15896c5c2e1ad EBUILD vanilla-sources-6.1.119.ebuild 433 BLAKE2B da899d8835797a1badadcc110430ccd62e3b701d6a3b488d6d39cfb9585559dbb674599fdc351b0508a49d245ca45ea22410084c5e7f1d58ce0b006260f85612 SHA512 bebbc75eae07e7037ecbaa22d79df77b26400a1562f3ceba59681599059d2cedd2f3c6e79d8ead0170661736ebba6a224eccd4f25977d34660d6ee5c0e98aaf7 EBUILD vanilla-sources-6.11.11.ebuild 433 BLAKE2B da899d8835797a1badadcc110430ccd62e3b701d6a3b488d6d39cfb9585559dbb674599fdc351b0508a49d245ca45ea22410084c5e7f1d58ce0b006260f85612 SHA512 bebbc75eae07e7037ecbaa22d79df77b26400a1562f3ceba59681599059d2cedd2f3c6e79d8ead0170661736ebba6a224eccd4f25977d34660d6ee5c0e98aaf7 -EBUILD vanilla-sources-6.12.3.ebuild 433 BLAKE2B da899d8835797a1badadcc110430ccd62e3b701d6a3b488d6d39cfb9585559dbb674599fdc351b0508a49d245ca45ea22410084c5e7f1d58ce0b006260f85612 SHA512 bebbc75eae07e7037ecbaa22d79df77b26400a1562f3ceba59681599059d2cedd2f3c6e79d8ead0170661736ebba6a224eccd4f25977d34660d6ee5c0e98aaf7 -EBUILD vanilla-sources-6.6.63.ebuild 433 BLAKE2B da899d8835797a1badadcc110430ccd62e3b701d6a3b488d6d39cfb9585559dbb674599fdc351b0508a49d245ca45ea22410084c5e7f1d58ce0b006260f85612 SHA512 bebbc75eae07e7037ecbaa22d79df77b26400a1562f3ceba59681599059d2cedd2f3c6e79d8ead0170661736ebba6a224eccd4f25977d34660d6ee5c0e98aaf7 +EBUILD vanilla-sources-6.12.4.ebuild 433 BLAKE2B da899d8835797a1badadcc110430ccd62e3b701d6a3b488d6d39cfb9585559dbb674599fdc351b0508a49d245ca45ea22410084c5e7f1d58ce0b006260f85612 SHA512 bebbc75eae07e7037ecbaa22d79df77b26400a1562f3ceba59681599059d2cedd2f3c6e79d8ead0170661736ebba6a224eccd4f25977d34660d6ee5c0e98aaf7 +EBUILD vanilla-sources-6.6.64.ebuild 433 BLAKE2B da899d8835797a1badadcc110430ccd62e3b701d6a3b488d6d39cfb9585559dbb674599fdc351b0508a49d245ca45ea22410084c5e7f1d58ce0b006260f85612 SHA512 bebbc75eae07e7037ecbaa22d79df77b26400a1562f3ceba59681599059d2cedd2f3c6e79d8ead0170661736ebba6a224eccd4f25977d34660d6ee5c0e98aaf7 MISC metadata.xml 340 BLAKE2B e283ab9d2ebb7212e3ba37850c93761f165b4697a2ee6dbf07a67ce907df8ec71b3290a411cb81af8d8d8869b7e45c572487d4d2667dc0a0971986f0f6d1aa8e SHA512 bd0f7f570230dd5bd9f6e270345a3ebc556eb2dbcd19b04e33b5c6df8d9e6735a6e23fe934b39d9ef130ab5e78c6fdd29d7a167cb8ee4ac8ce919c75cec7425c diff --git a/sys-kernel/vanilla-sources/vanilla-sources-6.12.3.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-6.12.4.ebuild index 69c881fde565..69c881fde565 100644 --- a/sys-kernel/vanilla-sources/vanilla-sources-6.12.3.ebuild +++ b/sys-kernel/vanilla-sources/vanilla-sources-6.12.4.ebuild diff --git a/sys-kernel/vanilla-sources/vanilla-sources-6.6.63.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-6.6.64.ebuild index 69c881fde565..69c881fde565 100644 --- a/sys-kernel/vanilla-sources/vanilla-sources-6.6.63.ebuild +++ b/sys-kernel/vanilla-sources/vanilla-sources-6.6.64.ebuild |