summaryrefslogtreecommitdiff
path: root/sys-kernel/vanilla-kernel
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-23 19:46:42 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-23 19:46:42 +0000
commit60360664173979c416f4acb44f2fb2368922742d (patch)
tree8776499f297aaa074d48bbb33c8c0c977aeb3b62 /sys-kernel/vanilla-kernel
parented8299fef4175104e66b734cfc0482770614f398 (diff)
gentoo auto-resync : 23:12:2023 - 19:46:41
Diffstat (limited to 'sys-kernel/vanilla-kernel')
-rw-r--r--sys-kernel/vanilla-kernel/Manifest3
-rw-r--r--sys-kernel/vanilla-kernel/vanilla-kernel-5.15.145.ebuild137
2 files changed, 140 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest
index 68569b19c72a..e98222911cb4 100644
--- a/sys-kernel/vanilla-kernel/Manifest
+++ b/sys-kernel/vanilla-kernel/Manifest
@@ -28,6 +28,8 @@ DIST linux-5.15.143.tar.sign 993 BLAKE2B 33f613919ec91fd0160598704c8a712e9629e31
DIST linux-5.15.143.tar.xz 126558624 BLAKE2B 764845f9838f286d5f2b5c4e008f0db8ad648fd53e428068074aa6c222e374871cf585bf89829c1811c666808a9a891a975ae9fc1e6945d86949afcb8ac3f465 SHA512 cc8ccddd14e658c9bedad467f3ba05253eb8bc059501a20f7d11d9a10c285c58b831a100e92c2666906b5ac7948249fb888809ab8ced2743ebb7eeb697068479
DIST linux-5.15.144.tar.sign 993 BLAKE2B 7bd86550a3e49af0c38d7fcee8fb8caa1fac73c61c71055a0307c37622adc133d702bbaf9357fe4186fb01e2f6e297f15c364d12b9610c83c251d5b038aacfb0 SHA512 5a7f638c2a587eda1edcc51c3009c6f29df090d5c9ab9524b35a2ccd5bcff974ee1c99ffd4642d185da96a0d21404da6c3a128bc9f36bb2db65fd33f87b39c91
DIST linux-5.15.144.tar.xz 126576264 BLAKE2B 9e7ee13d6e2523a798487448b2ff1b90579bb03ae8d5b1f825c0be41ca9b3211a7a3e13efc5ad4ee756b18309aebfc7474cd52316c9994cf05b9de371220849c SHA512 6a188315c67368666c43223344c723fad67d9d5e4afc74bdd5314dcff2939ba4c0663ceb22e01ccdf87094682620ffd04857d6814a1ed9a56314481cd76c7340
+DIST linux-5.15.145.tar.sign 993 BLAKE2B 34a28ff96ea10ff95320f528def79964f03076556188cf37aa61fdfbf3ac88097ebcfc69a6459ad51cc5eac65e23b9a57e6effbe5610b64cf357980ffeeb843e SHA512 d9d7134ca047a9d96cfecfaa3c3eb6d52e26a1949736e334576dda665c3b6a6c759d9572b8898b94442cbb3b130f1308f9bc71474a2c5b888498528126710d82
+DIST linux-5.15.145.tar.xz 126579464 BLAKE2B f8481b1fec05a75a10d32c512f0600f3a359008b30dce3bac35b00928750650faae013e26bb23d6634618e86f2a700d0342c68869c960c76ead4d415e2c1bd05 SHA512 f5b7acf9ed52b70bcc564e0b13b95e9a352196074b093513c7c74ad7f8bdd3c8938a2860c993590b5289690ac344af94c7a99c496218ce597525671c395d5a72
DIST linux-6.1.66.tar.sign 989 BLAKE2B 0ccb0dd6fb51c91e4bf60539dbf03bd3ef4ae563ab2c952bbb7092fd0a5184736fee493f7bfb49f3e42db642aa1b32660afcc8841d0cf242bffa53d0e515d3f0 SHA512 7e4c10f644016ea7f97768622ec7746193054868da50906a45e1778c2033bdee05fbe5b772585d03342bd61edf24679bc5277e2d62fa3e7c2c82f974a097cf21
DIST linux-6.1.66.tar.xz 135048000 BLAKE2B 012cbd2ce29a2cc37db2b83380acf5e1b99343e07fa712c8243b5680fe043134d90f3c2abaaeece34f063bf5839977e8b5d88a7835091bd6a9740cd459b003a4 SHA512 60470e5068782ff05c8017e72e2670ee864d6b8cf1d9f83a351664e5baf75e74498b2dd0a186c136bc8940ae937f8044d68322d0626437f821d87efe0001709c
DIST linux-6.1.67.tar.sign 989 BLAKE2B 49ccb2381c3612e2ea982b029fe52d9decb068f9c3ff80fd323d90c829adb49d1b37fde338fa423a4c214b9769f30c9a4924c314244b8917502eebeb6cac8218 SHA512 1bc91b3edda634219272175992561472496e7cd2df55bfa4335bf485e4d86d57b8f89fd0cc0b2b02f664b95bd79f76208ba465a9a54ceb49a0c8335b94b3e949
@@ -51,6 +53,7 @@ EBUILD vanilla-kernel-5.10.9999.ebuild 3283 BLAKE2B 09f42ae4ca54e775fbf38c7b6c16
EBUILD vanilla-kernel-5.15.142.ebuild 3769 BLAKE2B b6aceefb5fe12b80dbaeb37b4e42d3f06fc5d9e500075bc448d18b9669fc41369b70b4aa3204665570e1b2c950365e2c9453f0c5a1e833a71317cd9a83eb3a2d SHA512 e3debad3c9a8bf4bc9dee99ebe0aff6a42f09c33fea3a8644d57dca71a94c11d85cafe12791767b7026a6b5892bb0e1334504beb5108682a53a67e7876a9bee8
EBUILD vanilla-kernel-5.15.143.ebuild 3769 BLAKE2B b6aceefb5fe12b80dbaeb37b4e42d3f06fc5d9e500075bc448d18b9669fc41369b70b4aa3204665570e1b2c950365e2c9453f0c5a1e833a71317cd9a83eb3a2d SHA512 e3debad3c9a8bf4bc9dee99ebe0aff6a42f09c33fea3a8644d57dca71a94c11d85cafe12791767b7026a6b5892bb0e1334504beb5108682a53a67e7876a9bee8
EBUILD vanilla-kernel-5.15.144.ebuild 3769 BLAKE2B b6aceefb5fe12b80dbaeb37b4e42d3f06fc5d9e500075bc448d18b9669fc41369b70b4aa3204665570e1b2c950365e2c9453f0c5a1e833a71317cd9a83eb3a2d SHA512 e3debad3c9a8bf4bc9dee99ebe0aff6a42f09c33fea3a8644d57dca71a94c11d85cafe12791767b7026a6b5892bb0e1334504beb5108682a53a67e7876a9bee8
+EBUILD vanilla-kernel-5.15.145.ebuild 3769 BLAKE2B b6aceefb5fe12b80dbaeb37b4e42d3f06fc5d9e500075bc448d18b9669fc41369b70b4aa3204665570e1b2c950365e2c9453f0c5a1e833a71317cd9a83eb3a2d SHA512 e3debad3c9a8bf4bc9dee99ebe0aff6a42f09c33fea3a8644d57dca71a94c11d85cafe12791767b7026a6b5892bb0e1334504beb5108682a53a67e7876a9bee8
EBUILD vanilla-kernel-5.15.9999.ebuild 3283 BLAKE2B 9603317fa6f38182408ea6841e0e798677397eaf60d21ce9ada273dbf77852a04695023b0bffde785c30b61989f764f28be832810e859544264987dbc0a9dc68 SHA512 171111fdda2af60a13c2b28988f14ad8be846fa23d911ce80a99cd1a06a2bc548de182150df2e1869e3d1eae51aa6f5fbab6f7bb95f14e622f33f4e0d4e53479
EBUILD vanilla-kernel-6.1.66.ebuild 3887 BLAKE2B c89d198cc5b48e3fb06e4fca0c981083a9a04414def46e51ec8f6c44c7d7157c6d8a132eec8d0ba307ae50d1af54876469842a74027abecdd973b5cc19928ad3 SHA512 cf9e0deb874b83f923982f5a11379502bcda164237ad635c64ba60dac8e2d8b9256759be6b01cf3a3d55f5a412e8bc7aaf1ef641b5da071b70f66a9598ed6b58
EBUILD vanilla-kernel-6.1.67.ebuild 3887 BLAKE2B c89d198cc5b48e3fb06e4fca0c981083a9a04414def46e51ec8f6c44c7d7157c6d8a132eec8d0ba307ae50d1af54876469842a74027abecdd973b5cc19928ad3 SHA512 cf9e0deb874b83f923982f5a11379502bcda164237ad635c64ba60dac8e2d8b9256759be6b01cf3a3d55f5a412e8bc7aaf1ef641b5da071b70f66a9598ed6b58
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.145.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.145.ebuild
new file mode 100644
index 000000000000..0a6c317982c6
--- /dev/null
+++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.15.145.ebuild
@@ -0,0 +1,137 @@
+# Copyright 2020-2023 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
+CONFIG_VER=5.15.19
+CONFIG_HASH=ec69da7a42b5b7c3da91572ef22097b069ddbd01
+GENTOO_CONFIG_VER=g11
+
+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://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
+ -> kernel-x86_64-fedora.config.${CONFIG_VER}
+ )
+ arm64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config
+ -> kernel-aarch64-fedora.config.${CONFIG_VER}
+ )
+ ppc64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config
+ -> kernel-ppc64le-fedora.config.${CONFIG_VER}
+ )
+ x86? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
+ -> kernel-i686-fedora.config.${CONFIG_VER}
+ )
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
+IUSE="debug hardened"
+REQUIRED_USE="arm? ( savedconfig )"
+
+BDEPEND="
+ debug? ( dev-util/pahole )
+ verify-sig? ( sec-keys/openpgp-keys-kernel )
+"
+PDEPEND="
+ >=virtual/dist-kernel-${PV}
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
+
+src_unpack() {
+ if use verify-sig; then
+ einfo "Unpacking linux-${PV}.tar.xz ..."
+ verify-sig_verify_detached - "${DISTDIR}"/linux-${PV}.tar.sign \
+ < <(xz -cd "${DISTDIR}"/linux-${PV}.tar.xz | tee >(tar -x))
+ assert "Unpack failed"
+ unpack "gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz"
+ else
+ default
+ fi
+}
+
+src_prepare() {
+ default
+
+ local biendian=false
+
+ # prepare the default config
+ case ${ARCH} in
+ amd64)
+ cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
+ ;;
+ arm)
+ return
+ ;;
+ arm64)
+ cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
+ biendian=true
+ ;;
+ hppa)
+ return
+ ;;
+ ppc)
+ # assume powermac/powerbook defconfig
+ # we still package.use.force savedconfig
+ cp "${WORKDIR}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die
+ ;;
+ ppc64)
+ cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die
+ biendian=true
+ ;;
+ x86)
+ cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
+ ;;
+ *)
+ die "Unsupported arch ${ARCH}"
+ ;;
+ esac
+
+ local myversion="-dist"
+ use hardened && myversion+="-hardened"
+ echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die
+ local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
+
+ local merge_configs=(
+ "${T}"/version.config
+ "${dist_conf_path}"/base.config
+ )
+ use debug || merge_configs+=(
+ "${dist_conf_path}"/no-debug.config
+ )
+ if use hardened; then
+ merge_configs+=( "${dist_conf_path}"/hardened-base.config )
+
+ tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config )
+
+ if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then
+ merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" )
+ fi
+ fi
+
+ # this covers ppc64 and aarch64_be only for now
+ if [[ ${biendian} == true && $(tc-endian) == big ]]; then
+ merge_configs+=( "${dist_conf_path}/big-endian.config" )
+ fi
+
+ kernel-build_merge_configs "${merge_configs[@]}"
+}