diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-11 01:05:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-11 01:05:34 +0000 |
commit | 7ece7f3d3bcd0184dd8dfd6653464da80184963c (patch) | |
tree | 11ae8def15c0148aaf70c9bcfb86da05c82de6a1 /sys-kernel | |
parent | 6a4408b9bbd9fe61dc0966f587db94081fa5f52b (diff) |
gentoo auto-resync : 11:01:2024 - 01:05:34
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/Manifest.gz | bin | 4580 -> 4575 bytes | |||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/Manifest | 14 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.72.ebuild | 127 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.11.ebuild | 161 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel/Manifest | 6 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel/gentoo-kernel-6.1.72.ebuild | 146 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel/gentoo-kernel-6.6.11.ebuild | 153 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/Manifest | 6 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-6.1.72.ebuild | 137 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-6.6.11.ebuild | 143 |
10 files changed, 893 insertions, 0 deletions
diff --git a/sys-kernel/Manifest.gz b/sys-kernel/Manifest.gz Binary files differindex 91b051a6ac2c..48c3d1e9f77e 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 fd29ad71035d..f19c87f57a81 100644 --- a/sys-kernel/gentoo-kernel-bin/Manifest +++ b/sys-kernel/gentoo-kernel-bin/Manifest @@ -12,10 +12,14 @@ DIST genpatches-6.1-78.base.tar.xz 4233428 BLAKE2B 489c688bdce6b557065c5a2c63b35 DIST genpatches-6.1-78.extras.tar.xz 3812 BLAKE2B b06900c35aba0f1866d2c64a71785afe6a8b6ff0abe12a15f02475470e6f327c7ea35df1af5bcad92ad0cb9aeac030f0c4328beb69b1b74cf9420ac7a38555cc SHA512 d3b76b5301b4d6901ef8ae3589f9a3c948a2c88cdd932e748991987f45e4ef8b19b9b7102db83210ec17b67b00ceb597c22722c7ba3f66ae7be76624a1564522 DIST genpatches-6.1-80.base.tar.xz 4275520 BLAKE2B b52031561d29cf853f17486ab4ba258a6c91d5d4e925217b9d8676842b1134ac25d50150fb10af462f1a1610bb461eff08755e326fa4b70862f4bc2d0c535c3d SHA512 f6f07291004ef71610e140644f6f34167eb2097100d300d5302d684915415f16c074a6f37f0409da6b6bd5ff4b464739a8d565f1c53096b17616a0ecd09622cc DIST genpatches-6.1-80.extras.tar.xz 3816 BLAKE2B 9612466a57c8b6bda84fd8e152de1daffd413214a51fe43274c9051a1ceda511faa7a6acc90264115a786fb9225f77b7fcfeaaceffe308237b5ac1643f1331a9 SHA512 54a4e8eec2f8034fe202b98dd182dda8764838877e0fde11f01c2a69ccd340f39fc0cab1b1d6b93c5592f5238b1f4a138b433552f7009cd5b0bf60a25bec6c6e +DIST genpatches-6.1-81.base.tar.xz 4334960 BLAKE2B 9ea7c823ceeb092badfbf1c47bb59372f489f136906b24551917b47d554d70cbed64172a126b01420a47cc99a8fbaa554589ee95a117a3582eb7969d2af5f6ca SHA512 f18d383d39113652a3dad371f4656b49f7c87be4697b81bb2d0eabe2dcb97b514f4812d9be45a0fa62348508c6b0a56478bcdac828f7a26df3f1219d3de56194 +DIST genpatches-6.1-81.extras.tar.xz 3812 BLAKE2B 6521612c65bccd8ad9950aa2d613ace86229593be584c69655df14f2c450dac73abcadfc5b0df878f01ca9c689d1ce657300a2e81595f134ae236bc254fd2150 SHA512 65fabe58523be0de77ee5ace810ab3583e2e1c8ed957bbcffe46ae89f9b09c2dd85b9585e53b9a3befb92d9765fcf42636ee8b53dfbec5428436277a23a8d757 DIST genpatches-6.6-11.base.tar.xz 649760 BLAKE2B d435eda1a18196b24c451ae605c719cf5a45c255b2017f1b7ab3612df3f4101c003e615589841d02329e44c3411b4cb27b577e8ff05f09e9349d38e622b823d1 SHA512 b06c66f730e4a43d8730c5c98661b6061485696375d2bc623b818303b0f6f15d9ad9da318bf9d3153036c3d8a2215fe12c5fd8b789775027c5c21f2ef8d93c4a DIST genpatches-6.6-11.extras.tar.xz 3704 BLAKE2B a5ec7394f611c491ae0867c4694fdd000a0a53d6353832ecfb702f6b86711d7c955f0e4a8d10ee2cde6f2255a6e180fa26e3b1088f04902affa51d29f590fe82 SHA512 2ea475f922c98a83950441e86bd6805fc958f44c77866431b28da13d522d11841fc778945b253e292c8cd09ee378bd7e0169540ef12a9206d6341ec69ff463c6 DIST genpatches-6.6-13.base.tar.xz 669256 BLAKE2B 9474c68e1558162a583278e9ee510ff2fe8412a1b2b2a9c3745df47c97a4d6e5f29a8e890a5205f43f2a2985eabebe2a5fdb7567f399f0301e58d1751eeeb5a3 SHA512 fc96cd9ed40c05f2e8ccb821206a26612970c92afa0bd893870cb0a54e5d588d11c6368dc166a2e835324ba066e4f64a03be4773dda0270015f3031d7fae05db DIST genpatches-6.6-13.extras.tar.xz 3704 BLAKE2B 846cd76f82b38f2a55262fe6b56ec5f9eeeffea3da929e83338ea3b4d1352435c928ecd222b4167aab080025115addd8bcb559870328c16c3aa74d90ef2442d0 SHA512 9dfad8cabe8176606ff8c81c79bb628e0ed4195f486cd10f34677702847d005bbd8b077ba6646cadf90cbe799238c996f7d0e242908cf242e3acd7acc36e225f +DIST genpatches-6.6-14.base.tar.xz 704772 BLAKE2B 81679d803f68a65cdb7e72254949703c19d24aea7dc4a4e557c854abf8afad4b6341099fcaac9a5f68ed861dcc0dc4629b4929d563943e5e7a8918d76f4e87df SHA512 7695b65f10a2d0eb8601426b7e6116ed60a3dcb2a5c66dd2946936398607f1d6aab1c2a64154f0a95102100d8c0e0f3017addbd93fba7b555c57b9d3f148effd +DIST genpatches-6.6-14.extras.tar.xz 3704 BLAKE2B 79dd6f5af3d310844e41da0682b379bd409c8ef02aff3bcca248494e3dd955d25445919de06cf818f58879077576e56574896fbd5da57a079f8fbdb2a25037cb SHA512 ed144b0d65466f35a078fdd2a2b23ff54bd3a3fea36d590f19cc59756c1075eea68ad7f9edcd8d6d7cc4cf79531d91dbb40e57128070b2761d23bbe97864aab6 DIST gentoo-kernel-5.10.205-1.amd64.gpkg.tar 63252480 BLAKE2B 52cf3967ac881aa557da92d11a021c2509b5e6920cb04be415c626bea66e08579481b61d6897d8e88fd830d18461e6c41423aea398fa1f00aed581300cc1403a SHA512 295945d6ca4ed5322918662531b353867522782f243aba54f3cbbe22b515059e54b40bf124020c1d8315c27a491d7af894a8331e1395f44c0d763297d36e58a2 DIST gentoo-kernel-5.10.205-1.arm64.gpkg.tar 56729600 BLAKE2B 62ecf66572c0b5da944e3200f7b0d1ba3e12231e66c5e90b1415becb0fd80d49da34b57fa5d20898f7c0085be25edc9ba939daa400e7587d6ac9836ede944f94 SHA512 5b5530f160b7119a200a4fb7c247aeff76055e92be92289d02be37f886dc522c076a19013d518df348f5fe352c758343c6ad61d7b0a819609f8020e2321de6e1 DIST gentoo-kernel-5.10.205-1.ppc64le.gpkg.tar 52879360 BLAKE2B 2ba47d25e79ad05473f8ae87c08039bd858daf5d67ba6746f01bc57b6f7515a76e91c34fec101d514e81caf4a4103f65be43a4351a5c509056fd53da98f0da8e SHA512 4817b60666808ed734d84f2bb0f2e2c051d3a908eb24c70ef8607536d3aff782925aa231bb0d8180e53224cdf30c426643ff375e7b3f5f047d50411eddf6d178 @@ -44,10 +48,18 @@ DIST gentoo-kernel-6.1.71-1.amd64.gpkg.tar 72581120 BLAKE2B bb3e9a9f6dac7427f04b DIST gentoo-kernel-6.1.71-1.arm64.gpkg.tar 65617920 BLAKE2B 5dd4b18285a116d0b5d58997938f13fcc992b1808ed280ec3087b3b614d12c44044deead8355da96983a80a7b149afbd2e43a386fb943e64c39375f431805586 SHA512 4bb2107d8434f7c5bfde34d749e6f87206a94873a7b4ca035944b14be076fb148b5a6a15346cdc79249a0288416a15f9731545cd4b4cafd266f0345f5e287efb DIST gentoo-kernel-6.1.71-1.ppc64le.gpkg.tar 59863040 BLAKE2B 05244d47d742ff380cbb1495515b105e3f5047d71adf92ad4447a42eee0fa98db35f7ad5fc05bba15c4bed873003b4254363769760edda3847a5002a408b4c52 SHA512 797e0fe888d4ca5ccb0f981c2fe613d073ef56211244d9e331ab124269753ce1a850d1cd5d67ecbffd86572a574565d24eaa693e835b6410dda75d57547e0fdd DIST gentoo-kernel-6.1.71-1.x86.gpkg.tar 62167040 BLAKE2B d1df70d56e4e46ee1d8d7f13d354f13a64f94ff032379d76cf82166135f653a1649e39dea5ef829f5881f8bedf9c7a9c6338500037a2fc26a31a33f79b527744 SHA512 5a278f0a1936ddc19254c65974c5ee4b676455373652bd146a9fea017d0c5b2eee7491e693502f00698d1bf66f8cea606a3a79190cf5696c36f1d6c19fc8cb6b +DIST gentoo-kernel-6.1.72-1.amd64.gpkg.tar 72581120 BLAKE2B 257c80f406df828bf37d4bcdc19f25accdabf4491b92503b5292c589e9efbd57a87bfd1a3cdcf0941ad7edae5953649d89e0aa2f710dd1baf2856a79e159dd83 SHA512 63309851c39ccac72c72113c2318f8fceddb0c0622c9f4df1296b00a8804a20236067bf9a22b9f062a348073eb0e3ff79e39a0bab2d993a4165f27c681b69188 +DIST gentoo-kernel-6.1.72-1.arm64.gpkg.tar 65617920 BLAKE2B 188a4c78cde9bfaa4142a7902fb4586098bd49c58550768ec0abaf50233f114d452bfc7e9b864e382e043fab9100ae46bba1a103ec4164adb7cda072c63f0db5 SHA512 e7f857318f833e28f9feb451d0957cb5e8fbeb95caeaece27265f4daecb299d2959b380dc0808402d6adf6b61342fb47db641187a8bc2583c96431d81098bbff +DIST gentoo-kernel-6.1.72-1.ppc64le.gpkg.tar 59873280 BLAKE2B 99c7bf2bf06390be23b2a5da750aa4b654985622f1399e6a8a4c0a11cea540c7b726321a2b8324d289bdf911c7c1155b7dc141318a928fd9256d7e74a12650e7 SHA512 b756e8ea793f7884c52da62b673d1890ca2b4e566f478fab89c2c0746d6ba04fb99c07fb9b010d7767588947c79fcde50f91ef4d727e39f9ebd2933431f19eaf +DIST gentoo-kernel-6.1.72-1.x86.gpkg.tar 62136320 BLAKE2B 8254ffa5cc36169b5ba3ffc56096e067cdd538a149aa3dedcb9039ed974f6110dff04ad9a64f208bfecf6d7ca9cf1652bae8e999811a8ed830b4d38ef2ab8680 SHA512 2a0ce1b4a779166489373eae0d4933f6854fd3ef45693bf8dd682f6da963ff48a404a8828498236bf1b1baaaeae7859d231335da0684afc9234aa8e8d9866649 DIST gentoo-kernel-6.6.10-1.amd64.gpkg.tar 145674240 BLAKE2B 084fa55f6227d6e5521ef2395b6e41b5145b60e407f0903af184c262745b25db5f73b99fca9c304e4f33ce89d09d1e50e04c8cc03306b93b41e61c48794ab305 SHA512 b30ecf5b8136d00467c7de69229f470190e486cfbc8442aa2cc48cb9dc877453e8bc2b74a34a9d94f1bf8636626da31c86836fefc1a7e2b084721fb1093e3a2d DIST gentoo-kernel-6.6.10-1.arm64.gpkg.tar 118558720 BLAKE2B 5926e70e85e9f5404ea4b2077415744f717d4565c9fcdf5b8469208bf56d0a558a15c4a320b09b1eef723647998cbca6d17bab1c0bc54941095ba94bf7efc429 SHA512 c5b79221f47f814c0d9ad70a268b70bbe0b2b38d9c8d252d3a9be30cb2dceecaf28d621fa3975f838862a03cbee7eec12252ba52090a985d34420aaa2c04815c DIST gentoo-kernel-6.6.10-1.ppc64le.gpkg.tar 64327680 BLAKE2B a3ad4f225f87b9818f373dd447032f66ef760d011c6ae691aba547ffc8307d9c59eae812e225defdd35c1311b4ae55a491a355b75e43a72a94442fd65998ae6e SHA512 0f0e87cf92933dafb8cad758af5b5debeb7c507ff03ad9a469d750886020a065db60d34585a59c4355c6bb7a90496ea1bcfa7fb11e81899affc48d1aef78e3df DIST gentoo-kernel-6.6.10-1.x86.gpkg.tar 68259840 BLAKE2B dd5ddcd78411de7bc0a86d8da14fd1917c613d700c35ba3255a3b69983930015658bef4b2606241825d1a0043699aee1e03523a06fd99ad2bc6bd994a40d2e4b SHA512 c346fcb37c77a181f38ef31e224300c0e36008dd4862beb8d40b6d03066a6a01fe6c3c524f012578b491512d50b538b4ef8aa095b36054d8990f710b351c7211 +DIST gentoo-kernel-6.6.11-1.amd64.gpkg.tar 145612800 BLAKE2B 46d76aca1c68c5a3c5573c32445810b7333819559d2090245cdf4d9c66f5a623ee92e9a86bba338697358701b555b912308088fb6b9c63b763c858c6a5e4c94d SHA512 8b0ac4cf9a79887a0a028b8d0b1bc8bb55d669ed9c63e045b787c46a0b4f236268608e6f28fbd8c4435d435bfc8d4c1a042696de2e20829297c1f0f272f5868a +DIST gentoo-kernel-6.6.11-1.arm64.gpkg.tar 118558720 BLAKE2B 4c4eb673bcbde12f6723af76c0fe6491912ed9eb606c1924386755c44eb045f6df92c24192961bf8dc1b3df88a443509dbd1bba7ee150a12e14048d196d0b90a SHA512 9ea514f3258e042aa15242c83efd3560bfe1e84ce65918e6c69797f3e15ee4551cded28213a60af76747581ddcc30069268a8f4c4de027feb4851f99d3a986dd +DIST gentoo-kernel-6.6.11-1.ppc64le.gpkg.tar 64348160 BLAKE2B e8fa1afb293dc93176fbb81e744b7e4a83bf009139d6334aa9b2c5b8dc2e5d7ba6762a078cfdfb3fe8a0b2f22703e37c4a9bb6c1352a26fce82557e9fb5f111d SHA512 7ea25d00598e30ab93abcc401be6240f2df706e3bbca4555742f468f69ccede514a9fa6b55b2b40f0b1f0be9ea309d1d9779a0566f7b6a5ca0513f4f44b68808 +DIST gentoo-kernel-6.6.11-1.x86.gpkg.tar 68270080 BLAKE2B b9e67031695040d4ebf1d5f6cc0ee42653a03c972b2c66eb330dce07eb1f9f016b240bc62cf1d1a5fece671d4b52904db45aabdb461f17328920c3b7e49b5d28 SHA512 fe13aae4cbe8bc00bde2a7226227a1464c90882203166c34f229c04f7573da8dd65cd500288323acee26b76bbedd40bb31fffb2bb263d8e0c4d3896af0de7218 DIST gentoo-kernel-6.6.9-1.amd64.gpkg.tar 145643520 BLAKE2B ceae9156ae6c37c45b0105e86a8bc29b562ed11c58a2f8c1d38e38b6b0c5c9e4f29908e633628a18bcd4180ce5def1ddda5e75dc5e25422ca4b108675e30ea9a SHA512 3ccec88ed280714b2e26e0c7cc2a07ef3436bb07502bdd704c005a4e54f9469355ff1d543956b049b52f8b3277f664bbdc353f5983c16cb046f49b86b7d26d12 DIST gentoo-kernel-6.6.9-1.arm64.gpkg.tar 118558720 BLAKE2B 170d7f90400b9bdc0d4e98f7871d4f7622c670bac8baefd77ce531a11acfbb34e5ce4c4fe727918009b2980985c6c8d5d15d1859f2e129762c68efba3d3a621b SHA512 e7e56d77eb5391579fa1e8b5a6ced2c383e53c56b4079578f14a0ad5364405fc2e0088c6ab0851e5f8eb461912bec0b3d377560cf551b35cab3039ba750f76ff DIST gentoo-kernel-6.6.9-1.ppc64le.gpkg.tar 64337920 BLAKE2B 93a44b217ad4a3d7c1ce253554238e5d04da795f3eaf1c94fd44294eefe1c56130bda61985ce759dbc98f851c7da910934a777046f22984b6521867db6d69a05 SHA512 1d55ac1965e86783a290437bb654d727899a19d3953d428097fc9b169bb732227d8042ceadde85449278aaa323dff8827bf751c520cbbc8f36c7c742298d486b @@ -63,6 +75,8 @@ EBUILD gentoo-kernel-bin-5.15.146.ebuild 3042 BLAKE2B 71642740131c708c13c44e70bc EBUILD gentoo-kernel-bin-6.1.69.ebuild 3038 BLAKE2B 7db2ae49bffb42964984763c2c55997838d566b0875e0a7175b6593f02d5714fe9f807cef6aae6667579441d92e6080bd3c6afe26ccd0eb3055584a3f6bf2ca6 SHA512 1231f9597d49039be283d49f8d9182bd91641adbc40360b761f5272d1c3f7b3b53c9d9ae9294468058a8b66eeb12e2f4e66808630bde10d81174c0ee26410d9f EBUILD gentoo-kernel-bin-6.1.70.ebuild 3042 BLAKE2B d905ae1fb42ef6354bbb3df2c9080913eaea3f1919374e09b7e3eea66cd095bb2aa91910b0d60433ef0a61bfe7ed1bb5fdd5763c3eabddb1f0882d79bb789f9c SHA512 3b7ed5793b6ec29d4a8329c70a57c1f8ad7ace58c1f8d89a72e585a9e27783e9390b2f412fcb1db13234b9c6d771cf075f256b1f6960b35c550a86e6c7a5deb5 EBUILD gentoo-kernel-bin-6.1.71.ebuild 3042 BLAKE2B 71642740131c708c13c44e70bc03c61f4911b10a1462374dd2624f5c68da2160d0717eac34e150fb493e3121859fe7c3c76587da8ad9644a7eba640f6a11ed56 SHA512 367c0dbb9ae6bf132eb3b71ba2904ab05b46e377680221ae57fd2679f656505018dbce3097dba05894b2964d57c78cc139e4799845827a0f02046ed947a8c461 +EBUILD gentoo-kernel-bin-6.1.72.ebuild 3042 BLAKE2B 71642740131c708c13c44e70bc03c61f4911b10a1462374dd2624f5c68da2160d0717eac34e150fb493e3121859fe7c3c76587da8ad9644a7eba640f6a11ed56 SHA512 367c0dbb9ae6bf132eb3b71ba2904ab05b46e377680221ae57fd2679f656505018dbce3097dba05894b2964d57c78cc139e4799845827a0f02046ed947a8c461 EBUILD gentoo-kernel-bin-6.6.10.ebuild 4080 BLAKE2B 0d88324cba03dbbb1712817c289fee4becfb7a7c4ce22c4ec230800eeed6d3321e963ed9cf5858129988a3f3e885dc71b2b1404b393b3c345eb16c2e6ed8b733 SHA512 52a65d01059371d646f1109c2d0d4977fcb6f76b158f0c0bcd36a09d68b4b7ed145b9d5fce9d8815acb82ca4ed7c3c35e343e9f3ae5dc76ee4b57f80f5570616 +EBUILD gentoo-kernel-bin-6.6.11.ebuild 4080 BLAKE2B 0d88324cba03dbbb1712817c289fee4becfb7a7c4ce22c4ec230800eeed6d3321e963ed9cf5858129988a3f3e885dc71b2b1404b393b3c345eb16c2e6ed8b733 SHA512 52a65d01059371d646f1109c2d0d4977fcb6f76b158f0c0bcd36a09d68b4b7ed145b9d5fce9d8815acb82ca4ed7c3c35e343e9f3ae5dc76ee4b57f80f5570616 EBUILD gentoo-kernel-bin-6.6.9.ebuild 4080 BLAKE2B 7c3c46033601e1e5ee7c58609ae5b2475fb812faa6cd5e3de60dbdb76297cf49e610e689fda6242dcb477c8373ac6511c917f3e157bb808edc8f95cdc3d47cef SHA512 e8043d46217f9197a8f0c3468d8341f44afdbbb26b603d95274d186d3a5262d9cd8c03235749f6db93bc7c8defebdf07c7beba43c25359d81e67c83e281bc980 MISC metadata.xml 482 BLAKE2B 3e7e4723542cbb8ac93dae78248fb8c26b96b7bfb2a3cd7913e4e7aef9beff07d9e8301219ae95bbbe4282d0806614b2733bea5d818797d19b0070c9119c0e1d SHA512 e3de887610d2c063fde21d52ce78c5d15301bffff49a82508c50dc1b03e606bf3e87506b376f10c6c10334949f577bc0f5307c3f45f2544fac799c57cf75d4d4 diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.72.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.72.ebuild new file mode 100644 index 000000000000..1a845828a60b --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.1.72.ebuild @@ -0,0 +1,127 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-install toolchain-funcs unpacker + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 9 )) +BINPKG=${PF/-bin}-1 + +DESCRIPTION="Pre-built Linux kernel with Gentoo patches" +HOMEPAGE="https://www.kernel.org/" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + amd64? ( + https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.amd64.gpkg.tar + ) + arm64? ( + https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.arm64.gpkg.tar + ) + ppc64? ( + https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.ppc64le.gpkg.tar + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.x86.gpkg.tar + ) +" +S=${WORKDIR} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + !sys-kernel/gentoo-kernel:${SLOT} +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" +BDEPEND=" + app-alternatives/bc + app-alternatives/lex + virtual/libelf + app-alternatives/yacc +" + +QA_PREBUILT='*' + +KV_LOCALVERSION='-gentoo-dist' +KPV=${PV}${KV_LOCALVERSION} + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + cd "${MY_P}" || die + default +} + +src_configure() { + # force ld.bfd if we can find it easily + local LD="$(tc-getLD)" + if type -P "${LD}.bfd" &>/dev/null; then + LD+=.bfd + fi + + tc-export_build_env + local makeargs=( + V=1 + + HOSTCC="$(tc-getBUILD_CC)" + HOSTCXX="$(tc-getBUILD_CXX)" + HOSTCFLAGS="${BUILD_CFLAGS}" + HOSTLDFLAGS="${BUILD_LDFLAGS}" + + CROSS_COMPILE=${CHOST}- + AS="$(tc-getAS)" + CC="$(tc-getCC)" + LD="${LD}" + AR="$(tc-getAR)" + NM="$(tc-getNM)" + STRIP=":" + OBJCOPY="$(tc-getOBJCOPY)" + OBJDUMP="$(tc-getOBJDUMP)" + + # we need to pass it to override colliding Gentoo envvar + ARCH="$(tc-arch-kernel)" + + O="${WORKDIR}"/modprep + ) + + mkdir modprep || die + cp "${BINPKG}/image/usr/src/linux-${KPV}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + kernel-install_test "${KPV}" \ + "${WORKDIR}/${BINPKG}/image/usr/src/linux-${KPV}/$(dist-kernel_get_image_path)" \ + "${BINPKG}/image/lib/modules/${KPV}" +} + +src_install() { + mv "${BINPKG}"/image/{lib,usr} "${ED}"/ || die + + # FIXME: requires proper mount-boot + if [[ -d ${BINPKG}/image/boot/dtbs ]]; then + mv "${BINPKG}"/image/boot "${ED}"/ || die + fi + + # strip out-of-source build stuffs from modprep + # and then copy built files + find modprep -type f '(' \ + -name Makefile -o \ + -name '*.[ao]' -o \ + '(' -name '.*' -a -not -name '.config' ')' \ + ')' -delete || die + rm modprep/source || die + cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die +} diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.11.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.11.ebuild new file mode 100644 index 000000000000..9055f90433bd --- /dev/null +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.11.ebuild @@ -0,0 +1,161 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KERNEL_EFI_ZBOOT=1 +KERNEL_IUSE_GENERIC_UKI=1 +KERNEL_IUSE_SECUREBOOT=1 + +inherit kernel-install toolchain-funcs unpacker + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 3 )) +BINPKG=${PF/-bin}-1 + +DESCRIPTION="Pre-built Linux kernel with Gentoo patches" +HOMEPAGE="https://www.kernel.org/" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + amd64? ( + https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.amd64.gpkg.tar + ) + arm64? ( + https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.arm64.gpkg.tar + ) + ppc64? ( + https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.ppc64le.gpkg.tar + ) + x86? ( + https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar + -> ${BINPKG}.x86.gpkg.tar + ) +" +S=${WORKDIR} + +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + !sys-kernel/gentoo-kernel:${SLOT} +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" +BDEPEND=" + app-alternatives/bc + app-alternatives/lex + virtual/libelf + app-alternatives/yacc +" + +QA_PREBUILT='*' + +KV_LOCALVERSION='-gentoo-dist' +KPV=${PV}${KV_LOCALVERSION} + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + cd "${MY_P}" || die + default +} + +src_configure() { + # force ld.bfd if we can find it easily + local LD="$(tc-getLD)" + if type -P "${LD}.bfd" &>/dev/null; then + LD+=.bfd + fi + + tc-export_build_env + local makeargs=( + V=1 + + HOSTCC="$(tc-getBUILD_CC)" + HOSTCXX="$(tc-getBUILD_CXX)" + HOSTCFLAGS="${BUILD_CFLAGS}" + HOSTLDFLAGS="${BUILD_LDFLAGS}" + + CROSS_COMPILE=${CHOST}- + AS="$(tc-getAS)" + CC="$(tc-getCC)" + LD="${LD}" + AR="$(tc-getAR)" + NM="$(tc-getNM)" + STRIP="$(tc-getSTRIP)" + OBJCOPY="$(tc-getOBJCOPY)" + OBJDUMP="$(tc-getOBJDUMP)" + + # we need to pass it to override colliding Gentoo envvar + ARCH="$(tc-arch-kernel)" + + O="${WORKDIR}"/modprep + ) + + local kernel_dir="${BINPKG}/image/usr/src/linux-${KPV}" + local image="${kernel_dir}/$(dist-kernel_get_image_path)" + local uki="${image%/*}/uki.efi" + if [[ -s ${uki} ]]; then + # We need to extract the plain image for the test phase + # and USE=-generic-uki. + kernel-install_extract_from_uki linux "${uki}" "${image}" + fi + + mkdir modprep || die + cp "${kernel_dir}/.config" modprep/ || die + emake -C "${MY_P}" "${makeargs[@]}" modules_prepare +} + +src_test() { + local kernel_dir="${BINPKG}/image/usr/src/linux-${KPV}" + kernel-install_test "${KPV}" \ + "${WORKDIR}/${kernel_dir}/$(dist-kernel_get_image_path)" \ + "${BINPKG}/image/lib/modules/${KPV}" +} + +src_install() { + local kernel_dir="${BINPKG}/image/usr/src/linux-${KPV}" + local image="${kernel_dir}/$(dist-kernel_get_image_path)" + local uki="${image%/*}/uki.efi" + if [[ -s ${uki} ]]; then + # Keep the kernel image type we don't want out of install tree + # Replace back with placeholder + if use generic-uki; then + > "${image}" || die + else + > "${uki}" || die + fi + fi + + mv "${BINPKG}"/image/{lib,usr} "${ED}"/ || die + + # FIXME: requires proper mount-boot + if [[ -d ${BINPKG}/image/boot/dtbs ]]; then + mv "${BINPKG}"/image/boot "${ED}"/ || die + fi + + # strip out-of-source build stuffs from modprep + # and then copy built files + find modprep -type f '(' \ + -name Makefile -o \ + -name '*.[ao]' -o \ + '(' -name '.*' -a -not -name '.config' ')' \ + ')' -delete || die + rm modprep/source || die + cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die + + # Update timestamps on all modules to ensure cleanup works correctly + # when switching USE=modules-compress. + find "${ED}/lib" -name '*.ko' -exec touch {} + || die + + # Modules were already stripped before signing + dostrip -x /lib/modules + kernel-install_compress_modules +} diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest index 12006ffc47fd..9164b51f2a44 100644 --- a/sys-kernel/gentoo-kernel/Manifest +++ b/sys-kernel/gentoo-kernel/Manifest @@ -12,10 +12,14 @@ DIST genpatches-6.1-78.base.tar.xz 4233428 BLAKE2B 489c688bdce6b557065c5a2c63b35 DIST genpatches-6.1-78.extras.tar.xz 3812 BLAKE2B b06900c35aba0f1866d2c64a71785afe6a8b6ff0abe12a15f02475470e6f327c7ea35df1af5bcad92ad0cb9aeac030f0c4328beb69b1b74cf9420ac7a38555cc SHA512 d3b76b5301b4d6901ef8ae3589f9a3c948a2c88cdd932e748991987f45e4ef8b19b9b7102db83210ec17b67b00ceb597c22722c7ba3f66ae7be76624a1564522 DIST genpatches-6.1-80.base.tar.xz 4275520 BLAKE2B b52031561d29cf853f17486ab4ba258a6c91d5d4e925217b9d8676842b1134ac25d50150fb10af462f1a1610bb461eff08755e326fa4b70862f4bc2d0c535c3d SHA512 f6f07291004ef71610e140644f6f34167eb2097100d300d5302d684915415f16c074a6f37f0409da6b6bd5ff4b464739a8d565f1c53096b17616a0ecd09622cc DIST genpatches-6.1-80.extras.tar.xz 3816 BLAKE2B 9612466a57c8b6bda84fd8e152de1daffd413214a51fe43274c9051a1ceda511faa7a6acc90264115a786fb9225f77b7fcfeaaceffe308237b5ac1643f1331a9 SHA512 54a4e8eec2f8034fe202b98dd182dda8764838877e0fde11f01c2a69ccd340f39fc0cab1b1d6b93c5592f5238b1f4a138b433552f7009cd5b0bf60a25bec6c6e +DIST genpatches-6.1-81.base.tar.xz 4334960 BLAKE2B 9ea7c823ceeb092badfbf1c47bb59372f489f136906b24551917b47d554d70cbed64172a126b01420a47cc99a8fbaa554589ee95a117a3582eb7969d2af5f6ca SHA512 f18d383d39113652a3dad371f4656b49f7c87be4697b81bb2d0eabe2dcb97b514f4812d9be45a0fa62348508c6b0a56478bcdac828f7a26df3f1219d3de56194 +DIST genpatches-6.1-81.extras.tar.xz 3812 BLAKE2B 6521612c65bccd8ad9950aa2d613ace86229593be584c69655df14f2c450dac73abcadfc5b0df878f01ca9c689d1ce657300a2e81595f134ae236bc254fd2150 SHA512 65fabe58523be0de77ee5ace810ab3583e2e1c8ed957bbcffe46ae89f9b09c2dd85b9585e53b9a3befb92d9765fcf42636ee8b53dfbec5428436277a23a8d757 DIST genpatches-6.6-11.base.tar.xz 649760 BLAKE2B d435eda1a18196b24c451ae605c719cf5a45c255b2017f1b7ab3612df3f4101c003e615589841d02329e44c3411b4cb27b577e8ff05f09e9349d38e622b823d1 SHA512 b06c66f730e4a43d8730c5c98661b6061485696375d2bc623b818303b0f6f15d9ad9da318bf9d3153036c3d8a2215fe12c5fd8b789775027c5c21f2ef8d93c4a DIST genpatches-6.6-11.extras.tar.xz 3704 BLAKE2B a5ec7394f611c491ae0867c4694fdd000a0a53d6353832ecfb702f6b86711d7c955f0e4a8d10ee2cde6f2255a6e180fa26e3b1088f04902affa51d29f590fe82 SHA512 2ea475f922c98a83950441e86bd6805fc958f44c77866431b28da13d522d11841fc778945b253e292c8cd09ee378bd7e0169540ef12a9206d6341ec69ff463c6 DIST genpatches-6.6-13.base.tar.xz 669256 BLAKE2B 9474c68e1558162a583278e9ee510ff2fe8412a1b2b2a9c3745df47c97a4d6e5f29a8e890a5205f43f2a2985eabebe2a5fdb7567f399f0301e58d1751eeeb5a3 SHA512 fc96cd9ed40c05f2e8ccb821206a26612970c92afa0bd893870cb0a54e5d588d11c6368dc166a2e835324ba066e4f64a03be4773dda0270015f3031d7fae05db DIST genpatches-6.6-13.extras.tar.xz 3704 BLAKE2B 846cd76f82b38f2a55262fe6b56ec5f9eeeffea3da929e83338ea3b4d1352435c928ecd222b4167aab080025115addd8bcb559870328c16c3aa74d90ef2442d0 SHA512 9dfad8cabe8176606ff8c81c79bb628e0ed4195f486cd10f34677702847d005bbd8b077ba6646cadf90cbe799238c996f7d0e242908cf242e3acd7acc36e225f +DIST genpatches-6.6-14.base.tar.xz 704772 BLAKE2B 81679d803f68a65cdb7e72254949703c19d24aea7dc4a4e557c854abf8afad4b6341099fcaac9a5f68ed861dcc0dc4629b4929d563943e5e7a8918d76f4e87df SHA512 7695b65f10a2d0eb8601426b7e6116ed60a3dcb2a5c66dd2946936398607f1d6aab1c2a64154f0a95102100d8c0e0f3017addbd93fba7b555c57b9d3f148effd +DIST genpatches-6.6-14.extras.tar.xz 3704 BLAKE2B 79dd6f5af3d310844e41da0682b379bd409c8ef02aff3bcca248494e3dd955d25445919de06cf818f58879077576e56574896fbd5da57a079f8fbdb2a25037cb SHA512 ed144b0d65466f35a078fdd2a2b23ff54bd3a3fea36d590f19cc59756c1075eea68ad7f9edcd8d6d7cc4cf79531d91dbb40e57128070b2761d23bbe97864aab6 DIST gentoo-kernel-config-g11.tar.gz 5077 BLAKE2B dc17ded74f79baddd703a78084113b85e7130877b300b5fe60453cde515fe37c52ece7877049bb0ef384f74ecfc73d59d7d4a513f8fef7bf4f651599946383e8 SHA512 e91156765ef2a48396370f884fdecd7bb1d600e5167f6bad51130520f886e9198adae375adf3e40fa803abc5d5482057775fb0275ab2589bd8f94d8af4a03c4e DIST kernel-aarch64-fedora.config.5.10.12 223184 BLAKE2B a0246dac2f7a4ad6a55b611538d24382ac87a8960077811a859c9595ac67f961b4bccb7e139a89abc7c0e26e80832da5c94211fc658082f2e7dde984f14dd29d SHA512 7d803b347b136331db1ad6e22e0445fe0224c3e26cd7c034cbe9794915d457b492e05f77664865079874ec001351553652646e2e08d0fee31e30b841b0008f52 DIST kernel-aarch64-fedora.config.5.15.19 242615 BLAKE2B 94e59440681535e38137b71814e1ae53f57a347f62cf31e0c1c8571ae43d9ae9be9957743c8cbc9ec74850c964eaabefe6799a28bc311ea7b99ee31391b47fb1 SHA512 fb77d3b73a215f97d70cd6d8c96ed20e497786b99ed7d7a7f2ed60cc1251289c1a4c7e058c41b5efac62e4a9b4b3d917dbdb11585955bba2b6584981430f4ddb @@ -44,6 +48,8 @@ EBUILD gentoo-kernel-5.15.146.ebuild 3743 BLAKE2B c9a2ff594598c24cfd37defe34bc4c EBUILD gentoo-kernel-6.1.69.ebuild 3975 BLAKE2B b7c7b165887c467eebedddca18e7b7f04fe3f65ba2eea02efbcd3232822ace79b5b53b5b5712cc4448bbad0b6549c35a111c0a0c4c35bf8da4e43c9f5f55cc8a SHA512 a79e445d24c86e5bb4271a30e4194ac33b9de283f6b2ac994f7be8de6f746f6a3aa1fc05601b02ceb89b9e3568dd5ddcdfac6f7882fa28c262931a7b01a14578 EBUILD gentoo-kernel-6.1.70.ebuild 3979 BLAKE2B 7690e854fda0148bc7efa873f90cb2986e86f07d132c1380746c02b8d9ecd50b4cc26383824278276eaa33cf50485c442397f5870703c1ef3e7056e65f7c2c76 SHA512 92736ed96ee8bc159eb655f91612b02d0e9904eaaafcf4441e1cccc481d4864f81563a5688799b36576ec122650573936ad36ec6fad268c23cd2b3b617dd7088 EBUILD gentoo-kernel-6.1.71.ebuild 3979 BLAKE2B ca61fe4c03bb01424ab9139308e1ef3ee23d413e5975704fe88a775c50cc56ac314cdcb056703e56ebc35b8956c3ca7da8a05300e60ebb07587fc8f3065111ad SHA512 bf1cdf1ff9d3f618b91a7dc3c52f9a42bb22278de9f5f58953cf124854f345d79d9a1329bef3fb09037463a3cfe18d58dbf2173346f29b6b8420ce0ffc96d7aa +EBUILD gentoo-kernel-6.1.72.ebuild 3979 BLAKE2B ca61fe4c03bb01424ab9139308e1ef3ee23d413e5975704fe88a775c50cc56ac314cdcb056703e56ebc35b8956c3ca7da8a05300e60ebb07587fc8f3065111ad SHA512 bf1cdf1ff9d3f618b91a7dc3c52f9a42bb22278de9f5f58953cf124854f345d79d9a1329bef3fb09037463a3cfe18d58dbf2173346f29b6b8420ce0ffc96d7aa EBUILD gentoo-kernel-6.6.10.ebuild 4126 BLAKE2B 5658503eda56de1ce486e26f34c3f9eb516bba53f7111c14daad61747bc96a1df19e55f8baee707e683efeda207848a8594019b1924b7db382d5d09aa1c998be SHA512 678aed43accf104f6151ec9dbe4e052cb10951309a361c284e722cf9013a0b7bfb93d3146d06f4480a5d7d7a935825b5542553de3b21e8bd610e618f03937750 +EBUILD gentoo-kernel-6.6.11.ebuild 4126 BLAKE2B 5658503eda56de1ce486e26f34c3f9eb516bba53f7111c14daad61747bc96a1df19e55f8baee707e683efeda207848a8594019b1924b7db382d5d09aa1c998be SHA512 678aed43accf104f6151ec9dbe4e052cb10951309a361c284e722cf9013a0b7bfb93d3146d06f4480a5d7d7a935825b5542553de3b21e8bd610e618f03937750 EBUILD gentoo-kernel-6.6.9.ebuild 4126 BLAKE2B 6f4fea379e3f966646477680de549477b27d88244ae0104d9047e9ac03c8d3cb0f43d9b0a2253e9f2f13d59191cee1745167c2dce731d4ff6b6d5915c3898411 SHA512 aa5ead4f2c83579b12a2806bf7304476b398ca86d76426e009aa47b1cdf20dcbb6eaa6aa62490922349565d4334930022a69e14a743a44440fa7fa5d5b6ecc2c MISC metadata.xml 681 BLAKE2B c773ebc6132d1c1a2466655e2441e7bfd7be7979e5912d3a27dd1c81b59614fd7a9a9a6f865075071126337eee6435e4c2b57356cec46f47966c4bdbb131ff3f SHA512 caabebdfd4cb3db2a69406cd1dfd9638c828bc1602d3f972350a7e84db1a2caeb563c6750c0998756c66f949953a1508a395b4b4139e88fbe9a20a70ab3a5ad5 diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.72.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.72.ebuild new file mode 100644 index 000000000000..1e3dc608d732 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.1.72.ebuild @@ -0,0 +1,146 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 9 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo +CONFIG_VER=6.1.7-gentoo +GENTOO_CONFIG_VER=g11 + +DESCRIPTION="Linux kernel built with Gentoo patches" +HOMEPAGE=" + https://wiki.gentoo.org/wiki/Project:Distribution_Kernel + https://www.kernel.org/ +" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + amd64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="debug hardened" +REQUIRED_USE=" + arm? ( savedconfig ) + hppa? ( savedconfig ) + riscv? ( savedconfig ) + sparc? ( savedconfig ) +" + +RDEPEND=" + !sys-kernel/gentoo-kernel-bin:${SLOT} +" +BDEPEND=" + debug? ( dev-util/pahole ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +QA_FLAGS_IGNORED=" + usr/src/linux-.*/scripts/gcc-plugins/.*.so + usr/src/linux-.*/vmlinux + usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg +" + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + default + + local biendian=false + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + hppa) + return + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + riscv) + return + ;; + sparc) + return + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-gentoo-dist" + use hardened && myversion+="-hardened" + echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die + local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" + + local merge_configs=( + "${T}"/version.config + "${dist_conf_path}"/base.config + ) + use debug || merge_configs+=( + "${dist_conf_path}"/no-debug.config + ) + if use hardened; then + merge_configs+=( "${dist_conf_path}"/hardened-base.config ) + + tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) + + if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then + merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) + fi + fi + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.11.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.11.ebuild new file mode 100644 index 000000000000..e7a8a302746b --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.11.ebuild @@ -0,0 +1,153 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KERNEL_IUSE_GENERIC_UKI=1 +KERNEL_IUSE_MODULES_SIGN=1 + +inherit kernel-build toolchain-funcs + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 3 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo +CONFIG_VER=6.6.4-gentoo +GENTOO_CONFIG_VER=g11 + +DESCRIPTION="Linux kernel built with Gentoo patches" +HOMEPAGE=" + https://wiki.gentoo.org/wiki/Project:Distribution_Kernel + https://www.kernel.org/ +" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz + https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz + https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + amd64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="debug hardened" +REQUIRED_USE=" + arm? ( savedconfig ) + hppa? ( savedconfig ) + riscv? ( savedconfig ) + sparc? ( savedconfig ) +" + +RDEPEND=" + !sys-kernel/gentoo-kernel-bin:${SLOT} +" +BDEPEND=" + debug? ( dev-util/pahole ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +QA_FLAGS_IGNORED=" + usr/src/linux-.*/scripts/gcc-plugins/.*.so + usr/src/linux-.*/vmlinux + usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg +" + +src_prepare() { + local PATCHES=( + # meh, genpatches have no directory + "${WORKDIR}"/*.patch + ) + default + + local biendian=false + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + hppa) + return + ;; + loong) + return + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + riscv) + return + ;; + sparc) + return + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-gentoo-dist" + use hardened && myversion+="-hardened" + echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die + local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" + + local merge_configs=( + "${T}"/version.config + "${dist_conf_path}"/base.config + ) + use debug || merge_configs+=( + "${dist_conf_path}"/no-debug.config + ) + if use hardened; then + merge_configs+=( "${dist_conf_path}"/hardened-base.config ) + + tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) + + if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then + merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) + fi + fi + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" ) + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 3535b3e54e25..d487a02d50ae 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -30,8 +30,12 @@ DIST linux-6.1.70.tar.sign 989 BLAKE2B 25bd23eab2b1afcdd401f93946b73c05eb2fd2079 DIST linux-6.1.70.tar.xz 135042228 BLAKE2B e32727946bb9169bc903b051dfbbb1423b3fef3fe124162fe1125f1364b3ebd4ab8e4195a788f5102b056be7d23acd88e4a2d1da6f1e6c5546552bcefb1283a1 SHA512 e5ad2477005291d21168d9417f329b3ddee47d0af5ada3e7325490f2a673c9546458e84829aff0728f23a07d693470a7650ae64106e46aa76af4cbf92c22cd36 DIST linux-6.1.71.tar.sign 989 BLAKE2B 2e6ebf3fb8b0cb42f1a23620a0eec961287765ab615eb33bf7f7dc958174ceabc755db2ffe8bab4817c2df00b8aad300099b8a8b7d9cf8e64744d65679a6aa79 SHA512 a7135eace1fb6abc4ec126c4341c21aaa3bb6aa53309b95cd59692ff7b4fdea3b67e2a5eaa0af263c947e9354db005397aef71c658eeb98b4505940ec46a1c11 DIST linux-6.1.71.tar.xz 135083476 BLAKE2B 7248500afc76b024a07bed56418c70b1e7c6729836b7820a95ed7ddd0ebdc83b473d91bbfbe99e352692702054029dff157fc5dd345b9ebaf8f18d0e39f0e36b SHA512 ae0633231fb88c68406944a73e751e4d6409f60e342d6ca32d6b84a70eae9ce52dbb2a50e60947ec52fef7ef00ad6ffa31361482341f2e3c0cc84815ac405ad5 +DIST linux-6.1.72.tar.sign 989 BLAKE2B ae4fc78466ad35ec01110e7519612ccb5db6249a9db2230cc0e3afd8d3c06d91e6d648d33d241d33037b9ffe241e98f388c6e8055586aa8d32903527effb207a SHA512 b641965a04a0dd90baca2b11b4d7b5237c23ec4afd7f9c8e4ab4cc5030f02c83d43fde7358683b9035751727030c861812cf2b67e45779aee822187c2b7c292f +DIST linux-6.1.72.tar.xz 135059944 BLAKE2B 14c55436d9e676c6ace598c54c353c3a28783c5984acc45e9668fe0da1ebe17c7f7a05f12b7fe2eb439b358423da4753138c06c1ba041bed78e4d3786128042b SHA512 b7ca2baef22dee353bd27584148a03e11d381a552288bb616252dc09186dc351177348a2bf564b555f6ff2cb790580f82f2a3734c7da3cf3ce6d39e6ac35cc41 DIST linux-6.6.10.tar.sign 989 BLAKE2B dd8064c58383efa9227acd2b8ebdecaaf30725e7df8a33810df07a7290d00da282a9584f78fef585e7bcb8f6922d550b99579f59863061aeeac5d5c87f2cce2a SHA512 ec5ccfce8e6bcb5fa16d1bc30f4bfc9d15ed4b88ea455d16f5b043e764e2213c1913288a8226c9fdacba835e1cf164c589f04f0b76d38a8347bdcaea0d4c9fa3 DIST linux-6.6.10.tar.xz 140042308 BLAKE2B c71e651438216e86e436af032cb529c029351b72b460568bd75858f835212360d646bae27caeb3140a4234f4155553aceec3aa94d761e3a634be7c164eee86a4 SHA512 5f2de63021a30e9507713ca98515fa1de15f4958ba115beb2e2a4cf331d00f7e6520ac938f6a4732a68fa21da8c0e142b5db1c9be4f604a14bddc20ea596dc8b +DIST linux-6.6.11.tar.sign 989 BLAKE2B 9f711359eeebe63e6cbb53014d1d29d4e3f9b7a6716671619e81631dfc81a17ff933888f08a7120bc872c3646a9eb31ebf35988e999e2256c07ba3c9aa2efa1b SHA512 38052affaecd3933d2e53aefe00d51261a49d2dcb1c03d7f9e0fba0065632ef0b74c07741b6886cf00df3f564c68d544ee87bfd3281c344225b97bdbbc18e6ff +DIST linux-6.6.11.tar.xz 140066712 BLAKE2B 2a2ad3fd93fdc099a3900918faaf6d7c3abae686694f90980586b7dba4ddd81a9312a7e0c684ddea37835395e6f83e203934988d83982ccc4308631d25d24b07 SHA512 587a9b12b8327648815e6258a067dfe7f92cd26de56bef7611e8fba18fcae2b19eada16341f26ce6ad280c9d2971c74ae3d6dfb20ced5cd2d4781b3cb2d4c6d7 DIST linux-6.6.9.tar.sign 987 BLAKE2B 947a3f09c87d9d02a8f8b5330d25cddc6f71ab501d2f52804ca0fa5394cdd5df27e413a17c1af5eba09afd0494328c122e76fec6a7792ba6c889c6d8ba7ab27a SHA512 e25e0b8cae76be052711c3113a7acfc0ecfd7e735fb0a3c7716ac8fdac689ff3f0ac51c6ea0677f3e585561f9c777dfb12b397ce25a323df7728b3352596f74c DIST linux-6.6.9.tar.xz 140052968 BLAKE2B c7deb1221716144b636018ee2936abe6397e15204c9bdb4cb5806f6bd303cd5d3f953a7da5865c4f211b866e4dfec4cd347c0a1a0a675f18b1a4ad197b099cec SHA512 a6a9608b158408bb55737505058ee8d64a901af38230bf31d2eee007c3530503154067e5d37c1f86c36b60ba5dc24771047c6e91de24ed6a256c2f9ecbb9c2dc EBUILD vanilla-kernel-5.10.205.ebuild 3769 BLAKE2B a819d95060bc10320257a1c35a843a763f89e702fe33d93a33770ec02eaaf32a432b6b17bd6485d9e2565c57afa8bcef706bc1cc41ae945b0357f6c7530d7f8b SHA512 539e37e22646fa009c09bc4d9334771e5d57c5d1f234ff668fb7d0fab2cab28fe8b9d7f57fb739f4b72070bfefe6d3e378e65574fee341bd80e219a16f112df2 @@ -43,7 +47,9 @@ EBUILD vanilla-kernel-5.15.9999.ebuild 3283 BLAKE2B 9603317fa6f38182408ea6841e0e EBUILD vanilla-kernel-6.1.69.ebuild 3887 BLAKE2B c89d198cc5b48e3fb06e4fca0c981083a9a04414def46e51ec8f6c44c7d7157c6d8a132eec8d0ba307ae50d1af54876469842a74027abecdd973b5cc19928ad3 SHA512 cf9e0deb874b83f923982f5a11379502bcda164237ad635c64ba60dac8e2d8b9256759be6b01cf3a3d55f5a412e8bc7aaf1ef641b5da071b70f66a9598ed6b58 EBUILD vanilla-kernel-6.1.70.ebuild 3887 BLAKE2B c5d406c26ca7656d70c30b04ec6a63b67516a10553498c14be274e818b1a5124cf5b147a84b91733ae04866dc04a60ec777dd51cc6bcddf71ed23763ae069228 SHA512 ae9ce235f1fdf67212cfc744c50e897a44272027149a39e0f2b5adc5b8bbc6c485b965153019da033b110aad68e8ac893e16b1c4247abc24c26ac0faae4976f5 EBUILD vanilla-kernel-6.1.71.ebuild 3887 BLAKE2B c5d406c26ca7656d70c30b04ec6a63b67516a10553498c14be274e818b1a5124cf5b147a84b91733ae04866dc04a60ec777dd51cc6bcddf71ed23763ae069228 SHA512 ae9ce235f1fdf67212cfc744c50e897a44272027149a39e0f2b5adc5b8bbc6c485b965153019da033b110aad68e8ac893e16b1c4247abc24c26ac0faae4976f5 +EBUILD vanilla-kernel-6.1.72.ebuild 3887 BLAKE2B c5d406c26ca7656d70c30b04ec6a63b67516a10553498c14be274e818b1a5124cf5b147a84b91733ae04866dc04a60ec777dd51cc6bcddf71ed23763ae069228 SHA512 ae9ce235f1fdf67212cfc744c50e897a44272027149a39e0f2b5adc5b8bbc6c485b965153019da033b110aad68e8ac893e16b1c4247abc24c26ac0faae4976f5 EBUILD vanilla-kernel-6.1.9999.ebuild 3401 BLAKE2B 892c5605024b72860be2a59edc694f278c58190fca3992084696d3ef13e30e273184dbb77d0cdd0ddf340c1e54e4e8d26b10d97367233403f2968644c66db2cb SHA512 d3ee150f3f35be6b644c70110610ea475f881d7e281195862ce01de3f567a1e6c3e710f127f8cf6f5b780cb72829e2b41211e2df0c65b53239d73ba83dc29a53 EBUILD vanilla-kernel-6.6.10.ebuild 4023 BLAKE2B 92b3faade9e526e8cd2d27dbd0a3a486189ba28aff820bc449dee97d2abe5945a03248367c917cb9ecfe195dc918358aa06377177d6eddafbae6c645e7fe5630 SHA512 ecea7c4c34a5022fdc5599b95acb2478b21bcc2457ba793671f361f320ff8751426fe3fce483a44335f486d558d8c23e6b3d434581703825773edb3e5dfd3f5a +EBUILD vanilla-kernel-6.6.11.ebuild 4023 BLAKE2B 92b3faade9e526e8cd2d27dbd0a3a486189ba28aff820bc449dee97d2abe5945a03248367c917cb9ecfe195dc918358aa06377177d6eddafbae6c645e7fe5630 SHA512 ecea7c4c34a5022fdc5599b95acb2478b21bcc2457ba793671f361f320ff8751426fe3fce483a44335f486d558d8c23e6b3d434581703825773edb3e5dfd3f5a EBUILD vanilla-kernel-6.6.9.ebuild 4023 BLAKE2B 92b3faade9e526e8cd2d27dbd0a3a486189ba28aff820bc449dee97d2abe5945a03248367c917cb9ecfe195dc918358aa06377177d6eddafbae6c645e7fe5630 SHA512 ecea7c4c34a5022fdc5599b95acb2478b21bcc2457ba793671f361f320ff8751426fe3fce483a44335f486d558d8c23e6b3d434581703825773edb3e5dfd3f5a MISC metadata.xml 353 BLAKE2B cd022bd01b289ae703ae6ef6c2539fcfce833206c55e328ba02fc42b360d60f76b1920927b259dbb199724e6d3e7b0f68ba2044680d962d3cd03a973475582ff SHA512 10b10fd24801843108a71ca7d0c27514965b0a15a60da4d9b521fc41493448a1b1685ae3278dbd46cede0d069e51dede402d2c1448c8ae6a7fcfce8acf415bf3 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.72.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.72.ebuild new file mode 100644 index 000000000000..af7961f3fb66 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.72.ebuild @@ -0,0 +1,137 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit kernel-build toolchain-funcs verify-sig + +MY_P=linux-${PV} +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo +CONFIG_VER=6.1.7-gentoo +GENTOO_CONFIG_VER=g11 + +DESCRIPTION="Linux kernel built from vanilla upstream sources" +HOMEPAGE=" + https://wiki.gentoo.org/wiki/Project:Distribution_Kernel + https://www.kernel.org/ +" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + verify-sig? ( + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.sign + ) + amd64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="debug hardened" +REQUIRED_USE="arm? ( savedconfig )" + +BDEPEND=" + debug? ( dev-util/pahole ) + verify-sig? ( sec-keys/openpgp-keys-kernel ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc + +src_unpack() { + if use verify-sig; then + einfo "Unpacking linux-${PV}.tar.xz ..." + verify-sig_verify_detached - "${DISTDIR}"/linux-${PV}.tar.sign \ + < <(xz -cd "${DISTDIR}"/linux-${PV}.tar.xz | tee >(tar -x)) + assert "Unpack failed" + unpack "gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz" + else + default + fi +} + +src_prepare() { + default + + local biendian=false + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + hppa) + return + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-dist" + use hardened && myversion+="-hardened" + echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die + local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" + + local merge_configs=( + "${T}"/version.config + "${dist_conf_path}"/base.config + ) + use debug || merge_configs+=( + "${dist_conf_path}"/no-debug.config + ) + if use hardened; then + merge_configs+=( "${dist_conf_path}"/hardened-base.config ) + + tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) + + if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then + merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) + fi + fi + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + kernel-build_merge_configs "${merge_configs[@]}" +} diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.11.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.11.ebuild new file mode 100644 index 000000000000..117098af327e --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.11.ebuild @@ -0,0 +1,143 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KERNEL_IUSE_MODULES_SIGN=1 +inherit kernel-build toolchain-funcs verify-sig + +MY_P=linux-${PV} +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo +CONFIG_VER=6.6.4-gentoo +GENTOO_CONFIG_VER=g11 + +DESCRIPTION="Linux kernel built from vanilla upstream sources" +HOMEPAGE=" + https://wiki.gentoo.org/wiki/Project:Distribution_Kernel + https://www.kernel.org/ +" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz + -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz + verify-sig? ( + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.sign + ) + amd64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config + -> kernel-x86_64-fedora.config.${CONFIG_VER} + ) + arm64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config + -> kernel-aarch64-fedora.config.${CONFIG_VER} + ) + ppc64? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config + -> kernel-ppc64le-fedora.config.${CONFIG_VER} + ) + x86? ( + https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config + -> kernel-i686-fedora.config.${CONFIG_VER} + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~x86" +IUSE="debug hardened" +REQUIRED_USE="arm? ( savedconfig )" + +BDEPEND=" + debug? ( dev-util/pahole ) + verify-sig? ( sec-keys/openpgp-keys-kernel ) +" +PDEPEND=" + >=virtual/dist-kernel-${PV} +" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc + +src_unpack() { + if use verify-sig; then + einfo "Unpacking linux-${PV}.tar.xz ..." + verify-sig_verify_detached - "${DISTDIR}"/linux-${PV}.tar.sign \ + < <(xz -cd "${DISTDIR}"/linux-${PV}.tar.xz | tee >(tar -x)) + assert "Unpack failed" + unpack "gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz" + else + default + fi +} + +src_prepare() { + default + + local biendian=false + + # prepare the default config + case ${ARCH} in + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm) + return + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + hppa) + return + ;; + loong) + return + ;; + ppc) + # assume powermac/powerbook defconfig + # we still package.use.force savedconfig + cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die + ;; + ppc64) + cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + x86) + cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die + ;; + *) + die "Unsupported arch ${ARCH}" + ;; + esac + + local myversion="-dist" + use hardened && myversion+="-hardened" + echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die + local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" + + local merge_configs=( + "${T}"/version.config + "${dist_conf_path}"/base.config + ) + use debug || merge_configs+=( + "${dist_conf_path}"/no-debug.config + ) + if use hardened; then + merge_configs+=( "${dist_conf_path}"/hardened-base.config ) + + tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) + + if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then + merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) + fi + fi + + # this covers ppc64 and aarch64_be only for now + if [[ ${biendian} == true && $(tc-endian) == big ]]; then + merge_configs+=( "${dist_conf_path}/big-endian.config" ) + fi + + use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" ) + + kernel-build_merge_configs "${merge_configs[@]}" +} |