summaryrefslogtreecommitdiff
path: root/sys-kernel/vanilla-kernel
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-17 00:09:46 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-17 00:09:46 +0100
commit74e526c590f52d24a213e25f77858ae0b34ec2c8 (patch)
tree0f6f22133ae9cc04958f6df6d39a02d90ffb1aaf /sys-kernel/vanilla-kernel
parent0a3feeaba4dbc58966dccdbbfcd7fb14deef0831 (diff)
gentoo auto-resync : 17:06:2024 - 00:09:46
Diffstat (limited to 'sys-kernel/vanilla-kernel')
-rw-r--r--sys-kernel/vanilla-kernel/Manifest15
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-5.10.219.ebuild137
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-5.15.161.ebuild137
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-6.1.94.ebuild137
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-6.6.34.ebuild143
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-6.9.5.ebuild143
6 files changed, 712 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest
index eedcb926f10d..b06c665163e1 100644
--- a/sys-kernel/vanilla-kernel/Manifest
+++ b/sys-kernel/vanilla-kernel/Manifest
@@ -22,27 +22,42 @@ DIST kernel-x86_64-fedora.config.6.6.12-gentoo 243607 BLAKE2B 7e670d37c6471e50aa
DIST kernel-x86_64-fedora.config.6.9.3-gentoo 249762 BLAKE2B 077e4e37ac8c4287342106ed9ec4319f8db41b9293e72e9b8f7cec56a346b4ae42640ee02526108a3384631f140922c1eb5000a50bd8f3ade43bca4903036737 SHA512 9051567f6d68443d8b2525d203d827f3856e95bd721ec3bdfcc8865696152b65fcee114ca2629906e66abdca7dcc7549f79d8bc6574c7816fa08f9bf25779c8e
DIST linux-5.10.218.tar.sign 993 BLAKE2B 3d136cc2f73c93906d68946d5f2c8858ce48f22c3c14e10e0d948acfd4c951b6dc636698c0e362ddc2003fc96ebd4388c0a9ce2127aaea67aa6e1a38bbb620c9 SHA512 2ad9d65207d16dd0fbb2558214666e8ae3d47128ec279ed01b2d25486aed2e68371b113f7702e86c5561dff7cbe3d354623dbc51913f85b5ba0ecec62418a5ad
DIST linux-5.10.218.tar.xz 120655972 BLAKE2B 8fa0d102a8cba573cc700bd4628aee4b83b964180b4fcc95ec67ebce3d8629312c7b82879089984fe8506b599c7154c0e437616373aae78b02db52c58379d925 SHA512 3310964ae01490377978f3e01c73fe980ff57049b258beb39516783143fd464155b215ba21b73110d857b88fb0b0d571f56ba130e004217a390f6b7a61250d2f
+DIST linux-5.10.219.tar.sign 993 BLAKE2B 95b8b7e6872b277d6bc83f8643f3a591a615518064024fee3412f245f59eb22ea3afdd0d6ee93cb6c7721e7e8d48fa430911bafa7605f9122b9f4009bb3dd5ed SHA512 7e32232be6342a25e75c0af6d30928a2f342ced654d80b3d20f8f4b836bda9b22499621b604eb689eca90facc63ef9b8f38f1e33d40559b2ea4f377d5b426e37
+DIST linux-5.10.219.tar.xz 120669448 BLAKE2B 9c16889fda8dd02ed2503af913bac73664e405dd744437a680caeff7c7553088272b95c074ab4a23401f9c3a38b7db45ed426412c131538f16b96cb58a7968c4 SHA512 e62d8262654054c3a05e5e0a62dcedc51499fcfa078a4c19cb52c6dca82a83125152b83aa9bc0fdd448f563fbd71409305402d1a12cc8c7a038b8bed76ac482e
DIST linux-5.15.160.tar.sign 993 BLAKE2B 55143ec2dd01ef5d5ced58fc80bb5cc1ea0f54f593272bd0d1e988473239a79f8f8a92cbc21102e551b7a88ad5e263d0ad9903e5eb61df129abaaacb9c5d229e SHA512 981651ebb138ca223abef22dd21d4b7d856aab0524c37b6418a6320bf39fc2af26012fb2c57027b0bc30f057dfabc61ad0150628f343f76046726a254fd9b420
DIST linux-5.15.160.tar.xz 126646360 BLAKE2B 1eb8a99444768acd9c1259625220f09dc8fa3bce6d854500fd2e6fd24a575ae20ffc7c4395c096cb7bf5f075b6cf478f128ec3cea40fed2c2c38ae5d241c91ad SHA512 8d5839dfbf72024fe4c22e556f3d3c209cbe21d7682cfc86fad76708472eef87bd4c81d7bb7d5abce438b99855e4e3b9214c8d7bb31cc695b55b7ddf7d3d7edb
+DIST linux-5.15.161.tar.sign 993 BLAKE2B e6464f00b905ab861421e87a96dfb2e54d433e924401cd022dfc8a7801767c1cd247a59a9beea84664b6895e49c8629f58080902fcf1728706ef57bc3e954adc SHA512 fdaaf0f6d49c4ba04920723c0352fe067d31b6abfd9625999b0977b23e73c03ad4abb3fbef818128c7183a45a9e001d75d2b127f90de65a4249bf73b0ff403fe
+DIST linux-5.15.161.tar.xz 126661488 BLAKE2B 4f7787ad6b08c3248df0b665b494c52966f93f5131455cd8f90b86c16b5f9ac30653778ec7e1003887700961ab1e6082347ef272570147f7629845b10080e72f SHA512 64ff65b0b15ee2f51609129ca92132c25618e76cbca204d5cb19d0239f58e6470aac782448466e8b0d776c0e4ac85a2342e6b053fbe2982b8e99100784ceaf5b
DIST linux-6.1.92.tar.sign 989 BLAKE2B 7f97e584239403f76bad6f936b406909691547ffd50b81384debab3894d91d7996311a73dcbaaba3182fc1359dfbb4f1cd284dadae0cd319db2ede475c18fa56 SHA512 1e6f49ddcfbcc59ea6a2da37b7480bf54b3d5dad6ad70de0a2ed71882ffe51626f444133f8b0ee992cfa52fa9867f3db8942228e3dd50396ff0252b17cce045c
DIST linux-6.1.92.tar.xz 135138980 BLAKE2B 5c3b5afefc3d4826d07d868cd30154db3148177195c416a2138c3e63638d26bc76fde22bd57f4ff805d2848056e3e868953359a6ab2d33b9e49e28cf178e0f89 SHA512 839663ad83d4448edddda5e16a09a035dd557489e8c5bd57dc1a120f6e9c2ef1c05b9a8c4da0222de28be26bd15a5f49092656091b3a0c97525279b4bb320e9b
DIST linux-6.1.93.tar.sign 989 BLAKE2B f6551f43a6560a1ee1972fdea79a55cd89dc988b59cc16607d400698d5e154bd430945a48853b9e8dc8f74fe1779d063adc1c155a5878b079b61c6d3f9baadf6 SHA512 2182629f398e6784d57110993bc10dcb4be5a11a241c6343fce99d2124cdd41b2d9fc4ef106aa97808eb2ed0a46cfaae390d96561eba41a6ef1b0e197e9f2f97
DIST linux-6.1.93.tar.xz 135165348 BLAKE2B 8110161367b55390d16976fd3ac4c1499d05598dcbe0f069f08e76df9ef94056aedab93c78dd4617028fb6118e6479670f594178cebad6a389b01915ee2fb64d SHA512 9c4441369aea49031522e5f9664ba9b7d3af4624a761da67609ee5af92a034600d369887ad3ca3c6202b1f0163e1551c52a33e61a2f8d0eeecaa800912de0484
+DIST linux-6.1.94.tar.sign 989 BLAKE2B 77fcb49b169cb0e4f83bf964e505df0065a8c390bbfac0f00068bd172eb6f7606caee3324377c457a33fecaf57aeb00cb86791f46c321accc7632df0ac05b093 SHA512 dc8df1379651e5a9d52789a0483dbd9e3ecfc937f6af185cf340273aef19d10a9c2977f9b824ed477f89db889c24bb7fe9e076cfa2475a5d1ab1dcec641dc645
+DIST linux-6.1.94.tar.xz 135201488 BLAKE2B f1ad3dd9cade3cfc45f1e3732c21b62486372f8ed0ffe20e7c9bd4da20eea1d4db3ea310fb103e2bdaf0935efc1f5b290ea292249c23e66428bb1f9c4f84881f SHA512 41e37c17215783da64e855eac89a014811ea2aafd6687bc0381727083d270df55d979493f62d264ba221d34cc67494c25a8d5e146dc38e5a3a66f104c9227079
DIST linux-6.6.32.tar.sign 989 BLAKE2B ddfd3ca2ccda00a7550f6f42bdebccdf3564a54516cc03f80a350e3d3af8a3f5d1275f0200118ae60e37e13bb3966c80d19cd422d5f4f4b77a6c6371c022ab91 SHA512 99ceefd0c2cb8540d816b558a889f955f562d4db911929ee20963b2bbd22b4b7d2ab415d6bf975662c3025e6295e6000139df0043902797e528ebd09a114fd42
DIST linux-6.6.32.tar.xz 140213376 BLAKE2B 6456fcafe10eae6c0cf962b651aa567ba9ad522c4df0c87301ab0060313b8179a818a1d305e0af21599bc5b7bf42e2f61121a2ee0658a065524d098eb2947f0e SHA512 e8b8d05faeb0c8a467e36fbec87643f35bf868caf6f64d10bee2a2e18566bc586a9770c247c1fb82a6af811455d5c2d5f313703b05778069c95c5434b418b3f0
DIST linux-6.6.33.tar.sign 989 BLAKE2B a4a5a8415012e7a7dbff8394c75716966ea3b00826240bcfd246e411076da1fb8989764bf74c0e7becbe475b5515fa46f1212eafba7b310ffff37b0383372589 SHA512 07417e3a151d7fadd0c3ab6d3522e483c8635562eb5d3b245849d4db2ffddf6a4b2ff19af89fdbbc2137944126b2a537da829f20088641a65c9f103c2ea5d002
DIST linux-6.6.33.tar.xz 140236216 BLAKE2B 6ebbd2c2ef18c285cf1176914799fa80120e2bc193d45b71ab76f2da36624c28387af1130f906420ea993cf92efff9c148e9409e7b35aa4d5e3cb72f36568f74 SHA512 445341c88c3976256c9f40149f62d73787808099c85e9cd6652a0b8e4ebfadc9ebe57169e5f7e586dc4d2c0679be58f688eadfcea575454465e8eda45261cc03
+DIST linux-6.6.34.tar.sign 989 BLAKE2B 9e84568ed481e27a28a69a2ce5978d8aa3580f347fc4c16a83ddd868f9bb133b45df595c931156397037785b0698f183c8e0fae983c6a1ad0c0450fa82c1dbd8 SHA512 b9c3fb3d3e6335ffa9e0bb88526ca5d482febd0c3eded26e85562b0538ae2024d62db9e3dfed3771badc5d14d53a3097278c0ae6d3f50ceb46b71a9c37379b06
+DIST linux-6.6.34.tar.xz 140238292 BLAKE2B f60ba869f55e08c63b7179d0c887c60dc495db5f70febf78956a2bf8c0636128e47e3ee626686df189255beef381119c1be76eeb1f4f8448caa7f9192cc4ea63 SHA512 eaa792be65c4cdfd37b84d4dadd22086c8507c1f78d538255cff03595e1caee0f88b521c398b6bc9ab3632010133cff5c7b14200413d54cf0a38bea79c2fd29f
DIST linux-6.9.4.tar.sign 987 BLAKE2B 0fff6dd562f11ad4eb3feb6b82a77f173f00bd229f43b88161550c470dbf81b2388edf3bd225e4dfa5e3a270f2c18aa0deae25000fee628c5287b522553a2ddb SHA512 cb557e875597ad7a633a0c846d5de5abb0742ef1b71887b2af7e468d368c3b9036f59ed328f33a233a563d965384efee8e87e24d48b82a42b8c14891c7955aed
DIST linux-6.9.4.tar.xz 144059260 BLAKE2B 5579aef00f38e87ee9a9878ad4340aebc9c2590d8e813e2e106af59c6739e39a37267672ab7aff56160c8519d3014d139e6c849f33b9292c6fba019bc88d09da SHA512 33f4f817ad885479812d6bf4f9d3b6aa8f022828f81b6009488707b7f98a4014ad7aa70ebadc5fd06ebc4f49a92dca4980aa591f59f04678fc28a1207134e27c
+DIST linux-6.9.5.tar.sign 987 BLAKE2B 8ca5d6992b1e2d43be678d27fe019593521d6d3392aa6456ae5fcbfeaaa5e9b33d085159eb27c46494bd5e2db8cada61d7c0ebff903e49b5925314efb78ec77e SHA512 56873ddb3e567d14bfe97f980f79cc44a5ac651cfdb442a641d61c3f0c7c63df121ab4cf727238f58a131d88e1a505fc5a62d4c0afaa8f3e1d0902e8c1411e31
+DIST linux-6.9.5.tar.xz 144060160 BLAKE2B a120ee2517ff9bdc164a55cbd78929b545d77d8f3b4d09e8903ea9c2f1a85ef837b079524dd465b3f0cf268ee1f6db5166ccb5676ac67b31bca1927ea0a6997b SHA512 e209f5b0d12e73af43d1c1312a6bd445a50be0bd5fa72f7d0efc1d032e7c1413e167901d083cabab2c35e19987bdab37ea729fea381ff38b6202cfc513ef1401
EBUILD vanilla-kernel-5.10.218.ebuild 3769 BLAKE2B 674f934a89efa53eff9792e600448548d9cbc8390226d1673a25989299d36ad09697e04e11b063f95d9493b3bfbebeec0d1d84e24ae697a253c95b301a4148e9 SHA512 2f81b6848c9cf2e3162a921bf80a282ceccc2d492fb0a1bc1f15ee7e197f5735415b4916798c054470dc39c8fce6d924a23f7702aa71036ab3696f2a6790dca2
+EBUILD vanilla-kernel-5.10.219.ebuild 3769 BLAKE2B 674f934a89efa53eff9792e600448548d9cbc8390226d1673a25989299d36ad09697e04e11b063f95d9493b3bfbebeec0d1d84e24ae697a253c95b301a4148e9 SHA512 2f81b6848c9cf2e3162a921bf80a282ceccc2d492fb0a1bc1f15ee7e197f5735415b4916798c054470dc39c8fce6d924a23f7702aa71036ab3696f2a6790dca2
EBUILD vanilla-kernel-5.10.9999.ebuild 3284 BLAKE2B f50697c5b5e8f0c1ecc80ce51f95cfe2bd7e4d1e7b81bfcbc5ca706378e9494b72c28a459ad2b39a09dbe8920fcd057fbe12a9df129246aedd6f56aa42baef79 SHA512 79e17fda3685dd651b8962857f131fb19c7e8082ffa2fd27df52891a4487786e5037b231f53850c22c325b76844d250bea8af9814b84b34cf046bcb3cdf6d7af
EBUILD vanilla-kernel-5.15.160.ebuild 3769 BLAKE2B f8f161e4bb54334a52c39b61a89a21a87302be2e23cf19cdc1646503e322c6cf77cc15f5c60384e9ba1d6ee3c1c3e11cb65320b0c81e073fbc22d4f82ac2c043 SHA512 c4876f9ca7bd893897e5f1dad92dfa12c123f4d691ee36aaf90222df2b25f7362a75504c89ca7b3592cd61ea95215fc822871dd41786dfe674d5de69080d600e
+EBUILD vanilla-kernel-5.15.161.ebuild 3769 BLAKE2B f8f161e4bb54334a52c39b61a89a21a87302be2e23cf19cdc1646503e322c6cf77cc15f5c60384e9ba1d6ee3c1c3e11cb65320b0c81e073fbc22d4f82ac2c043 SHA512 c4876f9ca7bd893897e5f1dad92dfa12c123f4d691ee36aaf90222df2b25f7362a75504c89ca7b3592cd61ea95215fc822871dd41786dfe674d5de69080d600e
EBUILD vanilla-kernel-5.15.9999.ebuild 3284 BLAKE2B a5d8cce04aa59b3e94740eb04045499d7cee17fad129208396d27b81899b7c1bcd71df080bae7c250c38451f220f5aeaee7187087de033419763f78e150e2e8e SHA512 1780ccc6cae8f8fc963054333bfa025d4b80c72d233386fa247c68c773a9080c45c0b9ea881f3ee5046d24f292bbd64b5912848654687dfab9c826a83e91bfae
EBUILD vanilla-kernel-6.1.92.ebuild 3887 BLAKE2B ba9fce000676de7081b59b6f52d6be9273e85475e7b79caa137e9eb6605dcf362b15beb45504adf8cd8c9b58797fd9f9eda43bf1c6aecb4483a2855d91fb0023 SHA512 0d1ae17d29f2b270070fd6234050c94c79b4552f56227178694c28403a01e7008f84eb84ed0f7fa79bc45f23dcc1048bb849c2d6986994b4e47e4fdb3e962e2f
EBUILD vanilla-kernel-6.1.93.ebuild 3887 BLAKE2B ba9fce000676de7081b59b6f52d6be9273e85475e7b79caa137e9eb6605dcf362b15beb45504adf8cd8c9b58797fd9f9eda43bf1c6aecb4483a2855d91fb0023 SHA512 0d1ae17d29f2b270070fd6234050c94c79b4552f56227178694c28403a01e7008f84eb84ed0f7fa79bc45f23dcc1048bb849c2d6986994b4e47e4fdb3e962e2f
+EBUILD vanilla-kernel-6.1.94.ebuild 3887 BLAKE2B ba9fce000676de7081b59b6f52d6be9273e85475e7b79caa137e9eb6605dcf362b15beb45504adf8cd8c9b58797fd9f9eda43bf1c6aecb4483a2855d91fb0023 SHA512 0d1ae17d29f2b270070fd6234050c94c79b4552f56227178694c28403a01e7008f84eb84ed0f7fa79bc45f23dcc1048bb849c2d6986994b4e47e4fdb3e962e2f
EBUILD vanilla-kernel-6.1.9999.ebuild 3402 BLAKE2B 1c1395e8d35a4b0b32d5e80b72d7589de2c593ce057cc8fb03e04e72dcc440755c633a4c2f52d6d69d4f4245d543dbb559516b925dd929a122e7f4e5aa135782 SHA512 3cfaa7e5c1557904270706ec647ae07ddecb8f7b5cdb7380aa4a97a44e61e9362e12adfea0bfe95998cf0bdc35bd3f62450e12ba18c5b0d1cfb1bd805f9ef56f
EBUILD vanilla-kernel-6.6.32.ebuild 4024 BLAKE2B ef4f96d1617a17ca2fe7467f25642461493c52407ef9f5f366a5c92c5bf7d15f31d17e7419d1f79b37700b5979056c88f50544cad9f256b5bfb72808311bce4b SHA512 ce928951fa6de6096a71c8e9fb0244c470302443df384d256285cbc7fd672426eb587417f435e0a520d50d3f86191068f715546fb50034feeb08f3e32567a1bc
EBUILD vanilla-kernel-6.6.33.ebuild 4024 BLAKE2B ef4f96d1617a17ca2fe7467f25642461493c52407ef9f5f366a5c92c5bf7d15f31d17e7419d1f79b37700b5979056c88f50544cad9f256b5bfb72808311bce4b SHA512 ce928951fa6de6096a71c8e9fb0244c470302443df384d256285cbc7fd672426eb587417f435e0a520d50d3f86191068f715546fb50034feeb08f3e32567a1bc
+EBUILD vanilla-kernel-6.6.34.ebuild 4024 BLAKE2B ef4f96d1617a17ca2fe7467f25642461493c52407ef9f5f366a5c92c5bf7d15f31d17e7419d1f79b37700b5979056c88f50544cad9f256b5bfb72808311bce4b SHA512 ce928951fa6de6096a71c8e9fb0244c470302443df384d256285cbc7fd672426eb587417f435e0a520d50d3f86191068f715546fb50034feeb08f3e32567a1bc
EBUILD vanilla-kernel-6.6.9999.ebuild 3532 BLAKE2B 14690ff99ca00bbbfcb70d2484ef57cb24821b7d5d6bf0923895bb7b475b01b1e5810129b586831c607a7063cc8fa83fe4a7fa9fb71b91b7c10b24bf64282d04 SHA512 85ff2eb452281ced4d48946d094ca58a97d6d1467ed71ff8aac02c96079d0187a46da1b23e0c5c2213ff47de726fe8be060e888bf476d2e4e47c5f1686e8c805
EBUILD vanilla-kernel-6.9.4.ebuild 4023 BLAKE2B 9aa7a8cda2244c2ba4f89793dd41c9f1ccb10b76012f545c4b6e4eec0809190ad6561296a85a3a18bc143f8c4bdd8de80ac144edbfb56e137da5ce0f689580ec SHA512 76491cab039635c8f144f37943788fd73af6df0b241996bfd060dede016155b6561870a1b7af36e76977555de7c3fd03755ff32ee932b540e704c7a774f17bea
+EBUILD vanilla-kernel-6.9.5.ebuild 4023 BLAKE2B 9aa7a8cda2244c2ba4f89793dd41c9f1ccb10b76012f545c4b6e4eec0809190ad6561296a85a3a18bc143f8c4bdd8de80ac144edbfb56e137da5ce0f689580ec SHA512 76491cab039635c8f144f37943788fd73af6df0b241996bfd060dede016155b6561870a1b7af36e76977555de7c3fd03755ff32ee932b540e704c7a774f17bea
MISC metadata.xml 353 BLAKE2B cd022bd01b289ae703ae6ef6c2539fcfce833206c55e328ba02fc42b360d60f76b1920927b259dbb199724e6d3e7b0f68ba2044680d962d3cd03a973475582ff SHA512 10b10fd24801843108a71ca7d0c27514965b0a15a60da4d9b521fc41493448a1b1685ae3278dbd46cede0d069e51dede402d2c1448c8ae6a7fcfce8acf415bf3
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.219.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.219.ebuild
new file mode 100644
index 000000000000..900f0cd17578
--- /dev/null
+++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.219.ebuild
@@ -0,0 +1,137 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit kernel-build toolchain-funcs verify-sig
+
+MY_P=linux-${PV}
+# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
+CONFIG_VER=5.10.12
+CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530
+GENTOO_CONFIG_VER=g13
+
+DESCRIPTION="Linux kernel built from vanilla upstream sources"
+HOMEPAGE="
+ https://wiki.gentoo.org/wiki/Project:Distribution_Kernel
+ https://www.kernel.org/
+"
+SRC_URI+="
+ https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
+ https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
+ -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
+ verify-sig? (
+ https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.sign
+ )
+ amd64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
+ -> kernel-x86_64-fedora.config.${CONFIG_VER}
+ )
+ arm64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config
+ -> kernel-aarch64-fedora.config.${CONFIG_VER}
+ )
+ ppc64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config
+ -> kernel-ppc64le-fedora.config.${CONFIG_VER}
+ )
+ x86? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
+ -> kernel-i686-fedora.config.${CONFIG_VER}
+ )
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
+IUSE="debug hardened"
+REQUIRED_USE="arm? ( savedconfig )"
+
+BDEPEND="
+ debug? ( dev-util/pahole )
+ verify-sig? ( sec-keys/openpgp-keys-kernel )
+"
+PDEPEND="
+ >=virtual/dist-kernel-${PV}
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
+
+src_unpack() {
+ if use verify-sig; then
+ einfo "Unpacking linux-${PV}.tar.xz ..."
+ verify-sig_verify_detached - "${DISTDIR}"/linux-${PV}.tar.sign \
+ < <(xz -cd "${DISTDIR}"/linux-${PV}.tar.xz | tee >(tar -x))
+ assert "Unpack failed"
+ unpack "gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz"
+ else
+ default
+ fi
+}
+
+src_prepare() {
+ default
+
+ local biendian=false
+
+ # prepare the default config
+ case ${ARCH} in
+ amd64)
+ cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
+ ;;
+ arm)
+ return
+ ;;
+ arm64)
+ cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
+ biendian=true
+ ;;
+ hppa)
+ return
+ ;;
+ ppc)
+ # assume powermac/powerbook defconfig
+ # we still package.use.force savedconfig
+ cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die
+ ;;
+ ppc64)
+ cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die
+ biendian=true
+ ;;
+ x86)
+ cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
+ ;;
+ *)
+ die "Unsupported arch ${ARCH}"
+ ;;
+ esac
+
+ local myversion="-dist"
+ use hardened && myversion+="-hardened"
+ echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die
+ local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
+
+ local merge_configs=(
+ "${T}"/version.config
+ "${dist_conf_path}"/base.config
+ )
+ use debug || merge_configs+=(
+ "${dist_conf_path}"/no-debug.config
+ )
+ if use hardened; then
+ merge_configs+=( "${dist_conf_path}"/hardened-base.config )
+
+ tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config )
+
+ if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then
+ merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" )
+ fi
+ fi
+
+ # this covers ppc64 and aarch64_be only for now
+ if [[ ${biendian} == true && $(tc-endian) == big ]]; then
+ merge_configs+=( "${dist_conf_path}/big-endian.config" )
+ fi
+
+ kernel-build_merge_configs "${merge_configs[@]}"
+}
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.161.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.161.ebuild
new file mode 100644
index 000000000000..75273ad670d7
--- /dev/null
+++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.161.ebuild
@@ -0,0 +1,137 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit kernel-build toolchain-funcs verify-sig
+
+MY_P=linux-${PV}
+# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
+CONFIG_VER=5.15.19
+CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01
+GENTOO_CONFIG_VER=g13
+
+DESCRIPTION="Linux kernel built from vanilla upstream sources"
+HOMEPAGE="
+ https://wiki.gentoo.org/wiki/Project:Distribution_Kernel
+ https://www.kernel.org/
+"
+SRC_URI+="
+ https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
+ https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
+ -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
+ verify-sig? (
+ https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.sign
+ )
+ amd64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
+ -> kernel-x86_64-fedora.config.${CONFIG_VER}
+ )
+ arm64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config
+ -> kernel-aarch64-fedora.config.${CONFIG_VER}
+ )
+ ppc64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config
+ -> kernel-ppc64le-fedora.config.${CONFIG_VER}
+ )
+ x86? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
+ -> kernel-i686-fedora.config.${CONFIG_VER}
+ )
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
+IUSE="debug hardened"
+REQUIRED_USE="arm? ( savedconfig )"
+
+BDEPEND="
+ debug? ( dev-util/pahole )
+ verify-sig? ( sec-keys/openpgp-keys-kernel )
+"
+PDEPEND="
+ >=virtual/dist-kernel-${PV}
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
+
+src_unpack() {
+ if use verify-sig; then
+ einfo "Unpacking linux-${PV}.tar.xz ..."
+ verify-sig_verify_detached - "${DISTDIR}"/linux-${PV}.tar.sign \
+ < <(xz -cd "${DISTDIR}"/linux-${PV}.tar.xz | tee >(tar -x))
+ assert "Unpack failed"
+ unpack "gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz"
+ else
+ default
+ fi
+}
+
+src_prepare() {
+ default
+
+ local biendian=false
+
+ # prepare the default config
+ case ${ARCH} in
+ amd64)
+ cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
+ ;;
+ arm)
+ return
+ ;;
+ arm64)
+ cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
+ biendian=true
+ ;;
+ hppa)
+ return
+ ;;
+ ppc)
+ # assume powermac/powerbook defconfig
+ # we still package.use.force savedconfig
+ cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die
+ ;;
+ ppc64)
+ cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die
+ biendian=true
+ ;;
+ x86)
+ cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
+ ;;
+ *)
+ die "Unsupported arch ${ARCH}"
+ ;;
+ esac
+
+ local myversion="-dist"
+ use hardened && myversion+="-hardened"
+ echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die
+ local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
+
+ local merge_configs=(
+ "${T}"/version.config
+ "${dist_conf_path}"/base.config
+ )
+ use debug || merge_configs+=(
+ "${dist_conf_path}"/no-debug.config
+ )
+ if use hardened; then
+ merge_configs+=( "${dist_conf_path}"/hardened-base.config )
+
+ tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config )
+
+ if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then
+ merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" )
+ fi
+ fi
+
+ # this covers ppc64 and aarch64_be only for now
+ if [[ ${biendian} == true && $(tc-endian) == big ]]; then
+ merge_configs+=( "${dist_conf_path}/big-endian.config" )
+ fi
+
+ kernel-build_merge_configs "${merge_configs[@]}"
+}
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.94.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.94.ebuild
new file mode 100644
index 000000000000..2a01b55657d3
--- /dev/null
+++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.94.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=g13
+
+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.34.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.34.ebuild
new file mode 100644
index 000000000000..2de327030b51
--- /dev/null
+++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.34.ebuild
@@ -0,0 +1,143 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KERNEL_IUSE_MODULES_SIGN=1
+inherit kernel-build toolchain-funcs verify-sig
+
+MY_P=linux-${PV}
+# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
+# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo
+CONFIG_VER=6.6.12-gentoo
+GENTOO_CONFIG_VER=g13
+
+DESCRIPTION="Linux kernel built from vanilla upstream sources"
+HOMEPAGE="
+ https://wiki.gentoo.org/wiki/Project:Distribution_Kernel
+ https://www.kernel.org/
+"
+SRC_URI+="
+ https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
+ https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
+ -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
+ verify-sig? (
+ https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.sign
+ )
+ amd64? (
+ https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config
+ -> kernel-x86_64-fedora.config.${CONFIG_VER}
+ )
+ arm64? (
+ https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config
+ -> kernel-aarch64-fedora.config.${CONFIG_VER}
+ )
+ ppc64? (
+ https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config
+ -> kernel-ppc64le-fedora.config.${CONFIG_VER}
+ )
+ x86? (
+ https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config
+ -> kernel-i686-fedora.config.${CONFIG_VER}
+ )
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~x86"
+IUSE="debug hardened"
+REQUIRED_USE="arm? ( savedconfig )"
+
+BDEPEND="
+ debug? ( dev-util/pahole )
+ verify-sig? ( sec-keys/openpgp-keys-kernel )
+"
+PDEPEND="
+ >=virtual/dist-kernel-${PV}
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
+
+src_unpack() {
+ if use verify-sig; then
+ einfo "Unpacking linux-${PV}.tar.xz ..."
+ verify-sig_verify_detached - "${DISTDIR}"/linux-${PV}.tar.sign \
+ < <(xz -cd "${DISTDIR}"/linux-${PV}.tar.xz | tee >(tar -x))
+ assert "Unpack failed"
+ unpack "gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz"
+ else
+ default
+ fi
+}
+
+src_prepare() {
+ default
+
+ local biendian=false
+
+ # prepare the default config
+ case ${ARCH} in
+ amd64)
+ cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
+ ;;
+ arm)
+ return
+ ;;
+ arm64)
+ cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
+ biendian=true
+ ;;
+ hppa)
+ return
+ ;;
+ loong)
+ return
+ ;;
+ ppc)
+ # assume powermac/powerbook defconfig
+ # we still package.use.force savedconfig
+ cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die
+ ;;
+ ppc64)
+ cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die
+ biendian=true
+ ;;
+ x86)
+ cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
+ ;;
+ *)
+ die "Unsupported arch ${ARCH}"
+ ;;
+ esac
+
+ local myversion="-dist"
+ use hardened && myversion+="-hardened"
+ echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die
+ local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
+
+ local merge_configs=(
+ "${T}"/version.config
+ "${dist_conf_path}"/base.config
+ )
+ use debug || merge_configs+=(
+ "${dist_conf_path}"/no-debug.config
+ )
+ if use hardened; then
+ merge_configs+=( "${dist_conf_path}"/hardened-base.config )
+
+ tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config )
+
+ if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then
+ merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" )
+ fi
+ fi
+
+ # this covers ppc64 and aarch64_be only for now
+ if [[ ${biendian} == true && $(tc-endian) == big ]]; then
+ merge_configs+=( "${dist_conf_path}/big-endian.config" )
+ fi
+
+ use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" )
+
+ kernel-build_merge_configs "${merge_configs[@]}"
+}
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.9.5.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.9.5.ebuild
new file mode 100644
index 000000000000..dd693350cdc8
--- /dev/null
+++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.9.5.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.9.3-gentoo
+GENTOO_CONFIG_VER=g13
+
+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[@]}"
+}