diff options
Diffstat (limited to 'sys-kernel')
16 files changed, 1593 insertions, 0 deletions
diff --git a/sys-kernel/Manifest.gz b/sys-kernel/Manifest.gz Binary files differindex cc3c2026b484..7362461ef49f 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 c40578a1f2fd..9a3d271fcaaa 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -2,12 +2,20 @@ DIST genpatches-5.10-176.base.tar.xz 4910744 BLAKE2B 119dfaaa5a2212f088f767e3600 DIST genpatches-5.10-176.extras.tar.xz 3868 BLAKE2B a0a3808562dba6540d632b25e3a417f9a2514dddb13cda9692002b253a4d033bb58ffa4d606fd57764024f21a0907a94d93c2130deb9bbe92a60f310179e761c SHA512 847fd0c0ce8bf3aaee9c6aacb527d8590439f44f5e1e19ffda883b5ea7d8bbc502cbe5e126fc181eaad9dfbced8ca664e459b70085bdc6d51e7f001bf4901f2a DIST genpatches-5.10-177.base.tar.xz 4940872 BLAKE2B b2a81aebd81bff1144ecb1732345cdef2a91abc5bff2aade07770cf11cbb5475c58ce2e4c2dc00a5b292948cbe9316d4812dcb534da90bf9361f18136bd67194 SHA512 b6c25015719ad70a3322d65a5f796ff075a38db7225d90b5bd18af22348e46adb547a374c0ab8fb6790f30d211570dc6742aa7abf0b24987fa4e6fc49b2a7c3d DIST genpatches-5.10-177.extras.tar.xz 3868 BLAKE2B bffc5ec0895066aa1e497ebf412a298f1dedd4ac86758f72c364fc7e56508aee3928725646742a66bb3979b8ed33afa7539e3ffa9c0f350c0f81139f69671287 SHA512 2c0b9273c933764c5c2fcbf6176b3fea06777aca18d823055cd69740519e1a37027a058238a0a9c15b39f1b29417fbdfd771fb7247663097fa717889b5492641 +DIST genpatches-5.10-178.base.tar.xz 4951584 BLAKE2B 179abbcf89b3ddf39dd4df8656851cc180409aee9684505b47fcb950709d182a370db484a650f70a48dc51a2841b98244e3a98a06dcd5dedc8c6a976aa3e6939 SHA512 c6f6f60ce523e83be2f7ebdb216ef78ed9e27d5eb71e2e0709c2e346a3826624fa9aae1aef4d162e391783032cd7d06ee9761c7c42546de4c1e65b618fb3ff5b +DIST genpatches-5.10-178.extras.tar.xz 3868 BLAKE2B cb6e6ac11355b5a8ae19a464494a7e418edf5d475b793114a0f23f3e4b173dd906f13df77474a9223a0cd3359c2647a736939fd2f98744a1edc42c870ee14b59 SHA512 24665f3effa01f08f4cff8e84ada35a019b09d4173e29f1413674635b14b25d78cf2177fe3f99ad6bfb657c56970b010a3cb21e3defc3b03aecb9efe3218eb96 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 +DIST genpatches-5.15-99.extras.tar.xz 3932 BLAKE2B a78ae77735742abfdb7a622563ea1751b7da91516c6373f65a983e1e42bbe15915600528045ed6f9b413cc424506021367216abdfa0fbf5234ace650c55febbe SHA512 21671c1a8b7b3cd3a0e36a05b934c9b80c4aaef90ae8ff200572651f0559e23b7418a9df7b5a59118513cff566a2baf72c3fe4c273a38b4cefd64efd0973441c DIST genpatches-5.4-236.base.tar.xz 5467512 BLAKE2B 5c2ec5abee963eda0373e04d4f0da94d7e49b7a1fdc05f7a2f7cafba61771124503f1294289f79629afb62075855c176887f525a95a73bef4247b57915dd4877 SHA512 0a3ba2742ab21407ccc9060f37d528cdbe64dade85927aa1908613221973f14765a78ef6a71e157a71defcf1ee9158ffa1c2e7c082f508fc1140792e2311a073 DIST genpatches-5.4-236.extras.tar.xz 1812 BLAKE2B acc781fb099315e4716cdddc4a7f7ec88bcfae2228fd63c6f8bc99b3f562baf75339129f6d8e5970f5a812f6523fbe316992e1bb1606d6e06e5ca769ea1b5535 SHA512 5d772754922bf7eb2e21eac8fd597ba8c6211565a4d96a7bda6df68e089654b908bc09cd884c6e570836814ee75c84252d26228a20d138577e7717c498edad86 +DIST genpatches-5.4-237.base.tar.xz 5514132 BLAKE2B 90509a99ec10e042915362652369c82b562130e47c932c6209cb276aa3bdc20c66b07a128cf0c52872e64423813bb3f6e5aeb1f16d4b911835fb8b720eaeb0d8 SHA512 76294e5137c9b2610e15a79820fcbfa20e4f7449a2f06beaa3f7b88564a3d51f6bb7655a65313aaa636ff4c1cb470a220c8a2261181ba8aa0c4edae16c2a81ec +DIST genpatches-5.4-237.extras.tar.xz 1812 BLAKE2B 5a4e6b9593a9e9f87afd5f06f03fcdec5fb6072c6689f392821a9778e84634da193c8085ee37348adcd7059ab05ec056e9d7dc9fa27ec98c118ba18878baeeb1 SHA512 21f552b05deabff804c841247fa037e71cca35892f8d212cd5c2c0dcf8a43e455a7d4934f59e4182513dc2257a34f5a976823cf6c0f87a5bf3449365ad353769 DIST genpatches-6.1-14.base.tar.xz 774040 BLAKE2B 8e0866c762e2711b766cc75630d66c7c46221bdc47357a903c7e8506ad122b7b5ba84d102b19743d236ac5579b44d24f77b9f52f3c23695ab6a279cf7875e735 SHA512 6a753146013baf0b94d83abd690118517679d4d7dcf6e9f86cf8de35e24f80a792e9c0692f237098671c316d046d6f65f8d3512255e572daf6a8ca81853beca0 DIST genpatches-6.1-14.extras.tar.xz 3804 BLAKE2B 7f016579b130c9a4f7a8ec946254dbd682f22e5654ae777d11b265dafe2b177a4c40c5a979a760a5bd6ed3dac057b90a3120c60b958f6b748ea4731b9a5f1ea6 SHA512 2807d359459dd11b9d3356fcac609dbfb8487e8c924cc543ef37698667b1c8b74cff7b015839ca0677cf1f96b566e0b5018c057b517275886ab500cd2ca49653 +DIST genpatches-6.1-15.base.tar.xz 803732 BLAKE2B 5f43fb07787e9e861b54b4977acff47c13870b24cba98296538651c656e332be2bd194b91a67d68858bb7ddf116e0e97179c5c039c64b75f4392829d091ee387 SHA512 482cb110c5d218a0b0dd4dd828862d9cfb5044b5c90f75218dd7bbf266dba1a11af11ecd913029904d6de1d572d2cbb247b5bbf1c4bb5711eb9fb03b327aaa81 +DIST genpatches-6.1-15.extras.tar.xz 3808 BLAKE2B 8d7a78f6a1e8e6bbacace9cc067b1edd674611f7ba32ced894557cc48018ce708411828dcbbd71f8678f22ebf64c8913fe8c641d29bd46d7146198ebd1240f11 SHA512 0d53e3c9740cfe65b6168c624bcc99cbd16d3e196b50190be8aeeb8bf78d205dbed964e01b151a2ad03c2ad10bb4b74f84deeb4d42db4392fe52c337540e0dc6 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 @@ -16,25 +24,45 @@ DIST gentoo-kernel-5.10.168-1.amd64.gpkg.tar 66314240 BLAKE2B 17cd291cb4bff82c4b DIST gentoo-kernel-5.10.168-1.arm64.gpkg.tar 59351040 BLAKE2B fab2fc6aa2b3d03adcc1a8a91b2cc477310360bc494fd6125a544033c0b387ef22f71fdc9c2a40f9cd8fa922bcb57b210d868496a2a396352ad104bd3b37ba5d SHA512 7679427a17a9e7f3a5453f41752c5bb60f3312c8363bd3490cf85edd3c3fb8719327fd542474979655f3b5dd63db3d9cdd337cf2d1e8a7771ab8ab956f272d99 DIST gentoo-kernel-5.10.168-1.ppc64le.gpkg.tar 54927360 BLAKE2B daf08f4a7de35b30b94875a0e7c1d3a0003a0e8d0d952a6a5f5ab2915fd5121f6db7f8e787c8599a78b5b6b21d7b2201d2202a2b4534a3c2c20bf502384e6528 SHA512 b6da41e17bdb1043b462102a808ae164de4090339d36a6f0a18db6bfa91880e08b568109464aa7789fde4a2a0caeca3e225ad986bf8417b9ef341529eba4ade6 DIST gentoo-kernel-5.10.168-1.x86.gpkg.tar 56442880 BLAKE2B 3f18046b4ae785d4ff09d8cb0f4a69ebd531e6900491cbb35858436684d21331b7ba8b93f1f4885bec5b71958601022b8bfbdbb393f251d4435665e3ff8fc6e9 SHA512 050bcbf0f021bebfba82563eeac279a22ee254108141e87ae1be9ad9a7cb2254181a5273d7514abe908c0df61c32e561e565aeeb4476a923be517674d1c5a4c7 +DIST gentoo-kernel-5.10.169-1.amd64.gpkg.tar 66324480 BLAKE2B 88507301c2e3dbfd90e02f1a5cda01101d67ae1bf71a3fdfdaddfa74cbc3287362fb53f47a23f2ed0b6aebd652f785f2d00b0b852982d32e424cb41855415064 SHA512 91b0a00468d275e5946808bf406fce05e444463e7e56514b8380bfa1280bd0eec7b1818e193a2697211cbc552c972938cb0c737a021c72c148abc36652a8a654 +DIST gentoo-kernel-5.10.169-1.arm64.gpkg.tar 59340800 BLAKE2B af1c436c221ceec89594341bd54ff0a091a28cf177ff029f39d839a8e4a39ba76decd0bb433624632334d6e7f35690558872320058144e5e91bc5c10ef19f52e SHA512 f3b24d9815514451a2a2c60c50b6b60d973b6a8fe6e1ab81fadb987f3083706b0c7d319b101ae183417bf34936baa2d18bf092e22ad1365385f627216301b565 +DIST gentoo-kernel-5.10.169-1.ppc64le.gpkg.tar 54917120 BLAKE2B c254c4f46b528a2a8b240b9e7e2d4b0fd704fee2b9c41b8d1fd4be2d1f4586de13438e4553ccb19a1c3f618c5f9c084a0328ca77bce58f6904e3faad5a14675e SHA512 cb4baa0ad227721984f0f350902cbd6f7e8b51a55ccbf246cd6d696fa8c02046c1e3429f6171fec16e311c5319aa8827ff3568aea45af4e19e13826952e178c4 +DIST gentoo-kernel-5.10.169-1.x86.gpkg.tar 56453120 BLAKE2B 15eb8a76a65421b916ee7048cc91a11d9d9a29767b27548aec30326c05087fcc5ca0b86541ed275d4812759f5934adda141de709d11d1b34ce78a2ba894c4d44 SHA512 171f0dda89705434db9248c9fbb78f13f09d9512193a96e5fc23526a9af5f6adff1121fa88c1a0bf3c409679dea0180ef76e5de51f9fcf6b4ec6e6a617aa3ea7 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 DIST gentoo-kernel-5.15.94-1.x86.gpkg.tar 59156480 BLAKE2B e1ea6c9036bf9b598ba547496d5aeec67be2e00545412b1b86c24d9d732f44e93fa714731c9d294f1465bbff0188d9b69ce44c11762decdc9085d21f03efae5a SHA512 07ead3f76b60623506b3332a0faa13b35286e7b62a1ab5b448512094cfc6ba10ee1313a7b037e2e404be69ef7376196607ffa08f45621b8e858addf2b6aa2bfe +DIST gentoo-kernel-5.15.95-1.amd64.gpkg.tar 69580800 BLAKE2B 36fa5fdaaa3bd2d0b53b1844ccad26bd325a328737cb6e95f9b5865aa1c5c10c25fafed5f427c734f69f42aecf9dec20ee650ab34861ff93f84b6fdb3311856c SHA512 d07b968198bf97220b54ce7124aa568721ce48bad4d0f1df2857e5b52ef00e8f9c4980343ab05ba82288da25bca9d6a37a741a00386c981b43a483d76c9347de +DIST gentoo-kernel-5.15.95-1.arm64.gpkg.tar 62556160 BLAKE2B 5f40662aa6b6b8b422d3627618a9a98f35ac384f2629b509b50a9c7220d0a69271997ca8c749bf27cb5c1df1371ccfa8a6d91e9987dccb269610b71060d469da SHA512 faa63ba43754b7b0726ca351379d6780a0b6e216009d0fd25fcba04f334dfca0b2be40cc123679b48cd85b88314622c76a33481c8f3d77871ca36745e3064456 +DIST gentoo-kernel-5.15.95-1.ppc64le.gpkg.tar 57088000 BLAKE2B 8e3cd68a4b32941e7d42fbfa2ed68720df8806d66acb66d0933766890123844f33a5b0805b75086f27063630464713db8a114a767c2dd5cd6a84bfa09da93cbf SHA512 b4e7895f5f5ef25ade5c016ef202fe4ce30dc8d89ed462d1c37523a184b6a532d183065233dd3c1fe9b27a85b823a1299c6971a34f43e3b5e0afc3f2c0a3b532 +DIST gentoo-kernel-5.15.95-1.x86.gpkg.tar 59156480 BLAKE2B b7ceaa3035b34b6b4b795002a88e1d4ceb61927386d4b42a5b1ed696c8261d558b2fcdb01192a6c476ea4814d842aa7fe3197ebe7f75b419c8288e0f5573d1e9 SHA512 0a629bc8fd3925ecef498b50159f1fdeb603a5d7ef26c82351d72cd72ef5e724cbd0c70ff5773eb3b5fb9b563e39688f06793ae9bce9ca48f901f5cf65818aea DIST gentoo-kernel-5.4.231-1.amd64.gpkg.tar 60497920 BLAKE2B f04ff277248f94e20395d885af5487633dec1217d806110a7476ffec71bb8650d4c7911671ef71b48abac9cbe45efbd4ccba2fa023631ffcf500b03f2b584d3e SHA512 d442f59916f41cbe4a59f20db9ed183887566f4d060fd374660fdf2703d0ae1772942721a78407f3363b3017721041be449ce20cd1849b99a5f3258b37b65abd DIST gentoo-kernel-5.4.231-1.arm64.gpkg.tar 56514560 BLAKE2B dfdb0f036162843b839f37e28d2276fa073c8ce1c56a8016ff816410933217f46118da0c94c73ff2d917b696034a8d3f6b3188ff597425fa0c0af0b152abb5b5 SHA512 7b8efae1e45028332ecd0e3229492a4a577e352bee3b91a1ba6d356183d12e7c98c4293ec432d48fd23a24a3d558f0d543406143d9c9e4eafba0065a446fbca7 DIST gentoo-kernel-5.4.231-1.ppc64le.gpkg.tar 54200320 BLAKE2B f987fcfb24e2b75de94f831673c6128b7c943b5be328fff880de5d2a862445dc6f36fce8e6fbfdd8f9be98acd97d3c9640b5979114f49069b0333a19e0950af8 SHA512 7b1b9cd22583802c0c9531d1e36a34634e8a0b17b2b23394e54e7c1b38d3019934bddd281e9bda8f5c97320e46dc2893c002b1259c47f7f6b1e67852ea43ccd0 DIST gentoo-kernel-5.4.231-1.x86.gpkg.tar 52408320 BLAKE2B 5d1fe8ed14f155c27d21595ed037ab3afd70fc7b42329ee235210c9f91ac9ab644b57276700b73053b952007a7ea647a82483b05843de05b426f8244066a4331 SHA512 1342b96ad37c224158faad7843b03b83cfff2b54bb77842309ff1ede6a0473a6b951c0b8f830e81ae41ae3867011c52efb6b999dc46606e6b298e8a98be72764 +DIST gentoo-kernel-5.4.232-1.amd64.gpkg.tar 60508160 BLAKE2B 6571ee0f21c8634e127f0f41e35c9df53afdb651e1e99682a3be2577c50eaa94a6d6fd43393a6737352bc62e9e167ec7688c2f65cf240d142061ec91bd849365 SHA512 10be491bae0f55706506a4e200377bda270466e95f11a5c05e087ab17a640d84afa9b8ee7db2a60d3a140cd1dc57bc0162014d7f74fbbc72e5d85dacd7c72a93 +DIST gentoo-kernel-5.4.232-1.arm64.gpkg.tar 56514560 BLAKE2B d44cdcd399e21995713df549ea3bf6e2f64b066b7022120dd142304816e6412a6481d33dc9f4292a549d5b266669a45312b199a653dfab94c9493fef6c7360cd SHA512 4a6875b720322f5200dcfb7b9703bfe12e3237cb4ee573a4c2d7f8aa9070bc89a644f5ad4570946326f0267a84625c14dbb9bec0388004efe3006ea0707aa45a +DIST gentoo-kernel-5.4.232-1.ppc64le.gpkg.tar 54210560 BLAKE2B b8d39126123cf38282d4a6c80f9a4df40edcc1f1a068ddd6c858178374999c833998fddeb74eadefb02ac19cdbd01cc094177ae1a6ef85769afbfc211fda90fc SHA512 b111f3cc958b0caf0bf6ec463c0548858ec0548825488ff85be4eba0aca8672998579d89facc71f42b93a1bb4f4ae91675ea2c47724d8ad7316c851a67721f5c +DIST gentoo-kernel-5.4.232-1.x86.gpkg.tar 52408320 BLAKE2B 075d5ddbdda4042cf2a87a5fefb86a468470bfcd6ba847a66c195e08a878f66ae0199cbb831cd284f953c11e1d8a9c7b0366fcaa98b5aeddbabd45b9baf0e60e SHA512 16f05220327f99bfa865b10febd59791a37a6855b44027c80e1cd4a82946eb8fe3cf4a4e2d99266ecd94af9ab92704ea280bac074233a93b839868621a3d2d20 DIST gentoo-kernel-6.1.12-1.amd64.gpkg.tar 76759040 BLAKE2B 2f2e485ff705b26fa3b1db861acafbdac6362151e30dc73cb2829fbf871cc022641cc15cab82e0d19a25c720f84b6382b74c02d34f658a0cde90a267160f3af2 SHA512 d67fd7cf59df2e648bfdc7543995d7f46160d708a2fdd172002fc94d81d4b1bf1b1870754a6d5223a3728484170bbc6f5650c845dad27aab45da8f9f9eeb9232 DIST gentoo-kernel-6.1.12-1.arm64.gpkg.tar 69447680 BLAKE2B 83f5eea4ca23eb6e79fad8fd746759982fa1d7e6cbd4cd63d43901aef9be3e7eeb64864f6538bdea6efe2486d13a37042a5533825f924a2af393fe0f66db7a72 SHA512 500abfa834826bc3ea7bc97c1b8991e68e72edb8c69ddb316621ff3029bb7962d8c8cb34e73f71ebed2f9db4600b5bf03f925953f67ecc6b46e9db5f35c265fe DIST gentoo-kernel-6.1.12-1.ppc64le.gpkg.tar 62781440 BLAKE2B 5a29a7f274f8b3122209603fc1b05ec7940dfaa0bf9dbcf658897b99203eb091d74f8df8dc9a7fec4b2bb913695c7d78650d062d4b58ade48598f2cbfbd6ff58 SHA512 edef917a088aef0b6ec572f678febfcb448c64f70de39697e01be50855e81fc9f3638d432c98ff75bb8963ecc25bf783ad9ce7752cf4705f875415feacda9974 DIST gentoo-kernel-6.1.12-1.x86.gpkg.tar 65955840 BLAKE2B 061d0cae36f76cef92528688e77bee50a85893411a5db8633e4d3396a5514917b31de6c2554ea0b8d3bd3ebba5b24b319cbc348d1ccda450980456f56cb50204 SHA512 6716527e2dc8807867e55aaaef7209690775e6cdb8315f75e704eba68d5b5f1aa6c173c37eae5096f61f70da907c5b7fb7ccc56850fd5b0be9cfa42af87666aa +DIST gentoo-kernel-6.1.13-1.amd64.gpkg.tar 76584960 BLAKE2B cc15501c1e87083021fdbb3a821d75c4c41c3bef5c81f22fd1b89867cc37ec41c5ea09b6a7947c8e9aa1622580a84e05fc307198310ecdeca2922e4312daa265 SHA512 9913d0d66d3e9323faff9389fdab79649c120017600e3d175d686d68d686b350d7ef6da24e93ed029056c7d6c39825b0e1e8bb0bc77efd67e71f2fcd43d8d6b7 +DIST gentoo-kernel-6.1.13-1.arm64.gpkg.tar 69314560 BLAKE2B f59bea23a1a7883363ad161d5ffd4b5dad19a6bd8279a13de773c1296662f242cd7f4a7b61b6dbf14c818c645a957ae303c1f441586d7ea0e529a31af3474a94 SHA512 132ea1177c988d6342148f35458c899e813584ff1ceed7f0a11d7ca3eff6b6b26c0f4a752820f93cfb58ef7dcd5eb23ceb0968a72685a549d6f73ff79672809c +DIST gentoo-kernel-6.1.13-1.ppc64le.gpkg.tar 62658560 BLAKE2B 3601b54aa5f31429dd65bd30a0e716a6292768098f8eb3e168090bbe82d9093494b767aa1a797b5f0d86f2fea55fe9bd62a5460da11fd692ef3b5fc1037ac28d SHA512 4f3f15d000d26997dbc5b4395706b15c99e74b80bfbe5bc01821f547ef6ef3c07c90166e9f4b3b6b964e765d0ee5badaca58bb4c6fd368a824a330828c198d2f +DIST gentoo-kernel-6.1.13-1.x86.gpkg.tar 65822720 BLAKE2B 1101eb614a3eb20632a08b106003ce30afa19624432fea9fef2eebb9064b6900b266163d427d13d1681ee8ab58b4201f90db2c8763d941dfab33b0a83a65b2d1 SHA512 bb832f1ea1f90e1efcbd99c159ea8aae98ed4237944807b9a7ffc38d0ef52d9196f6c43fa13494ccdfda3650cd551d87a039f997f3b6cbf6608c383f00827e0a 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 DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68 EBUILD gentoo-kernel-bin-5.10.167.ebuild 3024 BLAKE2B 5c9a656c167dbe2af9c96a69319075b0583d84c9b552b5be2d67de160375a3fc7abfaf75b71e893a01b7b403b7501d5f128aa63392582156af5ff4cb70643c5a SHA512 e400bea4b00533a52321fb68dc8960238c48dee0a60041cee59c6ddb03b12b45808f2cab06360b4bd2113bf83db9642145db315424b7192b0caf136fdab24eca EBUILD gentoo-kernel-bin-5.10.168.ebuild 3028 BLAKE2B f09e5f0570fd0166abc54b10b93433d1068d4f3a4713cfb6857697532f30b6e2a1df8d4afd66eaa665f4bd2023205334900392f020c62b0574c87a119479bc1a SHA512 e6a6510263e9cf194b9336e26cade4b76f190e1765b7000be003203f4e23fd2b2d64b645e37c0c69a35ba93c3a2e9c5e6f6b9d14eedc1b506b3b68debcf95911 +EBUILD gentoo-kernel-bin-5.10.169.ebuild 3026 BLAKE2B 6c177f2c23f69572f5624d77f8b5270c7acc98313a384ef44db2ab40dc279873908a69909d500d947d14ef0aa80307ff2026c4601a0f52aa946f1f728d979060 SHA512 4042a43b0f241cac838f42c679f7703d7376474eadd036edd75b6e88b381a3a8d40df3a0610c5720ca2929f55a781257a54be8016ee50fe958801f10828c1629 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.4.231.ebuild 3024 BLAKE2B 999b56ddd10be1eaa056b5512c6fe05f17a9e8f6aa73e9d21d4c4e83e5544d3b410fce745805b970ca6f5e5d3f437f7b259360626d0d45990f3132cd142b7a08 SHA512 c76e3fb597b62966b6758f73b85328bb7433ebc53621efd5545c9befc2fa8623e11286c09dd21e7aa551d1106ee5eede2a55f2c33fa264637c84b7fa9a9c64db +EBUILD gentoo-kernel-bin-5.4.232.ebuild 3026 BLAKE2B 407141e9103388484d6eb67132a60e4d28789b898fdb3954f56be03a17fa8c75d2efa7d5a3c52d1b3df86d8c8bda51508afff28642bed7bf74c4f644eba8266e SHA512 33f33be2cbc7c618aba9c008eb63d47a0f1fa422f996b78bd4193f0b7622317391de38cc4464d4549080520cf4df0d206ba08b036d5f2be1781f652596b80993 EBUILD gentoo-kernel-bin-6.1.12.ebuild 3024 BLAKE2B 48491989af83df66e5c0eb06e54948863f8f7259d31645b21a8455cc360eb139741d39e4776f6e6de79c14935937c651b4c6501de283166fb2a096575e9bca69 SHA512 bfbc21a42bc824f80d405285348c66d8241ad960c5ca70e10037dc16e71b4edef480769d9245a0d04fd40f56231293d81b9479114d41db395cde4a94dab8f070 +EBUILD gentoo-kernel-bin-6.1.13.ebuild 3026 BLAKE2B ccdc93b658f86586a658b0d74e948109e2d43b09e7af261eabb0ffb49111becb2ced35741408acfb42f4e5c89018c3e666705893592402bb87c9b23bf52e5d42 SHA512 126e399c4fe32e1439bb59a87afc89b559419cfc4878bb1e5be1678f251234d406262c7ba54e28b1f4ab56cb70384dcbe209c50bc5a10b5a5ecdb79f98342fb8 MISC metadata.xml 353 BLAKE2B cd022bd01b289ae703ae6ef6c2539fcfce833206c55e328ba02fc42b360d60f76b1920927b259dbb199724e6d3e7b0f68ba2044680d962d3cd03a973475582ff SHA512 10b10fd24801843108a71ca7d0c27514965b0a15a60da4d9b521fc41493448a1b1685ae3278dbd46cede0d069e51dede402d2c1448c8ae6a7fcfce8acf415bf3 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.169.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.169.ebuild new file mode 100644 index 000000000000..140d99c64a55 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.10.169.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/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~alicef/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.95.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.95.ebuild new file mode 100644 index 000000000000..d46d51864fd9 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.95.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/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~alicef/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.4.232.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.232.ebuild new file mode 100644 index 000000000000..b8ae60a3f786 --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.4.232.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/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~alicef/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.13.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.13.ebuild new file mode 100644 index 000000000000..b4281d75894e --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.13.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/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~alicef/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 5e0791aaf67c..b5630608f515 100644 --- a/sys-kernel/gentoo-kernel/Manifest +++ b/sys-kernel/gentoo-kernel/Manifest @@ -2,12 +2,20 @@ DIST genpatches-5.10-176.base.tar.xz 4910744 BLAKE2B 119dfaaa5a2212f088f767e3600 DIST genpatches-5.10-176.extras.tar.xz 3868 BLAKE2B a0a3808562dba6540d632b25e3a417f9a2514dddb13cda9692002b253a4d033bb58ffa4d606fd57764024f21a0907a94d93c2130deb9bbe92a60f310179e761c SHA512 847fd0c0ce8bf3aaee9c6aacb527d8590439f44f5e1e19ffda883b5ea7d8bbc502cbe5e126fc181eaad9dfbced8ca664e459b70085bdc6d51e7f001bf4901f2a DIST genpatches-5.10-177.base.tar.xz 4940872 BLAKE2B b2a81aebd81bff1144ecb1732345cdef2a91abc5bff2aade07770cf11cbb5475c58ce2e4c2dc00a5b292948cbe9316d4812dcb534da90bf9361f18136bd67194 SHA512 b6c25015719ad70a3322d65a5f796ff075a38db7225d90b5bd18af22348e46adb547a374c0ab8fb6790f30d211570dc6742aa7abf0b24987fa4e6fc49b2a7c3d DIST genpatches-5.10-177.extras.tar.xz 3868 BLAKE2B bffc5ec0895066aa1e497ebf412a298f1dedd4ac86758f72c364fc7e56508aee3928725646742a66bb3979b8ed33afa7539e3ffa9c0f350c0f81139f69671287 SHA512 2c0b9273c933764c5c2fcbf6176b3fea06777aca18d823055cd69740519e1a37027a058238a0a9c15b39f1b29417fbdfd771fb7247663097fa717889b5492641 +DIST genpatches-5.10-178.base.tar.xz 4951584 BLAKE2B 179abbcf89b3ddf39dd4df8656851cc180409aee9684505b47fcb950709d182a370db484a650f70a48dc51a2841b98244e3a98a06dcd5dedc8c6a976aa3e6939 SHA512 c6f6f60ce523e83be2f7ebdb216ef78ed9e27d5eb71e2e0709c2e346a3826624fa9aae1aef4d162e391783032cd7d06ee9761c7c42546de4c1e65b618fb3ff5b +DIST genpatches-5.10-178.extras.tar.xz 3868 BLAKE2B cb6e6ac11355b5a8ae19a464494a7e418edf5d475b793114a0f23f3e4b173dd906f13df77474a9223a0cd3359c2647a736939fd2f98744a1edc42c870ee14b59 SHA512 24665f3effa01f08f4cff8e84ada35a019b09d4173e29f1413674635b14b25d78cf2177fe3f99ad6bfb657c56970b010a3cb21e3defc3b03aecb9efe3218eb96 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 +DIST genpatches-5.15-99.extras.tar.xz 3932 BLAKE2B a78ae77735742abfdb7a622563ea1751b7da91516c6373f65a983e1e42bbe15915600528045ed6f9b413cc424506021367216abdfa0fbf5234ace650c55febbe SHA512 21671c1a8b7b3cd3a0e36a05b934c9b80c4aaef90ae8ff200572651f0559e23b7418a9df7b5a59118513cff566a2baf72c3fe4c273a38b4cefd64efd0973441c DIST genpatches-5.4-236.base.tar.xz 5467512 BLAKE2B 5c2ec5abee963eda0373e04d4f0da94d7e49b7a1fdc05f7a2f7cafba61771124503f1294289f79629afb62075855c176887f525a95a73bef4247b57915dd4877 SHA512 0a3ba2742ab21407ccc9060f37d528cdbe64dade85927aa1908613221973f14765a78ef6a71e157a71defcf1ee9158ffa1c2e7c082f508fc1140792e2311a073 DIST genpatches-5.4-236.extras.tar.xz 1812 BLAKE2B acc781fb099315e4716cdddc4a7f7ec88bcfae2228fd63c6f8bc99b3f562baf75339129f6d8e5970f5a812f6523fbe316992e1bb1606d6e06e5ca769ea1b5535 SHA512 5d772754922bf7eb2e21eac8fd597ba8c6211565a4d96a7bda6df68e089654b908bc09cd884c6e570836814ee75c84252d26228a20d138577e7717c498edad86 +DIST genpatches-5.4-237.base.tar.xz 5514132 BLAKE2B 90509a99ec10e042915362652369c82b562130e47c932c6209cb276aa3bdc20c66b07a128cf0c52872e64423813bb3f6e5aeb1f16d4b911835fb8b720eaeb0d8 SHA512 76294e5137c9b2610e15a79820fcbfa20e4f7449a2f06beaa3f7b88564a3d51f6bb7655a65313aaa636ff4c1cb470a220c8a2261181ba8aa0c4edae16c2a81ec +DIST genpatches-5.4-237.extras.tar.xz 1812 BLAKE2B 5a4e6b9593a9e9f87afd5f06f03fcdec5fb6072c6689f392821a9778e84634da193c8085ee37348adcd7059ab05ec056e9d7dc9fa27ec98c118ba18878baeeb1 SHA512 21f552b05deabff804c841247fa037e71cca35892f8d212cd5c2c0dcf8a43e455a7d4934f59e4182513dc2257a34f5a976823cf6c0f87a5bf3449365ad353769 DIST genpatches-6.1-14.base.tar.xz 774040 BLAKE2B 8e0866c762e2711b766cc75630d66c7c46221bdc47357a903c7e8506ad122b7b5ba84d102b19743d236ac5579b44d24f77b9f52f3c23695ab6a279cf7875e735 SHA512 6a753146013baf0b94d83abd690118517679d4d7dcf6e9f86cf8de35e24f80a792e9c0692f237098671c316d046d6f65f8d3512255e572daf6a8ca81853beca0 DIST genpatches-6.1-14.extras.tar.xz 3804 BLAKE2B 7f016579b130c9a4f7a8ec946254dbd682f22e5654ae777d11b265dafe2b177a4c40c5a979a760a5bd6ed3dac057b90a3120c60b958f6b748ea4731b9a5f1ea6 SHA512 2807d359459dd11b9d3356fcac609dbfb8487e8c924cc543ef37698667b1c8b74cff7b015839ca0677cf1f96b566e0b5018c057b517275886ab500cd2ca49653 +DIST genpatches-6.1-15.base.tar.xz 803732 BLAKE2B 5f43fb07787e9e861b54b4977acff47c13870b24cba98296538651c656e332be2bd194b91a67d68858bb7ddf116e0e97179c5c039c64b75f4392829d091ee387 SHA512 482cb110c5d218a0b0dd4dd828862d9cfb5044b5c90f75218dd7bbf266dba1a11af11ecd913029904d6de1d572d2cbb247b5bbf1c4bb5711eb9fb03b327aaa81 +DIST genpatches-6.1-15.extras.tar.xz 3808 BLAKE2B 8d7a78f6a1e8e6bbacace9cc067b1edd674611f7ba32ced894557cc48018ce708411828dcbbd71f8678f22ebf64c8913fe8c641d29bd46d7146198ebd1240f11 SHA512 0d53e3c9740cfe65b6168c624bcc99cbd16d3e196b50190be8aeeb8bf78d205dbed964e01b151a2ad03c2ad10bb4b74f84deeb4d42db4392fe52c337540e0dc6 DIST gentoo-kernel-config-g6.tar.gz 4562 BLAKE2B ad9e1b28f84916f12cd8b21feb2f4396d3d63f4cfae3e6b6fe93f919c98b0b4523b205711ab7acafa7121360f696eecb63b9f162dd12950e56dab1429cc13633 SHA512 d180122eb00d40126ea7d79224559904eb0ea574314f9a8d6be6b10f0f6a49f526eba1366ae8cd0a4fe23cd8ff5e292c8cab7e856a2c915d4162b75a03f8076b DIST kernel-aarch64-fedora.config.5.10.12 223184 BLAKE2B a0246dac2f7a4ad6a55b611538d24382ac87a8960077811a859c9595ac67f961b4bccb7e139a89abc7c0e26e80832da5c94211fc658082f2e7dde984f14dd29d SHA512 7d803b347b136331db1ad6e22e0445fe0224c3e26cd7c034cbe9794915d457b492e05f77664865079874ec001351553652646e2e08d0fee31e30b841b0008f52 DIST kernel-aarch64-fedora.config.5.15.19 242615 BLAKE2B 94e59440681535e38137b71814e1ae53f57a347f62cf31e0c1c8571ae43d9ae9be9957743c8cbc9ec74850c964eaabefe6799a28bc311ea7b99ee31391b47fb1 SHA512 fb77d3b73a215f97d70cd6d8c96ed20e497786b99ed7d7a7f2ed60cc1251289c1a4c7e058c41b5efac62e4a9b4b3d917dbdb11585955bba2b6584981430f4ddb @@ -31,7 +39,11 @@ DIST linux-5.4.tar.xz 109441440 BLAKE2B 193bc4a3147e147d5529956164ec4912fad5d5c6 DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68 EBUILD gentoo-kernel-5.10.167.ebuild 3659 BLAKE2B 06714ef1d3cd89626dc1f446ef14e79a94af94d53809a2ca62d3c549b39bae511576b7d682acbb3dd8ba3f34aad0a10a8c78fd98a80b851544c751f24b263550 SHA512 e87a9058c42858b22fdfb4f942b153cb9d67b471a301f18ff9face5baea447233265ac51348fe2a60e445ba557c6f4a2268806c5bf2e9013a6d6b9ac7202aef3 EBUILD gentoo-kernel-5.10.168.ebuild 3663 BLAKE2B a96f9278e03d012a15254fe025dc633983600e2c48cf64d58d4778e9981de76c358a9e6ac75d457106da82a888d9c64c5f9d2927d31e6c90541651f6a1494898 SHA512 0f1880b9488f929dcdc918cb803d95572665727603b078550cc6a5490b5b90c8ae4897f14d5f4b1ae413622d1b2225f6edf29805b27a7dc098c67c6b3b30f2a6 +EBUILD gentoo-kernel-5.10.169.ebuild 3661 BLAKE2B 43d972360a498fb0ea50f8ccfca0b913d035ca5bfe2369edeb83b29e019481757fe29963a12016c78764dea8a610fb61c52d24f2d60b5255f74aa885246d190f SHA512 15ea67d8eff1b3be14c934086f48e396d625e29bf2d41c6c7b15ddf5cf9f00d43b0df8a1bb68a2864cb0a406567d792694d4a44c518b8d450460615247696bb9 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.4.231.ebuild 2860 BLAKE2B d3ce0003d8dc6fb443e53055a786c7fb45881cc6b40fd478cfbbd5bb17fe67fc1e11ee4f8e2598d4baf4832136e61623e5291908d8e1a62a12f7a96a95668ad7 SHA512 a44124e8b224f17f9c60403b9fb5f98e16feb52846bc933f56d027a75d63a126424e94b598212d64a10e923cf1fba626442130a06fda2f61a951676ad8f233c2 +EBUILD gentoo-kernel-5.4.232.ebuild 2862 BLAKE2B 183eb2543904e9af875d03d4123644a6e5a77be9204cdbfaecf5e6febeb2a54215f3f451b622cb073fa28cd52f6ea389f823cab17dc9d0a38ba722d7639edb54 SHA512 4368f10a32b2356a5eba9f908d7a2d6f7d085ac06a659b58cac663e6ab5a677b69b119db6146e9dba39f40646ceb4f1f8453687e815a11887c3bb3a737ed5dc6 EBUILD gentoo-kernel-6.1.12.ebuild 3915 BLAKE2B 1fbb00648a4976639ea7bb2876879465fe72675989991e981730657c741565eca29370ca8b3b9ef713840c9c18aa545d300533fb90ab09d659e4ecab0c169907 SHA512 4f17adaaa0da56f6c8a238d36d2b07b384b4ece4fd4aec5193b202524da58ace0821feae5a254bd445a179465374618acad273dfb55df28731bdd37b6c7c95ee +EBUILD gentoo-kernel-6.1.13.ebuild 3917 BLAKE2B 4b98ef355f3bbefc7cf1b715a0875cc3d75031d6717cce18f787fb818ad5be547610b903dba7deb83c11c155f4643ecfdd43621b9218b519e233136dafc04e02 SHA512 937492b4c9e9d3afa2346801d25947f55b164881b59f6d56c41110e67be3d1bc1476a05f71d9cc25533b2ad9c5db50fd51dbc5c5651a1db4f8c33643c276f8dc MISC metadata.xml 465 BLAKE2B ea1260a1638588a48d9dd776e9eabd9730a181af8416ba778c936fa2e80a2360be146d3cc80599e50e0a72ac709eb9538184aac87cb96528e445ed450e34f4af SHA512 c7b7b1a45fb7082b8d8d66cf5a387cc4f7207cd9488d1d5e1d6900f1e4147aa9290b5522a94d941a885f1599b5df2482b529e40912d2b2cff400ecd4b1704c41 diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.169.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.169.ebuild new file mode 100644 index 000000000000..8117858f61f9 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.169.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=g6 + +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/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~alicef/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.95.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.95.ebuild new file mode 100644 index 000000000000..52209a0b797c --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.95.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##*.} + 4 )) +CONFIG_VER=5.15.19 +CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01 +GENTOO_CONFIG_VER=g6 + +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/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~alicef/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-5.4.232.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.232.ebuild new file mode 100644 index 000000000000..7923ce78ead8 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.232.ebuild @@ -0,0 +1,103 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-build + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 5 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +CONFIG_VER=5.4.21 +CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea +GENTOO_CONFIG_VER=g6 + +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/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~alicef/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.config + -> kernel-x86_64.config.${CONFIG_VER} + ) + arm64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64.config + -> kernel-aarch64.config.${CONFIG_VER} + ) + ppc64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le.config + -> kernel-ppc64le.config.${CONFIG_VER} + ) + x86? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686.config + -> kernel-i686.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" +IUSE="debug" + +RDEPEND=" + !sys-kernel/gentoo-kernel-bin:${SLOT} +" +BDEPEND=" + debug? ( dev-util/pahole ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + default + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64.config.${CONFIG_VER}" .config || die + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64.config.${CONFIG_VER}" .config || die + ;; + 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.config.${CONFIG_VER}" .config || die + ;; + x86) + cp "${DISTDIR}/kernel-i686.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + echo 'CONFIG_LOCALVERSION="-gentoo-dist"' > "${T}"/version.config || die + local merge_configs=( + "${T}"/version.config + "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/base.config + ) + use debug || merge_configs+=( + "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/no-debug.config + ) + [[ ${ARCH} == x86 ]] && merge_configs+=( + "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/32-bit.config + ) + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.13.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.13.ebuild new file mode 100644 index 000000000000..2f4b85038768 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.13.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.1.7-gentoo +GENTOO_CONFIG_VER=g6 + +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/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~alicef/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 4c5da081d6dd..8c6d9d5ade96 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -25,19 +25,31 @@ DIST linux-5.10.167.tar.sign 993 BLAKE2B 2e67cccd194ba019038a23b75d4a8410bd84922 DIST linux-5.10.167.tar.xz 120557548 BLAKE2B 2af3b16a9be8133cec49b95b1303063c684a980532899ff7cb40e4adfed9bd5c3312bd7bb5b41394cc11689cb34d9ab6e8f89175797d8066d42cb4cf45c33a75 SHA512 e9ec7f353bd49bca747c03defd4935b905222bb66c64bf23b27d3ebdc7b9bca267ca05e0f91b215cd788c227265c5aa7e26a9f0a73989c66e65ea4d4c2c42e6f DIST linux-5.10.168.tar.sign 993 BLAKE2B e1db5850d4bd77400a35a06db3c1f6e7da4d4afce822f18de2df4a11737f40bad9b2433ca3dc261c72eede6b56a4e47e3b09d930ff62d10c42ff194bc7987658 SHA512 a8c66d4414cc161aa6547e002f637059c6eafc1d721f1ec8e65f4770bebfa511f32521be0fe273fe4e2943af3659d0e1b0f9551bc567e5d3f4bd0f1dbd95dd67 DIST linux-5.10.168.tar.xz 120556556 BLAKE2B 5519fd3fe11f94ada0b84fcb1eba284efe15fb810230cb66e96a0f5cd9e73e4b86ae765a140224ba1e484952912dae847e2bc503f25fd0c728ac2e0957078d93 SHA512 c941cf2b03d1a7fb404a2de698394d449f1384e8033053640fdb1899f693d91b01b4cb1eea43a23b09b96793c7a801d858e9feffa165a2da1aebe8b4485e0e6d +DIST linux-5.10.169.tar.sign 993 BLAKE2B 762760ccc972f30f7c1eb78646e9eb171401d97bf9d9c19ebd957ebae873baad9ecbedb72359f2a8182eb8aaf702479d76e8810323b4fa355955897b343e78d8 SHA512 a769d53ed5816a545e087a83f7dbb336bb8fbe162bb40f7049679ca0ba0587c7640869563839d10c9eff82fa7a141a623a17214c5c143d059db5f6cb02b674e0 +DIST linux-5.10.169.tar.xz 120574788 BLAKE2B d700ee838f169a76d6adcf61b062435bc176d379645d2ebc7de654d5e01c9483af9218bdb36fdbf20ee631d9269d2f816cb27afedf36005d4d138a8a2e50e169 SHA512 9ff03313061ac90b44110351aec51c7626b8f83f53efd8c14af374778d909e9e5e8c43857306318a5cffe950ee81f92c6006ef9a26f81a491f608776b741b1e0 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 +DIST linux-5.15.95.tar.xz 126488596 BLAKE2B 1a8f7f8f9e75db4f6aa55bf3278c65a3e4705adcfe471868b1757349a40d73e5bb484271bc865925437fdae8f9848b976ab5c8a8ecf5992989bcf766ff25dc8f SHA512 7e983cee8c804e6cd90a812aa61777efbc4a8c102b9d2e8ffb07f22aa9d7f291dff409c359a9be0ad69959cd883633534e7a5a5af34e2f260807b13f98f1c613 DIST linux-5.4.231.tar.sign 991 BLAKE2B ee6a28ae72164377649440f241ed431d6a49c50d26976e1bd85cf353651545afd80532ae27e270ef79bce55971d8bd19acabb0f43ccd6a84c4a7f2fa68f6a62d SHA512 31d4dc8b2f56e5344b3185ea0340c73d95257b6712cc2ce3b8c5dc851cc92763e417ee9a51ce3b2e637d58e3e8c7035b696413df3facac5c78991646a4048bd0 DIST linux-5.4.231.tar.xz 112992720 BLAKE2B 228c7135bbf38fa0a84d41607a922e269162bdb385e65ab8fcc8f66ae30d5d1ff65075494de24e280dd9bc03fa8324696ab61a556abc0cce58b31d506af413b9 SHA512 22558009d6502928bca5eb93f086b7eb37ff2e742382ba27b97e4dfc77b3b7064b0f85e78d4cba4308ddb2ed7169e25bc62a82647ebedeac1b3df6977c096c52 +DIST linux-5.4.232.tar.sign 991 BLAKE2B 0b5a5c61858195a6a51169a48a0ddf533c28e8ce32039753905e3c7d6968edf30880c8cbe12b45a3a415f9a12913da8e12573ea7a73af4f7982bfec658e38e93 SHA512 c8907a21b8f75b9a2df6e328bbdcd3140750f3aaaf60d27e9186a399100a732669987ca61435f2344c331d9b26e13e505115469581506abce8cd9da345a4b0e0 +DIST linux-5.4.232.tar.xz 112999736 BLAKE2B 238a66be2dad1dc754418fbcfbcadd74c57c4915d727b6f679dd88e5f90645f35a9c66f47fb7ee16a661b6a9575d5ac903a6b44c8ed697d2378a98c9d1a83f3d SHA512 7d4339f7db5845e9bb3dc440adc90c23b8f63f5166c19fc143979b9dc84551649c275a8ee815792818b6c20bac17349c0802e8037a74e6fcb30693cb27f94439 DIST linux-6.1.12.tar.sign 989 BLAKE2B b55e15679dbf0a29dcd5ece9cb68fb2123132818810fd03492a6d8fc5556814bfc8604b38a25dd0b71acc4ea8f515ce60d36d6e24eb944fa8a48bc851b2c25f3 SHA512 7459ad3491bfcb2dccfde4a929da7b78e842dd34e0230ba49da152891b5157dcd54cf84696988da560cc918852b1d59b76f7184d39e7c444385e20266aed8b05 DIST linux-6.1.12.tar.xz 134848688 BLAKE2B 1ff8d14fa1544a9d613fe372073e6735cc9444383e598a1c6a546177e1a9516b7f5a0d16aac4fc141fef134ffe14a0e40ab5db4200c11c953fec7f70a7bc9079 SHA512 e870aa9038f0508c50af5329721a5649c3537deb333d18f006bbf6d3c310b64262630eed5682022b7eceece9ef0956d2c110555cc9257591b7a221d063976735 +DIST linux-6.1.13.tar.sign 989 BLAKE2B 6a59d32b2782eae32371c306b251d30e79c4123d53ff7587a8a02ef4b3f1b46749609561c885a6c530ee83c5b22cb9ca816e14b767790e2a25ae0e4e9fb11b5e SHA512 63c6c8af47b6c08890553e8a8292fa423be470d00322d046cc5f104ade9fedeb17f74a606ce230aca053795f720d08fe102530897b53d81004bc4d34a1497aa4 +DIST linux-6.1.13.tar.xz 134802392 BLAKE2B b47d283374b71388c4795e9f9731f6a2739bb5f34759320338b22ce439d563398e9a9628df18c5ef488c6bd5ccc7a8749313aecb4191365e6ea012781119b4ad SHA512 33acc343d5cf8728f737935580d8ad9acca192770e94dc8fa9877f78193fd2d3ea1a1f3a2e0a2850a418b5699c9d2e7a4b1bf962186f464a5fd56b773dfe5f73 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.9999.ebuild 3295 BLAKE2B 191d46975c539cc082db84ee88fd5a19cbd62fb1062c811e8250baa1175192d0cd1786f6a051cc6f27b41f5e9d5f5348a6ad913f427ca4e13438f408bd7ce1dd SHA512 6a60dc8f452c732628848ba37149e647e3106789b14cce9fa177287dc535c9ebd3a30020d181d9979fc43baa1dc035a1747fd0a3719b11f655ed90f6e5538d2a 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.9999.ebuild 3295 BLAKE2B 6508e56c72431c8bc65bd77743a660593fc58f5cf31493c3f0e244909aeb3acbc5b1486526c193a4dd40c90984b9c314f9c2c4a03ecce07c5f5d9c94a4f8593c SHA512 877853503e35087130cfa99ef337aa159b14ee4680cd15b48a33766690f73cd70008736fca1ad51aa4277e908521f7204f35b1722892dbb1c91a620b33bd1e54 EBUILD vanilla-kernel-5.19.9999.ebuild 3415 BLAKE2B fccd59b033a2c78ed80927aef1fb8c2e56ac60ae94cdc29569ab038af25d7d4a3234e978eb5ceb63f4527a2ec65682ea1a7fec076a3f63ababab520f3ccd1889 SHA512 7e7d154e927d8617e9fac062242388cd5372632cc9d7fb9183315d5ab2e0e116ce3531cc9965ed132b911a72bd956969ab9bfc39f999805b82a96a3320d3d7d4 EBUILD vanilla-kernel-5.4.231.ebuild 3062 BLAKE2B 596abc4cc489a193e1e573661789ff36d8da65e7416caa52cd3d0b74d472b6079d9859f40fc346818147ad9f7d95337d42792567997c612ce1da164c9968c325 SHA512 2fa5be41becf64b346d2dc63a30f687394c2797079a4f5db5112f294d550e6590bcc202740de1afa40d259cee18a4731ecefd2ae4ef72a7be1fc8758bff7a8f8 +EBUILD vanilla-kernel-5.4.232.ebuild 3062 BLAKE2B 596abc4cc489a193e1e573661789ff36d8da65e7416caa52cd3d0b74d472b6079d9859f40fc346818147ad9f7d95337d42792567997c612ce1da164c9968c325 SHA512 2fa5be41becf64b346d2dc63a30f687394c2797079a4f5db5112f294d550e6590bcc202740de1afa40d259cee18a4731ecefd2ae4ef72a7be1fc8758bff7a8f8 EBUILD vanilla-kernel-5.4.9999.ebuild 2635 BLAKE2B 16aaff3ea21368478a85a6bb93cf79a1074e68a7510101586cf6d06d11884c99d474cb19fb47e46fa64b34397528e32719667e2895e01c946a5da3a842f2d7ea SHA512 dd115a18e6005ab5a7d22fde68c5866118e26cb3151dba2ceb8c96cd843a7992fad0edfab8adef57d58653871c6b59ad7fbc0371396ff5cc56ade469626d3019 EBUILD vanilla-kernel-6.1.12.ebuild 3894 BLAKE2B 33a0975c3412120cc5cef7d64e4c89e261676ea8b932f051cfae2b62c0c7e960b0c820a9af00e3ac8978630f103c88b2548a9dbfa9b8777b98fed45b5d993fb9 SHA512 abe01b978e9f4b6260856e13076367e2115845f13d017f8e85377dc6f3523561ab26824e785c7954bc71afd26a5577264c1e3d75e58cf3ff086252a5a9cb55f2 +EBUILD vanilla-kernel-6.1.13.ebuild 3894 BLAKE2B 33a0975c3412120cc5cef7d64e4c89e261676ea8b932f051cfae2b62c0c7e960b0c820a9af00e3ac8978630f103c88b2548a9dbfa9b8777b98fed45b5d993fb9 SHA512 abe01b978e9f4b6260856e13076367e2115845f13d017f8e85377dc6f3523561ab26824e785c7954bc71afd26a5577264c1e3d75e58cf3ff086252a5a9cb55f2 MISC metadata.xml 353 BLAKE2B cd022bd01b289ae703ae6ef6c2539fcfce833206c55e328ba02fc42b360d60f76b1920927b259dbb199724e6d3e7b0f68ba2044680d962d3cd03a973475582ff SHA512 10b10fd24801843108a71ca7d0c27514965b0a15a60da4d9b521fc41493448a1b1685ae3278dbd46cede0d069e51dede402d2c1448c8ae6a7fcfce8acf415bf3 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.169.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.169.ebuild new file mode 100644 index 000000000000..9f817374f36e --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.169.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=g6 + +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.95.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.95.ebuild new file mode 100644 index 000000000000..73bee2c2c4a6 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.95.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=g6 + +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.4.232.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.232.ebuild new file mode 100644 index 000000000000..0e9fbe2eb0d3 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.232.ebuild @@ -0,0 +1,111 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-build verify-sig + +MY_P=linux-${PV} +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +CONFIG_VER=5.4.21 +CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea +GENTOO_CONFIG_VER=g6 + +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.config + -> kernel-x86_64.config.${CONFIG_VER} + ) + arm64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64.config + -> kernel-aarch64.config.${CONFIG_VER} + ) + ppc64? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le.config + -> kernel-ppc64le.config.${CONFIG_VER} + ) + x86? ( + https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686.config + -> kernel-i686.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm64 ~ppc ~x86" +IUSE="debug" + +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 + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64.config.${CONFIG_VER}" .config || die + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64.config.${CONFIG_VER}" .config || die + ;; + 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.config.${CONFIG_VER}" .config || die + ;; + x86) + cp "${DISTDIR}/kernel-i686.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + echo 'CONFIG_LOCALVERSION="-dist"' > "${T}"/version.config || die + local merge_configs=( + "${T}"/version.config + "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/base.config + ) + use debug || merge_configs+=( + "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/no-debug.config + ) + [[ ${ARCH} == x86 ]] && merge_configs+=( + "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/32-bit.config + ) + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.13.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.13.ebuild new file mode 100644 index 000000000000..ab59a222a25e --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.13.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=g6 + +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[@]}" +} |