diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-22 07:21:18 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-22 07:21:18 +0100 |
commit | f3fb638f09f376ec32bff303d5785b875a1c641f (patch) | |
tree | b87371fb14d6b566de18a4dc1202f46e7061b57b /sys-kernel/gentoo-kernel | |
parent | cb6b2150348c9dc57c68bcba47bcdb6f20e8e508 (diff) |
gentoo auto-resync : 22:06:2023 - 07:21:18
Diffstat (limited to 'sys-kernel/gentoo-kernel')
-rw-r--r-- | sys-kernel/gentoo-kernel/Manifest | 9 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel/gentoo-kernel-5.10.185.ebuild | 134 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel/gentoo-kernel-5.15.118.ebuild | 134 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel/gentoo-kernel-5.4.248.ebuild | 103 |
4 files changed, 380 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest index a1b459be5c10..4cccfc25a786 100644 --- a/sys-kernel/gentoo-kernel/Manifest +++ b/sys-kernel/gentoo-kernel/Manifest @@ -6,6 +6,8 @@ DIST genpatches-5.10-193.base.tar.xz 5429232 BLAKE2B c8ab1eec55b3e282af48601c93a DIST genpatches-5.10-193.extras.tar.xz 3868 BLAKE2B 5261a2132d49eb98e7e292f577eed23ba8da86f3b05b57a75d15543dd1ec0c424f4dba04a39aea6b12e320792a9f0802be6d7876bc64a1f864abed03fc8e0c36 SHA512 5383cad41ca1a0fb2933de4fc07207562ff572231f17398ab9958012b3f27d382b2043fbc9fbd784ec1d5f666f0baaf27e75d0a31473c56779f4cb1a32d89707 DIST genpatches-5.10-194.base.tar.xz 5453496 BLAKE2B 839e14bae65711a5ef31e8e5f32a619f4bb04e0adb88010ed12023737a1729a11e7860f4043a980b8f8f2d4f71725f045d4bbf5a6013138349fe1eab389e8ee4 SHA512 25d2033b9a17f6bbc6ca2342d53fc56f086d75c2b5f4917c8803f393eb7924f0c3da349d5415e91f3290d6206bf5ae0884b3e66c99b0717357c6fc0e8b8a77aa DIST genpatches-5.10-194.extras.tar.xz 3868 BLAKE2B 24b257569d83f8e91dc9159d83b0f2b0b118019e600c3e92ae2625bafcbbd2c466d20f5a4bf5627c3d6f1006b2539bfb175103028956f77088cac7974fd79454 SHA512 aca296b91622ed0fca07774d58a6c32c4231e4445d7a1d91e90da773ef0d9d3c5355a2538df4081d062b153c11f6a5c931ed20833cc3f699f114c52e3213e886 +DIST genpatches-5.10-195.base.tar.xz 5537632 BLAKE2B 9ce6e702d0d172dbf8160f2fb5de2cbe0c4213a7791eb54f8d99dc2c35c147915b2fbca6d340de39fc6f547d412bad09c7dda6fff04a31f352723f42654124cb SHA512 198c3673681f08c52ad668b2b5551a3090c9257fc682dd3cbed7ad96c0859ff2c060c94e996f6d1b5fd2f8edce10c5da7a46e37811086dd13ba41168d00a3913 +DIST genpatches-5.10-195.extras.tar.xz 3868 BLAKE2B 439dd9915aef7b40da7319d5dfb8df39662948c5d2d8e5fa4f6488e01fb1cfe4257bf1e29f1c096544f0e5357ce37dd18ec4181fbe4fba02072bf1dc2c2f6fe6 SHA512 9bb0a81c65ce41ac316023480eb309a92881b4185f047be0cc462299e3d38252a6f79d25967b41098f83cf888381f0e3376295623333cee5bcf27e093c2c9a4d DIST genpatches-5.15-120.base.tar.xz 4681108 BLAKE2B 7e69c38991ab3b5ec949f48fff8564c854017b8bafac61747eede20f79d71dade59effaee29fe849b1fdbee7abcaeeeef3f55a39b95b96bda6a70af05a905a68 SHA512 2be319896281e7cab1646da40a3067c3815270ff5fb29edccda9138862a39ace2192a1cd38a4232bc14ebed0d6c0c877a9fd58f225d7cedca743664e2a993025 DIST genpatches-5.15-120.extras.tar.xz 3932 BLAKE2B fb00b97c8b61234646388bec0dd23a1310a7bdca9d04a2048a32a4e30605662c7001188bc125170aeca2ded63954a71b612908286aeab06928dec00cedc76902 SHA512 c2b6ee91b3505dae7fe78a393001cdf6ac7d0020f8123f14d961b90d1424144996e182fcb5304d5890c041e2d940a960bac0795ebc22e85459285b16f67d9b3f DIST genpatches-5.15-121.base.tar.xz 4695588 BLAKE2B 2bbc7102194c0526cdc1f2e310871756ab87e5edf35273c41a2a8c26abfa56149361a2a8af68e215e14912bf2238c7610f60f69f88916404781488352fbdd95c SHA512 822e207359ef8ce3894152de6aacf66974d8b8bcbc5329dbcbda379cb6dc81d348ad9a38022abd05131c1a4df955426da25bf37b83ac06ccead4aa1277b2eb36 @@ -14,6 +16,8 @@ DIST genpatches-5.15-122.base.tar.xz 4735096 BLAKE2B 10746c787ab70dc82b688b87201 DIST genpatches-5.15-122.extras.tar.xz 3932 BLAKE2B 35fdaa40b4b4e297df7f8702ab017f4c49bbca2aedc652c6e5ba8fec6b1573a57d17a9c7b21f03b56b43d9bc888e3d55354ceb92e84dde0a89983dfa1c3ffc16 SHA512 176deb6aef0eb9dace274bc4ca0f29a8d657461583dc9133feb4272211f910313fbb69fed308705f00c1c6d86845f1e961ea0066b09b42cac75a3579b3d3ed14 DIST genpatches-5.15-123.base.tar.xz 4796616 BLAKE2B 77f5ece18ead48d21a9edca96a96387397e95994a9f33f12eb58b09f3732f6233955a656cd345799b758087d52412221af624638f4b5ba85df54454c03a54e2c SHA512 81c918d213a7577089f8dbfa4ea2f7cdfff08950d6a7813baddd779542fc75d532a5519bf2fc4a2ab59d5a68e56129cded2549f8572043ac303ac8c4eb7090e6 DIST genpatches-5.15-123.extras.tar.xz 3932 BLAKE2B 708144e428faed3f92e76be99ae6ad3e492113f585d8d00fa099911bd528bef269636e10204317c2eccb159aef18365c8f920914617f7565bcc1e348f589f311 SHA512 93eb2ae79468046e6b056371e22b3102245ef297ac4c6db607efa2fc512e259355ce2ff96526fe212a2704d09902262471787390f837534745671d5daccc2b9e +DIST genpatches-5.15-124.base.tar.xz 4885784 BLAKE2B 7ae33a4205652539bb61901bb1c9f7d3c760eeb8f0cd50780f10c060f559d2cb695b12cf1626d11a043868bdc925b319412b9931585a230d0b6fb6eed9c25936 SHA512 1e01ee6d73d10cdf325fc7a9143f7a6bc1c2ee86db3f2e074cf0165094764c862a2b52d91edff510dd567a402e659dc3e136c623fea6346664737709d9893772 +DIST genpatches-5.15-124.extras.tar.xz 3932 BLAKE2B d995682455be830c9920de5bd7a0c51e1093df752e1ed4848fcec77924718f8a702ae754a0a9bdaf2c01190193778dcad33282fc8b8b0c1b63f5ea16e33ac317 SHA512 ff054292b61efaac5a9936aadf9de4eaafbb0be06e45a7b6f82855b52bf0695fdb576244dfda48b9c869b2fdfbc2cfd7d2e19ca50a4181efe9807c2048c96958 DIST genpatches-5.4-251.base.tar.xz 5798892 BLAKE2B a519f23086a440d560e5301b77aa1a627e97d9c2545adddc6fdfe9b55b35dcbef285a6e92d4ab615b517177723875a53b6b5f1dc9c237dec3f23acb511e08be7 SHA512 c8d228cb18f2c64631ee5a40d7de58e78c7fd2c452f54101d0e6f67149d5d3df30076b461dada5bd862e4b97daf30a6d15c3f50526b46156d9ffca946b3c65d7 DIST genpatches-5.4-251.extras.tar.xz 1812 BLAKE2B 440f5d63b80e31753c46c2c2bb07bfdd257cac6847dfaed63a19c9e255da0e6ca31f5535718572afa143918bbab9d8651b0d8462f5bce619866d78acbc063682 SHA512 54d1ea7625daff0c8d50f8abfba616378d8bc4c62cdfdc03648bec9312803464d0c662bfa619c357a73247c00b22b9725896cec5aaefc66ef811e0f97ff62e91 DIST genpatches-5.4-252.base.tar.xz 5808300 BLAKE2B d5cb4fe312f469a331269eca8604d9c43feca79bc6778af670fad859de3098c31cf0408fb58d95f233564e0ab2eff7a45ad041b8fc6bb97be0f93dd911224b62 SHA512 4970b66f064f53db230877fed6434e39aebb727438465667af6eca8603b712089830789c16bae5fe0249dfed0cb4bdbf1ce695cc7a1ebb6ab64bb61b1b38a5cb @@ -22,6 +26,8 @@ DIST genpatches-5.4-253.base.tar.xz 5855284 BLAKE2B af86d19abc80339eb77bad98df5f DIST genpatches-5.4-253.extras.tar.xz 1816 BLAKE2B 2d3492cefc1abb1b5f35c375afb99892eaab0b90f2b5624560b5dfa4b89bc6eff729ed81737e04e33f78e66b74835a8dee260cca14261c5d2a88644b1b30f8c5 SHA512 31a201024441c55f5477b431aa94a2fe4c98977bb9c1a359af07519b8a204f16189f0595bf71aaddbb88c88e73ef918dc3943bc0a17a2a573cf34dd68dcbb211 DIST genpatches-5.4-254.base.tar.xz 5863304 BLAKE2B 5f2004de314bb1d7d029eace7ff48b66c2109ff8f8aadb66f1919c04ac008da386a9a79909d8e27713269282ea4e9f72995712f8ff360fdd865061276fdfe4e1 SHA512 c9466b35a804cdc483f7cfe111d4da24c7baceeae240ac3cb803a93f59fde9d2f8782c839cdea2bb09c111e66438ce13ae920be8b1e00a06c705c6c9fc342ed3 DIST genpatches-5.4-254.extras.tar.xz 1812 BLAKE2B 74d4d513b336aa79c8062560f24ef96638f2fe2d9aedca7dcb0ebfe5b202d0acbe848508c98dacc13d7ac11113b36ba73347f71b63ee6fd8e08706b3246bea5f SHA512 ec766f11f8dbfc63fec33cb3287bc103a8db0857124650f0e99a8f24ec46348e8938b9c70d7d24c3d528eb82df4f8c60959d6f5650c420446172cbf6932f7207 +DIST genpatches-5.4-255.base.tar.xz 5936432 BLAKE2B 2e9211cf49ea349f00ed7aebf0af3ff36a858359a20d4691898ecbe2c7b3158ef81d7c2b4ba133d19aca0cc5b986196a5ea1ea6d3ac83aa6176a2aa36f8f3410 SHA512 1c2fa60f1de83ece831d9c553c81c2c798f3c3d6507d054d35e6be207819daa3b1137176ad39fff9ba148d99e1fbeb1b33f422e44e362bf489c1e70b952474c6 +DIST genpatches-5.4-255.extras.tar.xz 1812 BLAKE2B 0587b02c09b3a70503fd3025ffea3b014e8d4020fb1b765c874dca27369282537f1a42562e1f12c7bc5e303bf8c7b6548750ced89743447007d04f3ec07d2a86 SHA512 884978d503a02f21ab2f5d9463c7efb9cd8c5db410dc6c3e18100fcb03b49543722947bb49119026cfff543308c5d0f3098e9a7c5647defb92486798522dec21 DIST genpatches-6.1-36.base.tar.xz 1892196 BLAKE2B 21e7b006889ce39d3b2afaa981cb04c1229050d13b944086ac2c51add6c63dc96c3ac2dda188dfa11a45343904e26589684ffea3a22c235738c1c6d8c38a11cd SHA512 b4de4f6db586a9aafddf639ae914b35ffb0e2340ef312c64a48f4a0bfc02c573437595fc61596245dec2eac7add9f62925e575e2f621d2cf2e80262096f64df9 DIST genpatches-6.1-36.extras.tar.xz 3808 BLAKE2B ba99390043e4a62ea1322364ba601440fd70079ffb98dea924f91aeb00a7add4d2402e16589e0406e66ff9e0ec7a9d0d76e0a14276fe486507345c8ebeb82bde SHA512 ab4170a7b75c2617ccd5c08b7c5d84e68e593cacdca70dd59ed0b738639ddf3bbbaf6a4758728ff74026478a341782eb0e73a6a40ef9a7158f9c6221703afc55 DIST genpatches-6.1-37.base.tar.xz 1905836 BLAKE2B da087dc0f3e1f683b025c16f9fc4c60fb041d9b1a7c886f6b235dbf28afedda1283780298add52e211d4bde198247413c633908f891f6d1464bf0caeaff76f26 SHA512 528ac52eb398dc272a0011384c6ca4af72cd7e0b4a75f5c81d71c8aa7b04a11b58ab5445b99bfb53bc559e99e5aeb42dd9479aa8c8b2d42510709614de75872a @@ -76,14 +82,17 @@ EBUILD gentoo-kernel-5.10.181.ebuild 3660 BLAKE2B a00d551fbfc33807e966bc55b6a8cb EBUILD gentoo-kernel-5.10.182.ebuild 3664 BLAKE2B af024625d4014a5bf402702c3d2e637ee0eeeda12e7e2e21eee657fd019f7726256bcb2639d8872e68b49cca6eb55d39f8e6d42cbc262bc74f21bd5796228eca SHA512 e4189b5c983d2f6a194e903739cc024161f3e2f4ee40a24a29490931bbf1eba2ae622da022a8103f761c29afda7bdbeaace747903741205c13c6920c1ee9cbb4 EBUILD gentoo-kernel-5.10.183.ebuild 3664 BLAKE2B af024625d4014a5bf402702c3d2e637ee0eeeda12e7e2e21eee657fd019f7726256bcb2639d8872e68b49cca6eb55d39f8e6d42cbc262bc74f21bd5796228eca SHA512 e4189b5c983d2f6a194e903739cc024161f3e2f4ee40a24a29490931bbf1eba2ae622da022a8103f761c29afda7bdbeaace747903741205c13c6920c1ee9cbb4 EBUILD gentoo-kernel-5.10.184.ebuild 3664 BLAKE2B af024625d4014a5bf402702c3d2e637ee0eeeda12e7e2e21eee657fd019f7726256bcb2639d8872e68b49cca6eb55d39f8e6d42cbc262bc74f21bd5796228eca SHA512 e4189b5c983d2f6a194e903739cc024161f3e2f4ee40a24a29490931bbf1eba2ae622da022a8103f761c29afda7bdbeaace747903741205c13c6920c1ee9cbb4 +EBUILD gentoo-kernel-5.10.185.ebuild 3662 BLAKE2B 4957c4f6557b152d45fdf8d93444a02938869823e65fcd1365973e00bd97edffdd2d466225218923f41c0e4ea45c5205b55a2263a337c6f1445304d7adc9c17c SHA512 59965dacbde12f82cef2f6ed790dbc409969f53303598dac62b06a3f76643338ad555a704fc711d3dad1eb0c850589a3618dc98f785d14228be628f57688623b EBUILD gentoo-kernel-5.15.114.ebuild 3656 BLAKE2B f28fc4c7aac5f5c4f20e0feb60082a589e06c40732771613b23d6e0768fe550f8e328a25e0b292bdd80b0ef50e51f85a66f509c8672615271c041bed2059932c SHA512 31784e64a5d7dedcc6ecee27b144778502b62e2afc7f5e27ae890dfe155171970081952d425fed6499750e84c68335a0317763db7a9d1f158e655d175f6ff9d7 EBUILD gentoo-kernel-5.15.115.ebuild 3660 BLAKE2B adfae469fe7d2bc99867375d81d6a157a24d79c6314c41330c9e5460890cfe06e22780d341950f4f2002cab2a72704eb6bbd33d25683e665078b5a47eba6d380 SHA512 b168699de4088c154047829cda497d6f51aec4b56aa1f3f6eb99fc04d01d14c080ae8c5a456cfb0891f5d9477d79be7b38dff28a7040d4e04067f43fd1b246f1 EBUILD gentoo-kernel-5.15.116.ebuild 3660 BLAKE2B adfae469fe7d2bc99867375d81d6a157a24d79c6314c41330c9e5460890cfe06e22780d341950f4f2002cab2a72704eb6bbd33d25683e665078b5a47eba6d380 SHA512 b168699de4088c154047829cda497d6f51aec4b56aa1f3f6eb99fc04d01d14c080ae8c5a456cfb0891f5d9477d79be7b38dff28a7040d4e04067f43fd1b246f1 EBUILD gentoo-kernel-5.15.117.ebuild 3660 BLAKE2B adfae469fe7d2bc99867375d81d6a157a24d79c6314c41330c9e5460890cfe06e22780d341950f4f2002cab2a72704eb6bbd33d25683e665078b5a47eba6d380 SHA512 b168699de4088c154047829cda497d6f51aec4b56aa1f3f6eb99fc04d01d14c080ae8c5a456cfb0891f5d9477d79be7b38dff28a7040d4e04067f43fd1b246f1 +EBUILD gentoo-kernel-5.15.118.ebuild 3658 BLAKE2B a804e9d4a81de72ceef7891d6059bff2a227ffd87499ab37951ff06ace04fce0ce12d4d01cff7cd649a070884e11ee4a6240800256ecac2f086d6bf63a3ce08b SHA512 a147ae4b5bd3f759564fa13e6c0bc2c62db8a43c2ddd4bdb5297d1c5dfd919d87d8373355e5a8d93467e7ac6873e401802b81bedced5ab0ad2e7c310f40d77b8 EBUILD gentoo-kernel-5.4.244.ebuild 2860 BLAKE2B bc1812c00d3f6c58b51d0e9389055a6ca000db0fea5dbdbed392790fefce8a9abb2766c1083c3215c09453d89d6fe9889ffd62b1bf873ff69dfedce41badbf7f SHA512 96e28a4dc569a8d6ae0ea10710db9187a26a448640e76507414031b5ea16ee494a889cbb4a44b9f13cefc9c00d4066a46e8a0887f9fd5dabba5072605d283023 EBUILD gentoo-kernel-5.4.245.ebuild 2864 BLAKE2B 9c8cfab868459f96ae38c0be597633a33ca73abfbf3fbe6f7e970ebf02874e440b56da5acb8368f54f30b6788b9262952b88c946b36f38dfc11a9a8b54f36f73 SHA512 014eb31ea72d58680b6c5bcadb70439775b2946789ae1a9b478fa8d50355bc834dc09b4cf7357a9ef051b657f5e8bf84a73a839bcc2f86863ec6eec51f053253 EBUILD gentoo-kernel-5.4.246.ebuild 2864 BLAKE2B 9c8cfab868459f96ae38c0be597633a33ca73abfbf3fbe6f7e970ebf02874e440b56da5acb8368f54f30b6788b9262952b88c946b36f38dfc11a9a8b54f36f73 SHA512 014eb31ea72d58680b6c5bcadb70439775b2946789ae1a9b478fa8d50355bc834dc09b4cf7357a9ef051b657f5e8bf84a73a839bcc2f86863ec6eec51f053253 EBUILD gentoo-kernel-5.4.247.ebuild 2864 BLAKE2B 9c8cfab868459f96ae38c0be597633a33ca73abfbf3fbe6f7e970ebf02874e440b56da5acb8368f54f30b6788b9262952b88c946b36f38dfc11a9a8b54f36f73 SHA512 014eb31ea72d58680b6c5bcadb70439775b2946789ae1a9b478fa8d50355bc834dc09b4cf7357a9ef051b657f5e8bf84a73a839bcc2f86863ec6eec51f053253 +EBUILD gentoo-kernel-5.4.248.ebuild 2862 BLAKE2B 0de564211014dcf7410772469cc90a27166233e4d328af504faf119ec7b65060b237fa4b06218e7bea7e622c1fb6e4a778f36ab47e748fbbb51c0ba8f555f995 SHA512 beadf2fcee008b45d8a7e48decfa1f7fcf1c529a694b7c78b264a4e31bc7433b2d482ac1b23b33cd46fbd8bdac29ab90765542b73067d397d41be87545e5cce8 EBUILD gentoo-kernel-6.1.31.ebuild 3915 BLAKE2B cdeb40055499aa278517eff23df65612c7fb693dea99ca4351f95167a1175d3d9fab18c949cba669b3e4a400092290344333a8bcba90337da114aa164708ba9a SHA512 16fe59fb76315074103bac47e4dfd18274f09dac862381b521ab0d3c32c58cd11076404d59aab7d4351ab6786294c8c06a787b2e3a4f88c7d03c9eefac58effc EBUILD gentoo-kernel-6.1.32.ebuild 3919 BLAKE2B 94d646109f6ba20b49d1b536b60f864931c42a093a934c9a54d5bab61f84adf8d072a401c36e4f464125756d15373c159d835c8b64da9e68f364dd85360e13b1 SHA512 3e9d6bf7af0ee81645f3fa3410c6fdc5cd06876c952a77e3ae043634b15b3fd6370e83eef8f312a883df87d98dd9b228f7b4d30145b514cfa5037db0fbe6243e EBUILD gentoo-kernel-6.1.33.ebuild 3919 BLAKE2B 94d646109f6ba20b49d1b536b60f864931c42a093a934c9a54d5bab61f84adf8d072a401c36e4f464125756d15373c159d835c8b64da9e68f364dd85360e13b1 SHA512 3e9d6bf7af0ee81645f3fa3410c6fdc5cd06876c952a77e3ae043634b15b3fd6370e83eef8f312a883df87d98dd9b228f7b4d30145b514cfa5037db0fbe6243e diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.185.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.185.ebuild new file mode 100644 index 000000000000..60cb6b3234c4 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.185.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##*.} + 10 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +CONFIG_VER=5.10.12 +CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530 +GENTOO_CONFIG_VER=g7 + +DESCRIPTION="Linux kernel built with Gentoo patches" +HOMEPAGE=" + https://wiki.gentoo.org/wiki/Project:Distribution_Kernel + https://www.kernel.org/ +" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~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.118.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.118.ebuild new file mode 100644 index 000000000000..3c2fe5f00808 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.15.118.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##*.} + 6 )) +CONFIG_VER=5.15.19 +CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01 +GENTOO_CONFIG_VER=g7 + +DESCRIPTION="Linux kernel built with Gentoo patches" +HOMEPAGE=" + https://wiki.gentoo.org/wiki/Project:Distribution_Kernel + https://www.kernel.org/ +" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~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.248.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.248.ebuild new file mode 100644 index 000000000000..c3b86af3193b --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.4.248.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##*.} + 7 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +CONFIG_VER=5.4.21 +CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea +GENTOO_CONFIG_VER=g7 + +DESCRIPTION="Linux kernel built with Gentoo patches" +HOMEPAGE=" + https://wiki.gentoo.org/wiki/Project:Distribution_Kernel + https://www.kernel.org/ +" +SRC_URI+=" + https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz + https://dev.gentoo.org/~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[@]}" +} |