diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-26 18:57:55 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-26 18:57:55 +0000 |
commit | dd8cf418a044466cd5a1239059d5d21744f73f14 (patch) | |
tree | 0d4b5a88a46cdc31e1f7f8f302ac8114e3f94a9d /sys-kernel | |
parent | 6887f21af5af228689c7587c4adf37baa07d563f (diff) |
gentoo auto-resync : 26:01:2024 - 18:57:55
Diffstat (limited to 'sys-kernel')
19 files changed, 2192 insertions, 0 deletions
diff --git a/sys-kernel/Manifest.gz b/sys-kernel/Manifest.gz Binary files differindex 371d40697cb5..f4e412ed0459 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 5770f0992946..15adaeba351e 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -1,41 +1,76 @@ DIST genpatches-5.10-219.base.tar.xz 6357760 BLAKE2B a269d5841d3a4b959c6a5ac49cac174a619463ff0792218d2c9311b22b54202f594b5edfed6fda147cbcb20a9d11aa9b886538e898c1442f8eb456a95b6ef5ce SHA512 4938bd81ccbb600e23a4d48096cfadf019e01324d8239a358cd1e0c506a16724ab7d4ec018bf48f6edd1f20d15e1db0c17bea98a349327fd51fb01384aeb2518 DIST genpatches-5.10-219.extras.tar.xz 3872 BLAKE2B e750906a1615f45077bba557296d5fbb41cffbb909e33b61280dd35846ce13cf3ecf2620404b348d17bd26cd588a7edffea97c3be3ab78fdbf9ab6737ca4f8e1 SHA512 17ec35b053139a93997b5a3c35a7ba61d6ef87c05aeef3ca06eea3bddf76ea5e2e10664d304a673780e3543791c46580548ba4dde40fbcb42a86a484408af57a +DIST genpatches-5.10-220.base.tar.xz 6420640 BLAKE2B bc737c88f1e7eff80ccb12513ddbdbf9a2598477d691678c94ba3f261187d62af91dcb309b0a3d7b0ac97c1ef89d8aa774e179f97bd950bad022580447889492 SHA512 3b3b423b5f6ccfa0a74a567b1108c2027582b78409ca17f4044214fb3cb3586ec0cc0eab6bd2f5dd49f13fdbedb7d78a0ddcd596347ae0a26e7a6b6901ed10b4 +DIST genpatches-5.10-220.extras.tar.xz 3872 BLAKE2B 71384eeb192c4d3ef24e28cba7848a2e51ec6b582d0904593902f15d8f03c33bd4155e9ec8b52b601af399bccac2c52b3892109dff151a89f636d9f130306e02 SHA512 e8b61757336cd513bb7c49725c569218a749ebf6782515a30c63c1d9ac922f8781ceb6d5399437889a281ac393970c09fd8bf0327f0de45cb8de1d604d49fb0a DIST genpatches-5.15-156.base.tar.xz 6004636 BLAKE2B f70c2a3bfc3d65fea8d4764b953d147a1725162aeaf319701a3d4b1d47c846932c4c8cd009bf81b4ce33754e966dac4630e2f690c403ec5181e3cc122496db09 SHA512 4d2fd08626d433d7230b27fb1cbd8a3fec9a942ddbd01988dba8632f25b510353b5086f4db1d529b88770e579189fc7bf6a4d02828c662fcb230e51efbecad9c DIST genpatches-5.15-156.extras.tar.xz 3936 BLAKE2B ad08b5d93b943236326d333c627ae8cd279d78fd2b8f8df420ce75be815472dca9785b8eb14015ca2dbc92560a8589d31b9f9edbf81280c85d1ce6fe58aed0b1 SHA512 580ba97a039ff7417b448d4df13b67ed262b7a47be449515ca80125a89b5da3eeee773757db6ff7389b501daee6ab708e19dc2713088ee118859e1e9d3f4b303 +DIST genpatches-5.15-157.base.tar.xz 6083340 BLAKE2B da2898a405bfd934e761180064107f4d87d144105ade4c825ff9299cb4a0b57324927cf34d3a55fc7a0227d9db053caf5b0f8159ca0ddbd946d31459b2683e1f SHA512 04c2d322ec1f0946b7f0f551e0fc0342da749cade5f20f2da1a1e60fd0cd946593a797c053bbd0eb8121f70e69f6766f8c945a99fd77fca3eef89aeae6d5b871 +DIST genpatches-5.15-157.extras.tar.xz 3936 BLAKE2B d559b4c240ab2b8a0b522d846c3d9707b0beacd800e137517c29b51253283b47caf05f7facbdd7be747255dc2485170ecfad04a3ba5293d749c8d22ae60886f7 SHA512 e99880adebd2d08067fbcc73bf01eb844c39cef7c06e99b95c9622949e38a2ed58045f27e71bde4d5321dc06212848c884c8f4added4c41a8a1197cd375091b8 DIST genpatches-6.1-83.base.tar.xz 4358680 BLAKE2B 0ef9de04e2bdbfd4cdf2942ad1e1b27b8a314b07409cd7c140d0cc2783679a135eedd7d08860ed9fb6256115dbfbcbab5cd3d15522733bd72ec3d4d918fdc96e SHA512 544630385153defad073422da90ec6710d0b4e3444ca1843017b1f1b855add852045c0a1d7e8cd68c037746c4c23e8ec24df747469e177519384ca2e8185cfda DIST genpatches-6.1-83.extras.tar.xz 3816 BLAKE2B d22ef26f4b321319ce84b7bac4b345759519ce1bf4b821fd85590021f93c80242506b4ebd3cfca6ad4c1e56dc8d3600e54a0b459f07eabe0e154b03a0a1bb37d SHA512 086b04be251177d98038fc2aab2b4110aea45144996b3e50d7803e331a5660cef9e4c7d6fe794905dc8a22065ab8ecf4b5eb5f94e8db59df88a2c861c09c2505 +DIST genpatches-6.1-84.base.tar.xz 4453064 BLAKE2B 195ca4777d311b883d335ae7e2320ffffd9d7c73d02c54c7a0410804bd363f1e1eeccda64a5514d8575622cdcfcd54b0821157286fc09f5e85303d72aa1a4f26 SHA512 67dc650cd38fa9cfefadd1592673955e112f4d8a43625d89690395b6eb59a4cad2d0af53ea2d482e163bdd9a8a047582a24054d074c512562b180176d9c8cc77 +DIST genpatches-6.1-84.extras.tar.xz 3816 BLAKE2B 961081e49ae29d6127eba299282c1bd3e3b4d78778b03da6bae6a6be8cba5efba3bf17d40fee02c6923f8536042d3c4ae82b93046536d81e4873fcdb5dc5c8f1 SHA512 77f05bb5082a95e503e07936a2fd8868f202539a844bbca84bd4e0a692006cf4dcec1dccf35a17064f58c40fdf3a6c44fde80cfbb8e8b2bafdba1d950f0b28bf DIST genpatches-6.6-16.base.tar.xz 750868 BLAKE2B 13af5286f51a69dd0ad7b2543bcf0d933865e14c4c865e495f3225a8740bd7579858cbbd72a2099333e8dc241900c166730d4c812183f2636bf3d4049156a71b SHA512 70864a69f8bdb28f8fa3515a33be510a2c529a5c3bc767aede2dae1c290869491d776336be9983259685af9fee2d2bc61c821d0103c47e91b69078bf81fe2c63 DIST genpatches-6.6-16.extras.tar.xz 3704 BLAKE2B a33d9a80926abd8318f124fa6aa25f7181b88a6965c17908232ef2b866a27a5e856e464895994599265e0e57d8e1f81561758df4670f25ef5694e5d5f535ba95 SHA512 8ee1686a16886320b698ac0e3767804fc9bbaf595335203fb2899c727a0ca0f3e551ac13b3cbb97cec8d91e77257aa1da75669f1c41d263960875e9d31303b1a +DIST genpatches-6.6-17.base.tar.xz 894152 BLAKE2B ff9c821916d3b1350ac30a44673eee52df18d5c7766ccfb7e682740889191080e947ca6f78b8f2af3b1b2b879326c0b530a53f7443a54ecd124b27e89e99e6bd SHA512 45b6df20d995ceddbccf72db94062339e021eaa4a121d0591a936e39b1e56c8f2581dd1fde03505914adb787445b4cfd998f7847f640785dfa1c05e7959125aa +DIST genpatches-6.6-17.extras.tar.xz 3704 BLAKE2B d85a68fe7bf6e4693a41958a053705e35b8829c236b8fad024f7332f89be277708dce2bc931c013b3bf51e14e3b11162342893b7d257541677b17efa918c86b7 SHA512 d53c369e9f54f6de450a41882626d74b22315b8ca7c7b381089b77a6b1b5a1b444109e8fc9c25bdf22afeb92af252c963c700e0e309cfa272caf39c1f5855a55 DIST genpatches-6.7-3.base.tar.xz 19844 BLAKE2B 69f53a7bf61154f3644919b870ed4434ccd7ceeeb8c57e14c274c7be28a1f6c5b0af7975f4c0ef131ff5b53f3afa0a1a4b7c7db92202e11e3c1647524e8e9444 SHA512 5022aeb1970e8652b5f82d09642c22970bcae0e01deefbc0271cab9c054bd21ae4c3835f4fff0a22d14f5fa7495211a95c50b35535586dcdca3c2b1f45ce05a1 DIST genpatches-6.7-3.extras.tar.xz 3700 BLAKE2B ce7bc87494eec57d39330b1de3462b99a088781bca0beefad667674bbd9eaa2f2413c712638d16ef8c335b6a0e353aec83f4eb69e3da53a88d51ca6853d3254c SHA512 43558eb7a699d5e24c8f2bea13689adaacc6c7c58b4975c3d204a4c2278620032add6ca6017c3fc6ae70ade7e3e227a655deb989b85ef05acb05804d33475ec6 +DIST genpatches-6.7-4.base.tar.xz 193776 BLAKE2B d0b6ee8e055d0c3b8122e1050818b49600a94c8b1b06ee4b6209d89207d527fc6c65352c728e359ad2830830ff25079a2d6d6ef6a55ecf60e43887c16673376f SHA512 5cc15425a7e9e80320f0b18b891d2efa2dfab4090441003b3c617d820c7e449a792aa266941bde0d22ba26e9a6999e42c3b686b270bc00389047678dd71b93d0 +DIST genpatches-6.7-4.extras.tar.xz 3704 BLAKE2B bf9fe3be461e9a5e7ebe59704bf22a418b67644345728b494ce3b725c03902d7cc226a32cc46c831afbb07e0111d397556b9f12c63871a8f173d7fe136acb2f0 SHA512 70e91002ba6b48fb9161a1f28279f29636e381a34b67856bb492fa36edbce68ae8aed48f50df5e7a14c59f1f8fa4e74ab9430b7cf762a5dd3feee08952213f69 DIST gentoo-kernel-5.10.208-1.amd64.gpkg.tar 63252480 BLAKE2B 659253d258d12ae26473b9a3ad2b8e2ca9f481447870f290dca411f473db81ccde43c35b86590c0df563870c8d75496a4b2bd0918224f0f36a04a960be4b28a5 SHA512 d251deb2cfe021e477489f471bbe9c41c098416eb4b3c148c51e790be075b661a9db4264c3d6125352a7ac325bb0b982f8b650859c34fc48f61464851a7ab750 DIST gentoo-kernel-5.10.208-1.arm64.gpkg.tar 56729600 BLAKE2B 3a57808162fac71ccf1f9539d268680f384476b1c497b573be141da8a48c68299562bf206813a0e35ad097b426fa70a14956b3ac474117e7eab227cf3f780230 SHA512 18beb0123749b717a21438f26aefb49298e392e57b517a7be6012d484d6dd80968d87d78d0c48cefd2edf45885d691ecfc2cfbc86481188c296d4afc6187b975 DIST gentoo-kernel-5.10.208-1.ppc64le.gpkg.tar 52879360 BLAKE2B 34db7f65b4213a245e96716aa74af9fc2bafb67647f76681abde762c72a3b4c1d4b8dc8c98e3a5fed51ddc6c49baf6473a8717fcd596d4e2ebcc9aee4df8ded1 SHA512 c0704b57a4de8bcbfa04f683ff5155ba022774ec22d8ef7dc65bd14db574e95648ea67a5340f7c979d57c14bcc779fe1a53007da249c8d6b251230fa9f04af98 DIST gentoo-kernel-5.10.208-1.x86.gpkg.tar 53565440 BLAKE2B ec03e4934ca8108f296da0c2b3fd8f265209714cac59b05760a5ff6c0a920b48a2558121feb6840b60cac716a945396e729b583f0730892fac007f11b5645c0a SHA512 c003b02602a27b45ecab6a38ea058ddb999fa9d7285ad7a39ea858f24165d4b495c856c4ee1e8ad1e005ae214a7c392a03143e2084ea1eb9c3c6a78928afd839 +DIST gentoo-kernel-5.10.209-1.amd64.gpkg.tar 63272960 BLAKE2B 66fba0e3b83fad66c87a2ab9d5c5a01641e54b48cfd7102264ee49597000888223bc5ec9e6c1a4af75ac0b05ed5e0565eaf1646b6ffd5aea39ceb9cc6a69ad3f SHA512 8d605ea4daad4c1fdcc472a7fc50320f87cc118d8d92a8fe1c3b8bc6dc45c6b8a6de312df4c13405042a3c1426d51ad62fc20ebd04efa0368a3d2061bd02b942 +DIST gentoo-kernel-5.10.209-1.arm64.gpkg.tar 56729600 BLAKE2B b8c1d52c2a13a899b18328ba7ffe51bf67d6c1a802569ae5ae2abdf57676d28605451c3da15b6fdc96584e3fefa68330ffbd01c5c196a3e3a948056998379734 SHA512 5dca9b10233e8eb973a9e3dd9bb571b900afa0d98569a4e9388c4c40d2ccedcbacb7a1bc90908ed038bfd5639e11ca05fc5234c9571752f308769c5de6e444a1 +DIST gentoo-kernel-5.10.209-1.ppc64le.gpkg.tar 52869120 BLAKE2B f92afb6f8985ff958103c256f4f2c06fb38c1e0495bdd07de0f0a4ca12f5bc7f567172c24d27c27cf83e375c32e929b7e65a4f4b1c3508ecc0a01162f8f85bdf SHA512 9cb7a12b7b672b3b82b23153b0afd91cbef0906f7cc0458b8f34bd5cf389afbde8d3cd162726669be6cc4dfe2302ceb51d97e0937b7ab4afc5d06fb6b0f8f8ae +DIST gentoo-kernel-5.10.209-1.x86.gpkg.tar 53565440 BLAKE2B e99f3440f24dd31572a52000e526fd9c1fca236aa39b808411659738f4d9fb52672a452550dfb8d948183dc35ce18706c4d96ce63372ef221001fcfaa8744bdb SHA512 91d354a178995c4fa6e42a7001efd3c4c16005a5b7e3f4f9db308111ad905a16ceeb6a5dfef88cc6ecf67035b702e25d2bdb7e9e1ec26b2117dad785ebdaad1c DIST gentoo-kernel-5.15.147-1.amd64.gpkg.tar 66324480 BLAKE2B c6d5b1c2cde86c3573049ef89b5baed82fd871e539ac915e271edbd65e07b4a9c778cbe7076aac2e21cceb4a129ffb1f33c8866643bde65ac926b073f4da1985 SHA512 65a50d8664b37cd09e5923a09c96c2915e81fda1ec8fd14cef8723db3f52c6df1bb5247ed1c9414571bb90b82e01180d90d42711b3e2724bf803cd16edb237c0 DIST gentoo-kernel-5.15.147-1.arm64.gpkg.tar 59740160 BLAKE2B bd2f87241c5738ed3a2d7972cf48323956133b4585d12bcb24762b9d05a56e3bd9fbdaf2acdf08579390d5b1c0b7856e21dc2a64f41d55ca431eb186f917cc8a SHA512 d30158985928568e750c7c50af8e6faa6d834788280c2fced33f93ac83dd6b8997ffaa057c077ff508d7e454c92537806dc87917609194ff2f3b1a10273ff91d DIST gentoo-kernel-5.15.147-1.ppc64le.gpkg.tar 54978560 BLAKE2B be4b07d1addc879ed061b2a3f9202d18de049d28df52350e021c5559e29c11243fa11a787a8239cb779b2eca6b6faeb4f59450c309ce4e7c340f8a303ef8662c SHA512 2a93b8ff166cbc6a1cd34836c7094217ba82c176d5d9fb313e5db47b281ac4d837dc286f580d291df45b159cdd13eeba5deaf7f1ac5f2b4237d5e1b276787b55 DIST gentoo-kernel-5.15.147-1.x86.gpkg.tar 56064000 BLAKE2B b2368b7278972da768f8beb71faef33062df867488845c056a6b77cc6e229b0cb3a4ffa95ee68896f52f392ad062126e3a364c4b0d02d70e850895c020cdd5ac SHA512 ebddae5ef2bb7f5118a6f0f6a7dfa910d7e5954a8512956bbb0c3dc8f86eb7364f2c2c42ae5ccd056dc74d8bfa003ed114b6bdc3a1cb243ecb0c68bfcfdf7d6b +DIST gentoo-kernel-5.15.148-1.amd64.gpkg.tar 66344960 BLAKE2B e741e0d9ae491df35f5cd8aae4e7a5e4150ce8f5f9b5643e3d14574c2244ee74639e36dd7944de9629f1664a0e9fc226d8e7d65ca65c2eb766a614b8c2ba0ede SHA512 27ee086cd3b7105a3da9d43fafa7f4d97632f4460a5e24121a9e73565310eaf36b6583579c30d7da28b1f49d7e482893b57e97566d13f9da0ff512ff6749f63f +DIST gentoo-kernel-5.15.148-1.arm64.gpkg.tar 59729920 BLAKE2B adffbea7be512987df0813af7b7b55675adc249a7b2780e9d814ddd6699f4343f4d33a393ae044f89d09c27d08b22cc7ede718c423d13e630f821ed723652f1c SHA512 c83dd1bdf5578dd35be2330a690aa0137f00fa1fc66fa85872f959833168b15c695de08096da5b5113c37557dfd007365d0fab330c9b52f49ff1fdc1257c98be +DIST gentoo-kernel-5.15.148-1.ppc64le.gpkg.tar 54968320 BLAKE2B 1629ca402319f9841e7c3cdf0b0ba0d3c58e55b3ee6ee47820d12c8f2735fa628e45b74d10bf9fa79e3ac7a2c0b178661f789e0c175eee3ddace9d5de9a5dd9d SHA512 20160f5e30aa14725cc2733d6e01aedd1dec39229cba7da985f91e7b500f4a3bdaa9bd35578b21610b95bde2eea06cf8b08ed263de92cce5a311476d1b0ebfa1 +DIST gentoo-kernel-5.15.148-1.x86.gpkg.tar 56064000 BLAKE2B 1973c3aa1ffe57ae850c43c5c2bb4b1d2a2e4666f2f1c87a4c78acd7ff10f02229c6e8f0daed93d38bb26b2b879e8298cb53dc6d69b9f58ece764104fdbb4ee7 SHA512 a456008a770d8ee078d1e99a9747ad70e743a91eec7f6f77520cdd85b5ed81a614264ddc259c356a233ec51bdf92eb49f3720661e360570d774383800ae3dc4e DIST gentoo-kernel-6.1.74-1.amd64.gpkg.tar 72601600 BLAKE2B 43b11ada3bed4fccd7ac6ce3cbea4ce142d43148d3645acea85e2eae388bfe389772196e0525b4d4dc0b54bfa03e086d0128cd7c877e89255b424b8fb6dfb885 SHA512 7a6c93fd5d0ed11fce61b5f56ae395116f9fefe7b8b765692ec3f8ae7bd01dd0ad3ffef2945fbdcaf4dac033a1efe3328109cd0e058c0f31e85be0dd65453703 DIST gentoo-kernel-6.1.74-1.arm64.gpkg.tar 65628160 BLAKE2B 6cf9280fd9a0be7e8cfa06ccb4ff788911fc90f5e0a08fcb3d3db94c9cef3bc08e5bb37aa9bda7c9c3aef33becd568154d868254c563cf5a32588de5f68eeb29 SHA512 31c7a1fa05bf19af259ef114fc9ad13d8e703c72347c91b7c9c883a5fd60366db10a3d9e1b083f09dbdd9f8515e9597a1a3ec30ad8c5b6adbca385a7a97ff4d2 DIST gentoo-kernel-6.1.74-1.ppc64le.gpkg.tar 59883520 BLAKE2B eb135a0383a2832c1f9ea68a4a68dce8ce64ee9834b9286c3caadbf2c3d7f39f019bb6d002f1936a5d0902f702e967607fc220afc7935b7e2be6bed5416d9fd7 SHA512 1e325751f217faf09325113d0cbd3cbcc6620b0df3558d34ed4d9e89305982f9399aa300119e2c4d5068a1b5cfc155f1c750281a1fe6648d3320d3753ca02f1b DIST gentoo-kernel-6.1.74-1.x86.gpkg.tar 62136320 BLAKE2B 5f575926d6dc72f9e972f4edd7cf6b5ebbabe86458ae928d094ad1ada0230985fecae7c2ddbe97a40413da797f06e7dd8c67124d25b2a132c52c8d48b3b22fb9 SHA512 b22ba08b909c5f87b89b93b106c0c51de6d7c9285c2ebb6593d9f14d8b7a129589459fd7eadcc5647e8e62daee0b0af86812b9e4e296e7ac484f82072166ef16 +DIST gentoo-kernel-6.1.75-1.amd64.gpkg.tar 72611840 BLAKE2B 275d2cb2f1b2e33e94793906657114b360161af28a7859558aafc143587f5351083785c83b7b635c00e2304bb2fd345ad8680062d5f4a6f96e7ef0c5bf36c2b0 SHA512 756349bb4c09c0967ddcedbcc81d7a4a48cd9126d27aed7973c4834031116942d0bffccf2d2b089878f1735ba3f42cc359b3ffae43265c17fc02abd9677d3284 +DIST gentoo-kernel-6.1.75-1.arm64.gpkg.tar 65617920 BLAKE2B 7c9eff13dd838bb02d6b04890b247b7648028b4201c269596f58450903adbf6b45504f3eb4ae25ac18e0e65e7fce427d83447a999f7aed2faeda14a9672c4dda SHA512 aa24f641951a027dc8daa56711f87debc186552a7e035ab5f2d1c3f3e42b219c1667a99bff2ab16f3bc5c0dcf1d98941775814c537eef64b59e25a5c40d74b99 +DIST gentoo-kernel-6.1.75-1.ppc64le.gpkg.tar 59883520 BLAKE2B 95463c2151bcf76d586c98b483765e5a710215e5d68f637d999e5f10450c23d41f470a1ebc2e2feb7bd44b703a8e5c5524242e0389d57d4e4609de4c3ba63cff SHA512 c3970fe061af0bf3da147676f5f39e7063742d552235d3038d03d5198d18127bf7bedd5c1b395c3faa6d65a01c605292d4430c06be1ef51cb1cacbdea1702b6d +DIST gentoo-kernel-6.1.75-1.x86.gpkg.tar 62167040 BLAKE2B e8668c532da434bc1bb3c92404fbd07066d6b30a0119041f498c317060f155a543410005630db6bb36239c5b14eaee02c5ee4a71114b7fc5b9bc0e28c86d00c7 SHA512 4a1c8935dddeba0787a6f636bc9201594df886ce836161d53b31675c0eedd23bb7a1ef2cb243247524b84d01f24b5055da958993762e3a35a2ddcacd46dae2ea DIST gentoo-kernel-6.6.13-1.amd64.gpkg.tar 146032640 BLAKE2B 322a4c9fba664b7800a9d0e2a229196f0224df8d85768d20a4988daf0c7e990761eda5761bca4a5c56624ff1739ddb92932a07f6bc6305fc6dec5d9924e6b4be SHA512 a920135a123482bdecc390dd5e6da9b29c5d94b1f330af6020af7aad2e67d1cb177e15689a7559c31e495e2610ddc32b99f4fff7045a0f4ce0605f26dd71f3f2 DIST gentoo-kernel-6.6.13-1.arm64.gpkg.tar 118630400 BLAKE2B e5345a1cc613116fca4942d1720efab5437f48043594eebbe47f7a5b218e89ad9aa10f471e896a2b9cab092a4ab3ce61b996c7db8142a6c929a0b65ef6d79169 SHA512 834bcca05da9a196408303181c5f43730be97c24bf4de13acff303aa40027e01d6b594c2fa23ce3b2ffbc37f322150592e11ab732f3586a05971e41ba711ca6a DIST gentoo-kernel-6.6.13-1.ppc64le.gpkg.tar 64358400 BLAKE2B d7c85ab1ffe7300bbcb6556b119f378d74a7282f33e764517cd35f6bfa0d35107497d00efc0a0258b4bd5932955d03b679b795328b5a827add330184b4ed8cd2 SHA512 80a855ebf8bb439683d5cb2a90e19c277e422e523bcfe5911b5e6ab82ccde01cee03bc3fb96105c5f1b8bab7173d93fc74c6d26ce117073052fc31772a7f1775 DIST gentoo-kernel-6.6.13-1.x86.gpkg.tar 68300800 BLAKE2B 8c909a163ced25659b9da1830f15289d3e5cbff44e71a08f204295a05c6cf865f31224561f9fcd1181608c05be377b88b325456f22a9ac49a2fb632bc4cc024c SHA512 0fa399f18e2184568b8d1c45ebbae325b42077cf035a667f436796c20645ea56008019c7da636d9b6b1bf8ec7cb832fa132c04bbd9d9b066f80c149ba295fdac +DIST gentoo-kernel-6.6.14-1.amd64.gpkg.tar 146083840 BLAKE2B e1acb6f9ed8e52f37023c19b73e9508504bc2680ac6416ec7928a6661dfcedbc46076ad7899d8367ee86000269f2da7e79b9f088fecea834be298a4ab4f5f110 SHA512 541e71d9f5acdbe9f8580f67e580f23dc6eac565d6556c4d068f484e84e99d6becf4d9255e5d68a968422f8e8ed6661895f4528f985d01aa5487386ba6056369 +DIST gentoo-kernel-6.6.14-1.arm64.gpkg.tar 118753280 BLAKE2B 8e7925024ea7b2e7cddbdf7504642666d2fabfa683b7e27297f2f532c8d84e4675af9318a67d3dbcd277f55f57721624c1a0152bb50b1d87a0de3e72189a00c4 SHA512 9ddcb39c3e86969902d447ba7b1955e27f0f4ddc2f9de987809a4e879c2a454ddd94f5c747023729080194be8cb7ad81170045fe4fc7adc8e6264782e40491fe +DIST gentoo-kernel-6.6.14-1.ppc64le.gpkg.tar 64368640 BLAKE2B 5ecfbdfa3d1c7501908d837af9c47f60ad8704874aea8b1d7f572730765eba499a945ccea9b73bae2e3102cd6ac192d76d676e9c73ce57ce58d4fce79ae1c039 SHA512 bc253c401925d3e7b497f4921b0ac1b5f66fddf9f1775d593f25f489c2e6b70632632251623e7809cb51b554894f5a2e3ac04e8208ea4216a58a00c3d64d02e0 +DIST gentoo-kernel-6.6.14-1.x86.gpkg.tar 68311040 BLAKE2B 73ce986afef9372888b870f2b20ed2fbb84929069114775b1db7cb91e82e4ab9a73058f3cbed923662e29cf033ba0e6429bcd582198ec0c3c5b17b770926cfa2 SHA512 18a27bd398ef75ac2886a2cda3575e09e98db3558fa585c00c3670e9dbe1e7252db3b5bb7c42a9bf4a3e2a1543c09906a3a72d604edd42e01ba111da0c080fa2 DIST gentoo-kernel-6.7.1-1.amd64.gpkg.tar 148244480 BLAKE2B 331554d8368fbf7e066e57859875dc04bfed10e1b7d937ef149af894214e6a0350f43f8c3b87fc3590e01f7eab3c5b94fe03a5632bb606fc435a0f63fe06fda2 SHA512 c6e5f6646669e390b06db010ab2e30a803a3d15b7f898b45c565cc58426161f4c9f12529e8d7beedec57c153de0cd9c1a73c25099c5c75a0ab66e2730ce12f51 DIST gentoo-kernel-6.7.1-1.arm64.gpkg.tar 120647680 BLAKE2B 1ec1a5470c5f97bfa12e4e90ee58aa057c96a120ad8acd0fe62f858f8b685ac19f0759e76bf6d435243aa1b9d3dcdee4457b05eef2e2839b6d3589b38269dfab SHA512 35d41bf8df7fb65f8838c74d55afe005028af686859833e4bec8a86b061a804e48a425b77f222c3551188ccbd7b51b75491f5a13b69dd895cec9fc6405d59316 DIST gentoo-kernel-6.7.1-1.ppc64le.gpkg.tar 65484800 BLAKE2B c0dc567e77b591a0d93a94d2f9f07f091f48ea5dee481d47dccd7b148617be56cb38d6f89da010bfe344eab0f396f556221a9e6df54a1353c4fd6cbfb9dba4f7 SHA512 04cf5db20c604999aed94e9bf3d69b546b6247a9ca68cd1bc187b52ef82b4c890538d5aaa976ba596224b2850e63505ae3fbab8f569e7f0c030569469e6ee302 DIST gentoo-kernel-6.7.1-1.x86.gpkg.tar 69447680 BLAKE2B 9a9aca80ff60e42a5e872d4adfbf4e9271d4d7512270387635374a548ddec54a3e168bbbadc5e6c8cc7bc237cebbc22d41adb665a0c025f36663b429a5bb06a7 SHA512 c458b99b01c04bddf5fa816595b53cdc36c4a71b897a3434764f424b631f23670caf555ee3ef1b247b7293cb115568ca96ebe10c1b5fcac2892a4c49d47f8bcc +DIST gentoo-kernel-6.7.2-1.amd64.gpkg.tar 148234240 BLAKE2B 6a6bba15615213dace9bf7bf5eca91a8858180574606c9d1af25b5453b1ffdfcf1975b2e20a5486cde94e48ae2d56afab33212ee97ee8bcb6160c83867d4d5e0 SHA512 138894f1473df1569446580da421a1181f4100b907edf8f16b87a9462bee345a9bcb3c35ab94db016b5b3832fcac9f7059b55cf3a56ca6342f050511c3d8e9a8 +DIST gentoo-kernel-6.7.2-1.arm64.gpkg.tar 120760320 BLAKE2B bb928c929e5d17696a724595c6c247c4c6b9dae11c3bc4aceb720409de6046db10a017b3e38630ee1839fee8459243ead620fd8e4440a39ba298f07c32a7b9e1 SHA512 8d0d67025cbcf1dfad98afc46e150880e7ad1e3b4b21c129dc5cda766852bcb52f3bc7a74a606c1e529ad4c83a37d8f65254f678c12dac2731013275c1ca8c15 +DIST gentoo-kernel-6.7.2-1.ppc64le.gpkg.tar 65505280 BLAKE2B d306a1570272d9c8df6adc0f06cfd8e63e1d318f95ef2c11bfb750e37fb4b3cce42c124758a6963161f4bf17c08059c7b8621baae2e9d31f393ad8a12d1a8c57 SHA512 f8777ab4c09c9ae5d0e81092cc70b5266fd4454586432c983b56c10135afb3d6812cf446d23fa5deb64a8d7616ee01babd05dd312b88a2f6dd915da083ba01a9 +DIST gentoo-kernel-6.7.2-1.x86.gpkg.tar 69478400 BLAKE2B 61961a9071bffa0a3c0bee9529f7443dd0f41cb0abbe37e539df6f5915fb46ae412238c1e6cab4cbdbeaa4eee77e2edd513e976f523f28f77dc96f38fe1f14aa SHA512 e2a287cbb47db3fd7ff49b1d6676ecb42f1587e1946c3980cc2d13652d3390a0fe445d695630d65571e974a32f72431d2d8c05109073522dd0ad8d3d1710735f 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 DIST linux-6.7.tar.xz 141406528 BLAKE2B cecdbd19905e43e485ab73b352ced18b37f2a138c97a6956cadcda5d3d271001117dc1cf896b166ff019fc7f405f9539e2ed0d6112b0890efb04d182adf4fd0e SHA512 de06de556191614bd9daf077ae239360352a402bab407748e67f1e5108c92fd933e451707840ab22fe0f9976db3d1e1b60ca9d41cf894f015ca09b3f652b74ad EBUILD gentoo-kernel-bin-5.10.208.ebuild 3038 BLAKE2B 1d5cfc754829d97891c30c2d6cbcf2ed23ade363866d7f302785abb5a0672e192dec0f1c767ddfdd5ab4759548b170e94b6f005da0220790987703a001259790 SHA512 4a531ec91a011747e5c4f970e93e1fe7743eb9a0d16860de373b25ac5e618d446e1dd5ef8683aee25dbcfe5034626e9a56c9835eaa757f2354eb210129ac9256 +EBUILD gentoo-kernel-bin-5.10.209.ebuild 3042 BLAKE2B 1c28eced39d1242906269df2abfae23627921ac0a67f9cf4a57c64590fafec873e35948787da4f29e3e0f6d1ad1a76464fb7fb4e74f7004d9808b248e2585016 SHA512 09bc854555742c974837f603b42aef905ba86d5bad30129246a0a8e98c728fb8b94c4f9564c18108af3ffb8407f757ada41f87654c4be9baa3d1f4aa73c9340d EBUILD gentoo-kernel-bin-5.15.147.ebuild 3038 BLAKE2B a7fdffe5c286e4da857bb61b86859e0b1111d913938b61b55fad85881cdad6b4eaa027c2210ff17f8eed07b9b3550dc756fafca37582a90682dde10ddd364167 SHA512 de4c906cce874ba8f96ed536a2d435a1117f4fc18e33b8fe605e8ea38e7b03f6dff7dc3f1da40b255e2c08367b288dee2d75a7b1963ae03991700f84e3d488ed +EBUILD gentoo-kernel-bin-5.15.148.ebuild 3042 BLAKE2B 71642740131c708c13c44e70bc03c61f4911b10a1462374dd2624f5c68da2160d0717eac34e150fb493e3121859fe7c3c76587da8ad9644a7eba640f6a11ed56 SHA512 367c0dbb9ae6bf132eb3b71ba2904ab05b46e377680221ae57fd2679f656505018dbce3097dba05894b2964d57c78cc139e4799845827a0f02046ed947a8c461 EBUILD gentoo-kernel-bin-6.1.74.ebuild 3038 BLAKE2B a7fdffe5c286e4da857bb61b86859e0b1111d913938b61b55fad85881cdad6b4eaa027c2210ff17f8eed07b9b3550dc756fafca37582a90682dde10ddd364167 SHA512 de4c906cce874ba8f96ed536a2d435a1117f4fc18e33b8fe605e8ea38e7b03f6dff7dc3f1da40b255e2c08367b288dee2d75a7b1963ae03991700f84e3d488ed +EBUILD gentoo-kernel-bin-6.1.75.ebuild 3042 BLAKE2B 71642740131c708c13c44e70bc03c61f4911b10a1462374dd2624f5c68da2160d0717eac34e150fb493e3121859fe7c3c76587da8ad9644a7eba640f6a11ed56 SHA512 367c0dbb9ae6bf132eb3b71ba2904ab05b46e377680221ae57fd2679f656505018dbce3097dba05894b2964d57c78cc139e4799845827a0f02046ed947a8c461 EBUILD gentoo-kernel-bin-6.6.13.ebuild 4076 BLAKE2B 40de95f3bcd35312cbf9ed788d2d2b8a606c0e8cf11f3cf275dafc9197d19bce739662c3dca2a8b1dfbc329a0cd96905101b3345f2a6770305b290faf806bf0e SHA512 7a232c533361a1fb1dbe180e8df472099e47caf97cfa9e1498f31f0f9f20417e602971c164600e2649cda27f6a0c8b0c8c5a8dbe33738d73cefa16f491b2331a +EBUILD gentoo-kernel-bin-6.6.14.ebuild 4080 BLAKE2B 0d88324cba03dbbb1712817c289fee4becfb7a7c4ce22c4ec230800eeed6d3321e963ed9cf5858129988a3f3e885dc71b2b1404b393b3c345eb16c2e6ed8b733 SHA512 52a65d01059371d646f1109c2d0d4977fcb6f76b158f0c0bcd36a09d68b4b7ed145b9d5fce9d8815acb82ca4ed7c3c35e343e9f3ae5dc76ee4b57f80f5570616 EBUILD gentoo-kernel-bin-6.7.1.ebuild 4080 BLAKE2B 7c3c46033601e1e5ee7c58609ae5b2475fb812faa6cd5e3de60dbdb76297cf49e610e689fda6242dcb477c8373ac6511c917f3e157bb808edc8f95cdc3d47cef SHA512 e8043d46217f9197a8f0c3468d8341f44afdbbb26b603d95274d186d3a5262d9cd8c03235749f6db93bc7c8defebdf07c7beba43c25359d81e67c83e281bc980 +EBUILD gentoo-kernel-bin-6.7.2.ebuild 4080 BLAKE2B 7c3c46033601e1e5ee7c58609ae5b2475fb812faa6cd5e3de60dbdb76297cf49e610e689fda6242dcb477c8373ac6511c917f3e157bb808edc8f95cdc3d47cef SHA512 e8043d46217f9197a8f0c3468d8341f44afdbbb26b603d95274d186d3a5262d9cd8c03235749f6db93bc7c8defebdf07c7beba43c25359d81e67c83e281bc980 MISC metadata.xml 482 BLAKE2B 3e7e4723542cbb8ac93dae78248fb8c26b96b7bfb2a3cd7913e4e7aef9beff07d9e8301219ae95bbbe4282d0806614b2733bea5d818797d19b0070c9119c0e1d SHA512 e3de887610d2c063fde21d52ce78c5d15301bffff49a82508c50dc1b03e606bf3e87506b376f10c6c10334949f577bc0f5307c3f45f2544fac799c57cf75d4d4 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.209.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.209.ebuild new file mode 100644 index 000000000000..1a44f330be18 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.209.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##*.} + 11 )) +BINPKG=${P/-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=" + app-alternatives/bc + app-alternatives/lex + 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-5.15.148.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.148.ebuild new file mode 100644 index 000000000000..1a845828a60b --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.148.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##*.} + 9 )) +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=" + app-alternatives/bc + app-alternatives/lex + 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.1.75.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.75.ebuild new file mode 100644 index 000000000000..1a845828a60b --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.75.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##*.} + 9 )) +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=" + app-alternatives/bc + app-alternatives/lex + 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.14.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.14.ebuild new file mode 100644 index 000000000000..9055f90433bd --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.14.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##*.} + 3 )) +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=" + app-alternatives/bc + app-alternatives/lex + 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/gentoo-kernel-bin-6.7.2.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.7.2.ebuild new file mode 100644 index 000000000000..44d02e88809f --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.7.2.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=" + app-alternatives/bc + app-alternatives/lex + 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/Manifest b/sys-kernel/gentoo-kernel/Manifest index dc374dc19e64..e70245fafabd 100644 --- a/sys-kernel/gentoo-kernel/Manifest +++ b/sys-kernel/gentoo-kernel/Manifest @@ -1,13 +1,23 @@ DIST genpatches-5.10-219.base.tar.xz 6357760 BLAKE2B a269d5841d3a4b959c6a5ac49cac174a619463ff0792218d2c9311b22b54202f594b5edfed6fda147cbcb20a9d11aa9b886538e898c1442f8eb456a95b6ef5ce SHA512 4938bd81ccbb600e23a4d48096cfadf019e01324d8239a358cd1e0c506a16724ab7d4ec018bf48f6edd1f20d15e1db0c17bea98a349327fd51fb01384aeb2518 DIST genpatches-5.10-219.extras.tar.xz 3872 BLAKE2B e750906a1615f45077bba557296d5fbb41cffbb909e33b61280dd35846ce13cf3ecf2620404b348d17bd26cd588a7edffea97c3be3ab78fdbf9ab6737ca4f8e1 SHA512 17ec35b053139a93997b5a3c35a7ba61d6ef87c05aeef3ca06eea3bddf76ea5e2e10664d304a673780e3543791c46580548ba4dde40fbcb42a86a484408af57a +DIST genpatches-5.10-220.base.tar.xz 6420640 BLAKE2B bc737c88f1e7eff80ccb12513ddbdbf9a2598477d691678c94ba3f261187d62af91dcb309b0a3d7b0ac97c1ef89d8aa774e179f97bd950bad022580447889492 SHA512 3b3b423b5f6ccfa0a74a567b1108c2027582b78409ca17f4044214fb3cb3586ec0cc0eab6bd2f5dd49f13fdbedb7d78a0ddcd596347ae0a26e7a6b6901ed10b4 +DIST genpatches-5.10-220.extras.tar.xz 3872 BLAKE2B 71384eeb192c4d3ef24e28cba7848a2e51ec6b582d0904593902f15d8f03c33bd4155e9ec8b52b601af399bccac2c52b3892109dff151a89f636d9f130306e02 SHA512 e8b61757336cd513bb7c49725c569218a749ebf6782515a30c63c1d9ac922f8781ceb6d5399437889a281ac393970c09fd8bf0327f0de45cb8de1d604d49fb0a DIST genpatches-5.15-156.base.tar.xz 6004636 BLAKE2B f70c2a3bfc3d65fea8d4764b953d147a1725162aeaf319701a3d4b1d47c846932c4c8cd009bf81b4ce33754e966dac4630e2f690c403ec5181e3cc122496db09 SHA512 4d2fd08626d433d7230b27fb1cbd8a3fec9a942ddbd01988dba8632f25b510353b5086f4db1d529b88770e579189fc7bf6a4d02828c662fcb230e51efbecad9c DIST genpatches-5.15-156.extras.tar.xz 3936 BLAKE2B ad08b5d93b943236326d333c627ae8cd279d78fd2b8f8df420ce75be815472dca9785b8eb14015ca2dbc92560a8589d31b9f9edbf81280c85d1ce6fe58aed0b1 SHA512 580ba97a039ff7417b448d4df13b67ed262b7a47be449515ca80125a89b5da3eeee773757db6ff7389b501daee6ab708e19dc2713088ee118859e1e9d3f4b303 +DIST genpatches-5.15-157.base.tar.xz 6083340 BLAKE2B da2898a405bfd934e761180064107f4d87d144105ade4c825ff9299cb4a0b57324927cf34d3a55fc7a0227d9db053caf5b0f8159ca0ddbd946d31459b2683e1f SHA512 04c2d322ec1f0946b7f0f551e0fc0342da749cade5f20f2da1a1e60fd0cd946593a797c053bbd0eb8121f70e69f6766f8c945a99fd77fca3eef89aeae6d5b871 +DIST genpatches-5.15-157.extras.tar.xz 3936 BLAKE2B d559b4c240ab2b8a0b522d846c3d9707b0beacd800e137517c29b51253283b47caf05f7facbdd7be747255dc2485170ecfad04a3ba5293d749c8d22ae60886f7 SHA512 e99880adebd2d08067fbcc73bf01eb844c39cef7c06e99b95c9622949e38a2ed58045f27e71bde4d5321dc06212848c884c8f4added4c41a8a1197cd375091b8 DIST genpatches-6.1-83.base.tar.xz 4358680 BLAKE2B 0ef9de04e2bdbfd4cdf2942ad1e1b27b8a314b07409cd7c140d0cc2783679a135eedd7d08860ed9fb6256115dbfbcbab5cd3d15522733bd72ec3d4d918fdc96e SHA512 544630385153defad073422da90ec6710d0b4e3444ca1843017b1f1b855add852045c0a1d7e8cd68c037746c4c23e8ec24df747469e177519384ca2e8185cfda DIST genpatches-6.1-83.extras.tar.xz 3816 BLAKE2B d22ef26f4b321319ce84b7bac4b345759519ce1bf4b821fd85590021f93c80242506b4ebd3cfca6ad4c1e56dc8d3600e54a0b459f07eabe0e154b03a0a1bb37d SHA512 086b04be251177d98038fc2aab2b4110aea45144996b3e50d7803e331a5660cef9e4c7d6fe794905dc8a22065ab8ecf4b5eb5f94e8db59df88a2c861c09c2505 +DIST genpatches-6.1-84.base.tar.xz 4453064 BLAKE2B 195ca4777d311b883d335ae7e2320ffffd9d7c73d02c54c7a0410804bd363f1e1eeccda64a5514d8575622cdcfcd54b0821157286fc09f5e85303d72aa1a4f26 SHA512 67dc650cd38fa9cfefadd1592673955e112f4d8a43625d89690395b6eb59a4cad2d0af53ea2d482e163bdd9a8a047582a24054d074c512562b180176d9c8cc77 +DIST genpatches-6.1-84.extras.tar.xz 3816 BLAKE2B 961081e49ae29d6127eba299282c1bd3e3b4d78778b03da6bae6a6be8cba5efba3bf17d40fee02c6923f8536042d3c4ae82b93046536d81e4873fcdb5dc5c8f1 SHA512 77f05bb5082a95e503e07936a2fd8868f202539a844bbca84bd4e0a692006cf4dcec1dccf35a17064f58c40fdf3a6c44fde80cfbb8e8b2bafdba1d950f0b28bf DIST genpatches-6.6-16.base.tar.xz 750868 BLAKE2B 13af5286f51a69dd0ad7b2543bcf0d933865e14c4c865e495f3225a8740bd7579858cbbd72a2099333e8dc241900c166730d4c812183f2636bf3d4049156a71b SHA512 70864a69f8bdb28f8fa3515a33be510a2c529a5c3bc767aede2dae1c290869491d776336be9983259685af9fee2d2bc61c821d0103c47e91b69078bf81fe2c63 DIST genpatches-6.6-16.extras.tar.xz 3704 BLAKE2B a33d9a80926abd8318f124fa6aa25f7181b88a6965c17908232ef2b866a27a5e856e464895994599265e0e57d8e1f81561758df4670f25ef5694e5d5f535ba95 SHA512 8ee1686a16886320b698ac0e3767804fc9bbaf595335203fb2899c727a0ca0f3e551ac13b3cbb97cec8d91e77257aa1da75669f1c41d263960875e9d31303b1a +DIST genpatches-6.6-17.base.tar.xz 894152 BLAKE2B ff9c821916d3b1350ac30a44673eee52df18d5c7766ccfb7e682740889191080e947ca6f78b8f2af3b1b2b879326c0b530a53f7443a54ecd124b27e89e99e6bd SHA512 45b6df20d995ceddbccf72db94062339e021eaa4a121d0591a936e39b1e56c8f2581dd1fde03505914adb787445b4cfd998f7847f640785dfa1c05e7959125aa +DIST genpatches-6.6-17.extras.tar.xz 3704 BLAKE2B d85a68fe7bf6e4693a41958a053705e35b8829c236b8fad024f7332f89be277708dce2bc931c013b3bf51e14e3b11162342893b7d257541677b17efa918c86b7 SHA512 d53c369e9f54f6de450a41882626d74b22315b8ca7c7b381089b77a6b1b5a1b444109e8fc9c25bdf22afeb92af252c963c700e0e309cfa272caf39c1f5855a55 DIST genpatches-6.7-3.base.tar.xz 19844 BLAKE2B 69f53a7bf61154f3644919b870ed4434ccd7ceeeb8c57e14c274c7be28a1f6c5b0af7975f4c0ef131ff5b53f3afa0a1a4b7c7db92202e11e3c1647524e8e9444 SHA512 5022aeb1970e8652b5f82d09642c22970bcae0e01deefbc0271cab9c054bd21ae4c3835f4fff0a22d14f5fa7495211a95c50b35535586dcdca3c2b1f45ce05a1 DIST genpatches-6.7-3.extras.tar.xz 3700 BLAKE2B ce7bc87494eec57d39330b1de3462b99a088781bca0beefad667674bbd9eaa2f2413c712638d16ef8c335b6a0e353aec83f4eb69e3da53a88d51ca6853d3254c SHA512 43558eb7a699d5e24c8f2bea13689adaacc6c7c58b4975c3d204a4c2278620032add6ca6017c3fc6ae70ade7e3e227a655deb989b85ef05acb05804d33475ec6 +DIST genpatches-6.7-4.base.tar.xz 193776 BLAKE2B d0b6ee8e055d0c3b8122e1050818b49600a94c8b1b06ee4b6209d89207d527fc6c65352c728e359ad2830830ff25079a2d6d6ef6a55ecf60e43887c16673376f SHA512 5cc15425a7e9e80320f0b18b891d2efa2dfab4090441003b3c617d820c7e449a792aa266941bde0d22ba26e9a6999e42c3b686b270bc00389047678dd71b93d0 +DIST genpatches-6.7-4.extras.tar.xz 3704 BLAKE2B bf9fe3be461e9a5e7ebe59704bf22a418b67644345728b494ce3b725c03902d7cc226a32cc46c831afbb07e0111d397556b9f12c63871a8f173d7fe136acb2f0 SHA512 70e91002ba6b48fb9161a1f28279f29636e381a34b67856bb492fa36edbce68ae8aed48f50df5e7a14c59f1f8fa4e74ab9430b7cf762a5dd3feee08952213f69 DIST gentoo-kernel-config-g11.tar.gz 5077 BLAKE2B dc17ded74f79baddd703a78084113b85e7130877b300b5fe60453cde515fe37c52ece7877049bb0ef384f74ecfc73d59d7d4a513f8fef7bf4f651599946383e8 SHA512 e91156765ef2a48396370f884fdecd7bb1d600e5167f6bad51130520f886e9198adae375adf3e40fa803abc5d5482057775fb0275ab2589bd8f94d8af4a03c4e DIST kernel-aarch64-fedora.config.5.10.12 223184 BLAKE2B a0246dac2f7a4ad6a55b611538d24382ac87a8960077811a859c9595ac67f961b4bccb7e139a89abc7c0e26e80832da5c94211fc658082f2e7dde984f14dd29d SHA512 7d803b347b136331db1ad6e22e0445fe0224c3e26cd7c034cbe9794915d457b492e05f77664865079874ec001351553652646e2e08d0fee31e30b841b0008f52 DIST kernel-aarch64-fedora.config.5.15.19 242615 BLAKE2B 94e59440681535e38137b71814e1ae53f57a347f62cf31e0c1c8571ae43d9ae9be9957743c8cbc9ec74850c964eaabefe6799a28bc311ea7b99ee31391b47fb1 SHA512 fb77d3b73a215f97d70cd6d8c96ed20e497786b99ed7d7a7f2ed60cc1251289c1a4c7e058c41b5efac62e4a9b4b3d917dbdb11585955bba2b6584981430f4ddb @@ -35,8 +45,13 @@ DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35 DIST linux-6.7.tar.xz 141406528 BLAKE2B cecdbd19905e43e485ab73b352ced18b37f2a138c97a6956cadcda5d3d271001117dc1cf896b166ff019fc7f405f9539e2ed0d6112b0890efb04d182adf4fd0e SHA512 de06de556191614bd9daf077ae239360352a402bab407748e67f1e5108c92fd933e451707840ab22fe0f9976db3d1e1b60ca9d41cf894f015ca09b3f652b74ad EBUILD gentoo-kernel-5.10.208.ebuild 3661 BLAKE2B ea574fbe0db1a50cbb7bc07c89f82b502c3ee2dfff9ffd87d00ad9915d385c47b57380256f5b3847ad07b98d5ef8e6ea2c39625bc2d5bea9fb19aee351800e2f SHA512 906113eb32b5b88e8734bfa7860b386440c636da6877de084ee3f4b24f0d1a1828ea305669169763877b7f2aa18c3c2c435966c95044fac43bf941ce19eb6f25 +EBUILD gentoo-kernel-5.10.209.ebuild 3665 BLAKE2B df47736d0b73a5489929cbe7c42b68eb8160f22711de1d06c427e8bc3036cb18ddc6a51dcd13e1f92d57783598cd41b2919baf709c309e83cab09fb92c622640 SHA512 6c1ebf85ba250611d0ace5f2c14b77d9d93782d579e8d3ba49c75e6bc65e8d0ef617cab65222ac31245d7d9454d2fbffb6f0a5706ee7f57ca17122a8c96ead97 EBUILD gentoo-kernel-5.15.147.ebuild 3739 BLAKE2B 5a0e840b0d83977451af62694842ac32c2068cbe0b43df475ae7c8e141c7e0c748e5035a488762561736a53e5362689c182e1a97b5ade7bb44b3fd431b0b6dc5 SHA512 3a0aef9e2ac7e6142da00315a109e57b6300c9a93b5e3032ec66e0ae6523db458ac7ff08777dd9d187338a1bb5f244a7ab0a15763d086a090ef29af2a7dd83d0 +EBUILD gentoo-kernel-5.15.148.ebuild 3743 BLAKE2B c9a2ff594598c24cfd37defe34bc4c4a303e9a3b4b8901e831086fda939b1c0c4cd1cc75c94739a24be7b787dc6e95005a33e5e9b4b4403916d5176dadcbbb6c SHA512 1a9194f20888650010f9dec08ade7d7b81464f056b3c4569637a57175478f812101278c56f6fc1708f3d08aa29fa1729d2a8edffa10672e2c2d4a2955e259df0 EBUILD gentoo-kernel-6.1.74.ebuild 3975 BLAKE2B 64e7b5e76d4a47c42655a6500138d6d87ecbd2ae84fac844504583bb5fabb4c1233c4272eb223e37ba31fa65d8b9b1e5c51be54b3ed8443a213ebf060d67c129 SHA512 d3f7809ad2f3c5d763649da1df1f2ed664e7d65a17a3a20d545aabd7d6a0d2b9df0c2bdef58f9b4df3225603ac978609547d645cf226ee6b0eda1d8c8560573f +EBUILD gentoo-kernel-6.1.75.ebuild 3979 BLAKE2B ca61fe4c03bb01424ab9139308e1ef3ee23d413e5975704fe88a775c50cc56ac314cdcb056703e56ebc35b8956c3ca7da8a05300e60ebb07587fc8f3065111ad SHA512 bf1cdf1ff9d3f618b91a7dc3c52f9a42bb22278de9f5f58953cf124854f345d79d9a1329bef3fb09037463a3cfe18d58dbf2173346f29b6b8420ce0ffc96d7aa EBUILD gentoo-kernel-6.6.13.ebuild 4123 BLAKE2B a4332dba585663b32ddd5d64fbff20c4bea36b870c64fd51f1b94f56fb30d77a093c81e0cda4ea394aaa7b76347f591331f4621a5f3d30e01e35c5febc27c0a1 SHA512 b6579e98cee01bd30ad7e103a7ea26d8afe4d05692450a6e1785269bcde69cc16d8d5e2f8b916e30381fd3735939d4edb15452f2bf4441e885bca2b9a0a3ee53 +EBUILD gentoo-kernel-6.6.14.ebuild 4127 BLAKE2B 2f0aa171b0c7315c148d9d7c650a7902ce76b57927d5927350362692e66347d6411a9523b29d67a8119fe434c4a9f3a8d30b60cfed9c31dc3fbcc4eaf400d1cb SHA512 06eeaf64b3a604014ba66885a49491c85e82b8504f6ac1a4e0d45edbe01998144af1ec6872888cd66987a566c47f92606a73bc20a599d40f72325ae7d2607ad5 EBUILD gentoo-kernel-6.7.1.ebuild 4126 BLAKE2B 00e4fca915e8a47a3fe8eabc2289752a001709fa5cc37247793a984e58197327fb5d6dc19c52b4ca0e39d1aa02005dd6df297a106bf2e9e683c689c287984bbf SHA512 4f4e8952f31d460c102e231b2933ed8002cb59adab16562458f896fea90ca220bb48b99fd982486b52fa82b4cf4411b07f464d87a8ae427123915d72b6b4346a +EBUILD gentoo-kernel-6.7.2.ebuild 4126 BLAKE2B 00e4fca915e8a47a3fe8eabc2289752a001709fa5cc37247793a984e58197327fb5d6dc19c52b4ca0e39d1aa02005dd6df297a106bf2e9e683c689c287984bbf SHA512 4f4e8952f31d460c102e231b2933ed8002cb59adab16562458f896fea90ca220bb48b99fd982486b52fa82b4cf4411b07f464d87a8ae427123915d72b6b4346a MISC metadata.xml 681 BLAKE2B c773ebc6132d1c1a2466655e2441e7bfd7be7979e5912d3a27dd1c81b59614fd7a9a9a6f865075071126337eee6435e4c2b57356cec46f47966c4bdbb131ff3f SHA512 caabebdfd4cb3db2a69406cd1dfd9638c828bc1602d3f972350a7e84db1a2caeb563c6750c0998756c66f949953a1508a395b4b4139e88fbe9a20a70ab3a5ad5 diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.209.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.209.ebuild new file mode 100644 index 000000000000..a9cb5d5f0f12 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.209.ebuild @@ -0,0 +1,134 @@ +# 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##*.} + 11 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +CONFIG_VER=5.10.12 +CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530 +GENTOO_CONFIG_VER=g11 + +DESCRIPTION="Linux kernel built with Gentoo patches" +HOMEPAGE=" + https://wiki.gentoo.org/wiki/Project:Distribution_Kernel + https://www.kernel.org/ +" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + amd64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="debug hardened" +REQUIRED_USE="arm? ( savedconfig )" + +RDEPEND=" + !sys-kernel/gentoo-kernel-bin:${SLOT} +" +BDEPEND=" + debug? ( dev-util/pahole ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +QA_FLAGS_IGNORED=" + usr/src/linux-.*/scripts/gcc-plugins/.*.so + usr/src/linux-.*/vmlinux +" + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + default + + local biendian=false + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + hppa) + return + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-gentoo-dist" + use hardened && myversion+="-hardened" + echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die + local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" + + local merge_configs=( + "${T}"/version.config + "${dist_conf_path}"/base.config + ) + use debug || merge_configs+=( + "${dist_conf_path}"/no-debug.config + ) + if use hardened; then + merge_configs+=( "${dist_conf_path}"/hardened-base.config ) + + tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) + + if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then + merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) + fi + fi + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.148.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.148.ebuild new file mode 100644 index 000000000000..11ca570f5262 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.148.ebuild @@ -0,0 +1,141 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 9 )) +CONFIG_VER=5.15.19 +CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01 +GENTOO_CONFIG_VER=g11 + +DESCRIPTION="Linux kernel built with Gentoo patches" +HOMEPAGE=" + https://wiki.gentoo.org/wiki/Project:Distribution_Kernel + https://www.kernel.org/ +" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + amd64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug hardened" +REQUIRED_USE=" + arm? ( savedconfig ) + hppa? ( savedconfig ) + sparc? ( savedconfig ) +" + +RDEPEND=" + !sys-kernel/gentoo-kernel-bin:${SLOT} +" +BDEPEND=" + debug? ( dev-util/pahole ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +QA_FLAGS_IGNORED=" + usr/src/linux-.*/scripts/gcc-plugins/.*.so + usr/src/linux-.*/vmlinux + usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg +" + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + default + + local biendian=false + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + hppa) + return + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + sparc) + return + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-gentoo-dist" + use hardened && myversion+="-hardened" + echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die + local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" + + local merge_configs=( + "${T}"/version.config + "${dist_conf_path}"/base.config + ) + use debug || merge_configs+=( + "${dist_conf_path}"/no-debug.config + ) + if use hardened; then + merge_configs+=( "${dist_conf_path}"/hardened-base.config ) + + tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) + + if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then + merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) + fi + fi + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.75.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.75.ebuild new file mode 100644 index 000000000000..1e3dc608d732 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.75.ebuild @@ -0,0 +1,146 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 9 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo +CONFIG_VER=6.1.7-gentoo +GENTOO_CONFIG_VER=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.14.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.14.ebuild new file mode 100644 index 000000000000..ecc11e667b22 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.14.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##*.} + 3 )) +# 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=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/gentoo-kernel-6.7.2.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.7.2.ebuild new file mode 100644 index 000000000000..ec15b4a5a7f7 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.7.2.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.7.0-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/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 3d9867c6a570..15c45096027a 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -22,20 +22,35 @@ DIST kernel-x86_64-fedora.config.6.6.12-gentoo 243607 BLAKE2B 7e670d37c6471e50aa DIST kernel-x86_64-fedora.config.6.7.0-gentoo 245518 BLAKE2B 95e474477509bae45c63e8fc2ace4fbdf13248bbd5b47728882f25b52923c95f1b26f096769c4c4d717de8af1e6ebc3c7ff6ce8a84f4a3301153d6f9c47a1086 SHA512 b7a23d49904cf9230beeff69456762be24b145cfe2b3cdfc414826b2c7ba6454c60d00ff3269b81fe0eb0c6e40dbe2cd301bdeba1bb43f82fcf2724c77fd3b5f DIST linux-5.10.208.tar.sign 993 BLAKE2B 4939bc5189973fc1b7aa6e09789199584c7bb217597e7ec7746d8bd33fbb23d613c8c10e8d2c2c400fb7d8f0f55e6dd5a29242ca663c06e4433f8232efae9833 SHA512 dd9df045cf6134dce978eebca310a171b0c5a8fd2845c49d968b872d28e01e5f1ace01b7203d56576e9ff30da95ad856ad0206cb649a3dc83b3dc58f1213e7b2 DIST linux-5.10.208.tar.xz 120632496 BLAKE2B 4eac6c86f1978a333d99e16534f529d1f59bad0d8843db7eb72c550036ca4a8a89f128d2f49e584428b34ea6452e16d7525d6d23cbc8f520baaac02a9ea08636 SHA512 f8b12727c5992d652b42935ec95fae8a7565102d635279110f466b60a00f3b140ff18fc41f3f87879553664b6dad162e2c17d5c7ca41867d63b27d9182fec56b +DIST linux-5.10.209.tar.sign 993 BLAKE2B e1f53144ef2022b2b15cd5662cca69c83347e7f8167ad10a7b5c1fd161a47526c0b014321617794ba63a9ed9d167ae801e55f3f6caef767bfb1a11329336e463 SHA512 5c442c737d1f920ca3cc66cf2369fcffa06db9f677d2026acedf4c62e1e7da745bd3ee56bfd8d262bf433321f519e27f3cfca73bf23a148289fa4becb02f030c +DIST linux-5.10.209.tar.xz 120627600 BLAKE2B fe5b84a852bf013f563259fdb3288ef53e7f5f4a154446414cfe59ba1b2b6d7e95c0ff4130e5fd8780864556399bb03cf744e655d0bda36989da64796381f6b8 SHA512 85f0957d052c8321e5b4fa2aea19220f0ef581e25d760746315afe70878353b9d4597dd2aaa1fb41ef2631c649275cd19fbb92b8ae9ccc8f86c6e17ac171b1c2 DIST linux-5.15.147.tar.sign 993 BLAKE2B 8ce7e241fb18e88805a947ccd20414b073e90ea6a4b0c09683a3a5f56d8542ab262b26842bd3b3a678937b4fa01fddffb8910c0db7c9015bafa8c8b8b707feec SHA512 0390a4084b356108f50750e43bea4c1924ec042d149a4bb3e5ef63c621a0913ea3c3dc6d7275b1a78072c5804a6bd03d103d342f38b817a120637303b9b4a586 DIST linux-5.15.147.tar.xz 126590916 BLAKE2B 9393691267076e27e5b46f7e734e67d42839380c5d3054dadf1d2a9178f3061d710cab1ec14f2c6641ee44cd83a0df8881a1d10ccee4e1e7bdf9bd182a3b6c49 SHA512 6942be1260060544d27bfceff143d85b9cccc801b5f97c82ac75527fe9e0bec245e17bfde932f6886a1b0c76b1140af558e6467ba9b750ea3bff651a27386340 +DIST linux-5.15.148.tar.sign 993 BLAKE2B d3e9ad563db2c234ffef669d13d1e3c05957f5e4a77e3137a187fbc45b6a70465890f9657c10a03150e739d9184aba823ddf6dc49b7d25f8434417e85d1008d3 SHA512 ba9c24a7e033b908631b9888dba379cf0c0357c1fe7f7f47ef02cee5ce02f898da31409891161143ffaf73d5602bddee26a46eaa80b22c72fea588fe7b644944 +DIST linux-5.15.148.tar.xz 126609064 BLAKE2B 8b77e48328e963e75c85f47f72cf9acb65853b45cbc3277b4f3fcaf773ef334c671a3080905662ccfc318c4f7941de2ece4d19dd438b58a8531d884615abb705 SHA512 5f6f448f021afcf6154f335e2a44f2ba1a1705afecbbff99812341477f9b3fd1152c6760d85db63507b1966aa6a4e75f2dd4082e54ed2ecca4c52c78854ffd21 DIST linux-6.1.74.tar.sign 989 BLAKE2B 32f15848046ec1e61b4f34a9f54fdeacf5f7e2ff7201bcccc9aaabf50ae6b953fe6acd725745a44bb1898bc982b82c4ce1a926ce59fea0c8696dc3ea30008ae6 SHA512 f1a11fdff28c068ab4b9d0e7b5b79f4b644e78f8454fd4e50d868a0ae52351d3549ae80e22ff04158900b13ef5afe34cb7eb3deb7488bcb215393270828f0a5a DIST linux-6.1.74.tar.xz 135058956 BLAKE2B 6cd7622d64d930ce14a4a4ff8795f4762699df9dd610068b3f9b4160c44fb46dc3cd8c2d1b694b0d0bb6c9c66b1aa75751aba8575878fe5130ea3aec0e3c35b8 SHA512 470a821e04c3d1c64b22ebd132df869758c9999633d67c89cceee8aa494b0b46d4ba57d260e20367a06f49807bc37f191450134117e7ca924ba4d2a471b8cf4b +DIST linux-6.1.75.tar.sign 989 BLAKE2B 48cfe36efe06a4510fa226d1c8ca810f77f0fc25cc2dc5008e9cdc7e541e24192594527f49202c23cab7aaa21140b7d988168844e70ef5d7129b2129577cb1f5 SHA512 c167930df4f27abf1679d91c92a51c71ae6f0411ddeb43f33aabc5af1e66212ccba367928427acc46204ac0df94285ed407e444bdb019e3d21d3b03f8c0e8ba3 +DIST linux-6.1.75.tar.xz 135065008 BLAKE2B 5889da4be9bb66d9a7eeeac9c9cfe654d0ec33bdbe787214b1d1ad1fccc866522fee65b6dbe4545bc4bbc00b087662637e6739da1c0030926cb51fc6da7b584e SHA512 32ebc547a7670fa0119d4cf7c83c1d2128da69231e339fa1d07c3863e9ae7f13fd194dffb861a6892c9cf3a9eba06b620c0df326a097ddc541fef2ce8f234d85 DIST linux-6.6.13.tar.sign 989 BLAKE2B dfb90ac9bdb9f4eaff9eb507dab9a0b111f5e036d7c60128e2f0a93a033cfdfe19f2832d067984316c968bf6ea395d4d32d47c045a68399e93f7c166844b2ad0 SHA512 4af33314518079fab37e9973fdfedff0c08289b1b25932f5b9e83912580cc3cba26dda2591af80dfff0115d969fd714c34195567dfe408657e7b365f4e6f1b03 DIST linux-6.6.13.tar.xz 140067168 BLAKE2B 1d644e48fa4fd3740712130b0d5756b75d70471cda2a7206083434ec89d288bd7487e633c8954ec038e3784d56d7a787e6cab1c93e5fbfcfc0b44a7b55b0debd SHA512 c1598bb1116528525004a677e571117d2b5156cf8f60c84f73e11d9010032b1fd5aaf8e5d286679019db55abb699c2f55de2dbb332c0a96f6337eebd56220863 +DIST linux-6.6.14.tar.sign 989 BLAKE2B 1d358aad96d5cc4184cd4f3b4016708e94593bce28072678a9d3b371164212ca15df100bdaa212b842a1aa4d88c7f3504113c9463ea66434cebdf00af2e6eff2 SHA512 4929cba31d9617739de2917d13dfda82c6fa04937a4bd92a55a7d9440ede2c5fe9709bea63f7656c8fea5076b3f936f50391fb2c0ff42828f45584c468575fbf +DIST linux-6.6.14.tar.xz 140076972 BLAKE2B d4c804f804562db0439e75d0a9605e0da55f80103d11087ced20486cc0813e4840ec928dc55e33ae654509e593236d6a62fc1a0d4b911a1d943b5e13b525267e SHA512 304d737dac6d6628da0a54b3c8b30a7a25e4293a99d6d7a3b1231234dbe76f19dabae3e62abaf858c01d3f815066ed5ba65e1af0aa83b9761f9addc25fe58894 DIST linux-6.7.1.tar.sign 987 BLAKE2B b031b0ce27e336830785ce2e404a2766ee31489c95dd494e1308be47c500ecf99dcb4923d73629008ac8eb47840448a074512fa0b6a8b657d653952ef2ae0807 SHA512 54202d384166d3669417a978fdd27c8428ec8d23ecdc31f029e86f812a601977771e0a202b8e83fb2ab725a1a0cbea917fb042dce93465ca17da83cfd74a5c6e DIST linux-6.7.1.tar.xz 141405060 BLAKE2B 080f19034a9f5519e3212c723492849f3a2e019c310615b40e636cad39c89369fd91fd1129750266a1cf9683c0762a3ff52942045066d62f927642c443b94c76 SHA512 59374585fe35f1dc0906052ad7c74acfd6beabd334665b79432c39bda8fa28c3290df54d69eb63281a2d07aca1ea8cc3aa0acf0911dc9d763c20f89cce7afdb5 +DIST linux-6.7.2.tar.sign 987 BLAKE2B 273794bef8b277a5f36adafb69302dd4987e7491bdc1dd596a0a1911ad0fcb6e8ac80aedb364982cbd1ff6c808bb64cd29d889cdaa5a32ebda38a86789c26842 SHA512 ef8751c0b8712f6d93c050077af043a726f0f6170449a030d007415a30ca8f543458b1f4c20548465119f567fce63be753b07ce1e9fa94bc7d2534897600581a +DIST linux-6.7.2.tar.xz 141398920 BLAKE2B 4c1f480de0c1458aa67379cd02d35708f63850adb84a85061088de1f82b5d084bc7cf7da459a3f1e415544351d1f36a9a832277240774ae461cdde11687cbadd SHA512 707fa401bf736661038f11222db00ae8369a18ca6c15275be7e5153572b2b6ffc1fc0eb7374d0e759ed0475d1428d06dcbea2f8cafa7a5ace78aba5349e3e8f1 EBUILD vanilla-kernel-5.10.208.ebuild 3769 BLAKE2B 2d83bf31a576f33e96e1e72e69bdedb4af5eefd82bc96d571a3cf1af9fedac1b8567d36a5adf7b8fcdab734fb08fda1893f933753ab67248bc45f19947a1679c SHA512 6ea335d63e6c214a9b268ef6e63cb89bd3aebd3651444447b3fd3886c04c2a712a20c0b422ae0eddf0b926e6fda7e1fc60a5684b38372b4f131b64160215c987 +EBUILD vanilla-kernel-5.10.209.ebuild 3769 BLAKE2B 2d83bf31a576f33e96e1e72e69bdedb4af5eefd82bc96d571a3cf1af9fedac1b8567d36a5adf7b8fcdab734fb08fda1893f933753ab67248bc45f19947a1679c SHA512 6ea335d63e6c214a9b268ef6e63cb89bd3aebd3651444447b3fd3886c04c2a712a20c0b422ae0eddf0b926e6fda7e1fc60a5684b38372b4f131b64160215c987 EBUILD vanilla-kernel-5.10.9999.ebuild 3283 BLAKE2B 09f42ae4ca54e775fbf38c7b6c1673bb803cba82252035b9ada3a3a05077613b100262c661236c15d8f8e36ad48a662ef32b97d56b588949e1078c780bc1a45b SHA512 16e25af77fcdf34d9d8d1b3a7bd35e48130c988f6c3bc5e7d2036fd377a8234dbc8a1ef99715ada67c89fd4c0c11be4b8b77c0d895b1f36ea0dadd63b7177483 EBUILD vanilla-kernel-5.15.147.ebuild 3769 BLAKE2B 32f3d5a6ec9b292d31f9e4e4c63857d74fbc0a0802759d1d1e1e618300e02e78eb8c006adeefb489dfe22f269b60c650bea8354d10ff0efe02ae45fd6bf15180 SHA512 11e4439b625521ecd0df4955a600bdf9eda6bd36172776487cfbea00942cd64d772adc0ac3a0822c315ccfa43142ff114d69de47907028b303503317394b7554 +EBUILD vanilla-kernel-5.15.148.ebuild 3769 BLAKE2B 32f3d5a6ec9b292d31f9e4e4c63857d74fbc0a0802759d1d1e1e618300e02e78eb8c006adeefb489dfe22f269b60c650bea8354d10ff0efe02ae45fd6bf15180 SHA512 11e4439b625521ecd0df4955a600bdf9eda6bd36172776487cfbea00942cd64d772adc0ac3a0822c315ccfa43142ff114d69de47907028b303503317394b7554 EBUILD vanilla-kernel-5.15.9999.ebuild 3283 BLAKE2B 9603317fa6f38182408ea6841e0e798677397eaf60d21ce9ada273dbf77852a04695023b0bffde785c30b61989f764f28be832810e859544264987dbc0a9dc68 SHA512 171111fdda2af60a13c2b28988f14ad8be846fa23d911ce80a99cd1a06a2bc548de182150df2e1869e3d1eae51aa6f5fbab6f7bb95f14e622f33f4e0d4e53479 EBUILD vanilla-kernel-6.1.74.ebuild 3887 BLAKE2B c5d406c26ca7656d70c30b04ec6a63b67516a10553498c14be274e818b1a5124cf5b147a84b91733ae04866dc04a60ec777dd51cc6bcddf71ed23763ae069228 SHA512 ae9ce235f1fdf67212cfc744c50e897a44272027149a39e0f2b5adc5b8bbc6c485b965153019da033b110aad68e8ac893e16b1c4247abc24c26ac0faae4976f5 +EBUILD vanilla-kernel-6.1.75.ebuild 3887 BLAKE2B c5d406c26ca7656d70c30b04ec6a63b67516a10553498c14be274e818b1a5124cf5b147a84b91733ae04866dc04a60ec777dd51cc6bcddf71ed23763ae069228 SHA512 ae9ce235f1fdf67212cfc744c50e897a44272027149a39e0f2b5adc5b8bbc6c485b965153019da033b110aad68e8ac893e16b1c4247abc24c26ac0faae4976f5 EBUILD vanilla-kernel-6.1.9999.ebuild 3401 BLAKE2B 892c5605024b72860be2a59edc694f278c58190fca3992084696d3ef13e30e273184dbb77d0cdd0ddf340c1e54e4e8d26b10d97367233403f2968644c66db2cb SHA512 d3ee150f3f35be6b644c70110610ea475f881d7e281195862ce01de3f567a1e6c3e710f127f8cf6f5b780cb72829e2b41211e2df0c65b53239d73ba83dc29a53 EBUILD vanilla-kernel-6.6.13.ebuild 4024 BLAKE2B f42fbd2f4d5d77b75c90619a09e7627be993622ade83e1b4ddec7e0574db948f81a659e8d565829d4268b8e01c918aa576d973c3e5570cb3a2d812b5f62b4949 SHA512 57fd678e6f55c5fb80e30c83b22a381d0ce6e905725511d1869b26d1112eb125d514ff1765e26becad81b9fcb6a905a0631879f7564e122d9009d2838cfb4993 +EBUILD vanilla-kernel-6.6.14.ebuild 4024 BLAKE2B f42fbd2f4d5d77b75c90619a09e7627be993622ade83e1b4ddec7e0574db948f81a659e8d565829d4268b8e01c918aa576d973c3e5570cb3a2d812b5f62b4949 SHA512 57fd678e6f55c5fb80e30c83b22a381d0ce6e905725511d1869b26d1112eb125d514ff1765e26becad81b9fcb6a905a0631879f7564e122d9009d2838cfb4993 EBUILD vanilla-kernel-6.7.1.ebuild 4023 BLAKE2B ddcc1a626864ee53333aa8aaaac5500f5afca1ade366d7fde5bab9c4eb3a94df0efd0d86c552f221fb27bbed598d476391ee511d728feaab9827ec373efb3a33 SHA512 b927ec10c4a44a032a531469839bbb730c3f8576d71815c3ec7aec2e8028b5c0470f6757038f959a291ca00dbdde888285c5bf23f9e6733f989d9ef62d7b1629 +EBUILD vanilla-kernel-6.7.2.ebuild 4023 BLAKE2B ddcc1a626864ee53333aa8aaaac5500f5afca1ade366d7fde5bab9c4eb3a94df0efd0d86c552f221fb27bbed598d476391ee511d728feaab9827ec373efb3a33 SHA512 b927ec10c4a44a032a531469839bbb730c3f8576d71815c3ec7aec2e8028b5c0470f6757038f959a291ca00dbdde888285c5bf23f9e6733f989d9ef62d7b1629 MISC metadata.xml 353 BLAKE2B cd022bd01b289ae703ae6ef6c2539fcfce833206c55e328ba02fc42b360d60f76b1920927b259dbb199724e6d3e7b0f68ba2044680d962d3cd03a973475582ff SHA512 10b10fd24801843108a71ca7d0c27514965b0a15a60da4d9b521fc41493448a1b1685ae3278dbd46cede0d069e51dede402d2c1448c8ae6a7fcfce8acf415bf3 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.209.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.209.ebuild new file mode 100644 index 000000000000..9c5b591d7e2d --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.209.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 +CONFIG_VER=5.10.12 +CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530 +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://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="debug hardened" +REQUIRED_USE="arm? ( savedconfig )" + +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-5.15.148.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.148.ebuild new file mode 100644 index 000000000000..13b57074926b --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.148.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 +CONFIG_VER=5.15.19 +CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01 +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://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="debug hardened" +REQUIRED_USE="arm? ( savedconfig )" + +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.1.75.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.75.ebuild new file mode 100644 index 000000000000..af7961f3fb66 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.75.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.14.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.14.ebuild new file mode 100644 index 000000000000..c3a2f8b2f96a --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.14.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.12-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[@]}" +} diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.7.2.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.7.2.ebuild new file mode 100644 index 000000000000..4abc23dc680d --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.7.2.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.7.0-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[@]}" +} |