diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-10 02:01:16 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-10 02:01:16 +0000 |
commit | 59437d191de3ff33f9bfa37f8656d849184fcaf0 (patch) | |
tree | 7d5e645c0aac6d8b71229a0e53d7a93136f83781 /sys-kernel/vanilla-kernel | |
parent | 1a95f960273f276a4fdefb824336b073d83bcb5e (diff) |
gentoo auto-resync : 10:12:2024 - 02:01:16
Diffstat (limited to 'sys-kernel/vanilla-kernel')
-rw-r--r-- | sys-kernel/vanilla-kernel/Manifest | 6 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-6.12.4.ebuild | 137 | ||||
-rw-r--r-- | sys-kernel/vanilla-kernel/vanilla-kernel-6.6.64.ebuild | 137 |
3 files changed, 280 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest index 3c2149d28f66..975856301a59 100644 --- a/sys-kernel/vanilla-kernel/Manifest +++ b/sys-kernel/vanilla-kernel/Manifest @@ -40,10 +40,14 @@ DIST linux-6.12.1.tar.sign 989 BLAKE2B 13e9dc9afe6b77987d69835b14c61def632fb109c DIST linux-6.12.1.tar.xz 147912528 BLAKE2B de3f4dec2fc7e36711c68683d6564d0c3ce6fe728ffa6a629604e2fa9e489dbab45fd6676343f6e68bafbd202a3e814e82a1448b46844e34046b9f82f819b8f4 SHA512 c7523dc5b012367301ab43a685b766dce025c4993041acd3dacd085b052b3fccc7f50c892357acf481e24ccad512770ef46a13d2da16c2a178c44a27f7022932 DIST linux-6.12.3.tar.sign 989 BLAKE2B 58c619d496dbc75fae9b06cae2a88deb987d6d67f75a04e896c3efd477709f49682303b8c879108b5a44eb53892e6a1ef7449f2ffde86fd11e8da09f210c43e6 SHA512 517b2b8296771d791f5fcbe363563f1cfee80a22abd3b3a9191104fafb8ed3694596624e342b349979537125c53139d07241da73f2254a963aa73e87b66a99ed DIST linux-6.12.3.tar.xz 147962640 BLAKE2B 1caaf9aed83a69a0c8b17ca923a97848cbb3b042d023aaaa7462c24f66f0d1b8a4fa42e2f3b9248ab8c57000a0e68d185072b0c88be7bcd93175f3e88ac76955 SHA512 a87aadeec3d65d7e9aaa63affdd74e31bc94e84fb153e633a2e6bb2be62e0c6d5b195dc7a1db8666216308b640db577a75e05bb7aeb91db646f3fdfdec51f1aa +DIST linux-6.12.4.tar.sign 989 BLAKE2B 84c01a36f2ee6cfcfb7a35fbc13c3d121943ca19cd7aea53f2288987b85f2998caf365af6d647638c4fcc69b64e74808fb15ea9e8ca95a384f31d6ada4419705 SHA512 02824068dab8e17cf7781f21ffcce89f45e84914cf92ba096d43c2d9d33508337d1d226bb1ddc460024136e915417c25f3bcff17ab89bd0057c93922e15743f6 +DIST linux-6.12.4.tar.xz 147926844 BLAKE2B 5f0db13ed414b6221db1acb6019580e10533ecd1b596918230a6076ce433c75c154a3799bcdab48b1fbb2ff90e573f8cc879ae2d26677c560c6818fa37ce3c24 SHA512 6784c451b75fc3ae8517b22c151113317cff8101abfe5ddedcb3c6f1df4576de31def36b6687445d8e54ec428b69bd0af1adb50435b51b7baf9a065b7ad3e047 DIST linux-6.6.62.tar.sign 989 BLAKE2B fc8e42f4e6967a3b1617590e7eda620a1e422cd1991cef4be75a3a0b7a6f7a4a3517a0229a750665ef17893d12c3f74222f3115cf557804edd6c390470688ac9 SHA512 340234e7c438e3a6396d2aa7de330e82822158193d8f1daadd7f566f29da152fc465e461383e0ab1add8981df11bd51d2593d00729ea893553d1085b933176f4 DIST linux-6.6.62.tar.xz 140430984 BLAKE2B be626b8e4af2394a9eca5024f0c6b2274d3bfccae9989c353d9b1a80c903f8a632cf986d43a0e283c02b62ae77a7409fbca6a6c7bf9cf1530119d7a712e8076f SHA512 9b49ff136afe1044ed29b776246d91fbbc9976629f3dd30bd0ee233664db10c35cd1791fc1c82c0d9b2db8829e562c547db43da60a6de962100f2a0dbdbbd00c DIST linux-6.6.63.tar.sign 989 BLAKE2B 16ab329b4e25021c785ffd5285e369ba9e54f084a6b06e5385973a8924b635b61d34159de9fef6675d569bf04ae2b5a77be4c861db29e68756142e7172ab9987 SHA512 72ed22a290f027386f2d864f91b6c79ccb49ad164576752b8ebe3ce755c8b49e710feb1c2520d9c147830da4ba258c059940331eebd4c544a406ef46f6773629 DIST linux-6.6.63.tar.xz 140405280 BLAKE2B e7e00e6e7e333929be3145784d0dc4cac53e236154627026bd2be0030cc76c347bffa43dffc69677b4a74a19725c54483b14f3168e743e4607e3c5228bd32aa4 SHA512 7ae46444545754d0ea70884d981206b3122adfb5217bf6d14f5726d0bc31e125000e498759f9a13378b5b8b3e1f09f85c93644671995ff05ed95603432d2c64d +DIST linux-6.6.64.tar.sign 989 BLAKE2B 1245983fe9e4fdcf9b12d39a0a795608c652955a8abeee33a3ec3962e0c097a7171c6a5a3fa91cd86679d1e7a2274a7bf21579c6074b4f371d2db2a413249098 SHA512 528270d0ffcdb305790b77e07721e5e2f1d7557e0e4c09f758256d66c24f44c04f925269ee48b935391e63f22a2f9f0f5abc2ce0c26688cbfa8ea13549cb1ad3 +DIST linux-6.6.64.tar.xz 140404904 BLAKE2B ed33f8fd88ea5b4fb23b83b4b411a049cc0d9142f1777fb476fda65d1729513eb9932dae52784997eb92c88ba20d6e508e370b097dccda6b99548f2e948a2ab9 SHA512 99d9d1f4f392bc2a5ae98466338fd9e2613eb785169908af571675476c756852d48ec0dcd330f5d419ca3cec84ced7f627f8e9907a996af85086cec704ffdda4 EBUILD vanilla-kernel-5.10.230.ebuild 3764 BLAKE2B e4e7ac881605be76416364c57e7834399afb6ca082450a0530ce2bfdeeb5509bbe2c29707a3d6916a87c3908fd3437950ed4660038b0b93b8a0064ef1e51fa6e SHA512 0b69e6ccf3f97eb619e38bc4c83537a0d70e366c3abfe6488f56a3d9355c90051c6d2e637bcac157dbfc3277fb513c032511094e52d1a9dd135c19315c874ca6 EBUILD vanilla-kernel-5.10.9999.ebuild 3276 BLAKE2B c60d73d8b0cd26bac12ddb2fb7a13453b368263d67f0a33ebcef8dfd7cd98b079c20b201d7ca4e2885e4e6d6c32dee2b69aa3305e0fcecccca8cadd4390556da SHA512 42ddd72b3fc53f19dc134cb0a602c69f2bad3d88b663e6a34dcb70e8d91e1043b47dafb4cecbdd06a7b54b134c27b56b2a0d07fcbb52284ea09544463a075686 EBUILD vanilla-kernel-5.15.173.ebuild 3884 BLAKE2B ddfee1aaf8746615bdea9254735ec31f9ab7a1f053b1e6b7017f586b60d9704dc02b3ea5bb9984a05b7a2445301b24abfd46f508310cbd0a290c9e792976c6a8 SHA512 a315e86000a31e9ccef33f59c151ffb90300725745a01d9ea781037e10eba0462c42221dd23750d2eda6e3c1e7150d79caefe18d277b543daf28374e2dadfb0d @@ -54,7 +58,9 @@ EBUILD vanilla-kernel-6.11.10.ebuild 4002 BLAKE2B 4d6ad84f1ce0b1d1d1c85bb5b0f980 EBUILD vanilla-kernel-6.11.11.ebuild 4002 BLAKE2B 4d6ad84f1ce0b1d1d1c85bb5b0f980e58b155e7f181d811ebd5868fb2d441bbef4e56cfc4c569f6afc9cf84d15f8c346987ce1e43d7a9baade6f1ab7ce79366b SHA512 307b5877e0ff59b0917842d95df39848cf5d3ce2efaa4225b9f8e49158ad982bf9be91d850594b5bfb85015667e915671aef7897869ee99453420767a98fe00d EBUILD vanilla-kernel-6.12.1.ebuild 4002 BLAKE2B cc8515f0f3d72167ffa6925dfccbe22961117f593e09b13fe5611ff4e7081b205acb758174c3e1fdde852ca674d33406eed910a35fade0bb634cb00fc578d5f0 SHA512 7f6cccfb124c9e28682a74507a7094ba870ee4442ce6446ea65b34aaca6fe85f1d641ba1ad7eb8d5b170cd0f7beda417fa40af100ae9f9471e144abc5bc33cf0 EBUILD vanilla-kernel-6.12.3.ebuild 4002 BLAKE2B cc8515f0f3d72167ffa6925dfccbe22961117f593e09b13fe5611ff4e7081b205acb758174c3e1fdde852ca674d33406eed910a35fade0bb634cb00fc578d5f0 SHA512 7f6cccfb124c9e28682a74507a7094ba870ee4442ce6446ea65b34aaca6fe85f1d641ba1ad7eb8d5b170cd0f7beda417fa40af100ae9f9471e144abc5bc33cf0 +EBUILD vanilla-kernel-6.12.4.ebuild 4002 BLAKE2B cc8515f0f3d72167ffa6925dfccbe22961117f593e09b13fe5611ff4e7081b205acb758174c3e1fdde852ca674d33406eed910a35fade0bb634cb00fc578d5f0 SHA512 7f6cccfb124c9e28682a74507a7094ba870ee4442ce6446ea65b34aaca6fe85f1d641ba1ad7eb8d5b170cd0f7beda417fa40af100ae9f9471e144abc5bc33cf0 EBUILD vanilla-kernel-6.6.62.ebuild 4002 BLAKE2B 3845ba8050f428f23d20d11136f4f161265bdd31491bd66901c0f016a977e29713f3ba898506999264965d9b99f287f3bf1ba7a11f12106d463cd7417a218405 SHA512 9e8201a0de1dfe4c68f9c350ca6b3fca384e89dc8e517c0caf589d38f7c0847deefb2d1bd144fb9a06c088bc6a32cc2ec75dae6f929b74bdde90ba0a2e219432 EBUILD vanilla-kernel-6.6.63.ebuild 4002 BLAKE2B 3845ba8050f428f23d20d11136f4f161265bdd31491bd66901c0f016a977e29713f3ba898506999264965d9b99f287f3bf1ba7a11f12106d463cd7417a218405 SHA512 9e8201a0de1dfe4c68f9c350ca6b3fca384e89dc8e517c0caf589d38f7c0847deefb2d1bd144fb9a06c088bc6a32cc2ec75dae6f929b74bdde90ba0a2e219432 +EBUILD vanilla-kernel-6.6.64.ebuild 4002 BLAKE2B 3845ba8050f428f23d20d11136f4f161265bdd31491bd66901c0f016a977e29713f3ba898506999264965d9b99f287f3bf1ba7a11f12106d463cd7417a218405 SHA512 9e8201a0de1dfe4c68f9c350ca6b3fca384e89dc8e517c0caf589d38f7c0847deefb2d1bd144fb9a06c088bc6a32cc2ec75dae6f929b74bdde90ba0a2e219432 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.12.4.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.12.4.ebuild new file mode 100644 index 000000000000..ee14efba51b8 --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.12.4.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.12.1-gentoo +GENTOO_CONFIG_VER=g14 + +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 -xf -)) + 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.64.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.64.ebuild new file mode 100644 index 000000000000..024fb0dc392c --- /dev/null +++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.6.64.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=g14 + +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 -xf -)) + 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[@]}" +} |