diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-28 07:59:59 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-28 07:59:59 +0100 |
commit | b8325835c82367d22428eb41afa0f2d375338d3c (patch) | |
tree | c416b8853bd14fc346da5d0129843cc4a68a30a0 /sys-kernel/vanilla-kernel | |
parent | d2ed973482fdd800013658e83a61709b29e0a80f (diff) |
gentoo auto-resync : 28:06:2024 - 07:59:59
Diffstat (limited to 'sys-kernel/vanilla-kernel')
-rw-r--r-- | sys-kernel/vanilla-kernel/Manifest | 9 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-6.1.96.ebuild | 137 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-6.6.36.ebuild | 143 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-6.9.7.ebuild | 143 |
4 files changed, 432 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 042aca0c9739..6a2e46e6e7ec 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -38,6 +38,8 @@ DIST linux-6.1.94.tar.sign 989 BLAKE2B 77fcb49b169cb0e4f83bf964e505df0065a8c390b DIST linux-6.1.94.tar.xz 135201488 BLAKE2B f1ad3dd9cade3cfc45f1e3732c21b62486372f8ed0ffe20e7c9bd4da20eea1d4db3ea310fb103e2bdaf0935efc1f5b290ea292249c23e66428bb1f9c4f84881f SHA512 41e37c17215783da64e855eac89a014811ea2aafd6687bc0381727083d270df55d979493f62d264ba221d34cc67494c25a8d5e146dc38e5a3a66f104c9227079 DIST linux-6.1.95.tar.sign 989 BLAKE2B abd402b54ac2dca9b1e6d7df1fd4db8690d584c13d214d4234182da12eeaa71903201aa7bd34538de3f498230ac7b71ff4626132c30629f8905256c7423c5804 SHA512 2ae944acb2482ce1bce854478e0800eeeb7970a1bd8ddf47e872f8334e818c1607a98f11f401928e07ea1f105cc5508460c1caf2b62a68ed0266d4085755b888 DIST linux-6.1.95.tar.xz 135134536 BLAKE2B 3334f93a646017d22cac7374033acda5fd0df41de9d415d172a2c31f770d28ec16a388bc61d0577b53db4642bb31db472efd5ecee354a4b36e64a9c2df706604 SHA512 b6997281f9909483ed16a1b3998da6ad9f64c1c524db558663f17ed38987f42d8b1431de8c6ba354e30f7da2f8237b675fd4fa341d8218fcfaf2a5b9ac84b2d8 +DIST linux-6.1.96.tar.sign 989 BLAKE2B 8167cab63d67ef0bc9280c97c7f891a8b06f3285f77665ab61f3d9e269a0e73a5654f419c326f6d1111f91ba9af9a02f50b0bd49329b2f429257c3a355270661 SHA512 4a74168588e9bbf9e2acd26e768994bd99883ba5f40ca0446f34b3932660fbe8f23d857d4822468867f71652fe68b626d5da7a79ea8f7ab5a4ca3b6da7943690 +DIST linux-6.1.96.tar.xz 135173516 BLAKE2B 7ec6894d6d7ad0f32d32214b50cb4e4aa4c715292af1acbc7c07017236cc7566084c20fc5db918a40f8a3d6d5203b4d1b702aa4b45e7b4b71d8b50e46063e44a SHA512 d75cdbefaa98b3c29b8f1a6b297a5a2bd724ae0f9f868e0bd0d984e2a722f09cab24baccd30d6bba8e007a9dc8178f6d55552c561c02434f7dfb4c88f5482804 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 @@ -46,12 +48,16 @@ DIST linux-6.6.34.tar.sign 989 BLAKE2B 9e84568ed481e27a28a69a2ce5978d8aa3580f347 DIST linux-6.6.34.tar.xz 140238292 BLAKE2B f60ba869f55e08c63b7179d0c887c60dc495db5f70febf78956a2bf8c0636128e47e3ee626686df189255beef381119c1be76eeb1f4f8448caa7f9192cc4ea63 SHA512 eaa792be65c4cdfd37b84d4dadd22086c8507c1f78d538255cff03595e1caee0f88b521c398b6bc9ab3632010133cff5c7b14200413d54cf0a38bea79c2fd29f DIST linux-6.6.35.tar.sign 989 BLAKE2B d5a5dfeb1e92c11107b71d6b2965d2a595e51fd3244abce72f9fdd0cd4405b562602695015e3cb8944f9ac0d999566c0007569b5141cb5f42d32458c20166f0a SHA512 dc98406c4b15a0e15623694e88b881cdbf082ae48f8e737d96bbeb1cec1c8ca6c9c5448b359447c6bfe34e8f1f6807efaa114dbe23097079e5046996134aad8c DIST linux-6.6.35.tar.xz 140269708 BLAKE2B 93fff6421875329ab7d7ad2f0a0d3d1377c1eb42df295638c967eced3551b08986445b5e47b9d3bd1b24f93d3feeed43b1aba77f6912dc13449d956be3616571 SHA512 a94a75eec75f43fcab56a425927eeb299ec8eb72a056b26e9c629ec66fc5b65badf0403612549dfd4bc01b620451924ec30b980403a47cf723e98ab57775b6d2 +DIST linux-6.6.36.tar.sign 989 BLAKE2B 17b84e6e80f9a5fec7a88bf262a3ea3d49a7ecc2dccdd1141de52fda3b071355e6183170f9a374472209522ad8f0850a61873b32804eff0fda91e86e8569b14e SHA512 e5d0a187b417068dbbf054e65a4f71c0702b4bcba116bfef6ec17641e23828d9b94522102c4519538bd3bcdcf7180730090039e1a3695486b946db54bba03935 +DIST linux-6.6.36.tar.xz 140266576 BLAKE2B 5a669a5d9280b9d813e71c35160d6ed07e8ce55792886612669316f3937ccfc66b8aac5ab911e4c7ade0baf14400e797816e75a2e28b4d5f879b6be6d2c94f49 SHA512 7dc497868b5b134eb2aa06e3e33aaae3c8026701ebea5b2183a35c0396576eda20f1d5af2d8468086fe0f9cf6691f2e3f3b3d6d03c5546bf734a8559cde5eabe 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 DIST linux-6.9.6.tar.sign 987 BLAKE2B 397866db25fc4b552ad50a189404371259f5185de4b53ecb1a8790e5ddfcbf877f235757f73ae90d6ea9d9647e1e934d9d98e0e298e37785601f9946c0082ebe SHA512 9ebd033d0dd7d0f0026488b112761641cc55052143520e6773fb557a3f309b7aa029864638d5767ba8753843d14d0aeb99717a642a0729eef27b4b2b775e83ea DIST linux-6.9.6.tar.xz 144109020 BLAKE2B 498da30f8f0c2c3812919eaca0dfa5679ab4517972182d2392e8833b9ca082b0d12777b6a35fd36228a21ac899ec4ee716e66b77e5625885415ccdab36cfb570 SHA512 58ff65fde9a1e22678dc70e9da900f479c5fae0bc87056f89e2919603e0f56016131f2d1c020ec889eb2a4cfd7ff22f1feadedc3cab76852ef19bed0ccf9ab8a +DIST linux-6.9.7.tar.sign 987 BLAKE2B 9e3c5f0cd34d380bdf3397a604d49b9e5afb5eb168c73116d133ff1347ef8915aca993e100b262285472ea55268d2accc9ed3970b2903cf209bf873c8e7e0c0d SHA512 341218831ff716e434088797233d1958060a45e6c8349dbd1e6a2f1661dd3681e6b3d2325416bd9054718c5aa38ff679535c87b4b03f78f76935bc89ae52d469 +DIST linux-6.9.7.tar.xz 144101792 BLAKE2B 67b49d64f8ceba02dc1eade59991c683c81a533eec7105466d235898de2cee692aa5730d538a33bb04f1b0260e9dcbf63b332ddfab42a7d44425c9a9d8410d77 SHA512 ea045b94605d772887882e8b75601b74cd71bd29d0dd36f0349fad83a6eb0786331539ea5c0dcab632713aab00e2e7b4f0c3536e4e9604b8ffe1f7d78d8c436a 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.220.ebuild 3769 BLAKE2B 674f934a89efa53eff9792e600448548d9cbc8390226d1673a25989299d36ad09697e04e11b063f95d9493b3bfbebeec0d1d84e24ae697a253c95b301a4148e9 SHA512 2f81b6848c9cf2e3162a921bf80a282ceccc2d492fb0a1bc1f15ee7e197f5735415b4916798c054470dc39c8fce6d924a23f7702aa71036ab3696f2a6790dca2 @@ -63,13 +69,16 @@ EBUILD vanilla-kernel-6.1.92.ebuild 3887 BLAKE2B ba9fce000676de7081b59b6f52d6be9 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.95.ebuild 3887 BLAKE2B ba9fce000676de7081b59b6f52d6be9273e85475e7b79caa137e9eb6605dcf362b15beb45504adf8cd8c9b58797fd9f9eda43bf1c6aecb4483a2855d91fb0023 SHA512 0d1ae17d29f2b270070fd6234050c94c79b4552f56227178694c28403a01e7008f84eb84ed0f7fa79bc45f23dcc1048bb849c2d6986994b4e47e4fdb3e962e2f +EBUILD vanilla-kernel-6.1.96.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.35.ebuild 4024 BLAKE2B ef4f96d1617a17ca2fe7467f25642461493c52407ef9f5f366a5c92c5bf7d15f31d17e7419d1f79b37700b5979056c88f50544cad9f256b5bfb72808311bce4b SHA512 ce928951fa6de6096a71c8e9fb0244c470302443df384d256285cbc7fd672426eb587417f435e0a520d50d3f86191068f715546fb50034feeb08f3e32567a1bc +EBUILD vanilla-kernel-6.6.36.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 EBUILD vanilla-kernel-6.9.6.ebuild 4023 BLAKE2B 9aa7a8cda2244c2ba4f89793dd41c9f1ccb10b76012f545c4b6e4eec0809190ad6561296a85a3a18bc143f8c4bdd8de80ac144edbfb56e137da5ce0f689580ec SHA512 76491cab039635c8f144f37943788fd73af6df0b241996bfd060dede016155b6561870a1b7af36e76977555de7c3fd03755ff32ee932b540e704c7a774f17bea +EBUILD vanilla-kernel-6.9.7.ebuild 4023 BLAKE2B 9aa7a8cda2244c2ba4f89793dd41c9f1ccb10b76012f545c4b6e4eec0809190ad6561296a85a3a18bc143f8c4bdd8de80ac144edbfb56e137da5ce0f689580ec SHA512 76491cab039635c8f144f37943788fd73af6df0b241996bfd060dede016155b6561870a1b7af36e76977555de7c3fd03755ff32ee932b540e704c7a774f17bea MISC metadata.xml 353 BLAKE2B cd022bd01b289ae703ae6ef6c2539fcfce833206c55e328ba02fc42b360d60f76b1920927b259dbb199724e6d3e7b0f68ba2044680d962d3cd03a973475582ff SHA512 10b10fd24801843108a71ca7d0c27514965b0a15a60da4d9b521fc41493448a1b1685ae3278dbd46cede0d069e51dede402d2c1448c8ae6a7fcfce8acf415bf3 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.96.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.96.ebuild new file mode 100644 index 000000000000..2a01b55657d3 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.96.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.36.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.36.ebuild new file mode 100644 index 000000000000..2de327030b51 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.36.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.7.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.9.7.ebuild new file mode 100644 index 000000000000..dd693350cdc8 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.9.7.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[@]}" +} |