summaryrefslogtreecommitdiff
path: root/sys-kernel/vanilla-kernel
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-19 12:11:50 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-19 12:11:50 +0100
commitfe0961fc9674dd24a017f474a34c1edbbd005965 (patch)
treedfdf05888e0f5fff9c1faafe6eb0dd5d827b63e5 /sys-kernel/vanilla-kernel
parentbcd00c826070701606b0ccebf46234dfc792d3e9 (diff)
gentoo auto-resync : 19:09:2024 - 12:11:50
Diffstat (limited to 'sys-kernel/vanilla-kernel')
-rw-r--r--sys-kernel/vanilla-kernel/Manifest9
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-6.1.111.ebuild134
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-6.10.11.ebuild137
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-6.6.52.ebuild137
4 files changed, 417 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest
index 965dc6d45a5e..9577c7a82820 100644
--- a/sys-kernel/vanilla-kernel/Manifest
+++ b/sys-kernel/vanilla-kernel/Manifest
@@ -42,8 +42,12 @@ DIST linux-6.1.109.tar.sign 991 BLAKE2B a47f2eb60b86a73af2a7edf256288209702f195f
DIST linux-6.1.109.tar.xz 135193224 BLAKE2B 2ab7151c193bcdfe0664f94040675faec1cefcb44df524074c9b06eeee1184fb07891c1d6bbfbe8ca53b8d52f332a17a14854602ef046897de692eaceef8e5c6 SHA512 a435b89320e8af19532bbd40c30c5c1e1b6f796f062a015f3c1bcf7a30b00eba4c51a568078c6dac9fc60040153305237910e6f9d701b9a7bf86475bd0a61dfc
DIST linux-6.1.110.tar.sign 991 BLAKE2B c93c23243b3f9df9da66cd9c3d1c65d6cc09212b53c3a19d4a565ea9566d2831938f3aa6c25b88fe7e85268aa0bcac8bdd5cfac472d610b95aaec2ee2b39181f SHA512 9fb593858e2af689e2e1d5171e70f2b707a4bc77ae721e6950115877b084c49dee340e77f12bf40761793a2cde306d513ca2e151e3c159e55906e129d458b8cd
DIST linux-6.1.110.tar.xz 135196940 BLAKE2B a4d78c86f74c0684a3ec53056241900a0fec06862fa47b963085ed7e797a0c5c8dc8d9b5e6d83d5da412e8ae8f820bcbc2f83c2a049ceed81e545fb0733ad582 SHA512 48c9515d32bbba034e3a477554bac627f131533a9b47ec55c8ded5f464c7e57f0f27c1f34ec92403792680d1019baa4472b2c55892c5e1d8edfd04cf7bd79eb4
+DIST linux-6.1.111.tar.sign 991 BLAKE2B f65cdcfcde31e4e281af4f6efbaabaec9f347d1be4b801e839e372c608fc8cda925ff4fc7da6e2f4c495c0ba8bacb41b5c4540e97f1354225a5884f7fae9e7f2 SHA512 4a575810a76953383fe9a20071f3c07af638537a93edf10a7cbb452931666079d99314a15b15cd37016ff9e73057dfc23686887f1f044d7d7116734cb64f4954
+DIST linux-6.1.111.tar.xz 135180332 BLAKE2B 4e60152884277015e12e9830da2fd4816507e36fc263506d270a17bb641d4811c83ea358c7fec0d3204a02b5cc3d47c3a935a52a4a5ccec869a96e458ff86d89 SHA512 239a37cc75c6f19d9f8480cc1fed27e885a60b1d68b127848d3e00ed6e2ffe3fe5d9bea0ada95dad1e39c6e829446f10722b2d8ab062f85aab189ee74512ca9a
DIST linux-6.10.10.tar.sign 991 BLAKE2B f626f460b08be2045dc47c33b50766e20b63c4d6e4dc842214584cb41b9b20c8db6ca4bfa696fd906b7ba6a9c4d8a1c67118207665c635e3639cb7c9028feb79 SHA512 807e761ddb21f7445dca7c34cea33113093a5e303d0b5069da4c8de93e3443abb62ec6b9f7e9806a3a2d2dc57fa47861940cd03cebe5e08d41d6a4ffeaa46c73
DIST linux-6.10.10.tar.xz 145139280 BLAKE2B 8a15910089d080886046b1fd8d57ef28ce872bf428e67ccbc9d5ca92da794d6dee7ab83cc914a499b40962e2990c3b1e5b11ae7d12c1eff7bec548c9a67df03a SHA512 affaa3690150ca13f0ee14f91f0e09a5ad3340a7ea6404e34286dfb4bd4fdfe12fcac47e83da7878681bf28a8a8b78e0b315e1563408885dbb07aac5bd2e4dce
+DIST linux-6.10.11.tar.sign 991 BLAKE2B 45a05ada9cbe48948bbf1cbd581eafa6ace4f2b1f9b8d3dd0d6059f6120ff15ff55e0b1a74d3819105294e8abbc1be2c8c806e4c9e04f69cf5e7e6bed80ee06b SHA512 f9ae418c735b250c55444634375dc9bf5481f2709fb70bb3f3b939100325274c60ee52fd3e2294b1277d9dda2e3bc5574f3c867029aec2e4a414f5b40ace47da
+DIST linux-6.10.11.tar.xz 145185812 BLAKE2B 55380d2af9fc535f6359cdb9b36612d1f81f2f140652f44bf927c320dda382109c9fb9591cc741914d3221e8d8bda954a10dbbeff8c163bf1ed57eff1831c8df SHA512 bb118bf74c0fd613e55e84f849849124f1d6093cb57c178258e2210e400e9fe492c16578bba583b1434b65175ebe1f20dfb722c271bf71b1157d38f3c0b2bca3
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
@@ -62,6 +66,8 @@ DIST linux-6.6.50.tar.sign 989 BLAKE2B e2ea6cf052f27f273f59e7a4a51689fc9ad9e6a29
DIST linux-6.6.50.tar.xz 140341000 BLAKE2B d54ca4ffd0c6d525725441189e933c68cf9123cb20b553b33e162867c14240fb8e4fd4af5331865156150a7345973ddfae3a8448c77681f442f0af54c071c5b8 SHA512 8421a7085900d4d1919ff73b6c77d9d713be3391e9113bf7446052f3e89a8c1b6f89e5861776007bf922f97d66c1aead48f0aae9b572a163034fafd2280b66b7
DIST linux-6.6.51.tar.sign 989 BLAKE2B 6413a28f43c12842b24a6bbb3def5cdff4776ddb773afe71d13f987212e8247b721599f24fe003585f85402b39e175a223053d47871603ab5878b1caa9a13f1d SHA512 0eecf63ad8f3c20edef379b90e9c7b576457ae5dee6cf265bbc7bbed1e46f6fc33fbbdf437497edc3ca821349762f97d8b2a11f249fc14ecd91c4f7002528a66
DIST linux-6.6.51.tar.xz 140337048 BLAKE2B 11c628d94cd62e08ec500fd67fc8b989e03cfa617690f5f7ce010f211c7778c7b57c119d827a707b3c09e862b5b96de3eb8e503b7128a4e1651789e4420ac1e6 SHA512 c79fcd957dbc855e101464a04b33921ab0dab7bf16201da0cd49b4c3dc9746f22a7f3411033035698ef98e8c9bcc6edf560e44c2b740235beac7cd59a4ea695c
+DIST linux-6.6.52.tar.sign 989 BLAKE2B c3ea21b0921eab9df4fd36ee10ba4f417ccdde013be1d4a75c28e50578495812ec058a51bbbefdd9baf9b5fab97ee1558c6bb9ba79172750dd89ac8494f5913c SHA512 a19d1283072c8a648b02765e9ac94284171a1376e0a07fd4872a32c565e5d6f213cf38af636475c46e9369bf45c32971ad60afaed3c2ebe9d6e6614fc9731d5b
+DIST linux-6.6.52.tar.xz 140320676 BLAKE2B f42461ea587b2027ce4e096dd7188d4d5bc8aa559eb037afbb2250493900988925d69e2882356739ac3b9d028f833a63578ed9087f7bd9ee44dc096b4608d352 SHA512 3fb7b4e6e19e87c4012037ea32dc4e28a30b75fa4260530edb7686c39b0c6fb6c4e35550a97c0e40c604513a0ba5f26490a6a74da21de08226d54fda73d316a0
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.226.ebuild 3761 BLAKE2B bc5924ab2eba7d901019d2c1526995b3bccc8a68a84aecdb5058234354b243767adb1c84aec274543c40f6b34c10f8f095026a8ff8bda553f8ea9206b5f1edb1 SHA512 7c2fe840a9d69da56bb685fe72276c0031f4a2b55400fc3f6cf8e8fc493db75d64c17a876ac8287746ddcfeb655acdac9baf9d039b86339c930444cf8f93a0d2
@@ -75,7 +81,9 @@ EBUILD vanilla-kernel-6.1.107.ebuild 3881 BLAKE2B ced5d43611b03ff27feda852626131
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.1.110.ebuild 3881 BLAKE2B ced5d43611b03ff27feda8526261315bb8e8f9aecd7115f04ddc3930c23a284ca4c74021bb6639f6ec1a71c7cd5caae6abc5a591d7914721b7ddb0a5967924f1 SHA512 c406394ac6a44954563c8c4452886d113bc65f03df648f4d04c1c2a78d2deced7c575f3c33537f0269a14893444c528dc3ba69b6d4f6e547c212f2a53670d06b
+EBUILD vanilla-kernel-6.1.111.ebuild 3881 BLAKE2B ced5d43611b03ff27feda8526261315bb8e8f9aecd7115f04ddc3930c23a284ca4c74021bb6639f6ec1a71c7cd5caae6abc5a591d7914721b7ddb0a5967924f1 SHA512 c406394ac6a44954563c8c4452886d113bc65f03df648f4d04c1c2a78d2deced7c575f3c33537f0269a14893444c528dc3ba69b6d4f6e547c212f2a53670d06b
EBUILD vanilla-kernel-6.10.10.ebuild 3999 BLAKE2B d7c9f9c880e99b0ed599a79a5acbf310cf9bc884c466d62719b3313ebefaad2fac5ee4f9fb348b10b4acf61bcfc4b5cc0cf2d18fb689174125e408419689d0de SHA512 fd752309371db9fa5d1bd7f3a0935d1d2fc91deb1813c2947b47f3a50f15678cfd5276abe58cd455ad9744dcf3fe251e8606094254eaa09e50909ba39d81a718
+EBUILD vanilla-kernel-6.10.11.ebuild 3999 BLAKE2B d7c9f9c880e99b0ed599a79a5acbf310cf9bc884c466d62719b3313ebefaad2fac5ee4f9fb348b10b4acf61bcfc4b5cc0cf2d18fb689174125e408419689d0de SHA512 fd752309371db9fa5d1bd7f3a0935d1d2fc91deb1813c2947b47f3a50f15678cfd5276abe58cd455ad9744dcf3fe251e8606094254eaa09e50909ba39d81a718
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
@@ -85,5 +93,6 @@ EBUILD vanilla-kernel-6.6.48.ebuild 3999 BLAKE2B b7f268cdfc9f4e73e2ac3f1c2da682a
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.51.ebuild 3999 BLAKE2B b7f268cdfc9f4e73e2ac3f1c2da682af5927a9083938cdfb1e1e8b064f583545274c0eaa911e3b90226ed536e95d422047087672d7ebe801dae467a6c7364cad SHA512 3392ec1fe25845d5ed053e8e3da6df70fa3ae14192cc44b2f518a9463c0f4a9bb959671f1cd8b04050695fe26f0f87803f2b42c5372ccfb2cb1cda082122313a
+EBUILD vanilla-kernel-6.6.52.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.111.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.111.ebuild
new file mode 100644
index 000000000000..857634f8cd43
--- /dev/null
+++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.1.111.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.11.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.10.11.ebuild
new file mode 100644
index 000000000000..2bc8ee080f62
--- /dev/null
+++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.10.11.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.52.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.52.ebuild
new file mode 100644
index 000000000000..93587cc4db6d
--- /dev/null
+++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.52.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[@]}"
+}