diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-09 12:30:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-09 12:30:03 +0100 |
commit | d8a7472fc6314625f7d16e0427004eb448412908 (patch) | |
tree | 0dba2e223a5a5e200a4b84a4a5e3ff690e5059e7 /sys-kernel/vanilla-kernel | |
parent | 8e49340ce0aaf205556648d8fa27dd30e8cf4435 (diff) |
gentoo auto-resync : 09:09:2024 - 12:30:03
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.109.ebuild | 134 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-6.10.9.ebuild | 137 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-6.6.50.ebuild | 137 |
4 files changed, 417 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 10e55d554d73..61cf919aa665 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -34,18 +34,24 @@ DIST linux-6.1.107.tar.sign 991 BLAKE2B 00fb8cbf46cd3f7f9a725d8db49d6c1c7318ff88 DIST linux-6.1.107.tar.xz 135181828 BLAKE2B dce4dbcba63d212f81a7ec038e0c75a37ec06f84cdf5a86cbfea70af87c7dbb0860ba9d15e1a9bdd108b804f3aefd700754d31afb226ab92441ccb63e0b98c1c SHA512 d72dec68fe4399d444e152e88c8d5e2d2227700108573ee224e5239852d7c01330ff1f3aa060c3ab74c086bd73494e3e0081a9dc633dd7b0580f108081a9ce89 DIST linux-6.1.108.tar.sign 991 BLAKE2B 70c218f764b2bbab0e7f690451a73c7a025b381adfe9b84fd57eb3a63f4d39d71f7f21e2370ac8152e5f539d429650fa5292999283bece3923e8db504a608e63 SHA512 d6c45fb87c0a014a539a5ac8e806feb5b874c48d18968e6936551af1d299452c2bf7d5c0c0ee4852ff450f9b905e58f86ad6d099045c647ac44f5f3458006060 DIST linux-6.1.108.tar.xz 135203104 BLAKE2B f86cb3ca34cea63c1fdc97a22c800e092bed78175486c4e7a95b310031e044021791f3e1c4d693ce3b7bd7be039ea192b9b978c153c5796474b0fa4d5ee8d7e1 SHA512 6934d134f1a471a313ee5d7392fadeee43d6352d13e7941af9a089d532e8478ded57e9a51691cc9e4f0348554bf7a895812b0b90b5701fbf70f730394b7e3e51 +DIST linux-6.1.109.tar.sign 991 BLAKE2B a47f2eb60b86a73af2a7edf256288209702f195f0aacd571d58a09918a7b8dc42da344147d2cb9abd2c25c7b2151f653a4bee5945104bff258ea6c5c2f5b09e4 SHA512 f0c6b33621f0051917e6cef1d35d3a727a179474817df2c4050fff9211dba3203cd95c0019797028cd71133f15ebc53fd2833128628be3695ba28b8e0ddd535f +DIST linux-6.1.109.tar.xz 135193224 BLAKE2B 2ab7151c193bcdfe0664f94040675faec1cefcb44df524074c9b06eeee1184fb07891c1d6bbfbe8ca53b8d52f332a17a14854602ef046897de692eaceef8e5c6 SHA512 a435b89320e8af19532bbd40c30c5c1e1b6f796f062a015f3c1bcf7a30b00eba4c51a568078c6dac9fc60040153305237910e6f9d701b9a7bf86475bd0a61dfc DIST linux-6.10.6.tar.sign 989 BLAKE2B e8ab99394db3d9c5da9177f64c6c6e8ab74b5b62b7b251964e2b9a0a8ecfbf6a8339ae8b2e2b9ea75350d08b5fa8f00e1bafebaa35c57f52545d415aef60b0f1 SHA512 bd5555d4c1f02277087615423f1bd951cf9cb18f18b9f65775c70810f0698c8df45a1b789f26b33b5e0f7b8183a6a6ac2aedd9154b1b7eece4742156d6d6150f DIST linux-6.10.6.tar.xz 145142332 BLAKE2B e0e2c2419b6da1a6c5caaf9df669a362bdef3d6fb19742da6c5300a6f6d0994259ea2acde7f6a4a20d1e2b71528bbed0e7fd51cbca33ddbf78f2d832a291148f SHA512 991ec7c7d2d490cb90b182a29e892dae586918eee7f3ff4b6e26f4ff9b31b6d7a31cdc31d25ca12243ecab59787aad75f0056b2fbe6997d0dfd68c357e7703af DIST linux-6.10.7.tar.sign 989 BLAKE2B eea3184425313d7b20475540e52b5b59b3f5e8414eeae6c2df219bcea1adb084d6e992509adf7627e1d4409effc817e10b54cbad8dde48b11778a1e0273e593c SHA512 ad0446b0e08dcd7c063382d8ea3c4c48a5dce8239c6edbea70a64c106546f77ae69a450ae7dea82b5a755dd3311f017bf5ada3913c7daf715fc0393f4e0b5695 DIST linux-6.10.7.tar.xz 145165024 BLAKE2B a177df46c43bef6a529e50af64103a40eabc9d7301f93c8e1a4ed3e6b0e03bec195838c6085f3df798b7d941c0943ba31b23b1717150785ef52cfa8bd2dc028d SHA512 34b385292d901e7bad74c08addc231a5b3d40876500388ae89fcc762a26a04c7243fcd6233e484d3fd2d5b12262965cf1ace0b4e95474e99a2df53214a375ee0 DIST linux-6.10.8.tar.sign 989 BLAKE2B 88036f64717d31af2873b2267981f1eb04d145ae9e8f1ac73d1f5a196f70ee37e68a25d153110d566a69a5601f312fe90e8b0160cc879c9b737b9641700dcbe4 SHA512 b2b9e0c51e24ba2ff0aeda6375a7fba80a7e976aeb46a560172e5901471db29e94a119a90fcc448c2b3ed580f0c01a02cd2de225620e14c1104d2dc1ceeb9c5e DIST linux-6.10.8.tar.xz 145156852 BLAKE2B 01a004ce8886b00be4ca927ca6b1ce10b5d31535687022accf0b9d1f4aa9b47a1622a82611bd9544abb2c90ad914ad227392d0525d7c93eefbb38fa25ba6c809 SHA512 0829f6963a91cd230e33fa82605ff0b5b1b7c6f21192634f94a60185926c9b2eb12f3124693753c7da33cb6b15abe9146ec343c9bf7307156dd63c2fbc585f13 +DIST linux-6.10.9.tar.sign 989 BLAKE2B 37977988833ad92d39919965be4844797710c360bc0c6aae89b0dde57d2b64327ec1545565cf688062e4f48ac921fd3f9e4320c40a1ab43f627fbe150c6b2eef SHA512 7ac13112786c2d5221558b9571640f537c783e73a648b8439db6c283a2a27368aa7e0f370e5c324afbf6bb28e0593edaceeb77e4138f9232cefcb18d15a4f38d +DIST linux-6.10.9.tar.xz 145156944 BLAKE2B 97152136f0bed53850aba45e55e2ab0d017699257e54da19f62a79c7b28c68c16cd56295602d2a631ad9332b64ff573dc7217bf51355624463ff7cfb7f6d0b7d SHA512 e383ce1b999555888c6dd2efa806efb6f6673517000f074b4170a5461c85d4d83757193d4e7e18a1bb7ca166a793ab104ec7313bc6b147a0456e615eb006557e DIST linux-6.6.47.tar.sign 989 BLAKE2B dc5b68309d03a9adb9e9721475517c495d44c1b9d6765e2877fd040f1fb6e82d0eb585dc97030319f730e7e579d8861e0992e3a326e9b77454443e9bd18a7e5d SHA512 4b690c9d025d510d572e234a47cab15f916746ebcbcc4a772894677ce3def6edaff3de64f6bad9ea5ef357508e5a27770aa9be68de0799c032715d4b2b7736d8 DIST linux-6.6.47.tar.xz 140308580 BLAKE2B ece3be3257b205c3d56c71525b95798347ab40b00d9ca54f0812a5407725512613075e85b3a6a0f3bfc4a59c714438efc4c08ed171a3f92e62cc3e4046f87a1f SHA512 9a3c52f5df4480a61493ca24d25c9e9b5b9dfe2e465ecf7d457bc240abf88b2d08d745b63895c6b47a557fca610882bbc8b5fe66b2d7a9262f548daca50d4004 DIST linux-6.6.48.tar.sign 989 BLAKE2B 855c0c89500fc0217531ccfa61774d50d69da28adf01eeef0ea1bc7d4ef805797c01f722b7e555685a8cb245db1a55fa01d53c969530c28528f465d736b93a35 SHA512 3c312aa5310ed0dcbbf94047be094f67511e1106521067ed9aa2ce722079163681768afa1cd937587b96a727c344ba33d974ad4e72a4e5b2301af8a54eb20f16 DIST linux-6.6.48.tar.xz 140310108 BLAKE2B 8c6435fbd16ae3fa8bc4703ddf6d57e8b12ea1fced14385a35e08750331de21e1709139517343fa71f018eb65658cde61c653c5b75d02add4599d6026040620a SHA512 4ed450e554218d971e64df0d934cf6e90740f0953376faf2ce20ea09857ff23c7ae144164d2bd10e93b67c22601fd2b9d64e27162235c6cc4cce932dd60d1cb9 DIST linux-6.6.49.tar.sign 989 BLAKE2B 2ab6f62a7260f704c9b1ce6f62d95809ab6ef12832d246158e748d5882e311a72450d431ae9de1b14fc3fe42dd6421c83d4984d9a95f3564d59126ec627d1059 SHA512 5f61a4a48b2db6e7b024071a3475379246eb6290986a7876d50fb558345d083827ce264c1703507c3aee0b14f4fbaf6d429bc08a038fbb556845859b6fd6ec06 DIST linux-6.6.49.tar.xz 140314800 BLAKE2B 2fdfdcfe27696540fc57b53ae45241d87291ab4f1467cf7b14d904b5da800565361b55e91344904bf6bb520a766b66cf9c4bbc26b656393dd96850a17c573807 SHA512 3db87b48dd3b771cd119cf48f9fbad43cfe2f90e34bb06419a25068a6807c294d2019089a21471b72c1438f45a84d99ecf77d322ef85b3e2815c7dedc6f41bd8 +DIST linux-6.6.50.tar.sign 989 BLAKE2B e2ea6cf052f27f273f59e7a4a51689fc9ad9e6a291cf67505e2c52e964f2f7db2fa7e0b8c18c4db8e14119b56071e93a05a1d03e418390d3fd236624cf6b75bc SHA512 5a662d274f4d220828437e58ea08d1fb638c70dcb96e56a152c186263f4ebcef85e35a75e3e8058a48cf5169383da573abb5492e45b60b2bbf6c4855e5017a2f +DIST linux-6.6.50.tar.xz 140341000 BLAKE2B d54ca4ffd0c6d525725441189e933c68cf9123cb20b553b33e162867c14240fb8e4fd4af5331865156150a7345973ddfae3a8448c77681f442f0af54c071c5b8 SHA512 8421a7085900d4d1919ff73b6c77d9d713be3391e9113bf7446052f3e89a8c1b6f89e5861776007bf922f97d66c1aead48f0aae9b572a163034fafd2280b66b7 EBUILD vanilla-kernel-5.10.224.ebuild 3761 BLAKE2B bc5924ab2eba7d901019d2c1526995b3bccc8a68a84aecdb5058234354b243767adb1c84aec274543c40f6b34c10f8f095026a8ff8bda553f8ea9206b5f1edb1 SHA512 7c2fe840a9d69da56bb685fe72276c0031f4a2b55400fc3f6cf8e8fc493db75d64c17a876ac8287746ddcfeb655acdac9baf9d039b86339c930444cf8f93a0d2 EBUILD vanilla-kernel-5.10.225.ebuild 3761 BLAKE2B bc5924ab2eba7d901019d2c1526995b3bccc8a68a84aecdb5058234354b243767adb1c84aec274543c40f6b34c10f8f095026a8ff8bda553f8ea9206b5f1edb1 SHA512 7c2fe840a9d69da56bb685fe72276c0031f4a2b55400fc3f6cf8e8fc493db75d64c17a876ac8287746ddcfeb655acdac9baf9d039b86339c930444cf8f93a0d2 EBUILD vanilla-kernel-5.10.9999.ebuild 3276 BLAKE2B c60d73d8b0cd26bac12ddb2fb7a13453b368263d67f0a33ebcef8dfd7cd98b079c20b201d7ca4e2885e4e6d6c32dee2b69aa3305e0fcecccca8cadd4390556da SHA512 42ddd72b3fc53f19dc134cb0a602c69f2bad3d88b663e6a34dcb70e8d91e1043b47dafb4cecbdd06a7b54b134c27b56b2a0d07fcbb52284ea09544463a075686 @@ -55,11 +61,14 @@ EBUILD vanilla-kernel-5.15.9999.ebuild 3276 BLAKE2B e7eb0895a0bb3b3b4221bfe8d31a EBUILD vanilla-kernel-6.1.106.ebuild 3881 BLAKE2B ced5d43611b03ff27feda8526261315bb8e8f9aecd7115f04ddc3930c23a284ca4c74021bb6639f6ec1a71c7cd5caae6abc5a591d7914721b7ddb0a5967924f1 SHA512 c406394ac6a44954563c8c4452886d113bc65f03df648f4d04c1c2a78d2deced7c575f3c33537f0269a14893444c528dc3ba69b6d4f6e547c212f2a53670d06b EBUILD vanilla-kernel-6.1.107.ebuild 3881 BLAKE2B ced5d43611b03ff27feda8526261315bb8e8f9aecd7115f04ddc3930c23a284ca4c74021bb6639f6ec1a71c7cd5caae6abc5a591d7914721b7ddb0a5967924f1 SHA512 c406394ac6a44954563c8c4452886d113bc65f03df648f4d04c1c2a78d2deced7c575f3c33537f0269a14893444c528dc3ba69b6d4f6e547c212f2a53670d06b EBUILD vanilla-kernel-6.1.108.ebuild 3881 BLAKE2B ced5d43611b03ff27feda8526261315bb8e8f9aecd7115f04ddc3930c23a284ca4c74021bb6639f6ec1a71c7cd5caae6abc5a591d7914721b7ddb0a5967924f1 SHA512 c406394ac6a44954563c8c4452886d113bc65f03df648f4d04c1c2a78d2deced7c575f3c33537f0269a14893444c528dc3ba69b6d4f6e547c212f2a53670d06b +EBUILD vanilla-kernel-6.1.109.ebuild 3881 BLAKE2B ced5d43611b03ff27feda8526261315bb8e8f9aecd7115f04ddc3930c23a284ca4c74021bb6639f6ec1a71c7cd5caae6abc5a591d7914721b7ddb0a5967924f1 SHA512 c406394ac6a44954563c8c4452886d113bc65f03df648f4d04c1c2a78d2deced7c575f3c33537f0269a14893444c528dc3ba69b6d4f6e547c212f2a53670d06b EBUILD vanilla-kernel-6.10.6.ebuild 3999 BLAKE2B d7c9f9c880e99b0ed599a79a5acbf310cf9bc884c466d62719b3313ebefaad2fac5ee4f9fb348b10b4acf61bcfc4b5cc0cf2d18fb689174125e408419689d0de SHA512 fd752309371db9fa5d1bd7f3a0935d1d2fc91deb1813c2947b47f3a50f15678cfd5276abe58cd455ad9744dcf3fe251e8606094254eaa09e50909ba39d81a718 EBUILD vanilla-kernel-6.10.7.ebuild 3999 BLAKE2B d7c9f9c880e99b0ed599a79a5acbf310cf9bc884c466d62719b3313ebefaad2fac5ee4f9fb348b10b4acf61bcfc4b5cc0cf2d18fb689174125e408419689d0de SHA512 fd752309371db9fa5d1bd7f3a0935d1d2fc91deb1813c2947b47f3a50f15678cfd5276abe58cd455ad9744dcf3fe251e8606094254eaa09e50909ba39d81a718 EBUILD vanilla-kernel-6.10.8.ebuild 3999 BLAKE2B d7c9f9c880e99b0ed599a79a5acbf310cf9bc884c466d62719b3313ebefaad2fac5ee4f9fb348b10b4acf61bcfc4b5cc0cf2d18fb689174125e408419689d0de SHA512 fd752309371db9fa5d1bd7f3a0935d1d2fc91deb1813c2947b47f3a50f15678cfd5276abe58cd455ad9744dcf3fe251e8606094254eaa09e50909ba39d81a718 +EBUILD vanilla-kernel-6.10.9.ebuild 3999 BLAKE2B d7c9f9c880e99b0ed599a79a5acbf310cf9bc884c466d62719b3313ebefaad2fac5ee4f9fb348b10b4acf61bcfc4b5cc0cf2d18fb689174125e408419689d0de SHA512 fd752309371db9fa5d1bd7f3a0935d1d2fc91deb1813c2947b47f3a50f15678cfd5276abe58cd455ad9744dcf3fe251e8606094254eaa09e50909ba39d81a718 EBUILD vanilla-kernel-6.6.47.ebuild 3999 BLAKE2B b7f268cdfc9f4e73e2ac3f1c2da682af5927a9083938cdfb1e1e8b064f583545274c0eaa911e3b90226ed536e95d422047087672d7ebe801dae467a6c7364cad SHA512 3392ec1fe25845d5ed053e8e3da6df70fa3ae14192cc44b2f518a9463c0f4a9bb959671f1cd8b04050695fe26f0f87803f2b42c5372ccfb2cb1cda082122313a EBUILD vanilla-kernel-6.6.48.ebuild 3999 BLAKE2B b7f268cdfc9f4e73e2ac3f1c2da682af5927a9083938cdfb1e1e8b064f583545274c0eaa911e3b90226ed536e95d422047087672d7ebe801dae467a6c7364cad SHA512 3392ec1fe25845d5ed053e8e3da6df70fa3ae14192cc44b2f518a9463c0f4a9bb959671f1cd8b04050695fe26f0f87803f2b42c5372ccfb2cb1cda082122313a EBUILD vanilla-kernel-6.6.49.ebuild 3999 BLAKE2B b7f268cdfc9f4e73e2ac3f1c2da682af5927a9083938cdfb1e1e8b064f583545274c0eaa911e3b90226ed536e95d422047087672d7ebe801dae467a6c7364cad SHA512 3392ec1fe25845d5ed053e8e3da6df70fa3ae14192cc44b2f518a9463c0f4a9bb959671f1cd8b04050695fe26f0f87803f2b42c5372ccfb2cb1cda082122313a +EBUILD vanilla-kernel-6.6.50.ebuild 3999 BLAKE2B b7f268cdfc9f4e73e2ac3f1c2da682af5927a9083938cdfb1e1e8b064f583545274c0eaa911e3b90226ed536e95d422047087672d7ebe801dae467a6c7364cad SHA512 3392ec1fe25845d5ed053e8e3da6df70fa3ae14192cc44b2f518a9463c0f4a9bb959671f1cd8b04050695fe26f0f87803f2b42c5372ccfb2cb1cda082122313a EBUILD vanilla-kernel-6.6.9999.ebuild 3507 BLAKE2B 975ad487827f300f7a951c81b5e9b919333dcce1ed5b2a74b66f5d67a451a080c9a29f94fbfd271f71f72d651181fa5cd31355495aeb920929ee009ad3173ea3 SHA512 2565c099c58725eea9104276a412cf245a97d0bd67aedbca3718cf69eba6183cab15544244e6e0e39132f650ae0219d2208d6f03b485da2a40d974f09c07ce5a MISC metadata.xml 353 BLAKE2B cd022bd01b289ae703ae6ef6c2539fcfce833206c55e328ba02fc42b360d60f76b1920927b259dbb199724e6d3e7b0f68ba2044680d962d3cd03a973475582ff SHA512 10b10fd24801843108a71ca7d0c27514965b0a15a60da4d9b521fc41493448a1b1685ae3278dbd46cede0d069e51dede402d2c1448c8ae6a7fcfce8acf415bf3 diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.109.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.109.ebuild new file mode 100644 index 000000000000..857634f8cd43 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.109.ebuild @@ -0,0 +1,134 @@ +# 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.102-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 + arm | hppa) + > .config || die + ;; + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + 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.10.9.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.10.9.ebuild new file mode 100644 index 000000000000..2bc8ee080f62 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.10.9.ebuild @@ -0,0 +1,137 @@ +# 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.10.1-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 + arm | hppa | loong) + > .config || die + ;; + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + 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.6.50.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.50.ebuild new file mode 100644 index 000000000000..93587cc4db6d --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.50.ebuild @@ -0,0 +1,137 @@ +# 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 + arm | hppa | loong) + > .config || die + ;; + amd64) + cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die + ;; + arm64) + cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die + biendian=true + ;; + 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[@]}" +} |