summaryrefslogtreecommitdiff
path: root/sys-kernel
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-07-10 12:25:06 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-07-10 12:25:06 +0100
commite810ac4a0e6af9f763f4433863042b34609075a7 (patch)
tree6fe0b3ff24f3b875be1564e273049c1e301d205b /sys-kernel
parentc218398bbbe70a616790cf146c28c1066b9284bf (diff)
gentoo auto-resync : 10:07:2024 - 12:25:06
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/Manifest.gzbin4742 -> 4739 bytes
-rw-r--r--sys-kernel/gentoo-kernel-bin/Manifest7
-rw-r--r--sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.38.ebuild164
-rw-r--r--sys-kernel/gentoo-kernel/Manifest3
-rw-r--r--sys-kernel/gentoo-kernel/gentoo-kernel-6.6.38.ebuild153
-rw-r--r--sys-kernel/gentoo-sources/Manifest4
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-6.6.38.ebuild27
-rw-r--r--sys-kernel/pf-sources/Manifest4
-rw-r--r--sys-kernel/pf-sources/pf-sources-6.9_p7.ebuild94
-rw-r--r--sys-kernel/vanilla-kernel/Manifest3
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-6.6.38.ebuild143
-rw-r--r--sys-kernel/vanilla-sources/Manifest4
-rw-r--r--sys-kernel/vanilla-sources/vanilla-sources-6.6.38.ebuild (renamed from sys-kernel/vanilla-sources/vanilla-sources-6.6.37.ebuild)0
13 files changed, 604 insertions, 2 deletions
diff --git a/sys-kernel/Manifest.gz b/sys-kernel/Manifest.gz
index 57137e123d22..f0ef507a3896 100644
--- a/sys-kernel/Manifest.gz
+++ b/sys-kernel/Manifest.gz
Binary files differ
diff --git a/sys-kernel/gentoo-kernel-bin/Manifest b/sys-kernel/gentoo-kernel-bin/Manifest
index 5e86eca5c069..0fd0e5eb634c 100644
--- a/sys-kernel/gentoo-kernel-bin/Manifest
+++ b/sys-kernel/gentoo-kernel-bin/Manifest
@@ -14,6 +14,8 @@ DIST genpatches-6.6-42.base.tar.xz 2474752 BLAKE2B 074b24c3848ba0b2521d364d67222
DIST genpatches-6.6-42.extras.tar.xz 4048 BLAKE2B 0d86f11ef43c33b1014423a4417be73e4ace2eb5d9c38c7a63e8bc424eff7399137239138de1b89a70247f1b174766c9672cb05743aeaa14ea66d8bab67593bc SHA512 5d264209a734c4cbc48dab228b7d8570b735748b1c01f80beb2803dca3027ed78303ff937aecb1d8e3e6f2e2d4722aa0c1b5c77a4d45f2a9c53cfe1c0ac0affd
DIST genpatches-6.6-44.base.tar.xz 2571884 BLAKE2B 117eb333385bbff1ec4056dc9fd7374260a33f243fe20462b914eee658a57b90e9115e9edbf5c8935890ddcfb233eaf88b3e0062245cb838953749c8bc674376 SHA512 e8bad736c8566bbdc081600305a4014301e4f6f74b73ee68efd818fb92e2d49bdbf0b7a2b66c5cd5aa8e56e7d183aa03c2a02e7328ba7e0c71fa1646e6868cc3
DIST genpatches-6.6-44.extras.tar.xz 4048 BLAKE2B c65f9f51bf8a0089652367ccae4c10e16dc44f060ddd073bc4ca7e3d197ae8d406a67aaac81b704133b18d10d4f844da71c26284baeec68f9d2757e9fbc71a78 SHA512 3a83c0321b9653e4aef2bd642e54a6988ee566fa44ce60f8376d1a1adc7a13cce66fcf22b4cae72234ae8d3e154a2ff6d570de11405127b7e82d6d142cf84916
+DIST genpatches-6.6-45.base.tar.xz 2573196 BLAKE2B a6ff1fdc5c661f28d45e8297a325d603825148489d9ba403318fd6f7bc6664a95605ce2303dee12f5d61eb1f807a334a4483e71c08c20fa04df8cc8c2106e698 SHA512 218218a5e16d19d3477140c3a0d36a773fcc3a07fdfd131505d4cec60570a9be2e72aaf4d00611bf5f818ced5b46d13ef31605954db900934d46e5cd5e6c60d7
+DIST genpatches-6.6-45.extras.tar.xz 4048 BLAKE2B dd86fb162ed81abf47e1fe88e238d67d557294b9502dedf9d3d405e52e014ba9852ea48ef7ab62a255996cc0a3506599b07c76a20b217764c31e2efa0a636872 SHA512 8cd9e82c2c33eb625c86181e47cdf9be5a3246db140174792cb38c68e44a39103bd42964560d8af659a9f44117fd40b804927a544c32780fcbb7a023cba9bfb3
DIST genpatches-6.9-9.base.tar.xz 548708 BLAKE2B e0130d225056f77c92e566eef9db643ecdef6faf2f81e8329859830850bb5409e212aca0ab0da85b9b1e3377121221259044dac650986ec05feac46f4d588a5d SHA512 714016638f866b536b85edd24e3e44513048591aa270dbee1460c5893b3e8b0508f299d86a202deacd10f105c0da48038d78219226b2808e17012d1811df391e
DIST genpatches-6.9-9.extras.tar.xz 4048 BLAKE2B 7be69cb63abf9df9267bc61e3e365672dbd1c0b3568d48bf949b660ff1abb483b28846eb36a162ddd9bd91473c25462440fd41a7ba3bac70467ad45fa88fdd29 SHA512 955cd846bb020d08888aac04ebc5c1e56429e11ac59601a3e068971ad05aee59b75a24722dc7fe2645ef4414424d21e117e2eeb24ae72a5949476a213f3383fa
DIST gentoo-kernel-5.10.220-1.amd64.gpkg.tar 63283200 BLAKE2B abfa4447a66dbade52e79edebe0bf1fe6d9be7a3ae6eef0510b45b19ca6f209dd46ad8426defb9935ef10485d8704634dc45d411c2760a92af8692ba16f3d34d SHA512 8ee2d79de3c54036d4302ac542438c73132f88a803c56159c96a4fce63fb6208a299ac3310aba5ca30c3fa504f71a60ce365a06c867d884e2da104ea57cf2eb5
@@ -48,6 +50,10 @@ DIST gentoo-kernel-6.6.37-1.amd64.gpkg.tar 147374080 BLAKE2B a26bc9ce7049ecf72db
DIST gentoo-kernel-6.6.37-1.arm64.gpkg.tar 119234560 BLAKE2B bf8868a4f9dca993a75824c998662fdd42489e193819e2e4d977802ce0a966fd0e77ca4c2378a38e4208e373887d11447d90a321e756b405e361ddf36e4c0a12 SHA512 9be0cc25ec906ea22d408d3d0e45157e7afe28195db05a14d8ad1bbc8166490382d147b383259f886cecf73e895f0241ab2b3f183a82d0af2597613b68f7c2d3
DIST gentoo-kernel-6.6.37-1.ppc64le.gpkg.tar 64256000 BLAKE2B 3e86dab47a5ddd8a77db788fd9ab7ea2804c286ce37c6173d66ad6cd3a6dbaf2c315f47292875b930c548755da6f5cc7e17f40ffaf53e8117502717010636806 SHA512 1601f8807b1ed8a1b047d4619dfd565052f62b2041574e92843c4286ba740ca098a69b2b74fc39c49323d3945195d6d0b87d4bca85d00e9c29a160f20bc1da34
DIST gentoo-kernel-6.6.37-1.x86.gpkg.tar 68259840 BLAKE2B 921d03cef3099288cb5edebedab899a2c8fb5d508093c353bfa74a0681476b47a6f739b3b1846bb93cc1e26b6fd56a184fff12216cabaf26a6cdec65f9be870f SHA512 f7738083832d0277af6877754b746daf3f26e9a3d827069cf3c48bc296bc698efd522a37b541753df366aa661fc281cc654b03c7cb1e38a1138901a451c14c68
+DIST gentoo-kernel-6.6.38-1.amd64.gpkg.tar 147281920 BLAKE2B 9283f9a1363a454e946fc574a21b76531d3620ed6278094462e910179eff5fb6d2a5303b70d8ab79f9c356a88c419ed179393ea80585ac0e056189c75af13f8a SHA512 723bac0278111a9f8a8c0f8fd0ae07669b5e83988dee51691c2eb48090fda48c12fb0c8cca5f33f324cea194385e41ffa81a0159e4349564788915e3e5b0deb6
+DIST gentoo-kernel-6.6.38-1.arm64.gpkg.tar 119255040 BLAKE2B 0c9a313e57b577841d4f660269541f5820a075eeda9182d8b7d89be182241d0ad930af9b6574a0f1c8b5b00bc4c873d8693430ecc37f71281512b9fdcb1ed980 SHA512 efd98ffe982e93cc9e9f86e490ee57dc5a9c184a59fdb61aa930710f7c4288a6c9c25f91541ced9f7f0736571336ccb0a18d8f402df54df324b24bf2cf58ffb4
+DIST gentoo-kernel-6.6.38-1.ppc64le.gpkg.tar 64256000 BLAKE2B 9df53aad8ae5f648e5d2f11fc5e8d221de4718c48999bb0c0488cfaa405cc212838751ecdd0f03c2a96b1e67b4130827d805c2306114b5d12ac2d6f5b2ad5b22 SHA512 d994cce69cab508d98a73fff91ca3dbc068054a21b959c3e9f7033fdbc1de41d2d917489f6b3b54068141265922158cd444ccc8da49c5b714289c8d3ed2a92f7
+DIST gentoo-kernel-6.6.38-1.x86.gpkg.tar 68259840 BLAKE2B 5101f931cff8f26a0f925f4b712d7ddcf6bf407be643687f5453352bee45d0ed201ea76463d9d8ecea3a2abea7a9862082214b46d588e0abe7404de9f3bef69b SHA512 cb2d09d1416d38fba1fa884356a1d52f5ec1f5f755aab8c21987e9649bacee2cd60c19b2802accb5c576f0fe5be75fe58cbb5093fccf95750a31132d8fb5e45d
DIST gentoo-kernel-6.9.8-1.amd64.gpkg.tar 159160320 BLAKE2B f54c76780fdec033d8ce5b419dfb8cb1d9fd36af80791532ec7d6bf5ac4472f1fff6f52151aca93cebf3f99ba569b990a850403a99b56d427b6a48a32350b735 SHA512 ddf33e3b2d19a1beadbf6e578a70f363e2fac965dc19c2fcaf4a73b768f27611c86f1c3ec2a472fe37376fcdfece48a53846ff3ca554c97d4eb9686055c1a758
DIST gentoo-kernel-6.9.8-1.arm64.gpkg.tar 129792000 BLAKE2B 7df88f8fda6a34699ae60ad3c12e20fdd957a8a07bb0880a634a94b91b5d803d35ac493862ff35a85426b62e1d8c7affd4728aa87d5e3d911ab73b39c1dd54c7 SHA512 b27e2854f7b5a5b4a179578c6228c3a11c50c7deb37cc0ae8bf0c1f8bf60c64a8990fd09111769c642072079df6b1b083ce305519212bc3816bcccb6ee89ecad
DIST gentoo-kernel-6.9.8-1.ppc64le.gpkg.tar 70758400 BLAKE2B 782a74d7edd731773abdd128adcf720215c5bb7ee7dffeeecc9bfe0f04b0500584f69469277f5f86f9d4ea447975fff26403b680bc52b1d3e21e033f54cde94a SHA512 923badad678f818ff30fd753508d1bd53990a1c3166879a01dbc1e841355fc783a6e9c79e3d5a9ab075f223828f7206decd1a36fd2370a4ecfaf354d5821abd8
@@ -65,5 +71,6 @@ EBUILD gentoo-kernel-bin-6.1.95.ebuild 3220 BLAKE2B 2c1c821f1451a0de52222c67eb93
EBUILD gentoo-kernel-bin-6.1.97.ebuild 3225 BLAKE2B 1ea3a430edb723b85fee498bf59318c54a2fdc7bc3aa18e812cf3f4f9f43b82ec5b803a7faf48c51e05deca4ffa7afa802e32581fbc9802d3c788c3df7b276e6 SHA512 cdfdcab4dc5a408708e21c13bb8b112dad2ebee95f4c98259af59e7ba0d29beeb5f606e4f398c157c565de3ea873553f6f3d9ed8585d9eaf7dfd707119910450
EBUILD gentoo-kernel-bin-6.6.35.ebuild 4200 BLAKE2B ad8e8989888d504d96fcab1440ee0c238e40360cbd13f436eb890cf8fd4c084a0eb0ef7152a1d1d5330f1e5a048ff3ba0f68d48c4baa9ac36c598168b0e4203c SHA512 5e45c2679fae8bf2b0012c54e6905732c25782918227210ea8f60196f0cbe3b8464fc39d5dcb6c821f07e269a8d361921f66604a36390c97ad99bde038eed1c6
EBUILD gentoo-kernel-bin-6.6.37.ebuild 4204 BLAKE2B 67e5b8cbb2b6425e39ee4ef8947cc4132bcb140274b1054584b760807577da4c664b836b563e55f4e9ee462753492689a49a6238745f55278129ab1161edfa27 SHA512 8426ebb47af96c9f6d1cc6c5064280646417f2b149f4e1843cd7934e1b22de03e572ea14cb69edeff16182079a1b2940fbae9f279a1d3c9eca04b19250aca04c
+EBUILD gentoo-kernel-bin-6.6.38.ebuild 4204 BLAKE2B 67e5b8cbb2b6425e39ee4ef8947cc4132bcb140274b1054584b760807577da4c664b836b563e55f4e9ee462753492689a49a6238745f55278129ab1161edfa27 SHA512 8426ebb47af96c9f6d1cc6c5064280646417f2b149f4e1843cd7934e1b22de03e572ea14cb69edeff16182079a1b2940fbae9f279a1d3c9eca04b19250aca04c
EBUILD gentoo-kernel-bin-6.9.8.ebuild 4210 BLAKE2B 7757463e682f43bab66d6e400abd4f7e2b90cc8397b2a8c12adbc636e3c4722bbdfcd8683e5d1ffb4f1992acfedc264370fe8949b28c864730aba5708914b278 SHA512 2cf6039ed7e5deb27706bad51b30e2ecc698bd81d6efd81898d5ee7021a0545eafcb3e92f02dbef2742a0ddc2501fe5d7ee43caebc363d62d401f58cabab5b38
MISC metadata.xml 482 BLAKE2B 3e7e4723542cbb8ac93dae78248fb8c26b96b7bfb2a3cd7913e4e7aef9beff07d9e8301219ae95bbbe4282d0806614b2733bea5d818797d19b0070c9119c0e1d SHA512 e3de887610d2c063fde21d52ce78c5d15301bffff49a82508c50dc1b03e606bf3e87506b376f10c6c10334949f577bc0f5307c3f45f2544fac799c57cf75d4d4
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.38.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.38.ebuild
new file mode 100644
index 000000000000..e0e46cd48882
--- /dev/null
+++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.38.ebuild
@@ -0,0 +1,164 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KERNEL_EFI_ZBOOT=1
+KERNEL_IUSE_GENERIC_UKI=1
+KERNEL_IUSE_SECUREBOOT=1
+
+inherit kernel-install toolchain-funcs unpacker
+
+MY_P=linux-${PV%.*}
+GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 7 ))
+BINPKG=${PF/-bin}-1
+
+DESCRIPTION="Pre-built Linux kernel with Gentoo patches"
+HOMEPAGE="https://www.kernel.org/"
+SRC_URI+="
+ https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
+ https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz
+ https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz
+ amd64? (
+ https://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.amd64.gpkg.tar
+ )
+ arm64? (
+ https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.arm64.gpkg.tar
+ )
+ ppc64? (
+ https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.ppc64le.gpkg.tar
+ )
+ x86? (
+ https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
+ -> ${BINPKG}.x86.gpkg.tar
+ )
+"
+S=${WORKDIR}
+
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+RDEPEND="
+ !sys-kernel/gentoo-kernel:${SLOT}
+"
+PDEPEND="
+ >=virtual/dist-kernel-${PV}
+"
+BDEPEND="
+ app-alternatives/bc
+ app-alternatives/lex
+ virtual/libelf
+ app-alternatives/yacc
+"
+
+QA_PREBUILT='*'
+
+KV_LOCALVERSION='-gentoo-dist'
+KPV=${PV}${KV_LOCALVERSION}
+
+src_prepare() {
+ local PATCHES=(
+ # meh, genpatches have no directory
+ "${WORKDIR}"/*.patch
+ )
+ cd "${MY_P}" || die
+ default
+}
+
+src_configure() {
+ # force ld.bfd if we can find it easily
+ local LD="$(tc-getLD)"
+ if type -P "${LD}.bfd" &>/dev/null; then
+ LD+=.bfd
+ fi
+
+ tc-export_build_env
+ local makeargs=(
+ V=1
+
+ HOSTCC="$(tc-getBUILD_CC)"
+ HOSTCXX="$(tc-getBUILD_CXX)"
+ HOSTCFLAGS="${BUILD_CFLAGS}"
+ HOSTLDFLAGS="${BUILD_LDFLAGS}"
+
+ CROSS_COMPILE=${CHOST}-
+ AS="$(tc-getAS)"
+ CC="$(tc-getCC)"
+ LD="${LD}"
+ AR="$(tc-getAR)"
+ NM="$(tc-getNM)"
+ STRIP="$(tc-getSTRIP)"
+ OBJCOPY="$(tc-getOBJCOPY)"
+ OBJDUMP="$(tc-getOBJDUMP)"
+
+ # we need to pass it to override colliding Gentoo envvar
+ ARCH="$(tc-arch-kernel)"
+
+ O="${WORKDIR}"/modprep
+ )
+
+ local kernel_dir="${BINPKG}/image/usr/src/linux-${KPV}"
+ local image="${kernel_dir}/$(dist-kernel_get_image_path)"
+ local uki="${image%/*}/uki.efi"
+ if [[ -s ${uki} ]]; then
+ # We need to extract the plain image for the test phase
+ # and USE=-generic-uki.
+ kernel-install_extract_from_uki linux "${uki}" "${image}"
+ fi
+
+ mkdir modprep || die
+ cp "${kernel_dir}/.config" modprep/ || die
+ emake -C "${MY_P}" "${makeargs[@]}" modules_prepare
+}
+
+src_test() {
+ local kernel_dir="${BINPKG}/image/usr/src/linux-${KPV}"
+ kernel-install_test "${KPV}" \
+ "${WORKDIR}/${kernel_dir}/$(dist-kernel_get_image_path)" \
+ "${BINPKG}/image/lib/modules/${KPV}"
+}
+
+src_install() {
+ local kernel_dir="${BINPKG}/image/usr/src/linux-${KPV}"
+ local image="${kernel_dir}/$(dist-kernel_get_image_path)"
+ local uki="${image%/*}/uki.efi"
+ if [[ -s ${uki} ]]; then
+ # Keep the kernel image type we don't want out of install tree
+ # Replace back with placeholder
+ if use generic-uki; then
+ > "${image}" || die
+ else
+ > "${uki}" || die
+ fi
+ fi
+
+ # Overwrite the identifier in the prebuilt package
+ echo "${CATEGORY}/${PF}:${SLOT}" > "${kernel_dir}/dist-kernel" || die
+
+ mv "${BINPKG}"/image/{lib,usr} "${ED}"/ || die
+
+ # FIXME: requires proper mount-boot
+ if [[ -d ${BINPKG}/image/boot/dtbs ]]; then
+ mv "${BINPKG}"/image/boot "${ED}"/ || die
+ fi
+
+ # strip out-of-source build stuffs from modprep
+ # and then copy built files
+ find modprep -type f '(' \
+ -name Makefile -o \
+ -name '*.[ao]' -o \
+ '(' -name '.*' -a -not -name '.config' ')' \
+ ')' -delete || die
+ rm modprep/source || die
+ cp -p -R modprep/. "${ED}/usr/src/linux-${KPV}"/ || die
+
+ # Update timestamps on all modules to ensure cleanup works correctly
+ # when switching USE=modules-compress.
+ find "${ED}/lib" -name '*.ko' -exec touch {} + || die
+
+ # Modules were already stripped before signing
+ dostrip -x /lib/modules
+ kernel-install_compress_modules
+}
diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest
index cbf46203610b..6ce8b9d54e41 100644
--- a/sys-kernel/gentoo-kernel/Manifest
+++ b/sys-kernel/gentoo-kernel/Manifest
@@ -14,6 +14,8 @@ DIST genpatches-6.6-42.base.tar.xz 2474752 BLAKE2B 074b24c3848ba0b2521d364d67222
DIST genpatches-6.6-42.extras.tar.xz 4048 BLAKE2B 0d86f11ef43c33b1014423a4417be73e4ace2eb5d9c38c7a63e8bc424eff7399137239138de1b89a70247f1b174766c9672cb05743aeaa14ea66d8bab67593bc SHA512 5d264209a734c4cbc48dab228b7d8570b735748b1c01f80beb2803dca3027ed78303ff937aecb1d8e3e6f2e2d4722aa0c1b5c77a4d45f2a9c53cfe1c0ac0affd
DIST genpatches-6.6-44.base.tar.xz 2571884 BLAKE2B 117eb333385bbff1ec4056dc9fd7374260a33f243fe20462b914eee658a57b90e9115e9edbf5c8935890ddcfb233eaf88b3e0062245cb838953749c8bc674376 SHA512 e8bad736c8566bbdc081600305a4014301e4f6f74b73ee68efd818fb92e2d49bdbf0b7a2b66c5cd5aa8e56e7d183aa03c2a02e7328ba7e0c71fa1646e6868cc3
DIST genpatches-6.6-44.extras.tar.xz 4048 BLAKE2B c65f9f51bf8a0089652367ccae4c10e16dc44f060ddd073bc4ca7e3d197ae8d406a67aaac81b704133b18d10d4f844da71c26284baeec68f9d2757e9fbc71a78 SHA512 3a83c0321b9653e4aef2bd642e54a6988ee566fa44ce60f8376d1a1adc7a13cce66fcf22b4cae72234ae8d3e154a2ff6d570de11405127b7e82d6d142cf84916
+DIST genpatches-6.6-45.base.tar.xz 2573196 BLAKE2B a6ff1fdc5c661f28d45e8297a325d603825148489d9ba403318fd6f7bc6664a95605ce2303dee12f5d61eb1f807a334a4483e71c08c20fa04df8cc8c2106e698 SHA512 218218a5e16d19d3477140c3a0d36a773fcc3a07fdfd131505d4cec60570a9be2e72aaf4d00611bf5f818ced5b46d13ef31605954db900934d46e5cd5e6c60d7
+DIST genpatches-6.6-45.extras.tar.xz 4048 BLAKE2B dd86fb162ed81abf47e1fe88e238d67d557294b9502dedf9d3d405e52e014ba9852ea48ef7ab62a255996cc0a3506599b07c76a20b217764c31e2efa0a636872 SHA512 8cd9e82c2c33eb625c86181e47cdf9be5a3246db140174792cb38c68e44a39103bd42964560d8af659a9f44117fd40b804927a544c32780fcbb7a023cba9bfb3
DIST genpatches-6.9-9.base.tar.xz 548708 BLAKE2B e0130d225056f77c92e566eef9db643ecdef6faf2f81e8329859830850bb5409e212aca0ab0da85b9b1e3377121221259044dac650986ec05feac46f4d588a5d SHA512 714016638f866b536b85edd24e3e44513048591aa270dbee1460c5893b3e8b0508f299d86a202deacd10f105c0da48038d78219226b2808e17012d1811df391e
DIST genpatches-6.9-9.extras.tar.xz 4048 BLAKE2B 7be69cb63abf9df9267bc61e3e365672dbd1c0b3568d48bf949b660ff1abb483b28846eb36a162ddd9bd91473c25462440fd41a7ba3bac70467ad45fa88fdd29 SHA512 955cd846bb020d08888aac04ebc5c1e56429e11ac59601a3e068971ad05aee59b75a24722dc7fe2645ef4414424d21e117e2eeb24ae72a5949476a213f3383fa
DIST gentoo-kernel-config-g13.tar.gz 5759 BLAKE2B 831f89078e539c8b4ce244528dfd847c12a45b52d540eb10d85ec0d9deb1c14288d8de12456865c92d16e3523ec3595676787a8f3b79545d76870b0fb68deb5d SHA512 2a7230cce57a67e3333f9a88a311afe4a928e27ce76036747451cb77d3186569ad11d7a5b827748ad53290a17ad63637a8362ca896516f85ff0944a8d68265a6
@@ -50,5 +52,6 @@ EBUILD gentoo-kernel-6.1.95.ebuild 3975 BLAKE2B 62b3bcdbc16a17ac7eb6c20b96c95441
EBUILD gentoo-kernel-6.1.97.ebuild 3980 BLAKE2B d116db9411bffdf1470141b708fc25939b1e093a41bbb52d9c86111c97f8cb4e1eac9dadf201a84cb3dcf9856db3670296309e6cd5ec6980de108181267fd47f SHA512 0497d51ec05f2f47246953b94b08a10de18ce5f84c132193d8dc325cbe90737075f0b171c8f9d438e4304ded2f17b56e1b06c4cbb2406a779032a3627ff11215
EBUILD gentoo-kernel-6.6.35.ebuild 4123 BLAKE2B 1b07caa2c6ae459256d88d61ab40759cecc46991f858a40eca936547c658316b21595416775fbe421bb04d98c78974510626d7bca309e63e9d76e2e93998a69c SHA512 8b35589963315760b14a1465da5d47f13fbb588dcc801aff14ae4d262ea485eadb9d8312cf5b320120b49c650bbbf7f367e3ae70b9252f9bb10a373c7a7b3208
EBUILD gentoo-kernel-6.6.37.ebuild 4127 BLAKE2B 3a567cc665e12d3a63fdd2034447898740f9129c99ed259f98369540e1767763ab3dca748502e90e59481b273ee6c0e31ad85c8302b49f06d8fee8e46c62f3d1 SHA512 66232fef54017a33e1adfa6b166484947486fa75bc82540696a4c3aa2368daf7d2964c968ad604498505f6218e7773a76998f51e85897eb51622f12906a5f701
+EBUILD gentoo-kernel-6.6.38.ebuild 4127 BLAKE2B 3a567cc665e12d3a63fdd2034447898740f9129c99ed259f98369540e1767763ab3dca748502e90e59481b273ee6c0e31ad85c8302b49f06d8fee8e46c62f3d1 SHA512 66232fef54017a33e1adfa6b166484947486fa75bc82540696a4c3aa2368daf7d2964c968ad604498505f6218e7773a76998f51e85897eb51622f12906a5f701
EBUILD gentoo-kernel-6.9.8.ebuild 4126 BLAKE2B 92c049f21834818211cd830f8fd3b04c4c03005e664469b9e7b64b1a19996267cd3113a9e6db3bca4a17b0954d632f0b57c4f4aa8fd4932a9dfd6415e2a909ce SHA512 f9a30cf4af806fb8e267a60e0432f7992108be087066d3a5e72fdbd9805d957e915d46dec5b1341cfd0ee8693e7e6f97e45daaf8cf91ac294785ea9f91558647
MISC metadata.xml 681 BLAKE2B c773ebc6132d1c1a2466655e2441e7bfd7be7979e5912d3a27dd1c81b59614fd7a9a9a6f865075071126337eee6435e4c2b57356cec46f47966c4bdbb131ff3f SHA512 caabebdfd4cb3db2a69406cd1dfd9638c828bc1602d3f972350a7e84db1a2caeb563c6750c0998756c66f949953a1508a395b4b4139e88fbe9a20a70ab3a5ad5
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.38.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.38.ebuild
new file mode 100644
index 000000000000..4f603a059b70
--- /dev/null
+++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.38.ebuild
@@ -0,0 +1,153 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KERNEL_IUSE_GENERIC_UKI=1
+KERNEL_IUSE_MODULES_SIGN=1
+
+inherit kernel-build toolchain-funcs
+
+MY_P=linux-${PV%.*}
+GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 7 ))
+# 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 with Gentoo patches"
+HOMEPAGE="
+ https://wiki.gentoo.org/wiki/Project:Distribution_Kernel
+ https://www.kernel.org/
+"
+SRC_URI+="
+ https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
+ https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz
+ https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz
+ https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
+ -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
+ amd64? (
+ https://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}
+
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="debug hardened"
+REQUIRED_USE="
+ arm? ( savedconfig )
+ hppa? ( savedconfig )
+ riscv? ( savedconfig )
+ sparc? ( savedconfig )
+"
+
+RDEPEND="
+ !sys-kernel/gentoo-kernel-bin:${SLOT}
+"
+BDEPEND="
+ debug? ( dev-util/pahole )
+"
+PDEPEND="
+ >=virtual/dist-kernel-${PV}
+"
+
+QA_FLAGS_IGNORED="
+ usr/src/linux-.*/scripts/gcc-plugins/.*.so
+ usr/src/linux-.*/vmlinux
+ usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg
+"
+
+src_prepare() {
+ local PATCHES=(
+ # meh, genpatches have no directory
+ "${WORKDIR}"/*.patch
+ )
+ default
+
+ local biendian=false
+
+ # prepare the default config
+ case ${ARCH} in
+ amd64)
+ cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
+ ;;
+ arm)
+ return
+ ;;
+ arm64)
+ cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
+ biendian=true
+ ;;
+ hppa)
+ return
+ ;;
+ 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
+ ;;
+ riscv)
+ return
+ ;;
+ sparc)
+ return
+ ;;
+ x86)
+ cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
+ ;;
+ *)
+ die "Unsupported arch ${ARCH}"
+ ;;
+ esac
+
+ local myversion="-gentoo-dist"
+ use hardened && myversion+="-hardened"
+ echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die
+ local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
+
+ local merge_configs=(
+ "${T}"/version.config
+ "${dist_conf_path}"/base.config
+ )
+ use debug || merge_configs+=(
+ "${dist_conf_path}"/no-debug.config
+ )
+ if use hardened; then
+ merge_configs+=( "${dist_conf_path}"/hardened-base.config )
+
+ tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config )
+
+ if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then
+ merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" )
+ fi
+ fi
+
+ # this covers ppc64 and aarch64_be only for now
+ if [[ ${biendian} == true && $(tc-endian) == big ]]; then
+ merge_configs+=( "${dist_conf_path}/big-endian.config" )
+ fi
+
+ use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" )
+
+ kernel-build_merge_configs "${merge_configs[@]}"
+}
diff --git a/sys-kernel/gentoo-sources/Manifest b/sys-kernel/gentoo-sources/Manifest
index 7582ef012aab..f0e26a122011 100644
--- a/sys-kernel/gentoo-sources/Manifest
+++ b/sys-kernel/gentoo-sources/Manifest
@@ -45,6 +45,9 @@ DIST genpatches-6.6-43.extras.tar.xz 4052 BLAKE2B c12fe48720ff166e507be3a4cc19ee
DIST genpatches-6.6-44.base.tar.xz 2571884 BLAKE2B 117eb333385bbff1ec4056dc9fd7374260a33f243fe20462b914eee658a57b90e9115e9edbf5c8935890ddcfb233eaf88b3e0062245cb838953749c8bc674376 SHA512 e8bad736c8566bbdc081600305a4014301e4f6f74b73ee68efd818fb92e2d49bdbf0b7a2b66c5cd5aa8e56e7d183aa03c2a02e7328ba7e0c71fa1646e6868cc3
DIST genpatches-6.6-44.experimental.tar.xz 5752 BLAKE2B eb4d061e260ab5efb9c346775541d54fee39a8f938c2bb118e4b245d5e855a5a111673c1a52a187c4f6cb7c83bf087c38afdc48ffe7ab9cc4811ac1d87ca4f70 SHA512 9c282daaf6995f74036b0e1a9c257b74ca98fd332797d092d997d0348611158810a825cab584b4fb57462d13d2c1f29618ab6d03245c489073bebdb6acbcfa9f
DIST genpatches-6.6-44.extras.tar.xz 4048 BLAKE2B c65f9f51bf8a0089652367ccae4c10e16dc44f060ddd073bc4ca7e3d197ae8d406a67aaac81b704133b18d10d4f844da71c26284baeec68f9d2757e9fbc71a78 SHA512 3a83c0321b9653e4aef2bd642e54a6988ee566fa44ce60f8376d1a1adc7a13cce66fcf22b4cae72234ae8d3e154a2ff6d570de11405127b7e82d6d142cf84916
+DIST genpatches-6.6-45.base.tar.xz 2573196 BLAKE2B a6ff1fdc5c661f28d45e8297a325d603825148489d9ba403318fd6f7bc6664a95605ce2303dee12f5d61eb1f807a334a4483e71c08c20fa04df8cc8c2106e698 SHA512 218218a5e16d19d3477140c3a0d36a773fcc3a07fdfd131505d4cec60570a9be2e72aaf4d00611bf5f818ced5b46d13ef31605954db900934d46e5cd5e6c60d7
+DIST genpatches-6.6-45.experimental.tar.xz 5760 BLAKE2B 156258c7531084e3ad127163a40a1df21fc1394ed305d227cd8b1f5f40cef60f63ebeaa45e2bdfd44c755b280a9af36bdd0a6d9f613f68b531272e5597687096 SHA512 feb00b05feca34b6208a9b8b31a511b4b26d35c45c80a985c293770ea63612c3ecc7aecd2db67b612afaf6f3ea771f72caae6d52cbae1b4c480a7bde5a8d76e0
+DIST genpatches-6.6-45.extras.tar.xz 4048 BLAKE2B dd86fb162ed81abf47e1fe88e238d67d557294b9502dedf9d3d405e52e014ba9852ea48ef7ab62a255996cc0a3506599b07c76a20b217764c31e2efa0a636872 SHA512 8cd9e82c2c33eb625c86181e47cdf9be5a3246db140174792cb38c68e44a39103bd42964560d8af659a9f44117fd40b804927a544c32780fcbb7a023cba9bfb3
DIST genpatches-6.9-6.base.tar.xz 319896 BLAKE2B 8b58a70db0844a8455fb413de046cf0998c19c2ace54918a3408f9d31eae6bf276d6a86f5db835cc3ac87335d908c2ba853fd2f334e80cd06e7e72847483d3de SHA512 fa3f1efa0886a6df0ce8006a4433a8bf91731069aed6040e1e4ac9002dbb879ed644f2ba1b258a92ae8550709b85a3c1d2657df000cc6dfe4f79d32c991efcb6
DIST genpatches-6.9-6.experimental.tar.xz 5728 BLAKE2B 14c74ddcfa3f07b69ada0e01442e7076540214799478bedcf1d1090f6391627c590ef36f857c6b0166116e041832713c8049344cd26e56449c59475a05548b1d SHA512 745e30175dbd3eb127fdfd6971d68f4306c02b4fafe79083480e16e3a9129b482a4dcae60950c63792f9ac979f8609b960bcdc9d9e1d04d2ef6ec9e9af652a45
DIST genpatches-6.9-6.extras.tar.xz 4052 BLAKE2B cf761f7035971e6f2be6ac719048fba08f203b2f400bd7fbb62e4e10bb7d5c508dc7e79f85812ccd1ee1cbc791c4f19a6becab2dbdfd4ad2c3ec2b1ce0f2bb47 SHA512 fbdd60a92f8dbafb30dfdd65b3e0c03cf274dbb148c092f40dfc2bdd4e5d7d18f68c9064bf0419e7dff5c94c67fba3922bb474ec717dda8094b37ab489cfc8bc
@@ -79,6 +82,7 @@ EBUILD gentoo-sources-6.6.30.ebuild 746 BLAKE2B ee5c6ad23b518fbf164496302282c651
EBUILD gentoo-sources-6.6.35.ebuild 754 BLAKE2B 79f343c5c0e6867b24d9c4452a0abcc522ee248ac261841f886a70d2e17758cc933d262a703039b6c0a3c5cb66d975b3b153df1f74a5a4dc72f5115c6e4b4374 SHA512 c65c90f05dde3fd794e541c63f21b8ffed3cbbe31ee08807047e762a34c95b7c74a7fcc0bf6c146f41fe39ae6649646c42d495b9f44eea004421b7a2a71a2ed2
EBUILD gentoo-sources-6.6.36.ebuild 754 BLAKE2B bb49416319c3f24b2c0c40a1ddf068cd922ce1809c0555ba8a14624970dea32368205d48d77e316f20e600ecd4aed6e264e803a6a33fb75041fbdd165478f564 SHA512 ebb0136a0bd316df4f7e3edc8b4180288fa74fe3f704e5d2cd6a528373a06aff17dd206350db3c53ad7b290c11b56e516a2cf2496a9236a75d872aec5d955f25
EBUILD gentoo-sources-6.6.37.ebuild 752 BLAKE2B 356e901ca56511bd043072f25d164746165a9238434216383b5de928f8d423365d9172aa33c416ff5bf83c97ebad1b769ec1e859f25e4c96a985d9fff9620aa2 SHA512 f051d225d1913cd8ea6cd71271b8ea353ea69bb8f15a6b95fe87ab476b949ebcd5faef73220bbe0d32f4016ae3253eeaf8b190542314315dce555ce378dce061
+EBUILD gentoo-sources-6.6.38.ebuild 752 BLAKE2B 4ddfc4c98b19aa8b1517f1b4095301a1f6b55d36cc494fbd72f4a3cfa265d0c584a478f3570febf38d303e73bddd77571f94260f6f9cc46902c41bfbf11aebb5 SHA512 f7b84f8fc5893a2915a27cdd1700a7bffdf786c7ad93edae690ed951446871131a642515fdd1e94b42ead1be431dba159e280de31a161d4b50f284f0b3f087ce
EBUILD gentoo-sources-6.9.5.ebuild 753 BLAKE2B 9c37281d349da7dd4f2d09a41308dfea68d1e20497df5df70deb08083a288db78213e0c81341557dafb4bd029616f1b941972bf96801db2e13470959e046d982 SHA512 062599e42a2ca048c2cb7f4a95c2a4e455a625e807b0552d807d8b2d74c7651c291dab2df2c71689c4fe1fd0006719d7a7d5cb166aa9ada728c6529522445bcd
EBUILD gentoo-sources-6.9.6.ebuild 753 BLAKE2B 4286ada1494ba5b4cb674143c50d48a6095dded6be5cb9294ab99328491e0b1bc20bafa1a2b8e81961b228ef85e943d61f56978022f5a9c3adb9e515be777e10 SHA512 0c75b5e31e83f5cde8bb7073fb8e0a74b24c55180c2a3dfcbd502faaef4c88820cd75372ae91a26a85f0c3012528f5f0160d19f64343a247c743749831735ad5
EBUILD gentoo-sources-6.9.7.ebuild 753 BLAKE2B 068f6b8c1dc4b18d1625c25a39259fa7d81929a9c461e2ede0cb7a878778185d894883dc1c51a71b40100233c0d0eb659d56db4dbcf0648a3fc12e7ca44a7709 SHA512 8702328e2640f723950b8f647176faf197568b3a910ef0adc2780aa70fcff37a4bd91811628054673ea0e76e8865b5ebfae67c861ac1b043dcef75f514b50405
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-6.6.38.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-6.6.38.ebuild
new file mode 100644
index 000000000000..99210db99079
--- /dev/null
+++ b/sys-kernel/gentoo-sources/gentoo-sources-6.6.38.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras experimental"
+K_GENPATCHES_VER="45"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+DESCRIPTION="Full sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree"
+HOMEPAGE="https://dev.gentoo.org/~mpagano/genpatches"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI}"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
+IUSE="experimental"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+}
+
+pkg_postrm() {
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest
index ab8c3f15bcc6..146230b7b03b 100644
--- a/sys-kernel/pf-sources/Manifest
+++ b/sys-kernel/pf-sources/Manifest
@@ -12,6 +12,8 @@ DIST genpatches-6.9-2.base.tar.xz 7216 BLAKE2B bdff81d1d53ecf00379d8acad8c9b3096
DIST genpatches-6.9-2.extras.tar.xz 4048 BLAKE2B 304c74f3a680a441fa54666fa5e56a7a46c659acdaffecca1288dc2df421b4c7536596e87f70c243e36a00f47f9fc4b17f11e57f1976e726b8d32a1d9161a609 SHA512 447aecfe363418b2fab60fad10550bf6c4b570ce57ac36a9db93cf7186531c997b1cc94ba4249bac712679f1c23b615c1ded14fcc7d0d0a016c2aa58aaa6e228
DIST genpatches-6.9-4.base.tar.xz 158304 BLAKE2B cf964990abe6f7428e3a590752519f9a0bb16416186f06e6e377a33fc48acb42b38515e5a628f3394b418780fbb6b420636d6b896ea92906578e0bdf57b6125c SHA512 ad9e039a8a7ee29a5c258b42cd688737c9c575c097ced8d23792bbb2856480081a64cfc65488e5c0c8d5c6cdab9016be22183199ee8357c1c1ca372360035b1c
DIST genpatches-6.9-4.extras.tar.xz 4048 BLAKE2B 7a47f3ef9bd870175c4373d064316fa746c3480a4075492fb04b4eca4496ab2c33c713875997a4fa33695177bbade0b6686f7d7e4f2cba110cd89a0f2017e2cd SHA512 5cd79406ad14a07fb95fc94a5aaee2bcd18f143996c111e16675b77402e9ee0917fd51f2a2023fd58d462caa2edfe5a950eb72bdb04870b185012b20ff302560
+DIST genpatches-6.9-9.base.tar.xz 548708 BLAKE2B e0130d225056f77c92e566eef9db643ecdef6faf2f81e8329859830850bb5409e212aca0ab0da85b9b1e3377121221259044dac650986ec05feac46f4d588a5d SHA512 714016638f866b536b85edd24e3e44513048591aa270dbee1460c5893b3e8b0508f299d86a202deacd10f105c0da48038d78219226b2808e17012d1811df391e
+DIST genpatches-6.9-9.extras.tar.xz 4048 BLAKE2B 7be69cb63abf9df9267bc61e3e365672dbd1c0b3568d48bf949b660ff1abb483b28846eb36a162ddd9bd91473c25462440fd41a7ba3bac70467ad45fa88fdd29 SHA512 955cd846bb020d08888aac04ebc5c1e56429e11ac59601a3e068971ad05aee59b75a24722dc7fe2645ef4414424d21e117e2eeb24ae72a5949476a213f3383fa
DIST linux-6.8-pf1.tar.gz 234545846 BLAKE2B d51b5d7ad395f8abd68636290f21a4800736e2b57b6ba5a29cc8983cdf81a13ed6db8a8a7468704561200d2d299eeb9d5bc6378a19e1b0948cdfca2f6c93bf76 SHA512 18d5816f70a02efc45a1b26f703b7d1686fd0196aa396c2fe007bf60357249deeb482e87d024e5ee78dcd4e19e48da2d17e8161c1154bd0f23b792ebb3578568
DIST linux-6.8-pf5.tar.gz 234552841 BLAKE2B 87247f718fa88f6cb3071d2ebd85d89e506d7b82ca2444c006aabbdad200fbbda7d0a8cc25d1e24d5c670962de01890ef4ff9b4b556a72661803a2d7f8840084 SHA512 ea3cd473a07ca3a67b4a6800b65d75c3743d20759824100654d4fe8339c7a32b17bdeb500d4de1039442a00714b28dfce5332637800bba539428df40a6d05dcb
DIST linux-6.8-pf6.tar.gz 234549951 BLAKE2B ca15c7e8223ce99ddcb00e6099e49c7dd0b433ac46d7c922bf37b416b6a29bcba544f180713d60dc29fc5f4b0c21f02c4360044e6da949f3116b1a066284ecb6 SHA512 e6639ddc59c2d2c7234ba44fe44b8a66b39187130aa4555345cb25d5f478f85c56f7611b6f6b61ffe46e6bf2e7aae1b46d6b53ee1242de79b8d094dcaec5c3b1
@@ -20,6 +22,7 @@ DIST linux-6.8-pf8.tar.gz 234558692 BLAKE2B e4c7322d80a3aad75e726abd61dfc096ea6d
DIST linux-6.8-pf9.tar.gz 234558324 BLAKE2B 1eacf22d0ef283305dcae2770f24ced70cdbcb3c79c2b420d9807d681f8522c8fca1e3034267a95165fb137bd88fe439f7070c81df68edb4d5f97526d4f2c9a9 SHA512 11e9b7735bbc8a90c6fa5ef0399d6283311f8fd4a49889cc5dbfa10e3dfd1b1bffb81e87fb456189a3069396c92d276ef1c30511d4b714dbbb8cfeda9e623031
DIST linux-6.9-pf2.tar.gz 237439785 BLAKE2B 02c3b3eeb9bc6191262b7a373ab80149d2e8cd4dcc21b87d99fb25ae64f61f4f474e9dfd5bee360024a583c6f0bb10fe48e26f841848d2c58066c29720e046ba SHA512 d5da968cfebd34833fa1d8d54092e7d16ee994afc021f6b78c3d09868a7cf4d93561d1ab10868f9bb9b8079904f88b63f6a6ce55d150d6b0cc50230b7660e31d
DIST linux-6.9-pf4.tar.gz 237420794 BLAKE2B 92582bfe8ece5af13d213c9dcdfa5859e35542208cb9373fac179d3701bff69a69cd80a2be93aaac689ca2190876dd6b965457ed198a8704bd3f793707c41a9f SHA512 8fec0b842a78ec2cb05942b5dc3f77210cd0e1f8bd7857903e71eb42471677d1e699dc3f33a928b04e0911db4d793620b1bea161f271bed93b64a408495ca813
+DIST linux-6.9-pf7.tar.gz 237414253 BLAKE2B de180c27be58659502eb452d297ca53828ea6e071191b15c2c574221f5b2a989bb88675aceec4a9fb5c5c07ba4e7f630d4bde734a99a850d8571f998c4605884 SHA512 c14f56b6b5e6ecbfc99c4f733a4761806e8485b580df28cdb0f34515b45c24f39c2d4ea5c50b53f7090b240cf48a99d56bfd8a3168fe0cbc432dfaf84e184401
EBUILD pf-sources-6.8_p1.ebuild 3036 BLAKE2B 3efad19b422710a4aa5ebf825e37a762b755fedc15fa7334417c6d852c1fe428bd7b8cbf9ba325c1a00d5d4eaf803929ef84365528a8c326ce4c2ad2ce062095 SHA512 0cd99d290ea7c709ba57773cdc3029eed31b858457f76066e52209e30b9c5c228071d05c9bd19585461d52011d6489373d425896ac8e029d4e8073a21ab3bde7
EBUILD pf-sources-6.8_p5.ebuild 3036 BLAKE2B 9b5363e7ed75060f4e3356a8e5cf8dd6eb0883dafeaacd58d73b8d2df55632945a158106d8ff1477eeb2804d7be748aabc570cff46293a32b3c6502b02596baa SHA512 f9d534140c1cccf0668e0da60856c9f489e0b53b28bd9d9ccd80a509b7d4a92f0d9fdd7274d84520c19c6efcc7f92a99730950326c59f65b8e33d86e06092773
EBUILD pf-sources-6.8_p6.ebuild 3037 BLAKE2B eb4c01e1dc66c6afd1e5ea1352d131aaa3b7cf8a1d6608d3b1e796f69bbb039e2af69a67cc0db623ccf43a827383c994ab11c1a0b202a86db449d449a890623f SHA512 05d91c6579e6076d0c88579cc3d11eced44eec634a547cddf537b252bb01f6ace5206ba8271934a35c0fd9bbe693342bee011946f9fdc886361aa103ece991a6
@@ -28,4 +31,5 @@ EBUILD pf-sources-6.8_p8.ebuild 3037 BLAKE2B fec10f0f4b517a4323b9742c7b6d33e5ef6
EBUILD pf-sources-6.8_p9.ebuild 3037 BLAKE2B fec10f0f4b517a4323b9742c7b6d33e5ef616b4578af8dbd8c1a889b761e0b3edbc93e840993ae78d311f815f12387f5ac252a07dcf9415ce16f1ffca24a6a5c SHA512 716fd78a95005972ca6a32dff46cb53de1f00a88a05818731183ef82fd45c33c63b2a801423575de540ed1d6545b55057b9d8c7e321c19a27ee2ac9285418512
EBUILD pf-sources-6.9_p2.ebuild 3036 BLAKE2B 7afcf5b03f36fcd631df65480bb0fb7b3431cb32a4e93b3f8c9abecbd604a540dc03c416d4ef025924b2fcda0638da9e50ec3531d9104b1d40cbeecaf4feb7b2 SHA512 8c55a45fa98429cfb1191c2f615a6143c8e0b72ae34eb5847eb200df0c7db3ed79e390229d2016e5482bfc77ddb775a9b2413de4dced852d37b93b68339639fa
EBUILD pf-sources-6.9_p4.ebuild 3036 BLAKE2B 484a47aaa99033f1d119934053eebf9c20caec3c412ba6a403e72767444921a89cdd65180233936eb98d84881f166d0edf10c6fb167e1b67413e4bb69644a712 SHA512 0cb6ea3e0d88a070b2d59e8aeb0c95374fb8cc2325e47ecaeffc6560564c48c9357d7d9b2c296d59c94addf28de5d9a09bc6a7df4adccc2420de7bc30967dc3f
+EBUILD pf-sources-6.9_p7.ebuild 3036 BLAKE2B 527b000cdab10fd0fc9808959e8fd15669ff21bc908a7c0b6c47071eeb298f0b632b6f57baae4702c1fe14fc3deec8c76050cc467e523250d4fa963dc0bb7d0f SHA512 b73f2b6ac4b98d07a0e997459b858d6fdb02361feb0cbbfa08269171aecaf85ca6bf05168fcd33e738124cf7ad8e84eef19ea62ba16b22964a0f0d9e7bfc768a
MISC metadata.xml 455 BLAKE2B b199aabd6aac273739543fdf3af0abf6679e70a1c61c978721373ada02643020132d7df16b7a1df450438b42accff86b154b4a4cf141f8913470ec7547286018 SHA512 452031fea100dec1e29bd297ab5ca70e983b34091de0c2c3a744f85e35aa0fe1b92fe793f50684a06c4dc2dafbb77da00eadf444d124b4a96fa69c4671fcd393
diff --git a/sys-kernel/pf-sources/pf-sources-6.9_p7.ebuild b/sys-kernel/pf-sources/pf-sources-6.9_p7.ebuild
new file mode 100644
index 000000000000..180f1b9b5e92
--- /dev/null
+++ b/sys-kernel/pf-sources/pf-sources-6.9_p7.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Define what default functions to run.
+ETYPE="sources"
+
+# Use genpatches but don't include the 'experimental' use flag.
+K_EXP_GENPATCHES_NOUSE="1"
+
+# Genpatches version to use. -pf patch set already includes vanilla linux updates. Regularly "1"
+# is the wanted value here, but the genpatches patch set can be bumped if it includes some
+# important fixes. src_prepare() will handle deleting the updated vanilla linux patches.
+# See https://archives.gentoo.org/gentoo-kernel/ (or subscribe to the list) to see all patches.
+K_GENPATCHES_VER="9"
+
+# -pf patch set already sets EXTRAVERSION to kernel Makefile.
+K_NOSETEXTRAVERSION="1"
+
+# pf-sources is not officially supported/covered by the Gentoo security team.
+K_SECURITY_UNSUPPORTED="1"
+
+# Define which parts to use from genpatches - experimental is already included in the -pf patch
+# set.
+K_WANT_GENPATCHES="base extras"
+
+# Major kernel version, e.g. 5.14.
+SHPV="${PV/_p*/}"
+
+# Replace "_p" with "-pf", since using "-pf" is not allowed for an ebuild name by PMS.
+PFPV="${PV/_p/-pf}"
+
+inherit kernel-2 optfeature
+detect_version
+
+DESCRIPTION="Linux kernel fork that includes the pf-kernel patchset and Gentoo's genpatches"
+HOMEPAGE="https://pfkernel.natalenko.name/
+ https://dev.gentoo.org/~mpagano/genpatches/"
+SRC_URI="https://codeberg.org/pf-kernel/linux/archive/v${PFPV}.tar.gz -> linux-${PFPV}.tar.gz
+ ${GENPATCHES_URI}"
+
+S="${WORKDIR}/linux-${PFPV}"
+
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+K_EXTRAEINFO="For more info on pf-sources and details on how to report problems,
+ see: ${HOMEPAGE}."
+
+pkg_setup() {
+ ewarn ""
+ ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."
+ ewarn "If you need support, please contact the pf developers directly."
+ ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
+ ewarn "the ebuilds. Thank you."
+ ewarn ""
+
+ kernel-2_pkg_setup
+}
+
+src_unpack() {
+ # Since the Codeberg-hosted pf-sources include full kernel sources, we need to manually override
+ # the src_unpack phase because kernel-2_src_unpack() does a lot of unwanted magic here.
+ unpack ${A}
+
+ mv linux linux-${PFPV} || die "Failed to move source directory"
+}
+
+src_prepare() {
+ # When genpatches basic version is bumped, it also includes vanilla linux updates. Those are
+ # already in the -pf patch set, so need to remove the vanilla linux patches to avoid conflicts.
+ if [[ ${K_GENPATCHES_VER} -ne 1 ]]; then
+ find "${WORKDIR}"/ -type f -name '10*linux*patch' -delete ||
+ die "Failed to delete vanilla linux patches in src_prepare."
+ fi
+
+ # kernel-2_src_prepare doesn't apply PATCHES(). Chosen genpatches are also applied here.
+ eapply "${WORKDIR}"/*.patch
+ default
+}
+
+pkg_postinst() {
+ # Fixes "wrongly" detected directory name, bgo#862534.
+ local KV_FULL="${PFPV}"
+ kernel-2_pkg_postinst
+
+ optfeature "userspace KSM helper" sys-process/uksmd
+}
+
+pkg_postrm() {
+ # Same here, bgo#862534.
+ local KV_FULL="${PFPV}"
+ kernel-2_pkg_postrm
+}
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest
index 87058dd62a87..1c5a4a3cb9c3 100644
--- a/sys-kernel/vanilla-kernel/Manifest
+++ b/sys-kernel/vanilla-kernel/Manifest
@@ -36,6 +36,8 @@ DIST linux-6.6.35.tar.sign 989 BLAKE2B d5a5dfeb1e92c11107b71d6b2965d2a595e51fd32
DIST linux-6.6.35.tar.xz 140269708 BLAKE2B 93fff6421875329ab7d7ad2f0a0d3d1377c1eb42df295638c967eced3551b08986445b5e47b9d3bd1b24f93d3feeed43b1aba77f6912dc13449d956be3616571 SHA512 a94a75eec75f43fcab56a425927eeb299ec8eb72a056b26e9c629ec66fc5b65badf0403612549dfd4bc01b620451924ec30b980403a47cf723e98ab57775b6d2
DIST linux-6.6.37.tar.sign 989 BLAKE2B bf4db9046bb721ea6020c967e67592fcd0c6fbc3b2675275d567181e901495115e2199d83a811a9f825b70b00cc977dba25a3e26556f2325903ca8a106731eb3 SHA512 df30b7a643b58093ef0fa8ba6da0c0c8254fcca72443da03702293b20e668ada73a2fbf37eed4b64fd1d5d243f106055b0dc6728bed577df31ffbe71eb1caf9f
DIST linux-6.6.37.tar.xz 140257932 BLAKE2B 26cb9557f774b294c67f7562ecb69b4f8ed717bed59a2386385a814e18fdad48e05a94ed0c29290791f7494fa4cd0168f412bb463d69a8bad9ce71d7d7e5429e SHA512 04f7048d62b369bbe12d3a5c3f421834354a7eabf5a8819d22d9e7450d3b52d763c98a55c203f6d2a2b01163d1e5f95e52beea1280586e452fa6e7c22ac86f1a
+DIST linux-6.6.38.tar.sign 989 BLAKE2B 747f1b7bb8fda1a099f35c0c0dc3c169a086236d3ae288eb50ae915f22018a0760aa9c2f24b9bd9d38c924a9c2887fe5fef0ee8735beebab2d818588a2a0cdd4 SHA512 e79da8f3497a38afca1a431fe33da0362795408437ee66a565fe533802c2fc8debbcbbb9852900d81264861a9b4ed55e45f68515ddde051af885d811d3b622ab
+DIST linux-6.6.38.tar.xz 140247952 BLAKE2B 0aaea98cc6db13bdfd9515f43a1714f6c7297b71c1de3ea6b2e00a2dd9ede125c141aed4c09989096f4d3321144bc8ad03453357e08a9346f52198f4ddd14440 SHA512 744c6830594f9989daaf2f76ae70fec4ae09a50e21724696926185636b55c22c9a83c2e7ba3632b6e26cfcc3f2f800fa8b2cacae0c8288dcf79ce202dcfc7033
DIST linux-6.9.8.tar.sign 987 BLAKE2B bb81040fb2134eb33ff7f0f9d9d18e827d3828d53fffbccdcaecbb22edfef04309a2f42987220552422735af5a6f17aad603d7a5fd4c7dcb9ba2d3659fecfd8d SHA512 7de43543511a017a135c4b33fa511fbca060097da13be2a593f9b912b7388d9e3b025854ddb91518cb5e96bd77befe7ea86f5766db2515db7c39addb0409ad99
DIST linux-6.9.8.tar.xz 144093812 BLAKE2B 3c3874b053d7076564936f2053ef666733d329c402999aac736cf64418cb74e471cf9d7ae62e8fab49e4e916f196c5b8317aa243691b1d18119a25196108dd06 SHA512 e7616207a1f08100cbfd9a3cd08bb0ea6cfd474c3a4cb95b3bf738461b7a8ae128270ba1bbaf512ae9c0eb2a409fa0c1d79317ab6dec9ff317aa9019c86d0c62
EBUILD vanilla-kernel-5.10.220.ebuild 3769 BLAKE2B 674f934a89efa53eff9792e600448548d9cbc8390226d1673a25989299d36ad09697e04e11b063f95d9493b3bfbebeec0d1d84e24ae697a253c95b301a4148e9 SHA512 2f81b6848c9cf2e3162a921bf80a282ceccc2d492fb0a1bc1f15ee7e197f5735415b4916798c054470dc39c8fce6d924a23f7702aa71036ab3696f2a6790dca2
@@ -49,6 +51,7 @@ EBUILD vanilla-kernel-6.1.97.ebuild 3887 BLAKE2B ba9fce000676de7081b59b6f52d6be9
EBUILD vanilla-kernel-6.1.9999.ebuild 3402 BLAKE2B 1c1395e8d35a4b0b32d5e80b72d7589de2c593ce057cc8fb03e04e72dcc440755c633a4c2f52d6d69d4f4245d543dbb559516b925dd929a122e7f4e5aa135782 SHA512 3cfaa7e5c1557904270706ec647ae07ddecb8f7b5cdb7380aa4a97a44e61e9362e12adfea0bfe95998cf0bdc35bd3f62450e12ba18c5b0d1cfb1bd805f9ef56f
EBUILD vanilla-kernel-6.6.35.ebuild 4024 BLAKE2B ef4f96d1617a17ca2fe7467f25642461493c52407ef9f5f366a5c92c5bf7d15f31d17e7419d1f79b37700b5979056c88f50544cad9f256b5bfb72808311bce4b SHA512 ce928951fa6de6096a71c8e9fb0244c470302443df384d256285cbc7fd672426eb587417f435e0a520d50d3f86191068f715546fb50034feeb08f3e32567a1bc
EBUILD vanilla-kernel-6.6.37.ebuild 4024 BLAKE2B ef4f96d1617a17ca2fe7467f25642461493c52407ef9f5f366a5c92c5bf7d15f31d17e7419d1f79b37700b5979056c88f50544cad9f256b5bfb72808311bce4b SHA512 ce928951fa6de6096a71c8e9fb0244c470302443df384d256285cbc7fd672426eb587417f435e0a520d50d3f86191068f715546fb50034feeb08f3e32567a1bc
+EBUILD vanilla-kernel-6.6.38.ebuild 4024 BLAKE2B ef4f96d1617a17ca2fe7467f25642461493c52407ef9f5f366a5c92c5bf7d15f31d17e7419d1f79b37700b5979056c88f50544cad9f256b5bfb72808311bce4b SHA512 ce928951fa6de6096a71c8e9fb0244c470302443df384d256285cbc7fd672426eb587417f435e0a520d50d3f86191068f715546fb50034feeb08f3e32567a1bc
EBUILD vanilla-kernel-6.6.9999.ebuild 3532 BLAKE2B 14690ff99ca00bbbfcb70d2484ef57cb24821b7d5d6bf0923895bb7b475b01b1e5810129b586831c607a7063cc8fa83fe4a7fa9fb71b91b7c10b24bf64282d04 SHA512 85ff2eb452281ced4d48946d094ca58a97d6d1467ed71ff8aac02c96079d0187a46da1b23e0c5c2213ff47de726fe8be060e888bf476d2e4e47c5f1686e8c805
EBUILD vanilla-kernel-6.9.8.ebuild 4023 BLAKE2B 9aa7a8cda2244c2ba4f89793dd41c9f1ccb10b76012f545c4b6e4eec0809190ad6561296a85a3a18bc143f8c4bdd8de80ac144edbfb56e137da5ce0f689580ec SHA512 76491cab039635c8f144f37943788fd73af6df0b241996bfd060dede016155b6561870a1b7af36e76977555de7c3fd03755ff32ee932b540e704c7a774f17bea
MISC metadata.xml 353 BLAKE2B cd022bd01b289ae703ae6ef6c2539fcfce833206c55e328ba02fc42b360d60f76b1920927b259dbb199724e6d3e7b0f68ba2044680d962d3cd03a973475582ff SHA512 10b10fd24801843108a71ca7d0c27514965b0a15a60da4d9b521fc41493448a1b1685ae3278dbd46cede0d069e51dede402d2c1448c8ae6a7fcfce8acf415bf3
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.38.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.38.ebuild
new file mode 100644
index 000000000000..2de327030b51
--- /dev/null
+++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.38.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-sources/Manifest b/sys-kernel/vanilla-sources/Manifest
index 3849ae37a3ac..98a1a322cce7 100644
--- a/sys-kernel/vanilla-sources/Manifest
+++ b/sys-kernel/vanilla-sources/Manifest
@@ -10,13 +10,13 @@ DIST patch-5.10.221.xz 6084668 BLAKE2B bab947ce4ab8b336866e75a0ad6abec9cd9fab23c
DIST patch-5.15.162.xz 5987088 BLAKE2B d45a6df8eda1d2b1214a26441114e04a5dd36f021ac826549c2f176a08aa208686e71063cce3ed828a61b35d165d560347c808aaf742f573caa729b0bdcf4c1e SHA512 48463101c521a70a43280389873c18bbaf1955a6fdc2bc81dca329c3c7a8f6acfc38837de5b70a8664cb262a6495f13414e2b99299f465348a9f47d4eb5602e1
DIST patch-5.4.279.xz 5614072 BLAKE2B b597b12ac16514a48597918ea20bb4a65f1cb4a75f5629d2b81178947ecd7239824935f4b64ec5e4c3a95224742f560c43644f164aec86f6e5b275d6bd2ac28e SHA512 225fc0c2d532db7f65fcd7f800c6222198f30627bcc76ba89d69c3476e65d6307d9e32ee78df0aa7cb73dc23e783fcb49a4592a144f3218bad445b8410db9634
DIST patch-6.1.97.xz 4821364 BLAKE2B c764f02e05c5ee02b9582157e13b30a221897be3c088ca302b01b72083de2e0aa5891317ad83d7c8d1c6f8f2c50828a88ea25b62b671d4dd060686e8cd36bcab SHA512 0aac27c1bb92789275e7f58931bd16551b1012d367dfaaa5b5b22f3045c9acc4ae4b432155f8f7679b2e787b70622f47f81782564c57d09256013ae9e02b1fde
-DIST patch-6.6.37.xz 2392024 BLAKE2B f98bb743db2ff040a8c7f393205a69554be2f3ddca6916a2ca9d0a56c84232f05d41e4317d14ac2c739c61bf9eed41039b06ea22e07e31b6439c07abb02e048b SHA512 ed039eb4a78c37707cda86b402498c3070d54fed3ade9cfa12611c9a236a29078b0092ecfa549e0f7ff908d256637b0f7caa4bc1aa8a1b9121b3d20732e58ab5
+DIST patch-6.6.38.xz 2387992 BLAKE2B efb790ecad862e53fce6ebc90c9dc06d68ec15573f1ebc79f0aa924ad0dfe795329d7eb197b0bdf844541854a580e70835a50a32860c98650cc4d60ae9b675fa SHA512 8d595d4b103bc3f75a3ce0b2fed6690fba18475d33a0496c38f8362c5c9a8891b2641739df4c9b75219908cd2c2cf231483b892030345982622eb45f4c62db0a
DIST patch-6.9.8.xz 533908 BLAKE2B 3bc88cbd2a1a2ba116c7c0dd21bd1d7fbb656767e5149a82ed46f6a3fa8f9fae9561de20cdc095d28c5c1ddd487829c825ca4229bcc080faf4c22a9e63b6b8e0 SHA512 47d01743166cfad02788627c16948418bfd90951df5545ac88bee9a3b6e461101cef2eac50aa9c85e5669128e3dec35dfef8611b574cc671abdced0af22b7424
EBUILD vanilla-sources-4.19.317.ebuild 432 BLAKE2B 99bb1c69c35f0fead6db3b91a1b70157e1bb51a20005b838343cedc4a409c1fde61d144e936aee5029de94670673161a6666d439edb1af5ba7142d3f1cda6ebb SHA512 4c2e39ee3feae3a184dacb4913d735bbcdf939a936e51782bd6c5102d43d2ecfa60d30eb38a5a831d70e96f10daa626e988e4029b1b5afa152d9f314daaebdf0
EBUILD vanilla-sources-5.10.221.ebuild 432 BLAKE2B 99bb1c69c35f0fead6db3b91a1b70157e1bb51a20005b838343cedc4a409c1fde61d144e936aee5029de94670673161a6666d439edb1af5ba7142d3f1cda6ebb SHA512 4c2e39ee3feae3a184dacb4913d735bbcdf939a936e51782bd6c5102d43d2ecfa60d30eb38a5a831d70e96f10daa626e988e4029b1b5afa152d9f314daaebdf0
EBUILD vanilla-sources-5.15.162.ebuild 432 BLAKE2B 99bb1c69c35f0fead6db3b91a1b70157e1bb51a20005b838343cedc4a409c1fde61d144e936aee5029de94670673161a6666d439edb1af5ba7142d3f1cda6ebb SHA512 4c2e39ee3feae3a184dacb4913d735bbcdf939a936e51782bd6c5102d43d2ecfa60d30eb38a5a831d70e96f10daa626e988e4029b1b5afa152d9f314daaebdf0
EBUILD vanilla-sources-5.4.279.ebuild 432 BLAKE2B 99bb1c69c35f0fead6db3b91a1b70157e1bb51a20005b838343cedc4a409c1fde61d144e936aee5029de94670673161a6666d439edb1af5ba7142d3f1cda6ebb SHA512 4c2e39ee3feae3a184dacb4913d735bbcdf939a936e51782bd6c5102d43d2ecfa60d30eb38a5a831d70e96f10daa626e988e4029b1b5afa152d9f314daaebdf0
EBUILD vanilla-sources-6.1.97.ebuild 439 BLAKE2B 4f34c041044bdf8596b82ed64fead32de87a4aa4920384b8745a9eb6dc56ddc7bfa87ecdf0056336cd6896fae9d7055c1b640938a51e03fc8e8f0b6f2f329c29 SHA512 49b364e36103770d4d22e0beb2a081f9f223f09499e71027dc4aecbdd6237a136aa868956497b09c147daa0a77ef825c6964704f7703323960b073c6239bd287
-EBUILD vanilla-sources-6.6.37.ebuild 439 BLAKE2B 4f34c041044bdf8596b82ed64fead32de87a4aa4920384b8745a9eb6dc56ddc7bfa87ecdf0056336cd6896fae9d7055c1b640938a51e03fc8e8f0b6f2f329c29 SHA512 49b364e36103770d4d22e0beb2a081f9f223f09499e71027dc4aecbdd6237a136aa868956497b09c147daa0a77ef825c6964704f7703323960b073c6239bd287
+EBUILD vanilla-sources-6.6.38.ebuild 439 BLAKE2B 4f34c041044bdf8596b82ed64fead32de87a4aa4920384b8745a9eb6dc56ddc7bfa87ecdf0056336cd6896fae9d7055c1b640938a51e03fc8e8f0b6f2f329c29 SHA512 49b364e36103770d4d22e0beb2a081f9f223f09499e71027dc4aecbdd6237a136aa868956497b09c147daa0a77ef825c6964704f7703323960b073c6239bd287
EBUILD vanilla-sources-6.9.8.ebuild 439 BLAKE2B b1f3cb3bebf350751dd86a66cacb766dc94236d66fbf4e083c4e9620a20528d28394629d9de09b97d9c8b7ee76b3ad08d8c1f43765b9258927dc3e4d6f376be7 SHA512 0459a5988945852ec4dda17835630f8aeaac55cb0a701bf6cb3370b407ce60f7c7fac4612c29e39c10d51f92b30931800c3863179ebf30d76dbb1e0d700f7782
MISC metadata.xml 340 BLAKE2B e283ab9d2ebb7212e3ba37850c93761f165b4697a2ee6dbf07a67ce907df8ec71b3290a411cb81af8d8d8869b7e45c572487d4d2667dc0a0971986f0f6d1aa8e SHA512 bd0f7f570230dd5bd9f6e270345a3ebc556eb2dbcd19b04e33b5c6df8d9e6735a6e23fe934b39d9ef130ab5e78c6fdd29d7a167cb8ee4ac8ce919c75cec7425c
diff --git a/sys-kernel/vanilla-sources/vanilla-sources-6.6.37.ebuild b/sys-kernel/vanilla-sources/vanilla-sources-6.6.38.ebuild
index 5f82b6754e4a..5f82b6754e4a 100644
--- a/sys-kernel/vanilla-sources/vanilla-sources-6.6.37.ebuild
+++ b/sys-kernel/vanilla-sources/vanilla-sources-6.6.38.ebuild