diff options
Diffstat (limited to 'sys-kernel')
16 files changed, 1656 insertions, 0 deletions
diff --git a/sys-kernel/Manifest.gz b/sys-kernel/Manifest.gz Binary files differindex 28eff6eb3d03..b0e69da96b22 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 43d5853a9766..2403d4f2db26 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -8,12 +8,16 @@ DIST genpatches-5.10-179.base.tar.xz 4960220 BLAKE2B ea5daad3714354614f82977b59e DIST genpatches-5.10-179.extras.tar.xz 3872 BLAKE2B e493d4df16cfacef4115e3d673820a8674d66bf4e965e6cf807e39580c4efb4dfed0ce16d415028a3e2edb46e03f3ba4e9063b5e44e6b89e6a9ac0536f5a56d0 SHA512 9bf3a036990f34d236809c5d88b8981a9a374d390b8b10ae640b7ab825a7929b6169d1e75cd7186e22b7a3aa4c417ce7ab222ff6e5f9429f33a1eb31c127ae0e DIST genpatches-5.10-181.base.tar.xz 4964488 BLAKE2B 2b05c676da465b1627c92400f1290c7755c5c443db0f566fde2a2d35422f84a93875fd0cdd7af5ef331872a9ecb89e802ec48c76914a25d2b6d401edb2022d7c SHA512 2524417fe412b83e380ca55b89403abde41af034e5900daee53b82d7e4183a0345ce3e86e03ac9e211380437f4857163a4e81737d1117d7e02847ad36553c0fc DIST genpatches-5.10-181.extras.tar.xz 3872 BLAKE2B dd1d27a04cd2215fdf9ae7301d6c90dd0a1e9e4ffe7e295dfe2d6b637de69303d9cd2a00a5adeb33d2c4cc7d984e57e69bd9f998df1da188ae006511fe70302e SHA512 b91ec330f3f87bf7ec5cdc10e6352070161d38d09fea82142b2dc475a0a25d176a262cc0bf24d4a4902e84abea84f6263c3e859f1ebf8f44155e42c5f565dcce +DIST genpatches-5.10-182.base.tar.xz 5091520 BLAKE2B 80bb1d7b815a8ad56c79d28f45788b00f3ab972965e7180a598a5e832c7086bb872a52b2ea725949b571c2c7c7731eaaf61610ea147bb119badaf19fd9781709 SHA512 3d9355524ecf871ce2d62df56c99eda3bceec3f528b4f434cb750d75b7ee9aa82ed723c55ceffd7c9a6fa11287daaa9155d484da2a5f1a3806b93f3e3ddb541e +DIST genpatches-5.10-182.extras.tar.xz 3872 BLAKE2B e73c6a4448be4f9ea39d7e79069672885f8091d9f40d472325bf9bd5fb8d05ab723863edda6c5ae42ce469e3cc722bfcf34198b8bbbd038e89f9625934fd9fca SHA512 b41bbb5093b4a072d5e4031623d9578a9bb9e2415d6c895fe95a5fa8d7332ab79e3dd181fa5e68d03de037faacd2fac265d60b4c94dae989de8416ad37422e48 DIST genpatches-5.15-100.base.tar.xz 4036256 BLAKE2B da0f271d54f248597d038a09f3cae6a2293ffbcaf9f06ad500060e0b28c57c0120c64f30cbb97b4b4585cc1a8f12b013258962a6599a166f5716e268b0587030 SHA512 865ece0271c674aff6df31d7b0ef8dd8d9643e9e7ab49730bb2892f82e1468f4f086710c62f6f647cb2a4e822a5a5fa2e2415fec8d900f82976bdca23384bebe DIST genpatches-5.15-100.extras.tar.xz 3932 BLAKE2B 55665c7edd0316db7e6a8391ccfc97a3f2c51e9e445bb81e0663ad69405ce577133f2def0e58711b1f8dab0b7bfb4314e05a41183138585eb24c909b7cc8c2fb SHA512 dd32b33616a64fe0f4b319e3424360a29d81ed1c6d94457da0458d7141013efab4933c685468019dc7c023346697d31c902e67d17120208ae408939b2fe1c5a6 DIST genpatches-5.15-102.base.tar.xz 4041416 BLAKE2B ab6ac9c8d03d41594f1f3c0b59cdeb3d045fdc0bc89926026a7b3f34eef38a869da1c9adfa1ccf465486f885dc4abb6c8d09a8c36f2732bb961b365a749e8985 SHA512 2df353c92659d8f41a45bd3caaf33e21542cb01ab210495a632e65fe71e8bee7c31ae7283827bc7e0683737f3a451b617db95b5a8b559cedc8296496e2fa3302 DIST genpatches-5.15-102.extras.tar.xz 3936 BLAKE2B 4069a121383a58eedd557cfe3c421ca8c033e4b7a976845c557b3faf66b33d9efc6c7b3d4dad20cdeafb7d62588a4c49bb7102abfbd7acb1c98b1afb86e8f87a SHA512 b12c07aa5c9974856482f44ecc39ae03f7ec8879d07bff562d56b0c18752d748455b519f7bd53cde5f22df1787c15d52037ee236c1150edcc20416b9c6c1e272 DIST genpatches-5.15-104.base.tar.xz 4172432 BLAKE2B 3056125f31757d4daf4d5a5df4f9e0c02257786d5dbfb44a134abffd2c8615d170f64f4d5154b04e7a5e6e825ee175430c842a7490ff6a3414954059a72a88f4 SHA512 324899dda69e2388adcc7241a5905110cfcd6a400d011c5948a983ccf5693be820b56115b5448f96fd819457574bf6ab3e7cabbf8169bc471df4b9a73b024975 DIST genpatches-5.15-104.extras.tar.xz 3932 BLAKE2B 749f1d9446c12992266e4b24771cd4273fdb6a72793f3591956c33f210a2671d587f0cc04d0e9751511bce1e03b76df53e65231393e9d2eb1169ac825bd046e1 SHA512 66de4f74decfdb0f76050968d98a6cc378c04d5d19b9c16e35fa9746e9dce235c602ebe12fd19fc2b6bf8fc9d9eab3d9461e6aad3edc00cc465ae18a776b0e4c +DIST genpatches-5.15-105.base.tar.xz 4208564 BLAKE2B 61c56a00ca87e33d7b566b319bba1e08e5dc104f2a5c21be61cb657abcc63d7b72ed88fae3adce80a6b648df7c2e715b9fbf71eaf0a43ceefcaba4d57e51707b SHA512 6ceed62dfac16a826451670771daaaaa47d92fc4971dcf72d486f802acbe111491bf01b1bcd5fca6f548d655a57bdf038a90bfc8a5ac1fe8d7796d90a2188757 +DIST genpatches-5.15-105.extras.tar.xz 3932 BLAKE2B 7739e3d8459ebc58cafa0b95f7414e204a5c4410e468e11e27704bc08f32169a285baa6661289bf3d52602779d5e00eeafb84dba7847fa4154614534026aa5ec SHA512 28947f5bd2e49191fdcc46ccdde98a22c3e983a4ee6867c8d04458972ec3199bc4648374caff1a090105d05c8bb9eaa52e758b5d352e076c0a87967c659b8e18 DIST genpatches-5.15-98.base.tar.xz 4003192 BLAKE2B 79d4fb60a5192137571109ffaefdfba23ac589102539cdde89046f627f39e65a52a44a83607232b499509b8bb4c341e2fd26ae971587c9574d4ac87d8b220893 SHA512 946a7638d19d5fd610075520e529a6c5a47aaa433b7986493f62571a7dc541278013a5006bf1e745496e4eb98de44af56f61d23679c139a719a8d5bc20c9e734 DIST genpatches-5.15-98.extras.tar.xz 3932 BLAKE2B 4e5dd4f8ba6d14764a6546cf7e64dffb3ddcc77678b7d96d2498917f30561792c904c635b0fce7191b7c0c65549fa769e89befffbea5e53a3cef64c673937c20 SHA512 337d95159432cba3b85511cf80c350a8a2f67c65b72a90b26ddc98c01d2d8de70d9b6067e0573c5c339a5bf64973d10c06b42001ee19a7add3d672e4577d0622 DIST genpatches-5.15-99.base.tar.xz 4024008 BLAKE2B 82205380a55439dbe6f8605d09078d7a349ec60180204ced6c9902f340077c800cf515f3f513c69110eab37a8daa386a82ec4ba9e84dd02299ccc45379cdc659 SHA512 72033d94d3d509ecefb5a54e82906408802118cd985f617ccf7465e23d19363668159998dadb950bef58af11bab448110e6c753eb6eb7dd107feacbda4d67f3d @@ -36,12 +40,16 @@ DIST genpatches-6.1-18.base.tar.xz 833216 BLAKE2B f1b86487c82d4354347171df635192 DIST genpatches-6.1-18.extras.tar.xz 3804 BLAKE2B f31c07ec6318b91e6e7eabeb62bc28af362fc097297b31521d464e298effbdf52cdb94b43a1811fc10ea3dc9387fa47501c4987d6709d73603ed15ac7949dd92 SHA512 8611f8cd72f54b7c4360d314eabcccfaa99722f568da32710a39f47ffd1770b14502130be5ce3d3a14a0bd93fc9fbb73f65a9c9636a8d0e9051892d1e5221ef7 DIST genpatches-6.1-20.base.tar.xz 1052484 BLAKE2B 9599ee78ab289960d7d0c81db8d509a43f8dcb524163216af9c2bcd37eb1fe60b9c7e607faecd19974676c5cf863a4edbdc668b39ebb1f37fec98b1eceab42a5 SHA512 9e99a69ed5adc7fa8a33cab86ea187c42e888c6d768cd3d39d5491c8d96dec2fc5f4c11c02075b01de1530ac629e63876152ffa7643d3a3b899fd1655d67d1f0 DIST genpatches-6.1-20.extras.tar.xz 3808 BLAKE2B 4d121cdba86a63a5564f44f2b33841ec07d456da813070f73cdc2b983b5fe466e92b845a6c4d0959aedfa3ee9a8c57fde08a84aa6a31926d43a5ac68d4c168df SHA512 8b17882ee84adda037433b2ab13aaa378812f6d6f3e87246c1befe54c0254d1261b3fbdd89410f133ea35e798bbca597e392222ba1bfc93bf87e645600609dc2 +DIST genpatches-6.1-22.base.tar.xz 1112816 BLAKE2B 4fb3e3e6b08b201856257c72e297428e8ce90bac110452cb47df21799e140d18d7bf82f4fa36c331c9a199e63b1305d151b77aaa2f9735dbd0a049b7eac7b433 SHA512 06cdf0df64e699c9ab3daa122b2daa9bda56e2fce0497665fbe2fa488c1208ab0d13f84648f3fc8627aa2a325095be9a115b2bc656b9228fc78e98068d4d8685 +DIST genpatches-6.1-22.extras.tar.xz 3804 BLAKE2B 6350caa854108959e150ba1537044b9c781b24b740c632f30d0ca4de54d795c45993623fd0822131cec50cc46182a76c036e5481bd4617ee3ffb5c9f82258050 SHA512 5a48e06b4f9fb94d53b7175850c1876edcd76ac45c1188d754a9963388a2df23d510f8a30116a47db45f06f1274e25c6897957783f0e8eeb3d0e20ea626052f0 DIST genpatches-6.2-2.base.tar.xz 9540 BLAKE2B dce2bb1156f0e9a7ca19b618d13729908001939d6ec6361ca6619808a120e61900b5f4de97b2bef0e63aef81a83c7e2a0d736f3c344d9a610eb5c6a21baeb111 SHA512 50aabf4c24dbf13595556314b2ba8f1d0219355bc79c0fddf05ef7a6d244fe3c54f95c733e02fbc032a582495c59688f415af5b62b3401b436cbb5f0ef3aa9ac DIST genpatches-6.2-2.extras.tar.xz 3804 BLAKE2B cdbf51c28ff1c3b974665f558ec774eb70874a3941b97f966ee90642f3a1c8732333348e891156a40455c8b80c2a2002fdf1515403eca7b8d075c28b09a2ed78 SHA512 cba0fe9b3d13f3b1f6ee413a44698694ef6b009918dfda76e4d8402e66f1e857bf889fd4eb7ae093e864f7015eb3fe14aa704a5a3b68b0b92ca494bfc4b43a71 DIST genpatches-6.2-4.base.tar.xz 15256 BLAKE2B 4a6bc8f4b75be2afe87d3d29ebdd45cc6a6266717b793a611edcefad3b39c3f70f14533b538eb175f0c16e901006d52e09994072cf9375dc0606db0478472d18 SHA512 0351b19b50bff5922d916b215c8b5b04a31994973dbde9553b2f197009447c9d5dc992f0b9ee25bacdd1569477a0beed4e0359dec390ca4914ceeed3e73592f5 DIST genpatches-6.2-4.extras.tar.xz 3804 BLAKE2B 909c69169a518c690e62cb3417a35fdcbc1f3102d388ea0f6eb5329753f50596bae769ef033d43bc9d9fc5cbddecc3ca8541f771c4e02c76fad6253594cf5e5b SHA512 c22a12ea1d3467891286d9898582d038026230181537ae40927182b9549e7a768e4ae62ddf9b402e67cd31e18cb64e9f9567c5037eebc98500d4aa21ea62b44d DIST genpatches-6.2-5.base.tar.xz 297244 BLAKE2B d76f6189b57b3c81ea8d8cde4a4464539ecfd27f38790eb797758d2ca9f3c4f1e4906b8187faf515035ee220107e698d60d6687cf9d05e7805ba2e8a5a47ff7a SHA512 e0ab47321da0c7588b102d0c9af435bb23c0ea01915d1e9080216bb885f2dbd97ea0d885d2f72297dcfda18fee524dd2629533a4ee65ae72cde0651be38b962c DIST genpatches-6.2-5.extras.tar.xz 3804 BLAKE2B 23df3f3d54c5c9d0db420803bf45861111addf7bd23efd65a928345103e5fcaa34639c18c4c72911ff9d17cfacf50063802af75674d9c2839b0448185ca0eeb1 SHA512 5727b99aca295c425c5ab67e8e25b3e7ce0101542d60374d3f54abcf66f336d303ea529b683ec0d82da5ad471b5399eadad2fc8cc1dba3c3b13eff1735d1c12f +DIST genpatches-6.2-7.base.tar.xz 376376 BLAKE2B af978aac1a4f3c836e5223c25b7d24557044aed7a03b9ec0313cb86f5f5238e795ec2b88cf6ebe800d4ff86cad7f755b26f9d4deda87761ef73007ddd9ec678e SHA512 96373f80389db5b4a414794292278246eecacde3016ac80a35fb25382284c60f8d09d53096c05f7609dee00236698591aa881462d039e0c958aa32b080e2edb2 +DIST genpatches-6.2-7.extras.tar.xz 3808 BLAKE2B fec1e138d4601bdb4b6ac339bdbfcaab85b3b3dc74f8afb1a326fb519300e795f709bce695be0a98ed5efcd43dc585ce33c8cff09cc7bda48e28aa935928cdb3 SHA512 9ec16349c7db00b38ea19bfda59c3bf436e1bd4b23ab6eaea09ba7ed979b45506418f899832d7dce41158143d0d5adb97530f517a95364aa261bb25818166cfa DIST gentoo-kernel-5.10.167-1.amd64.gpkg.tar 66293760 BLAKE2B 86933f7a1da3888fcc8ce67602b49afcb22e442bf125eac3acd0e15169832cc16221603cdc95f7d343b0885329dea59613f551f77dbd64be92e991ce07d8e26a SHA512 c267a31e2800863fbd2fe3b1ed5570cf36263764df53845bc25762ebee49e268e9175b4f5d61d4ee67a4132f9af3e5d360b0426f4c350140d301506c0341215a DIST gentoo-kernel-5.10.167-1.arm64.gpkg.tar 59351040 BLAKE2B f8e0ba24eb686e38704fce1c296c978105f953b801ada73eb83f03f9dcee542d223e23e103281035e1e7f78be2bceba52616f84dbc998fc391e6ed136b6ea9ec SHA512 5d373fe35cee7142af63fac61282d2e71e5b9c80bac7c03ac3987a058aee7ac4915bebfab02cc995ff1344070d158a83d042dbb6573fe0bf5d13b9656e60f07d DIST gentoo-kernel-5.10.167-1.ppc64le.gpkg.tar 54906880 BLAKE2B 85f324ca7221ba94b2fddf364b3e3b2f2e95549453f9b5d938ab6f711a4bc719559ef8f4e9b6adf259e7864877b888ddf09f5c22054164f098abfc0d2c71556b SHA512 b4cacbdeb21ba0d1f72afbbd321f696aab71c150fd936e0e365c45df2d4fb7bc35e397fb32c788dbed8f45275225560e0bc894c724afcf23ae5dcf9bd507f897 @@ -62,6 +70,14 @@ DIST gentoo-kernel-5.10.172-1.amd64.gpkg.tar 66304000 BLAKE2B b3a6ed8f594fb79abf DIST gentoo-kernel-5.10.172-1.arm64.gpkg.tar 59330560 BLAKE2B 3dcdd5a9f2ee57dd87b7de4bf29c249208a0b972a26cf221463f8666a083c64ed92447c33d234479543b977e0078e46d2c7aab4bfc76ac145bf63f6ed1eb1886 SHA512 ecede6116c7d3c4c294dfdff644bf2eaa465998c847952d5e9761bebfc4d8eb2a76134c0602e783680519b4ac56b721466ca0d5783e2e0e78ae7e2d0f30aab09 DIST gentoo-kernel-5.10.172-1.ppc64le.gpkg.tar 54927360 BLAKE2B a42225ced7d67ec88959038dac1f87243e690c338382fad4ffea25a5fcdff8673087a4da628f5bdc9e60d8ae87d629528820e353291d1b7f85d6a1d219c2ab4f SHA512 28dbc6fde9d695fa340a87312fb94fed9049de99854db3fc71f00b0faa64c475e4f12667ae0b2eaf1349c52c28b594af9f9b2090ddbd3a47b94ab8d9d26b72f5 DIST gentoo-kernel-5.10.172-1.x86.gpkg.tar 56442880 BLAKE2B 7255886c9de05cba2e2d4fa65c2b48a0de69c08cfc0aca94d797d1f51ee5ac04c2af0d0b651a7c0a492e70561a46ce34976f6af857e0844eeab0a853a41bb332 SHA512 aed2ea8a1e4fb4026197e80335d019b95aab7dabc3de7d3f20bc1a80186e1c21e25d5a55a874e9367172436216865238f9fcd4467f0a56ecccd8a8835046b9a2 +DIST gentoo-kernel-5.10.173-1.amd64.gpkg.tar 66344960 BLAKE2B 4f12a5493cdb5af4f78f6684e736f30aef42548ee252944bf1efc7e583426717eb0cadc5c056321cb490267e035670093e11ef0dcd093361f8db6312203f8d6b SHA512 3926cde810ea15182aa703b85a8fed462314b8c28ed28cf4ed1c641ba1f264296e7b5df8ecfdf0016402b8c0b5956ba1abad4a9df2e4a874c44aa8ce18caa338 +DIST gentoo-kernel-5.10.173-1.arm64.gpkg.tar 59361280 BLAKE2B 6bc567b9e607536df570e5c99c80608e8a3758850654e67e38b6f64382ab48d5a199ebe9790f59d081fd13a34bc0b6aa2f9712ace3d6cad416aea1351ebbaba0 SHA512 683d3effc32a8f86adf0b88d1356db45d5be65440b6934c662a633e4cd73c01e53efc0c857d8ab9e98fb6beb5931fdac24f482f5f4342269e87980f9707262c9 +DIST gentoo-kernel-5.10.173-1.ppc64le.gpkg.tar 54917120 BLAKE2B 5d831a22e77407126a35d296fd9989d364e569426c8bd184ef0898a6aa6957ad26caa8b2b76097bb1c496b8603d86ce2024832eb2ec4d58ade7c2dd7ba9a418b SHA512 1c9bf8400491f3a90c73f439dce7718ac3b14e82c721e5b4698a4e773b293265eee3ffb1e7fb074e1eee50a0041b154375dc2aaa709ade2a4a58eed6be96c5b1 +DIST gentoo-kernel-5.10.173-1.x86.gpkg.tar 56453120 BLAKE2B 3f7de8ee5e0e54196e6497629bab7bb3028041684b3a941d2d7f7aadb771df494ea50dd3dec4f9b18f01dd5377980b7e563d03de7d2ae2abed3dbd7126007303 SHA512 04c2937ecfcf7abd97b16b8b364497b7370549425b64073ad5d0ea75809c76d1b4b81a8d6d76181c511584e78c411708e357318d6fb5244ea8dc903ea1d2ad29 +DIST gentoo-kernel-5.15.100-1.amd64.gpkg.tar 69652480 BLAKE2B 26b37e7b1f4f036616f7d11a1e72392e8670a4de135658a7beef1a5f0b51b49e798ec8e6fd41e816ca7ae7976671b5b66bcf73fb2471bdad7a452dc47ae17f81 SHA512 e977f08255f7ca9e1d7848172b01e779f59a3c0e42bf960ff00d0f78ee1a2bc958b72b90728fb0c308e42c0ff2acdfcf3f629c4188066554b493ff13301f988a +DIST gentoo-kernel-5.15.100-1.arm64.gpkg.tar 62597120 BLAKE2B ecacd5f76bd5ce21d6561344e906e226ab5d515eb5d09ee36b57bde9cf431db84acb98ab171f9c557a7dab255776b8b35c4ba71c5afcddb49a2da0a3e3394de2 SHA512 1e20d37822cdba8710254d3c644d71cd836be6a33f137d33491bdc1a4de4256dcda3cf2102cdc08f8611b9c900806f8111b320ce0dde4948dfe838c351b9e7c2 +DIST gentoo-kernel-5.15.100-1.ppc64le.gpkg.tar 57088000 BLAKE2B 1a5f7be262c7ff1f5e3c632202f65a64706de92270c80a583507c81b58b0657e0a44ae8f0ef338db3cac59189fab7a2fbfdfc83f51dcff2d4affc2ad3f099f33 SHA512 e424fea4113c64b55a53b563a1a0c9a04f136aad090a5f69d14adeca53f820760aa452a0a62df1e4a2723b254ad5c139721dd04fc2e967c4895dbbbeb8ab3108 +DIST gentoo-kernel-5.15.100-1.x86.gpkg.tar 59176960 BLAKE2B 129229ef1ba423b0c070970d54893e02e7c092c4aa2aa8a72f5e846bbd0ae2f0d882c68d663ba198e00ec366c5590917aea90c1a95443e58217863536eecd52f SHA512 b90ed10ffa11955150ccd8d01cef362360e251c3502ade01ca424a333157e2abaa6312019097d6cc0e2e5215f71be5e7e405409a7664b26062d7af1e13936ae6 DIST gentoo-kernel-5.15.94-1.amd64.gpkg.tar 69591040 BLAKE2B d8659c0584ae851b05d933fed2a94f05eb8c93591b07ae77b8160d397fcf69d2ea8819cbdeecd294d3238377a4450789c653012a9e50223ab98aa5a229a98f11 SHA512 72bdc70aa6c8e51b1896b5872d9bea372305866509a34fc4ac99cd88b01d191041d02c18a0499b03d119b79499825eb97d105460968ac96848274b8fb8175f13 DIST gentoo-kernel-5.15.94-1.arm64.gpkg.tar 62556160 BLAKE2B fc2122980f798c1313913adf8a28436906ccdd7bb565166ffc5039fa66360b2a7ff1c2e97d579c85cce4dfa6fb471f92d973991998fd4b2a2637adda55130921 SHA512 9f8566bba0bde6ede619a9379e8acae7d3cb1364c888509755cabf0c64daaf3d93ff0085102a2301b0d5c38aceed44e609947099ea9d9d32edb1f04e3b0ae54f DIST gentoo-kernel-5.15.94-1.ppc64le.gpkg.tar 57088000 BLAKE2B c5533a6a4842a765346270addc6ff1590ad60ac5df94be8ac0b3209098ee058e09d54d61d8c639bc09e652cb38b179257b62eb33343adad53d5c7d076c5b852e SHA512 4c4385f4b4a2776e67c95d1be5f59c1f00e312dcab740a07344a9118716f574f97064032c93e7b1c4ef97b9ce29efcfbae598297674f4768c09b787b5630db4e @@ -118,6 +134,10 @@ DIST gentoo-kernel-6.1.16-1.amd64.gpkg.tar 76636160 BLAKE2B 4cc4f4fbfdf54c654817 DIST gentoo-kernel-6.1.16-1.arm64.gpkg.tar 69263360 BLAKE2B 8a9f7be86bae5ea33e463f703a2ae4b1741997ccae4c7682054d3dbc56c7eeb2af07c28d654d35e82ac3e26de2900cc128e3fe6faee9920746209f37ab5aec5f SHA512 c6f1e740bfdc8732eca6a4c2134833f2d00e24ef34286d0ec5643729a941d0d6b061cc3159335694b6b2f1e7ed8f1c30f172ed2cd32b23af59cec1cde81bb47f DIST gentoo-kernel-6.1.16-1.ppc64le.gpkg.tar 62679040 BLAKE2B dd90a336694afad709ad5e4e31746bc32f02250ee13434f80ac11549a4a1827f8cb6918905f4643c991b768e0f0c21dc07b990f8df432b9118381e897d52a111 SHA512 e2bb7ab00ef5f1f6588a55ae0b9f85965c5780b4f076989eb55dfff930019503a7553908bed28d87107d429d66c9286548f365975fc38767d119c5f21f45e8cc DIST gentoo-kernel-6.1.16-1.x86.gpkg.tar 65853440 BLAKE2B f58304e1117347899f3b48bd672ac5c96af0941af1fa80d82c5fb0ac12f74151480df40ff5a0dd5a240ce51fad43f78cc8e31e044a0c66b3795a070d8268fbf0 SHA512 b13f58514c136f9d0795266c15968c10bb16913e38f7be5a209b5aba0df7aaca1b71da9d6e9408f804bf472486867f71a377d3ee05c8dad36049343089e78093 +DIST gentoo-kernel-6.1.18-1.amd64.gpkg.tar 76625920 BLAKE2B 6ce94f785979a189d95d9b1c3e25378a39e5e3a17cef6603603969b1b1fc7bc98b354ce7b4fa1c64ce8fc2dc9490b26ac5656ec182ece8e64b99245819e70e74 SHA512 1a9431c120e9479b3243898a6d6e0a9aa7fb52b6c019c83f71c7d0550496989f27d392ae505a7eb986a949f94341aebf6be62dd23d39e6e9d9cc83edc3e6c9c3 +DIST gentoo-kernel-6.1.18-1.arm64.gpkg.tar 69283840 BLAKE2B 8380358d2d035838d0c89c5a949787df3bf14bd3f218a4ec394e9d6858c196e3034a73f8fc0716e73397f850438aef81457dbd394e5af56dcba07536628048c8 SHA512 ad98a746cf329467182c86b60e480436ed9fc6384fa4568c4a4086a88cdbe59684744f0bd11f2071b2a9b97f3f1f35b1535561e5184f9d045bf9dba126dc5d4f +DIST gentoo-kernel-6.1.18-1.ppc64le.gpkg.tar 62668800 BLAKE2B 44b942a1ecad31666bb43ae2afa38a3c26e4436d4df8a6b667deca9b7e0234ce47f11fdb4ecfd1c928ac732d9196223da4dbeb31caf257958dec388d05f3dc65 SHA512 dc697415974c9a051eedb609af6c72aa0af39177b7c264a3e08060fda29d1ca81b5a6033e37d088524d38276e42124a9ae6390138d04137cde7d58a132e57b0a +DIST gentoo-kernel-6.1.18-1.x86.gpkg.tar 65843200 BLAKE2B 31ff4708344e1e0049727ea1d6961a04981e1a4fbe9ed0bf18083810be9d26090c60b9c2811ded146dfe6429523fbbc9cdcc56a29c47beedd052dd5a1be03071 SHA512 d07f6558719727977e796c929596459c79d1f6a0efe1b4e7e40fb44b8c39a752d82b56ee890c876da646a04c8f8eb6b3ecfb4d50cca0680e7b1472d424d4896d DIST gentoo-kernel-6.2.1-1.amd64.gpkg.tar 83271680 BLAKE2B 84f16715dd8119c529e56ec433f21e5b8500e56ea6adbe249c2a00aa4293df284b4b4d349adfcd22399fa72b11316ea1fbe63dceb5ec7d47d55e2b34c3006b97 SHA512 5cb1816ac483496aa814700758ddb132f9c6de2de1c1772367afab9bb50abe0a2575f788a2f904688eaf7fdf81119a79b546a5b3b8520834a9abce1e9a630b57 DIST gentoo-kernel-6.2.1-1.arm64.gpkg.tar 71649280 BLAKE2B d7acf954906471cf63a581604fc522c109ee884ec7b4d8cde182c7589810bce536b72f22d5306196d066b1996e937b400c2d88cb8ed586c112e4126918d8d3df SHA512 02033ccf80ddc88c174ad299b2ec42e370fb9736f26f71e5131aa4ab582824a01385613258fee5d1453189c7bcc32511e38b5b8c766f1fffb1a760dbe6d7ba94 DIST gentoo-kernel-6.2.1-1.ppc64le.gpkg.tar 63713280 BLAKE2B b0d8a048fb3a8bc8dc8cda7174e2906ca73d462b395fd601b2dea3476f6491fe19b95af7477328c1f3a065b06f0a9e9bcda369a4752cdfb3d036fbdaa219febf SHA512 793f5b5459176323d43995955c722973afaf96e7457c53cef61eb79f52373ea646cc3e7143c296b1904e062fcd871ded092d376d4a4b2c61bd5ff2a42297ccbf @@ -130,6 +150,10 @@ DIST gentoo-kernel-6.2.3-1.amd64.gpkg.tar 82411520 BLAKE2B 1df52b8b76d75aba5d74d DIST gentoo-kernel-6.2.3-1.arm64.gpkg.tar 71628800 BLAKE2B 8eabe50f34ab8f2dcf10429c592868001e78234c5379d8b7cebba0f055a780f998aae52b95a6de495e52c5cf911f5ef2c46ceb4de2c7eb9db8368e02d0690afc SHA512 0945743cc5039341c9aa3d6524f8ff50550d83fb9180cff15899def156b52731f0e2564b1fd771239cdca7241302251e80fa3e6cf53a367ccd504644ec28ea0b DIST gentoo-kernel-6.2.3-1.ppc64le.gpkg.tar 63744000 BLAKE2B f9edd03b602530e0244fb147b4d9422dcc2c7e44ecbbefde0e060539ed220961d1ec8c27dffd6862bf9ca4f2106758335bff5976f1d4936d6ac60688a7f1a48a SHA512 7e6e8dfc9b271b028d6ebbff36a591381aa07e89f63eefe0384c8368760283df5357038abccc314ad181cde976d9afb972bfc06fd0bd102c40800985ba257ff3 DIST gentoo-kernel-6.2.3-1.x86.gpkg.tar 66150400 BLAKE2B cec38a2d31fc36e2015992fdadc41f8587ed0784d1339518a845a4cd3c5c536df43f122fa6bd024ed0f6cfb2268a576d79bc19f55faf98ba414e0200f049e796 SHA512 425ae13ac45b0380bed95951d74bf305c0146094d3e72482af33ba058360fafce0b228e8c4a26d785fb23e4afbfd855b48b8d04b5d601f0fe31c89ec5ff79119 +DIST gentoo-kernel-6.2.5-1.amd64.gpkg.tar 82432000 BLAKE2B eb21cc6efff87319e9def6c4d2c1790e9c6174b18fdac69b8022967111061ed98f641c3530a9677e351638c1fc3e699594f3f0e2dff12cc51cab4bc964756d54 SHA512 1da7f4d189d1a76ba383d2d572288511e9cacf72279170ad38565971a027650956156bbf9878758d3d1e45fd3458e95af489b6629bd75a5aa751016f77ba5724 +DIST gentoo-kernel-6.2.5-1.arm64.gpkg.tar 71639040 BLAKE2B 91e3ccf053eb597d50ff35675beb9433c40496e49bd52f0a9d63066fab715bdde7654e07816598f802817738422c06d2d6c82b5020a6d3440bdf31c79bdef898 SHA512 4ad056a4c3de99debcc84ab30c5c2c0e1ad98d8a630973e6ea65ba6808fd94fbd9dfb8dbc1eb1016f9ab76a84aa8435d7fd4f0a712c120494dc1bcbaa2d66e14 +DIST gentoo-kernel-6.2.5-1.ppc64le.gpkg.tar 63723520 BLAKE2B 31fe97406cfaaff4278f954ca1130296ebbd03e667e9290f1c693161c308a688cfcc1f45cea0cf2ac173e605cd838ff368a60d426ac6857983aea7faafbd93f9 SHA512 e77771cf3edffa9e14d4cb7ef2b2b36cafde7e02054ec5fa72688cbe7ac1130224ce0dc8d881f7d4e65ac2b282d33ad69f5bc254f6805ea6c6e064610f0d5edc +DIST gentoo-kernel-6.2.5-1.x86.gpkg.tar 66140160 BLAKE2B 76b7ced54d42867d5cf5055ef17d221877f2de3b74ac7e116cdd5d1c0a86cd82fe019c9f78662c77155413d5ae65b8d95b7de7e8f16b0d1937b1e50e1ae124db SHA512 290be91082872d74b05e6f5327bd01110271811114929061883a8505734be99904c190b2ae2c9368afe0b8c27405f25f8cc4f18591115f58837aab14b26639df DIST linux-5.10.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a9362d2adacdadd8d96251f61f7230878ea297a269a7f3b3c56830f0b177e068691e1d7f88501a05653b0a13274d1 SHA512 95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b836666a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83 SHA512 d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a DIST linux-5.4.tar.xz 109441440 BLAKE2B 193bc4a3147e147d5529956164ec4912fad5d5c6fb07f909ff1056e57235834173194afc686993ccd785c1ff15804de0961b625f3008cca0e27493efc8f27b13 SHA512 9f60f77e8ab972b9438ac648bed17551c8491d6585a5e85f694b2eaa4c623fbc61eb18419b2656b6795eac5deec0edaa04547fc6723fbda52256bd7f3486898f @@ -140,6 +164,8 @@ EBUILD gentoo-kernel-bin-5.10.168.ebuild 3028 BLAKE2B f09e5f0570fd0166abc54b10b9 EBUILD gentoo-kernel-bin-5.10.169.ebuild 3026 BLAKE2B 6c177f2c23f69572f5624d77f8b5270c7acc98313a384ef44db2ab40dc279873908a69909d500d947d14ef0aa80307ff2026c4601a0f52aa946f1f728d979060 SHA512 4042a43b0f241cac838f42c679f7703d7376474eadd036edd75b6e88b381a3a8d40df3a0610c5720ca2929f55a781257a54be8016ee50fe958801f10828c1629 EBUILD gentoo-kernel-bin-5.10.170.ebuild 3028 BLAKE2B f09e5f0570fd0166abc54b10b93433d1068d4f3a4713cfb6857697532f30b6e2a1df8d4afd66eaa665f4bd2023205334900392f020c62b0574c87a119479bc1a SHA512 e6a6510263e9cf194b9336e26cade4b76f190e1765b7000be003203f4e23fd2b2d64b645e37c0c69a35ba93c3a2e9c5e6f6b9d14eedc1b506b3b68debcf95911 EBUILD gentoo-kernel-bin-5.10.172.ebuild 3028 BLAKE2B f09e5f0570fd0166abc54b10b93433d1068d4f3a4713cfb6857697532f30b6e2a1df8d4afd66eaa665f4bd2023205334900392f020c62b0574c87a119479bc1a SHA512 e6a6510263e9cf194b9336e26cade4b76f190e1765b7000be003203f4e23fd2b2d64b645e37c0c69a35ba93c3a2e9c5e6f6b9d14eedc1b506b3b68debcf95911 +EBUILD gentoo-kernel-bin-5.10.173.ebuild 3028 BLAKE2B f09e5f0570fd0166abc54b10b93433d1068d4f3a4713cfb6857697532f30b6e2a1df8d4afd66eaa665f4bd2023205334900392f020c62b0574c87a119479bc1a SHA512 e6a6510263e9cf194b9336e26cade4b76f190e1765b7000be003203f4e23fd2b2d64b645e37c0c69a35ba93c3a2e9c5e6f6b9d14eedc1b506b3b68debcf95911 +EBUILD gentoo-kernel-bin-5.15.100.ebuild 3028 BLAKE2B 7a28cc5643a1c6afa3c2b48437051b5d7de8badc5cc4ac25f6703f2bdbea58b42b008195b7ee4ef086eefdfb11c0296af9b8ec08bcbc559ae559ca96bf9a9214 SHA512 729a5fa238947a2495106e4a6b4f56956fac9bc86e37f14667186e282fb15effe2555bba128bb3d664378609cbcf962e2a80a7700ce9ff3ba87eeee996a252a9 EBUILD gentoo-kernel-bin-5.15.94.ebuild 3024 BLAKE2B 900a5622d9b0ecfbdd3d51d3b7673332107be5af36e211db5663e8edc6dcc97b96648b06cbaeb3cf5ca2e467e4da30748eec6ce67ae3367328ceff7f207adadb SHA512 8a95fbd8ee9d36da9bbbe28823d035eb6bce287aba95602c75c0dee5ee2d92a765c547f9f661f4eb7b331ffe0012beedd42769eaa02340e5b376b3e8f3305d3c EBUILD gentoo-kernel-bin-5.15.95.ebuild 3026 BLAKE2B a9dc3db24e35841fbd584d8bff4a61be0f104f6d0eac7ca7d2e5aa26c6d78312c794b1a23e14ee109302d0cada226fef2892953370450e04ee33f3f992121351 SHA512 c9f3722f7bbd7e9e1b11da56166918ad0bc333d41eac75d645e2417e7144c4cc4410717bb663e6e0e1c1b16d5d9b25ac0a743cb0864d16378821638aa47c572e EBUILD gentoo-kernel-bin-5.15.96.ebuild 3028 BLAKE2B c8314539c6ea447c8645bc304bfcf6cfa99398ad38f6106dc2fa6c9a9a759ccd288646b95f77a2e9a3e9ec2ab045ffd1544a70d9060096a0e04a91ecff46ad42 SHA512 22fbd6a7597f0a6b489e6e6cace828fa7df95cbffe48a6c79b7a4d568c2e79f7ffa7d8bc717fa2746015b0e4da295f446c6d7f20bc679fadf7d9ee6574921e2d @@ -154,7 +180,9 @@ EBUILD gentoo-kernel-bin-6.1.13.ebuild 3026 BLAKE2B ccdc93b658f86586a658b0d74e94 EBUILD gentoo-kernel-bin-6.1.14.ebuild 3026 BLAKE2B ccdc93b658f86586a658b0d74e948109e2d43b09e7af261eabb0ffb49111becb2ced35741408acfb42f4e5c89018c3e666705893592402bb87c9b23bf52e5d42 SHA512 126e399c4fe32e1439bb59a87afc89b559419cfc4878bb1e5be1678f251234d406262c7ba54e28b1f4ab56cb70384dcbe209c50bc5a10b5a5ecdb79f98342fb8 EBUILD gentoo-kernel-bin-6.1.15.ebuild 3028 BLAKE2B b075f6b0c35cd169c3fe25a5f2dcbc6b543a24c2a61d77fb5857ac22a9c4bebdd0b6696f7b630726f021c5f0a73431520df4cb97a1e8b5cbf34e2a4165bfad0b SHA512 39cacd7455bfcdc240e10f8ed7a21009ddbf21e65879f22e6b48dfdca4163a8179f7cb529a29e8f4f4d823da1bdd93ad9d8ca12712e05e526d74d755aa84d0db EBUILD gentoo-kernel-bin-6.1.16.ebuild 3028 BLAKE2B c8314539c6ea447c8645bc304bfcf6cfa99398ad38f6106dc2fa6c9a9a759ccd288646b95f77a2e9a3e9ec2ab045ffd1544a70d9060096a0e04a91ecff46ad42 SHA512 22fbd6a7597f0a6b489e6e6cace828fa7df95cbffe48a6c79b7a4d568c2e79f7ffa7d8bc717fa2746015b0e4da295f446c6d7f20bc679fadf7d9ee6574921e2d +EBUILD gentoo-kernel-bin-6.1.18.ebuild 3028 BLAKE2B c8314539c6ea447c8645bc304bfcf6cfa99398ad38f6106dc2fa6c9a9a759ccd288646b95f77a2e9a3e9ec2ab045ffd1544a70d9060096a0e04a91ecff46ad42 SHA512 22fbd6a7597f0a6b489e6e6cace828fa7df95cbffe48a6c79b7a4d568c2e79f7ffa7d8bc717fa2746015b0e4da295f446c6d7f20bc679fadf7d9ee6574921e2d EBUILD gentoo-kernel-bin-6.2.1.ebuild 3026 BLAKE2B a11c391c47f5b05c4b296978b35a6c4ca79b86bfe92a1db63edb5555ecfee2a0f251906035ad3fca95d1d1bcf92d790e2e17373186818aced39aa3115c6dacec SHA512 fc1390fc2655dc35d306bf7ecd72b1cacbac5c7c5c2e8e683effcabcb96ef9dae00b70282712eb2cca847398a917948b742f60f5d81b7033778683f605662747 EBUILD gentoo-kernel-bin-6.2.2.ebuild 3028 BLAKE2B f1a8609dc0df691418f250273a84d7d645ed2c84f3ec70d4bdf494938b2305053949c31dc1ca1020d602de2ecc66a5bf0a231205ecd5c1fc500d80577cab7071 SHA512 c01314ba4cdad6a38de547bf178cd75d2c3cd5b8ee732bf60facda3d1ebdfef371fc1bea1603111fc96e36426996ff247150751f6a23f67dc1eaa688910f2f56 EBUILD gentoo-kernel-bin-6.2.3.ebuild 3028 BLAKE2B f1a8609dc0df691418f250273a84d7d645ed2c84f3ec70d4bdf494938b2305053949c31dc1ca1020d602de2ecc66a5bf0a231205ecd5c1fc500d80577cab7071 SHA512 c01314ba4cdad6a38de547bf178cd75d2c3cd5b8ee732bf60facda3d1ebdfef371fc1bea1603111fc96e36426996ff247150751f6a23f67dc1eaa688910f2f56 +EBUILD gentoo-kernel-bin-6.2.5.ebuild 3028 BLAKE2B f1a8609dc0df691418f250273a84d7d645ed2c84f3ec70d4bdf494938b2305053949c31dc1ca1020d602de2ecc66a5bf0a231205ecd5c1fc500d80577cab7071 SHA512 c01314ba4cdad6a38de547bf178cd75d2c3cd5b8ee732bf60facda3d1ebdfef371fc1bea1603111fc96e36426996ff247150751f6a23f67dc1eaa688910f2f56 MISC metadata.xml 353 BLAKE2B cd022bd01b289ae703ae6ef6c2539fcfce833206c55e328ba02fc42b360d60f76b1920927b259dbb199724e6d3e7b0f68ba2044680d962d3cd03a973475582ff SHA512 10b10fd24801843108a71ca7d0c27514965b0a15a60da4d9b521fc41493448a1b1685ae3278dbd46cede0d069e51dede402d2c1448c8ae6a7fcfce8acf415bf3 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.173.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.173.ebuild new file mode 100644 index 000000000000..8f6c357c55e5 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.173.ebuild @@ -0,0 +1,127 @@ +# Copyright 2020-2023 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=${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=" + sys-devel/bc + sys-devel/flex + virtual/libelf + app-alternatives/yacc +" + +QA_PREBUILT='*' + +KV_LOCALVERSION='-gentoo-dist' +KPV=${PV}${KV_LOCALVERSION} + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + cd "${MY_P}" || die + default +} + +src_configure() { + # force ld.bfd if we can find it easily + local LD="$(tc-getLD)" + if type -P "${LD}.bfd" &>/dev/null; then + LD+=.bfd + fi + + tc-export_build_env + local makeargs=( + V=1 + + HOSTCC="$(tc-getBUILD_CC)" + HOSTCXX="$(tc-getBUILD_CXX)" + HOSTCFLAGS="${BUILD_CFLAGS}" + HOSTLDFLAGS="${BUILD_LDFLAGS}" + + CROSS_COMPILE=${CHOST}- + AS="$(tc-getAS)" + CC="$(tc-getCC)" + LD="${LD}" + AR="$(tc-getAR)" + NM="$(tc-getNM)" + STRIP=":" + OBJCOPY="$(tc-getOBJCOPY)" + OBJDUMP="$(tc-getOBJDUMP)" + + # we need to pass it to override colliding Gentoo envvar + ARCH="$(tc-arch-kernel)" + + O="${WORKDIR}"/modprep + ) + + mkdir modprep || die + cp "${BINPKG}/image/usr/src/linux-${KPV}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + kernel-install_test "${KPV}" \ + "${WORKDIR}/${BINPKG}/image/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \ + "${BINPKG}/image/lib/modules/${KPV}" +} + +src_install() { + mv "${BINPKG}"/image/{lib,usr} "${ED}"/ || die + + # FIXME: requires proper mount-boot + if [[ -d ${BINPKG}/image/boot/dtbs ]]; then + mv "${BINPKG}"/image/boot "${ED}"/ || die + fi + + # strip out-of-source build stuffs from modprep + # and then copy built files + find modprep -type f '(' \ + -name Makefile -o \ + -name '*.[ao]' -o \ + '(' -name '.*' -a -not -name '.config' ')' \ + ')' -delete || die + rm modprep/source || die + cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die +} diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.100.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.100.ebuild new file mode 100644 index 000000000000..64a82c2b8323 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.100.ebuild @@ -0,0 +1,127 @@ +# Copyright 2020-2023 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##*.} + 5 )) +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=" + sys-devel/bc + sys-devel/flex + virtual/libelf + app-alternatives/yacc +" + +QA_PREBUILT='*' + +KV_LOCALVERSION='-gentoo-dist' +KPV=${PV}${KV_LOCALVERSION} + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + cd "${MY_P}" || die + default +} + +src_configure() { + # force ld.bfd if we can find it easily + local LD="$(tc-getLD)" + if type -P "${LD}.bfd" &>/dev/null; then + LD+=.bfd + fi + + tc-export_build_env + local makeargs=( + V=1 + + HOSTCC="$(tc-getBUILD_CC)" + HOSTCXX="$(tc-getBUILD_CXX)" + HOSTCFLAGS="${BUILD_CFLAGS}" + HOSTLDFLAGS="${BUILD_LDFLAGS}" + + CROSS_COMPILE=${CHOST}- + AS="$(tc-getAS)" + CC="$(tc-getCC)" + LD="${LD}" + AR="$(tc-getAR)" + NM="$(tc-getNM)" + STRIP=":" + OBJCOPY="$(tc-getOBJCOPY)" + OBJDUMP="$(tc-getOBJDUMP)" + + # we need to pass it to override colliding Gentoo envvar + ARCH="$(tc-arch-kernel)" + + O="${WORKDIR}"/modprep + ) + + mkdir modprep || die + cp "${BINPKG}/image/usr/src/linux-${KPV}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + kernel-install_test "${KPV}" \ + "${WORKDIR}/${BINPKG}/image/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \ + "${BINPKG}/image/lib/modules/${KPV}" +} + +src_install() { + mv "${BINPKG}"/image/{lib,usr} "${ED}"/ || die + + # FIXME: requires proper mount-boot + if [[ -d ${BINPKG}/image/boot/dtbs ]]; then + mv "${BINPKG}"/image/boot "${ED}"/ || die + fi + + # strip out-of-source build stuffs from modprep + # and then copy built files + find modprep -type f '(' \ + -name Makefile -o \ + -name '*.[ao]' -o \ + '(' -name '.*' -a -not -name '.config' ')' \ + ')' -delete || die + rm modprep/source || die + cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die +} diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.18.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.18.ebuild new file mode 100644 index 000000000000..27016e1b991a --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.18.ebuild @@ -0,0 +1,127 @@ +# Copyright 2020-2023 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##*.} + 4 )) +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=" + sys-devel/bc + sys-devel/flex + virtual/libelf + app-alternatives/yacc +" + +QA_PREBUILT='*' + +KV_LOCALVERSION='-gentoo-dist' +KPV=${PV}${KV_LOCALVERSION} + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + cd "${MY_P}" || die + default +} + +src_configure() { + # force ld.bfd if we can find it easily + local LD="$(tc-getLD)" + if type -P "${LD}.bfd" &>/dev/null; then + LD+=.bfd + fi + + tc-export_build_env + local makeargs=( + V=1 + + HOSTCC="$(tc-getBUILD_CC)" + HOSTCXX="$(tc-getBUILD_CXX)" + HOSTCFLAGS="${BUILD_CFLAGS}" + HOSTLDFLAGS="${BUILD_LDFLAGS}" + + CROSS_COMPILE=${CHOST}- + AS="$(tc-getAS)" + CC="$(tc-getCC)" + LD="${LD}" + AR="$(tc-getAR)" + NM="$(tc-getNM)" + STRIP=":" + OBJCOPY="$(tc-getOBJCOPY)" + OBJDUMP="$(tc-getOBJDUMP)" + + # we need to pass it to override colliding Gentoo envvar + ARCH="$(tc-arch-kernel)" + + O="${WORKDIR}"/modprep + ) + + mkdir modprep || die + cp "${BINPKG}/image/usr/src/linux-${KPV}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + kernel-install_test "${KPV}" \ + "${WORKDIR}/${BINPKG}/image/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \ + "${BINPKG}/image/lib/modules/${KPV}" +} + +src_install() { + mv "${BINPKG}"/image/{lib,usr} "${ED}"/ || die + + # FIXME: requires proper mount-boot + if [[ -d ${BINPKG}/image/boot/dtbs ]]; then + mv "${BINPKG}"/image/boot "${ED}"/ || die + fi + + # strip out-of-source build stuffs from modprep + # and then copy built files + find modprep -type f '(' \ + -name Makefile -o \ + -name '*.[ao]' -o \ + '(' -name '.*' -a -not -name '.config' ')' \ + ')' -delete || die + rm modprep/source || die + cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die +} diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.2.5.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.2.5.ebuild new file mode 100644 index 000000000000..ed76d510db0b --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.2.5.ebuild @@ -0,0 +1,127 @@ +# Copyright 2020-2023 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##*.} + 2 )) +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=" + sys-devel/bc + sys-devel/flex + virtual/libelf + app-alternatives/yacc +" + +QA_PREBUILT='*' + +KV_LOCALVERSION='-gentoo-dist' +KPV=${PV}${KV_LOCALVERSION} + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + cd "${MY_P}" || die + default +} + +src_configure() { + # force ld.bfd if we can find it easily + local LD="$(tc-getLD)" + if type -P "${LD}.bfd" &>/dev/null; then + LD+=.bfd + fi + + tc-export_build_env + local makeargs=( + V=1 + + HOSTCC="$(tc-getBUILD_CC)" + HOSTCXX="$(tc-getBUILD_CXX)" + HOSTCFLAGS="${BUILD_CFLAGS}" + HOSTLDFLAGS="${BUILD_LDFLAGS}" + + CROSS_COMPILE=${CHOST}- + AS="$(tc-getAS)" + CC="$(tc-getCC)" + LD="${LD}" + AR="$(tc-getAR)" + NM="$(tc-getNM)" + STRIP=":" + OBJCOPY="$(tc-getOBJCOPY)" + OBJDUMP="$(tc-getOBJDUMP)" + + # we need to pass it to override colliding Gentoo envvar + ARCH="$(tc-arch-kernel)" + + O="${WORKDIR}"/modprep + ) + + mkdir modprep || die + cp "${BINPKG}/image/usr/src/linux-${KPV}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + kernel-install_test "${KPV}" \ + "${WORKDIR}/${BINPKG}/image/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \ + "${BINPKG}/image/lib/modules/${KPV}" +} + +src_install() { + mv "${BINPKG}"/image/{lib,usr} "${ED}"/ || die + + # FIXME: requires proper mount-boot + if [[ -d ${BINPKG}/image/boot/dtbs ]]; then + mv "${BINPKG}"/image/boot "${ED}"/ || die + fi + + # strip out-of-source build stuffs from modprep + # and then copy built files + find modprep -type f '(' \ + -name Makefile -o \ + -name '*.[ao]' -o \ + '(' -name '.*' -a -not -name '.config' ')' \ + ')' -delete || die + rm modprep/source || die + cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die +} diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest index 0af7c766d2c1..2bebf92dc37e 100644 --- a/sys-kernel/gentoo-kernel/Manifest +++ b/sys-kernel/gentoo-kernel/Manifest @@ -8,10 +8,14 @@ DIST genpatches-5.10-179.base.tar.xz 4960220 BLAKE2B ea5daad3714354614f82977b59e DIST genpatches-5.10-179.extras.tar.xz 3872 BLAKE2B e493d4df16cfacef4115e3d673820a8674d66bf4e965e6cf807e39580c4efb4dfed0ce16d415028a3e2edb46e03f3ba4e9063b5e44e6b89e6a9ac0536f5a56d0 SHA512 9bf3a036990f34d236809c5d88b8981a9a374d390b8b10ae640b7ab825a7929b6169d1e75cd7186e22b7a3aa4c417ce7ab222ff6e5f9429f33a1eb31c127ae0e DIST genpatches-5.10-181.base.tar.xz 4964488 BLAKE2B 2b05c676da465b1627c92400f1290c7755c5c443db0f566fde2a2d35422f84a93875fd0cdd7af5ef331872a9ecb89e802ec48c76914a25d2b6d401edb2022d7c SHA512 2524417fe412b83e380ca55b89403abde41af034e5900daee53b82d7e4183a0345ce3e86e03ac9e211380437f4857163a4e81737d1117d7e02847ad36553c0fc DIST genpatches-5.10-181.extras.tar.xz 3872 BLAKE2B dd1d27a04cd2215fdf9ae7301d6c90dd0a1e9e4ffe7e295dfe2d6b637de69303d9cd2a00a5adeb33d2c4cc7d984e57e69bd9f998df1da188ae006511fe70302e SHA512 b91ec330f3f87bf7ec5cdc10e6352070161d38d09fea82142b2dc475a0a25d176a262cc0bf24d4a4902e84abea84f6263c3e859f1ebf8f44155e42c5f565dcce +DIST genpatches-5.10-182.base.tar.xz 5091520 BLAKE2B 80bb1d7b815a8ad56c79d28f45788b00f3ab972965e7180a598a5e832c7086bb872a52b2ea725949b571c2c7c7731eaaf61610ea147bb119badaf19fd9781709 SHA512 3d9355524ecf871ce2d62df56c99eda3bceec3f528b4f434cb750d75b7ee9aa82ed723c55ceffd7c9a6fa11287daaa9155d484da2a5f1a3806b93f3e3ddb541e +DIST genpatches-5.10-182.extras.tar.xz 3872 BLAKE2B e73c6a4448be4f9ea39d7e79069672885f8091d9f40d472325bf9bd5fb8d05ab723863edda6c5ae42ce469e3cc722bfcf34198b8bbbd038e89f9625934fd9fca SHA512 b41bbb5093b4a072d5e4031623d9578a9bb9e2415d6c895fe95a5fa8d7332ab79e3dd181fa5e68d03de037faacd2fac265d60b4c94dae989de8416ad37422e48 DIST genpatches-5.15-100.base.tar.xz 4036256 BLAKE2B da0f271d54f248597d038a09f3cae6a2293ffbcaf9f06ad500060e0b28c57c0120c64f30cbb97b4b4585cc1a8f12b013258962a6599a166f5716e268b0587030 SHA512 865ece0271c674aff6df31d7b0ef8dd8d9643e9e7ab49730bb2892f82e1468f4f086710c62f6f647cb2a4e822a5a5fa2e2415fec8d900f82976bdca23384bebe DIST genpatches-5.15-100.extras.tar.xz 3932 BLAKE2B 55665c7edd0316db7e6a8391ccfc97a3f2c51e9e445bb81e0663ad69405ce577133f2def0e58711b1f8dab0b7bfb4314e05a41183138585eb24c909b7cc8c2fb SHA512 dd32b33616a64fe0f4b319e3424360a29d81ed1c6d94457da0458d7141013efab4933c685468019dc7c023346697d31c902e67d17120208ae408939b2fe1c5a6 DIST genpatches-5.15-104.base.tar.xz 4172432 BLAKE2B 3056125f31757d4daf4d5a5df4f9e0c02257786d5dbfb44a134abffd2c8615d170f64f4d5154b04e7a5e6e825ee175430c842a7490ff6a3414954059a72a88f4 SHA512 324899dda69e2388adcc7241a5905110cfcd6a400d011c5948a983ccf5693be820b56115b5448f96fd819457574bf6ab3e7cabbf8169bc471df4b9a73b024975 DIST genpatches-5.15-104.extras.tar.xz 3932 BLAKE2B 749f1d9446c12992266e4b24771cd4273fdb6a72793f3591956c33f210a2671d587f0cc04d0e9751511bce1e03b76df53e65231393e9d2eb1169ac825bd046e1 SHA512 66de4f74decfdb0f76050968d98a6cc378c04d5d19b9c16e35fa9746e9dce235c602ebe12fd19fc2b6bf8fc9d9eab3d9461e6aad3edc00cc465ae18a776b0e4c +DIST genpatches-5.15-105.base.tar.xz 4208564 BLAKE2B 61c56a00ca87e33d7b566b319bba1e08e5dc104f2a5c21be61cb657abcc63d7b72ed88fae3adce80a6b648df7c2e715b9fbf71eaf0a43ceefcaba4d57e51707b SHA512 6ceed62dfac16a826451670771daaaaa47d92fc4971dcf72d486f802acbe111491bf01b1bcd5fca6f548d655a57bdf038a90bfc8a5ac1fe8d7796d90a2188757 +DIST genpatches-5.15-105.extras.tar.xz 3932 BLAKE2B 7739e3d8459ebc58cafa0b95f7414e204a5c4410e468e11e27704bc08f32169a285baa6661289bf3d52602779d5e00eeafb84dba7847fa4154614534026aa5ec SHA512 28947f5bd2e49191fdcc46ccdde98a22c3e983a4ee6867c8d04458972ec3199bc4648374caff1a090105d05c8bb9eaa52e758b5d352e076c0a87967c659b8e18 DIST genpatches-5.15-98.base.tar.xz 4003192 BLAKE2B 79d4fb60a5192137571109ffaefdfba23ac589102539cdde89046f627f39e65a52a44a83607232b499509b8bb4c341e2fd26ae971587c9574d4ac87d8b220893 SHA512 946a7638d19d5fd610075520e529a6c5a47aaa433b7986493f62571a7dc541278013a5006bf1e745496e4eb98de44af56f61d23679c139a719a8d5bc20c9e734 DIST genpatches-5.15-98.extras.tar.xz 3932 BLAKE2B 4e5dd4f8ba6d14764a6546cf7e64dffb3ddcc77678b7d96d2498917f30561792c904c635b0fce7191b7c0c65549fa769e89befffbea5e53a3cef64c673937c20 SHA512 337d95159432cba3b85511cf80c350a8a2f67c65b72a90b26ddc98c01d2d8de70d9b6067e0573c5c339a5bf64973d10c06b42001ee19a7add3d672e4577d0622 DIST genpatches-5.15-99.base.tar.xz 4024008 BLAKE2B 82205380a55439dbe6f8605d09078d7a349ec60180204ced6c9902f340077c800cf515f3f513c69110eab37a8daa386a82ec4ba9e84dd02299ccc45379cdc659 SHA512 72033d94d3d509ecefb5a54e82906408802118cd985f617ccf7465e23d19363668159998dadb950bef58af11bab448110e6c753eb6eb7dd107feacbda4d67f3d @@ -34,12 +38,16 @@ DIST genpatches-6.1-18.base.tar.xz 833216 BLAKE2B f1b86487c82d4354347171df635192 DIST genpatches-6.1-18.extras.tar.xz 3804 BLAKE2B f31c07ec6318b91e6e7eabeb62bc28af362fc097297b31521d464e298effbdf52cdb94b43a1811fc10ea3dc9387fa47501c4987d6709d73603ed15ac7949dd92 SHA512 8611f8cd72f54b7c4360d314eabcccfaa99722f568da32710a39f47ffd1770b14502130be5ce3d3a14a0bd93fc9fbb73f65a9c9636a8d0e9051892d1e5221ef7 DIST genpatches-6.1-20.base.tar.xz 1052484 BLAKE2B 9599ee78ab289960d7d0c81db8d509a43f8dcb524163216af9c2bcd37eb1fe60b9c7e607faecd19974676c5cf863a4edbdc668b39ebb1f37fec98b1eceab42a5 SHA512 9e99a69ed5adc7fa8a33cab86ea187c42e888c6d768cd3d39d5491c8d96dec2fc5f4c11c02075b01de1530ac629e63876152ffa7643d3a3b899fd1655d67d1f0 DIST genpatches-6.1-20.extras.tar.xz 3808 BLAKE2B 4d121cdba86a63a5564f44f2b33841ec07d456da813070f73cdc2b983b5fe466e92b845a6c4d0959aedfa3ee9a8c57fde08a84aa6a31926d43a5ac68d4c168df SHA512 8b17882ee84adda037433b2ab13aaa378812f6d6f3e87246c1befe54c0254d1261b3fbdd89410f133ea35e798bbca597e392222ba1bfc93bf87e645600609dc2 +DIST genpatches-6.1-22.base.tar.xz 1112816 BLAKE2B 4fb3e3e6b08b201856257c72e297428e8ce90bac110452cb47df21799e140d18d7bf82f4fa36c331c9a199e63b1305d151b77aaa2f9735dbd0a049b7eac7b433 SHA512 06cdf0df64e699c9ab3daa122b2daa9bda56e2fce0497665fbe2fa488c1208ab0d13f84648f3fc8627aa2a325095be9a115b2bc656b9228fc78e98068d4d8685 +DIST genpatches-6.1-22.extras.tar.xz 3804 BLAKE2B 6350caa854108959e150ba1537044b9c781b24b740c632f30d0ca4de54d795c45993623fd0822131cec50cc46182a76c036e5481bd4617ee3ffb5c9f82258050 SHA512 5a48e06b4f9fb94d53b7175850c1876edcd76ac45c1188d754a9963388a2df23d510f8a30116a47db45f06f1274e25c6897957783f0e8eeb3d0e20ea626052f0 DIST genpatches-6.2-2.base.tar.xz 9540 BLAKE2B dce2bb1156f0e9a7ca19b618d13729908001939d6ec6361ca6619808a120e61900b5f4de97b2bef0e63aef81a83c7e2a0d736f3c344d9a610eb5c6a21baeb111 SHA512 50aabf4c24dbf13595556314b2ba8f1d0219355bc79c0fddf05ef7a6d244fe3c54f95c733e02fbc032a582495c59688f415af5b62b3401b436cbb5f0ef3aa9ac DIST genpatches-6.2-2.extras.tar.xz 3804 BLAKE2B cdbf51c28ff1c3b974665f558ec774eb70874a3941b97f966ee90642f3a1c8732333348e891156a40455c8b80c2a2002fdf1515403eca7b8d075c28b09a2ed78 SHA512 cba0fe9b3d13f3b1f6ee413a44698694ef6b009918dfda76e4d8402e66f1e857bf889fd4eb7ae093e864f7015eb3fe14aa704a5a3b68b0b92ca494bfc4b43a71 DIST genpatches-6.2-4.base.tar.xz 15256 BLAKE2B 4a6bc8f4b75be2afe87d3d29ebdd45cc6a6266717b793a611edcefad3b39c3f70f14533b538eb175f0c16e901006d52e09994072cf9375dc0606db0478472d18 SHA512 0351b19b50bff5922d916b215c8b5b04a31994973dbde9553b2f197009447c9d5dc992f0b9ee25bacdd1569477a0beed4e0359dec390ca4914ceeed3e73592f5 DIST genpatches-6.2-4.extras.tar.xz 3804 BLAKE2B 909c69169a518c690e62cb3417a35fdcbc1f3102d388ea0f6eb5329753f50596bae769ef033d43bc9d9fc5cbddecc3ca8541f771c4e02c76fad6253594cf5e5b SHA512 c22a12ea1d3467891286d9898582d038026230181537ae40927182b9549e7a768e4ae62ddf9b402e67cd31e18cb64e9f9567c5037eebc98500d4aa21ea62b44d DIST genpatches-6.2-5.base.tar.xz 297244 BLAKE2B d76f6189b57b3c81ea8d8cde4a4464539ecfd27f38790eb797758d2ca9f3c4f1e4906b8187faf515035ee220107e698d60d6687cf9d05e7805ba2e8a5a47ff7a SHA512 e0ab47321da0c7588b102d0c9af435bb23c0ea01915d1e9080216bb885f2dbd97ea0d885d2f72297dcfda18fee524dd2629533a4ee65ae72cde0651be38b962c DIST genpatches-6.2-5.extras.tar.xz 3804 BLAKE2B 23df3f3d54c5c9d0db420803bf45861111addf7bd23efd65a928345103e5fcaa34639c18c4c72911ff9d17cfacf50063802af75674d9c2839b0448185ca0eeb1 SHA512 5727b99aca295c425c5ab67e8e25b3e7ce0101542d60374d3f54abcf66f336d303ea529b683ec0d82da5ad471b5399eadad2fc8cc1dba3c3b13eff1735d1c12f +DIST genpatches-6.2-7.base.tar.xz 376376 BLAKE2B af978aac1a4f3c836e5223c25b7d24557044aed7a03b9ec0313cb86f5f5238e795ec2b88cf6ebe800d4ff86cad7f755b26f9d4deda87761ef73007ddd9ec678e SHA512 96373f80389db5b4a414794292278246eecacde3016ac80a35fb25382284c60f8d09d53096c05f7609dee00236698591aa881462d039e0c958aa32b080e2edb2 +DIST genpatches-6.2-7.extras.tar.xz 3808 BLAKE2B fec1e138d4601bdb4b6ac339bdbfcaab85b3b3dc74f8afb1a326fb519300e795f709bce695be0a98ed5efcd43dc585ce33c8cff09cc7bda48e28aa935928cdb3 SHA512 9ec16349c7db00b38ea19bfda59c3bf436e1bd4b23ab6eaea09ba7ed979b45506418f899832d7dce41158143d0d5adb97530f517a95364aa261bb25818166cfa DIST gentoo-kernel-config-g6.tar.gz 4562 BLAKE2B ad9e1b28f84916f12cd8b21feb2f4396d3d63f4cfae3e6b6fe93f919c98b0b4523b205711ab7acafa7121360f696eecb63b9f162dd12950e56dab1429cc13633 SHA512 d180122eb00d40126ea7d79224559904eb0ea574314f9a8d6be6b10f0f6a49f526eba1366ae8cd0a4fe23cd8ff5e292c8cab7e856a2c915d4162b75a03f8076b DIST gentoo-kernel-config-g7.tar.gz 4625 BLAKE2B 72ba0d038ee34ca5eb26d43bd373735aef3a50d02b414993ea05485e49d83d46df98a6cb0f6f3170a8ec0c99b557432fd9a11cbb92ff7c2837625a7f4469831e SHA512 2d74a8ca9f5402b4290ed93cd3ddba04a7f2ff42c8d8d3f2cbbe22fc20daa0fca119368daa8af39b7a26b1b99e4e3187c3c5d95886a651675ad94ff98d686628 DIST kernel-aarch64-fedora.config.5.10.12 223184 BLAKE2B a0246dac2f7a4ad6a55b611538d24382ac87a8960077811a859c9595ac67f961b4bccb7e139a89abc7c0e26e80832da5c94211fc658082f2e7dde984f14dd29d SHA512 7d803b347b136331db1ad6e22e0445fe0224c3e26cd7c034cbe9794915d457b492e05f77664865079874ec001351553652646e2e08d0fee31e30b841b0008f52 @@ -72,6 +80,8 @@ EBUILD gentoo-kernel-5.10.168.ebuild 3663 BLAKE2B a96f9278e03d012a15254fe025dc63 EBUILD gentoo-kernel-5.10.169.ebuild 3661 BLAKE2B 43d972360a498fb0ea50f8ccfca0b913d035ca5bfe2369edeb83b29e019481757fe29963a12016c78764dea8a610fb61c52d24f2d60b5255f74aa885246d190f SHA512 15ea67d8eff1b3be14c934086f48e396d625e29bf2d41c6c7b15ddf5cf9f00d43b0df8a1bb68a2864cb0a406567d792694d4a44c518b8d450460615247696bb9 EBUILD gentoo-kernel-5.10.170.ebuild 3663 BLAKE2B a96f9278e03d012a15254fe025dc633983600e2c48cf64d58d4778e9981de76c358a9e6ac75d457106da82a888d9c64c5f9d2927d31e6c90541651f6a1494898 SHA512 0f1880b9488f929dcdc918cb803d95572665727603b078550cc6a5490b5b90c8ae4897f14d5f4b1ae413622d1b2225f6edf29805b27a7dc098c67c6b3b30f2a6 EBUILD gentoo-kernel-5.10.172.ebuild 3663 BLAKE2B ff1886edfded2e3912cbcf2bf03a91fb49e40c0ec756dc81ba3db92654fd7964f79280f8423bb13c34a941f8076ef0a18d1df7d9d3528fe93ee7a1e4e6da25f7 SHA512 01039d321cef56eba69e15313301646de36baae97b3562bda002205950aabe22c90c1145256d60dd458893f76616474f5cdd5a75b8b52d33a9c56bd76724fe76 +EBUILD gentoo-kernel-5.10.173.ebuild 3663 BLAKE2B ff1886edfded2e3912cbcf2bf03a91fb49e40c0ec756dc81ba3db92654fd7964f79280f8423bb13c34a941f8076ef0a18d1df7d9d3528fe93ee7a1e4e6da25f7 SHA512 01039d321cef56eba69e15313301646de36baae97b3562bda002205950aabe22c90c1145256d60dd458893f76616474f5cdd5a75b8b52d33a9c56bd76724fe76 +EBUILD gentoo-kernel-5.15.100.ebuild 3660 BLAKE2B 8ecd2e65821a4d181f8c42e1676386820c59bdfa3d27b26f62114727e12dc2d58636d245f17954f05990dbadbfbddfb9c487731827f5eb311505c67b25152a52 SHA512 632bfbc9a13b6a9597765f0ce1c1d8f4d007f9ac64ec008f727fb374dd30677f93adfc452f9119b27dd2c2427b567214a68e1ef620b5f702f221e636b0965a16 EBUILD gentoo-kernel-5.15.94.ebuild 3656 BLAKE2B 8e1294146a170f847975ff97b1fa1595b284464587d382520db41a71dcf1dc1e88f677fe71c4521934d8f9c9876e1028a5601117f1901778bc261cca66f74beb SHA512 c7e03bfe540745c24e1a9aec613f3f893fda34238cc390b02ee0e349c79a314e71ebebef0cbfa620adc4f4ec3b3db0f4f6a0b0e57bc65781ee5ac47e21c40ccc EBUILD gentoo-kernel-5.15.95.ebuild 3658 BLAKE2B 5e1d1e367bce7c5b6ac25b1d92a3558d95e4c95cdb084646a48a4c170f34f38eeb172c665002e1e9d5ccd9d9abc207464e7eb9c05247d581aeaab8bc4f7292a4 SHA512 e32673293bd711082f1819d9ea3c1ce6d2378feda81ae7654a555d62ce1119a0fdf46710a1299346028fab4b61b6dfa284548f68830bc47d252df1150bfb2cc8 EBUILD gentoo-kernel-5.15.96.ebuild 3660 BLAKE2B 9be74faea9e4a9f9460b2b002c3e503de73c291c35e8cf116f7f668b4434fafb5a8bd449a264f7868183befa47afc959be4f5f0c3d79facee1d1789477e7f011 SHA512 8d6c5e4ac6e2595dde94dcd0d36c7176f8baf3f38f60beb08a76c14d7dadac4808a897d6184fdb9d68c00eb7bcd9e381588db588f1eef6d6ba79639b0542275c @@ -85,7 +95,9 @@ EBUILD gentoo-kernel-6.1.13.ebuild 3917 BLAKE2B 4b98ef355f3bbefc7cf1b715a0875cc3 EBUILD gentoo-kernel-6.1.14.ebuild 3917 BLAKE2B 4b98ef355f3bbefc7cf1b715a0875cc3d75031d6717cce18f787fb818ad5be547610b903dba7deb83c11c155f4643ecfdd43621b9218b519e233136dafc04e02 SHA512 937492b4c9e9d3afa2346801d25947f55b164881b59f6d56c41110e67be3d1bc1476a05f71d9cc25533b2ad9c5db50fd51dbc5c5651a1db4f8c33643c276f8dc EBUILD gentoo-kernel-6.1.15.ebuild 3919 BLAKE2B d0af04f3ff855b263afb00e61e2c03e0bd0e9a6820e246944a5d3cf8a614b13d3795d26e8bbc95f6b73bdc3701a67858eed0baab02d3ad97f81354e01b42858f SHA512 5f4803d5a8776dc5acd0513c532dcf810e0f3d19fafb3e5a4f0a4c35437e4cabf5966df9c9ffdca458be60dfa4cd23a72504d410faf5cffd7a2c0eaff1929e59 EBUILD gentoo-kernel-6.1.16.ebuild 3919 BLAKE2B 64c9b54b79a6af1830e09c699540230a9592e6a0f1c1740616bb67558a21630ac9ab836cb15d0353f777523bf610e2f0c1c0e16955db7ee9343c85ddcb6100f8 SHA512 8bdf517026f34b3cc94e47a37a4624024a01482d51c734188ee06512b1ab9f4c7b1aced63df074956fe17c56f31290f802f9a8e0d435bd95df776866250494f9 +EBUILD gentoo-kernel-6.1.18.ebuild 3919 BLAKE2B 64c9b54b79a6af1830e09c699540230a9592e6a0f1c1740616bb67558a21630ac9ab836cb15d0353f777523bf610e2f0c1c0e16955db7ee9343c85ddcb6100f8 SHA512 8bdf517026f34b3cc94e47a37a4624024a01482d51c734188ee06512b1ab9f4c7b1aced63df074956fe17c56f31290f802f9a8e0d435bd95df776866250494f9 EBUILD gentoo-kernel-6.2.1.ebuild 3917 BLAKE2B 79ea19d126f3f6acb02b9c7e06fa236e32084786935f42acde73a9921ecde2ae747347813bb5d0e1379e32803795350d28af4e25065fadcbd352b964531f2090 SHA512 e7b2683919f435ef93f400d608c8a598c80d7d70752a86c04e1fe0fa2c90e964aa3a9b588e57a6553188fb09cfdd675d37769d6491b795013cce6075ae1511ef EBUILD gentoo-kernel-6.2.2.ebuild 3919 BLAKE2B 7c1fa5383985a9333e004bb33cfb1b71982f64a643b8ace2e411ae60af2a9fc170aa0d00ccd1a20d609b781b54c4a06f26d0e91505ce7746af4ca9d363108630 SHA512 a058f2bd702b52b0b13f1ba7e8666df2d59904e41d4ee89c7aa61b677713489dc109daf132d58fe9794f2749c82c003e67a1f9e9c97a87836bb09cad65026641 EBUILD gentoo-kernel-6.2.3.ebuild 3919 BLAKE2B 7c1fa5383985a9333e004bb33cfb1b71982f64a643b8ace2e411ae60af2a9fc170aa0d00ccd1a20d609b781b54c4a06f26d0e91505ce7746af4ca9d363108630 SHA512 a058f2bd702b52b0b13f1ba7e8666df2d59904e41d4ee89c7aa61b677713489dc109daf132d58fe9794f2749c82c003e67a1f9e9c97a87836bb09cad65026641 +EBUILD gentoo-kernel-6.2.5.ebuild 3919 BLAKE2B 7c1fa5383985a9333e004bb33cfb1b71982f64a643b8ace2e411ae60af2a9fc170aa0d00ccd1a20d609b781b54c4a06f26d0e91505ce7746af4ca9d363108630 SHA512 a058f2bd702b52b0b13f1ba7e8666df2d59904e41d4ee89c7aa61b677713489dc109daf132d58fe9794f2749c82c003e67a1f9e9c97a87836bb09cad65026641 MISC metadata.xml 465 BLAKE2B ea1260a1638588a48d9dd776e9eabd9730a181af8416ba778c936fa2e80a2360be146d3cc80599e50e0a72ac709eb9538184aac87cb96528e445ed450e34f4af SHA512 c7b7b1a45fb7082b8d8d66cf5a387cc4f7207cd9488d1d5e1d6900f1e4147aa9290b5522a94d941a885f1599b5df2482b529e40912d2b2cff400ecd4b1704c41 diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.173.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.173.ebuild new file mode 100644 index 000000000000..5bbe99781a9f --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.173.ebuild @@ -0,0 +1,134 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 9 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +CONFIG_VER=5.10.12 +CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530 +GENTOO_CONFIG_VER=g7 + +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.100.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.100.ebuild new file mode 100644 index 000000000000..2749381783b5 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.100.ebuild @@ -0,0 +1,134 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 5 )) +CONFIG_VER=5.15.19 +CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01 +GENTOO_CONFIG_VER=g7 + +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 + 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 + ;; + 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.18.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.18.ebuild new file mode 100644 index 000000000000..dd5577ddd24b --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.18.ebuild @@ -0,0 +1,140 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 4 )) +# 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=g7 + +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 ~x86" +IUSE="debug hardened" +REQUIRED_USE="arm? ( savedconfig ) + hppa? ( savedconfig ) + riscv? ( 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 + ;; + 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.2.5.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.2.5.ebuild new file mode 100644 index 000000000000..6406ff1f6bc8 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.2.5.ebuild @@ -0,0 +1,140 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 2 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo +CONFIG_VER=6.2.0-gentoo +GENTOO_CONFIG_VER=g7 + +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 ~x86" +IUSE="debug hardened" +REQUIRED_USE="arm? ( savedconfig ) + hppa? ( savedconfig ) + riscv? ( 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 + ;; + 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/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 0fcc9fea5288..55fba67892a8 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -36,6 +36,10 @@ DIST linux-5.10.170.tar.sign 993 BLAKE2B 8f47f3beeb361d6a658cfd282548d38ada55bc7 DIST linux-5.10.170.tar.xz 120567560 BLAKE2B 2cc5de731c61dcfb8c006aa805ab840ed9743f02330c206c2cea127ff840ada1de630ee2f844b41b6302f10239fe001dcb3a9fd763817767cc8f751759f7fd96 SHA512 89dc8bdf843eced09acfd9abb1ec819c29da4305549e9ce9133c47a5f023ce1398f488fe7928e07b44bbb9141cb2f48aff1c13fe3839b20e2153e24d78dd3786 DIST linux-5.10.172.tar.sign 993 BLAKE2B 29f39419ee257ab5fee025797255df6c994fc37fc4708510c25ecbd87032f51cb96a7e1f96dc5c2bcd5faedac3ffa1fd1b62ac60ed8edb5281557e651ca0637a SHA512 deca74f8e344bf405b2e84477a07f0137fbb9b9d507311984e6dbba0686e9bff98c4583ee18b5fe4f0edea5e46cc9b42481e8015ec2deea423460caf30d28043 DIST linux-5.10.172.tar.xz 120591456 BLAKE2B 002260913f33be97ed30ae5838cac0502b2966283f2c3a6682957f3595c3c707cb449ecf84a41b4af72dc4ebcfe46da34e9ecc7ea3855ee40231ee7115643b11 SHA512 23d4397436073e57867dc9f51ee5be3a532c6fc05a8645670c2244ee1bbca6d6a7c9e06f5b73e11b6a886773261de348e72c1fce8ff70316ff98e3d7ed88e9ea +DIST linux-5.10.173.tar.sign 993 BLAKE2B 9a35eecfedd0e9f7d3dd025ae9abaaa6cfe9a8c04533f3a594f8ea169ae9bb12de95cf026fb36c6f17bbb3f90fbb34ff1a657af30cc7f36179fc9d3b3005cea1 SHA512 97805946e9c3aa72d264622645b7b3edd612f247fffcc06c5c88453cf57865ed4481b87d5b65632a6df82230195150aaf27e73898b13d86a299a4560776a8634 +DIST linux-5.10.173.tar.xz 120591732 BLAKE2B fb7c0d78496eaf919e7fffa8eb5c68bdc25b91c4e80f08101ad85f89e5bb46ff2fe18bec2a49cb76db2de681f601bd37877b0fd5b7c24f7424b58486a8ecad06 SHA512 c5321788eeee0a84c6e50d809c5ebc60f489b8cef1febbdaf0b8564a3d15b4f8dc65c13ae3daf67cbdcc7f6aa46308f65203b93535ed005efef0a29f8534be42 +DIST linux-5.15.100.tar.sign 993 BLAKE2B f188ef5014dca3b4474bd1e17e4e47464589bd4d632df4ddf0c6f3c1fecae243e4eb4911453798f73bfbb4b52a19480f39e9596f1f2e51e22c8b9d8248f78897 SHA512 f6bb356839969f699bd2ac56a02bf9dee63a6cce3d237d8930c198b173eb959c848884142e8a763d5a593ba1fdb6bf12dcbfcb9ba8be8290f9e72f3de28fc93d +DIST linux-5.15.100.tar.xz 126525956 BLAKE2B 2629f4c53c5fb51118961e445e5660213e26a454d645246c4601ac3a57fa7ed1cd50a71986600f37d231d712080790c533f916ca685202d49d7e3b31c3140e4d SHA512 2f9d73c8b8c38ccdff29c52f4d7d18f3fca1d48ff0cc747f75a616ac7964d3f7bfe4a22329ac6b28b4c6e9e44a79ec30104ea3c93cde98ef95e95fd61f4ba5cd DIST linux-5.15.94.tar.sign 991 BLAKE2B 648f4c183bf955ee25efdb575551ef1e9c20e0b3e3fbe0ae5cf5d1c08cf5b4bc5b5a6cce603f3f17d9ddfce976fa42b480f93ac8ce2ee6f64d5ca11f56e899f5 SHA512 ab6eaf5a44df0ce2dd7ccfa4c72788ac212ef42eb1c4d8464f59b73638a08cf5361792e6be5fced152343f4c278e45379e76659a96bf623e7da33f13c3b16133 DIST linux-5.15.94.tar.xz 126497028 BLAKE2B e300a52339b587f58315fbe49ee3a856945b2ee34d9f367c67ba42234875de318dad8bb5f2ec35c7309c91a7b3d4c43d36fc8fbbadaa3b68e6c8e10014dffdd1 SHA512 7ced15a23345dbf17f51a8ccaca78559acfd907b9fe811bb44a9930ae2f64c528db61cc1276fc0e44ba1c76b4f5223145d3ba7fc01924f38b629eb868492b6a9 DIST linux-5.15.95.tar.sign 991 BLAKE2B cd8eb48dfa59cad29dd618573bf628d4e1555e7b29c38c405fc78ad0fa1cc9a5740d493b9e03c38626d5b96853f16930285901300e47aad82af14a61100b7343 SHA512 69624979b835765c74aafd8b7487a99d69bf3f67dba6624498346eb33c9dfa8698231b007c709feba5256d519a2566a0fe1f6d112d5cc4685a3fed36165ad7f4 @@ -62,18 +66,24 @@ DIST linux-6.1.15.tar.sign 989 BLAKE2B b7232f040bc4be3d24223aff245306571b8e63243 DIST linux-6.1.15.tar.xz 134854068 BLAKE2B 3481d756a4daee96f732388a93d7423a784ddd573a0ee973e2e6d44ddc0ba5bb6ab84279c117c3ef6b2b086ccb6128bcd025286180848e89411d03e2e9797bc7 SHA512 0f98aee21ba902254881317148a78dcc3bc2dc3b6a8651bc0c35e8d63850ed1a9ac4271d5f74ed0ec110c219c80674d26abf9ffdd2631278cf1c7c85d6cc209e DIST linux-6.1.16.tar.sign 989 BLAKE2B 7b6cd99f171b948c15031cecc78eb88c6c9b39301c43b7fd00b5b4a8df7d2a4753cc7748b2841f69bb37386a48ac9eaafada4ee2e811f3a41813559c6219a888 SHA512 28b52272c2c0560bc4680a86664e1376e6c2e1e96d97f27355d86ff64d2a759624f88cd33bda769bcb2774ceab7d59f618c0ea008d6889341a6804bf9b6f48d2 DIST linux-6.1.16.tar.xz 134833708 BLAKE2B 6e61a45093f8a91668495cb0c0e9e9350a80581f772c3e1c42536bf66ab9e6952697b695faa3a53cb326644296dda0e70d671477536364e7b3d98476efaaea13 SHA512 ceb37f0e7e8b29648a0880f0d375224f8dfb19e612f9e5966a8a6d07755cced62b5a69ba88ae79f12b4e7a482e746fea4ebe9f2323e9b4967f0195f72f205642 +DIST linux-6.1.18.tar.sign 989 BLAKE2B 8ace1f508c142c54090354f04dc12c22f75e9dfc540f994a2fdc0bf0a55afe29596f47f7f3d28863eadcf0085a09e65f6103666cbd08fd4c95e9fcadefb02892 SHA512 a496d75070d6dd2613d6aded510fd2ba3b518c03bf46509376b0faa752ded71080ed20d1dfde0b8bd2427ce429428d938f451888c2867c2801cff3cbdb585eae +DIST linux-6.1.18.tar.xz 134827948 BLAKE2B a63035abf31406397b2f517f2b947e4efae80495b0ec6da9b6ee77dff29d39f5431daeee8d6e4f6acdce5d8197f09663e7c48d4a68c2f31d4e4b7e724cc34028 SHA512 852194311ca357268b43541760de091fd85b56e6e42979a36d7a09f0411bc3baf4a3c833ba93276226f2566c2e94b757bf0a334274dd0f28703dd9c69f74886b DIST linux-6.2.1.tar.sign 987 BLAKE2B 37c7a969bbdf12b86b72c245e632e0990154e4ae57ab35da8c3efa5e092d42ba758a88739b5628775635eb0f9e8e7b007111bf63426adc0ee0ade2d1a2f984bf SHA512 70c4ee9c0a39127e0893fa639e65488d11f8f9f342de76259f28ab709842860165a200d8ba986de627628f4689bd10b1e0c95a17db9e2c909e4d4ad2aa99297c DIST linux-6.2.1.tar.xz 136445896 BLAKE2B 72c221e68c6bfb19b49c15c491c2ec35db045c730487e409186819620b65b605046a03df8e0c173141d1893ecf7408576b266fe1b33baa72cd44aa26458da562 SHA512 79d3465955dd557dc599fa1c18c7a68699f4febdd7264fe4e223c694e879ef5bb65fff9fad1ec5599f894ad6519bad292efbd5b9990dac3223d843f5c22c65f2 DIST linux-6.2.2.tar.sign 987 BLAKE2B ee5dae47aab443841f6073b2da066ec7cb625059ed1f300c623a1d38df995055ca84a0ae4d4215826de467a3355bccc3ab9a26bc228aec4f7f0a4b2d9cc92171 SHA512 42b166f3e5a5a3d6507a1bf7c7a8801cc8f3d7f663e3580847014cb404b7043cbe395f29528a482d70514ebc55db69105303b369ca12dfd7add2fd3125ecd6e1 DIST linux-6.2.2.tar.xz 136431916 BLAKE2B 7f0ace4eb3f3dbba6104adf1b64682ce3d76e96a33cd0500f9943c150b5aa17c9e25690615f9ab0bdabe33c3e13548d9cd9f1f3faecd0369554f2cb5982c44aa SHA512 749df066dee0c3e003db47f66be692f12fe57bfa06b90d68394685961764a98a299a08f20587a24cb254fe4881f4849415e47b391d824b35ded2fb67c14ed3e6 DIST linux-6.2.3.tar.sign 987 BLAKE2B 311b97575b921cd902adb714f8e362013d8b44f765740902b88527e5f5ca0d6f3bd42dc6c837b56632010d34d1a893fc17dd0f2eca70a9d0947062a2618af4ac SHA512 847469b5968cb2def5befce5ee0aab6ac3bdaa8dd32a6518d35518f483c16de380cc141f47de0a55e8f7125bcb35b92e9fb8d30f810aa0d025143d57743642a3 DIST linux-6.2.3.tar.xz 136437004 BLAKE2B a6c740faf8349ae2f92ffe133afb40a763aaf178c1f3a4457572956d2fda7e09e3354dae48d594aca9cbab42d4d8d7be41036adef630275520d732902b7da812 SHA512 4df6a17d1f1234e3c98352c4a6b9071507988de454c21c8fd2310b4e0c2894b4bff7d3453c3271281ff798536562cfb85880be16c997df5e26c38575eb6ba96e +DIST linux-6.2.5.tar.sign 987 BLAKE2B 5bf80100e780b38027c10b37987bb53b3d42e0a43ffdb336ad9e53551cd392ebada8ddebb1bb498d16ae140f051a606993fccda274e98fec466b1679c585172d SHA512 c3982cf10c11c8046b0c3a12eb5b6d0158304a891e4a9fd7ddd5ed36143b0c336c8ea27d313a14097b4a6a2204074a9758feee3d9f9cdb6ecb08a4a06f44006c +DIST linux-6.2.5.tar.xz 136449360 BLAKE2B 510aab3dc724cfafcdae148cf8a6d4376b589d2534ea180bef85a6cd695b3f290f9050a2e655d5b515efb88b48da91c2c4ff65e4bd8ef1f74817c84980c4103c SHA512 72a9adafbdc63cabc42b6cb0a833de70e1784a9b45c47973c57df754e01900b34f9a2fb85f442ee4a7d8bec687f1f87835dc025c37bda6525dd1fbf2290f4e01 EBUILD vanilla-kernel-5.10.167.ebuild 3776 BLAKE2B f17a71ce2af16261001d766fb6e9d280a9939bebe3d6df50dde64a04b662f43df2df41ff222d903fafd58ab981122103fb6020771eb82a4615fb532a8ad0dc5d SHA512 5a7d0ce4b2b601a6c1a891b09376d81a84d518f7faa387f68ffa707a916b7d325aa11424781e32042b392598bae5c99f718c408aeb96270f8256e287a8305d33 EBUILD vanilla-kernel-5.10.168.ebuild 3776 BLAKE2B f17a71ce2af16261001d766fb6e9d280a9939bebe3d6df50dde64a04b662f43df2df41ff222d903fafd58ab981122103fb6020771eb82a4615fb532a8ad0dc5d SHA512 5a7d0ce4b2b601a6c1a891b09376d81a84d518f7faa387f68ffa707a916b7d325aa11424781e32042b392598bae5c99f718c408aeb96270f8256e287a8305d33 EBUILD vanilla-kernel-5.10.169.ebuild 3776 BLAKE2B f17a71ce2af16261001d766fb6e9d280a9939bebe3d6df50dde64a04b662f43df2df41ff222d903fafd58ab981122103fb6020771eb82a4615fb532a8ad0dc5d SHA512 5a7d0ce4b2b601a6c1a891b09376d81a84d518f7faa387f68ffa707a916b7d325aa11424781e32042b392598bae5c99f718c408aeb96270f8256e287a8305d33 EBUILD vanilla-kernel-5.10.170.ebuild 3776 BLAKE2B f17a71ce2af16261001d766fb6e9d280a9939bebe3d6df50dde64a04b662f43df2df41ff222d903fafd58ab981122103fb6020771eb82a4615fb532a8ad0dc5d SHA512 5a7d0ce4b2b601a6c1a891b09376d81a84d518f7faa387f68ffa707a916b7d325aa11424781e32042b392598bae5c99f718c408aeb96270f8256e287a8305d33 EBUILD vanilla-kernel-5.10.172.ebuild 3776 BLAKE2B 8123c455d8037eb8f221741523b7276ed013007d928fa7b76d4401b67a3d1d904a39519da67c466967ecd657aa2465175f4214d79a3e2ecd063df9bc19e72300 SHA512 46737c9425cad5c99bebb4f233a049e0f08d0539cc1a9eb3afdca285d081f778e6effbdaf012d0f0a58b92a64e14e33bb5b463ba4ec6e9ef45a8bd825b616e87 +EBUILD vanilla-kernel-5.10.173.ebuild 3776 BLAKE2B 8123c455d8037eb8f221741523b7276ed013007d928fa7b76d4401b67a3d1d904a39519da67c466967ecd657aa2465175f4214d79a3e2ecd063df9bc19e72300 SHA512 46737c9425cad5c99bebb4f233a049e0f08d0539cc1a9eb3afdca285d081f778e6effbdaf012d0f0a58b92a64e14e33bb5b463ba4ec6e9ef45a8bd825b616e87 EBUILD vanilla-kernel-5.10.9999.ebuild 3295 BLAKE2B 191d46975c539cc082db84ee88fd5a19cbd62fb1062c811e8250baa1175192d0cd1786f6a051cc6f27b41f5e9d5f5348a6ad913f427ca4e13438f408bd7ce1dd SHA512 6a60dc8f452c732628848ba37149e647e3106789b14cce9fa177287dc535c9ebd3a30020d181d9979fc43baa1dc035a1747fd0a3719b11f655ed90f6e5538d2a +EBUILD vanilla-kernel-5.15.100.ebuild 3776 BLAKE2B c24a30442a8b2fa704c58bf31061467f8f077ace3721ebae232fd81639e95def5bd06c950f73b5823f9d2667cef4f31f24ccf8d308d1b1b480ba4af7a794179c SHA512 aebfea3cc05d1af79fdb155328d54c5d9beaa86259c543b3b24f4b11115cf7c9b6e433aede426925eee67cd84524eafb223c3e75e32380b22cb630e750475054 EBUILD vanilla-kernel-5.15.94.ebuild 3776 BLAKE2B a28c4ca056951cecc4d1486afdeacb96902cbb8e44dbf07413621aa05aab76071296b3a80b0133a45c8958878b9fc1c10f557cdbe9e1eb2b235cce238b6237ab SHA512 81f0883a003a767ff273db20b379f00ca1b979af7749a6d4aa3cdf1fd926be5f1991fc8ce2f3e3e88d1c409dc4e61f802f3ffc61937c94089c07bec494bc6e7a EBUILD vanilla-kernel-5.15.95.ebuild 3776 BLAKE2B a28c4ca056951cecc4d1486afdeacb96902cbb8e44dbf07413621aa05aab76071296b3a80b0133a45c8958878b9fc1c10f557cdbe9e1eb2b235cce238b6237ab SHA512 81f0883a003a767ff273db20b379f00ca1b979af7749a6d4aa3cdf1fd926be5f1991fc8ce2f3e3e88d1c409dc4e61f802f3ffc61937c94089c07bec494bc6e7a EBUILD vanilla-kernel-5.15.96.ebuild 3776 BLAKE2B a28c4ca056951cecc4d1486afdeacb96902cbb8e44dbf07413621aa05aab76071296b3a80b0133a45c8958878b9fc1c10f557cdbe9e1eb2b235cce238b6237ab SHA512 81f0883a003a767ff273db20b379f00ca1b979af7749a6d4aa3cdf1fd926be5f1991fc8ce2f3e3e88d1c409dc4e61f802f3ffc61937c94089c07bec494bc6e7a @@ -90,7 +100,9 @@ EBUILD vanilla-kernel-6.1.13.ebuild 3894 BLAKE2B 33a0975c3412120cc5cef7d64e4c89e EBUILD vanilla-kernel-6.1.14.ebuild 3894 BLAKE2B 33a0975c3412120cc5cef7d64e4c89e261676ea8b932f051cfae2b62c0c7e960b0c820a9af00e3ac8978630f103c88b2548a9dbfa9b8777b98fed45b5d993fb9 SHA512 abe01b978e9f4b6260856e13076367e2115845f13d017f8e85377dc6f3523561ab26824e785c7954bc71afd26a5577264c1e3d75e58cf3ff086252a5a9cb55f2 EBUILD vanilla-kernel-6.1.15.ebuild 3894 BLAKE2B 33a0975c3412120cc5cef7d64e4c89e261676ea8b932f051cfae2b62c0c7e960b0c820a9af00e3ac8978630f103c88b2548a9dbfa9b8777b98fed45b5d993fb9 SHA512 abe01b978e9f4b6260856e13076367e2115845f13d017f8e85377dc6f3523561ab26824e785c7954bc71afd26a5577264c1e3d75e58cf3ff086252a5a9cb55f2 EBUILD vanilla-kernel-6.1.16.ebuild 3894 BLAKE2B ceb59b4d1f283b856477226d074a57d4f46201306ccbe33e6036445ad008a095bc72ef572fd31f1a26c63008e10f80ed10eae149526cf2eb7e16b1fa045022a1 SHA512 55818f504b9f43b0b866cebfc38a33951bbbc602dcf5cc938204a94b7e5854ef7c78217d644105c36bfc56a845a0bb5235bf55edbf80d9a467865847011c6132 +EBUILD vanilla-kernel-6.1.18.ebuild 3894 BLAKE2B ceb59b4d1f283b856477226d074a57d4f46201306ccbe33e6036445ad008a095bc72ef572fd31f1a26c63008e10f80ed10eae149526cf2eb7e16b1fa045022a1 SHA512 55818f504b9f43b0b866cebfc38a33951bbbc602dcf5cc938204a94b7e5854ef7c78217d644105c36bfc56a845a0bb5235bf55edbf80d9a467865847011c6132 EBUILD vanilla-kernel-6.2.1.ebuild 3894 BLAKE2B 255c844fd54ae440e02ee41e09a1c7932bbf94039d733aea21cc6ce013a81448fbabdc12b842dc149109fa3a56d340f04fb3889140e48ad5df4b61ad923ce763 SHA512 04af9a4f274095bcfe414ade9c7836ec2d20acbe520b99643012eaa1960739b6b51d85cb0cd1226d12164cd3d5f944ff3f7ca1d606df8cc0768de4e1bb394cfa EBUILD vanilla-kernel-6.2.2.ebuild 3894 BLAKE2B 255c844fd54ae440e02ee41e09a1c7932bbf94039d733aea21cc6ce013a81448fbabdc12b842dc149109fa3a56d340f04fb3889140e48ad5df4b61ad923ce763 SHA512 04af9a4f274095bcfe414ade9c7836ec2d20acbe520b99643012eaa1960739b6b51d85cb0cd1226d12164cd3d5f944ff3f7ca1d606df8cc0768de4e1bb394cfa EBUILD vanilla-kernel-6.2.3.ebuild 3894 BLAKE2B 255c844fd54ae440e02ee41e09a1c7932bbf94039d733aea21cc6ce013a81448fbabdc12b842dc149109fa3a56d340f04fb3889140e48ad5df4b61ad923ce763 SHA512 04af9a4f274095bcfe414ade9c7836ec2d20acbe520b99643012eaa1960739b6b51d85cb0cd1226d12164cd3d5f944ff3f7ca1d606df8cc0768de4e1bb394cfa +EBUILD vanilla-kernel-6.2.5.ebuild 3894 BLAKE2B 255c844fd54ae440e02ee41e09a1c7932bbf94039d733aea21cc6ce013a81448fbabdc12b842dc149109fa3a56d340f04fb3889140e48ad5df4b61ad923ce763 SHA512 04af9a4f274095bcfe414ade9c7836ec2d20acbe520b99643012eaa1960739b6b51d85cb0cd1226d12164cd3d5f944ff3f7ca1d606df8cc0768de4e1bb394cfa MISC metadata.xml 353 BLAKE2B cd022bd01b289ae703ae6ef6c2539fcfce833206c55e328ba02fc42b360d60f76b1920927b259dbb199724e6d3e7b0f68ba2044680d962d3cd03a973475582ff SHA512 10b10fd24801843108a71ca7d0c27514965b0a15a60da4d9b521fc41493448a1b1685ae3278dbd46cede0d069e51dede402d2c1448c8ae6a7fcfce8acf415bf3 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.173.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.173.ebuild new file mode 100644 index 000000000000..3d406f474e2f --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.173.ebuild @@ -0,0 +1,137 @@ +# Copyright 2020-2023 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=g7 + +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=${BROOT}/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.100.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.100.ebuild new file mode 100644 index 000000000000..f68caf0fd433 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.100.ebuild @@ -0,0 +1,137 @@ +# Copyright 2020-2023 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=g7 + +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=${BROOT}/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.18.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.18.ebuild new file mode 100644 index 000000000000..e3a0c5f7f691 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.18.ebuild @@ -0,0 +1,137 @@ +# Copyright 2020-2023 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=g7 + +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=${BROOT}/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.2.5.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.2.5.ebuild new file mode 100644 index 000000000000..750a7d7f1f80 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.2.5.ebuild @@ -0,0 +1,137 @@ +# Copyright 2020-2023 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.2.0-gentoo +GENTOO_CONFIG_VER=g7 + +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=${BROOT}/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[@]}" +} |