summaryrefslogtreecommitdiff
path: root/sys-kernel/vanilla-kernel
diff options
context:
space:
mode:
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.4.235.ebuild111
2 files changed, 114 insertions, 0 deletions
diff --git a/sys-kernel/vanilla-kernel/Manifest b/sys-kernel/vanilla-kernel/Manifest
index 55fba67892a8..4c84d6644d72 100644
--- a/sys-kernel/vanilla-kernel/Manifest
+++ b/sys-kernel/vanilla-kernel/Manifest
@@ -56,6 +56,8 @@ DIST linux-5.4.233.tar.sign 991 BLAKE2B c664e65c6e12b72ea34e3f5522dd29e3bf7227ad
DIST linux-5.4.233.tar.xz 112992216 BLAKE2B 8d629328a88f0eff4332a8e5c21305bdc4166b440986be953ce227e3c356dc470e47c7d720a598666b5ee824332fee35ff55cf35992f7ca4e37b2010e6105536 SHA512 76257b8077b85308c82850cb9a902659af9b554e37a61919ab74e60adf9b813bf2bee55cbb3ee4727cdc4eb192ba6f7b36efe06a689236235bf37d7d67029b4c
DIST linux-5.4.234.tar.sign 991 BLAKE2B 7de2660c6fe2001fc0c3b0f0c938c1490089f145c984d50b1cbfd338ca11dc96af07bedbcbe29f52295f6fa77f8c3ff29df3b596322296d4603b154e04d82b23 SHA512 db7c748faaeb976adcd86625f453b35fc2d71c5cccaac0e08bce60d069a669a2cbe8954e7423ad3dca3d0c2a116fdec07f08284af75eea01ccac98d6642275f8
DIST linux-5.4.234.tar.xz 113019048 BLAKE2B 93efb145f53e9072c63169637361bfa74e40de999300f27a684cbaa23678f61593edf06b46a1d03c84d1881489b560c436827589ab04bdf92dadbd51c77dae87 SHA512 58684c5106b1fc6d50bb2297d7d6894babe79addc055e5e4c78805bd4da88e01f8751b64e4c410f60827d2562494fb333fb609e251264aa91e37d25f89e65559
+DIST linux-5.4.235.tar.sign 991 BLAKE2B ae88749590d96de251d8c2579b00142a1e895beb4b242b4b2d6a37949110975ddbeb0d23805054c6d868bda55a7450b831cc3c0ca70a4a632da1c7e2aa2c9292 SHA512 52e9f706ac8640c3229a79386f7671929ad4e5e17ed0407cafc7ee015b963b37bd29c5472ba2bc422a3fcb732b643e4aec5730d8a6ff152bb4c83629224fbbd1
+DIST linux-5.4.235.tar.xz 113006528 BLAKE2B 57ce56b8060d43e19de9b8b8a03a4bbc4ddce6e29c68b42172dfe181520eb279873269336a900da9568dae1d4d4dda2901435524af484709cc3b86f4b6df65d5 SHA512 37c0343bd57837fc1e42e761417c724ac4f74dd86f6c1712bda225cb1c9456bf28adaac1db561e32bb917b2c7f37693c0ad2e8a97f5d22a097379e5cf147ba7a
DIST linux-6.1.12.tar.sign 989 BLAKE2B b55e15679dbf0a29dcd5ece9cb68fb2123132818810fd03492a6d8fc5556814bfc8604b38a25dd0b71acc4ea8f515ce60d36d6e24eb944fa8a48bc851b2c25f3 SHA512 7459ad3491bfcb2dccfde4a929da7b78e842dd34e0230ba49da152891b5157dcd54cf84696988da560cc918852b1d59b76f7184d39e7c444385e20266aed8b05
DIST linux-6.1.12.tar.xz 134848688 BLAKE2B 1ff8d14fa1544a9d613fe372073e6735cc9444383e598a1c6a546177e1a9516b7f5a0d16aac4fc141fef134ffe14a0e40ab5db4200c11c953fec7f70a7bc9079 SHA512 e870aa9038f0508c50af5329721a5649c3537deb333d18f006bbf6d3c310b64262630eed5682022b7eceece9ef0956d2c110555cc9257591b7a221d063976735
DIST linux-6.1.13.tar.sign 989 BLAKE2B 6a59d32b2782eae32371c306b251d30e79c4123d53ff7587a8a02ef4b3f1b46749609561c885a6c530ee83c5b22cb9ca816e14b767790e2a25ae0e4e9fb11b5e SHA512 63c6c8af47b6c08890553e8a8292fa423be470d00322d046cc5f104ade9fedeb17f74a606ce230aca053795f720d08fe102530897b53d81004bc4d34a1497aa4
@@ -94,6 +96,7 @@ EBUILD vanilla-kernel-5.4.231.ebuild 3062 BLAKE2B 596abc4cc489a193e1e573661789ff
EBUILD vanilla-kernel-5.4.232.ebuild 3062 BLAKE2B 596abc4cc489a193e1e573661789ff36d8da65e7416caa52cd3d0b74d472b6079d9859f40fc346818147ad9f7d95337d42792567997c612ce1da164c9968c325 SHA512 2fa5be41becf64b346d2dc63a30f687394c2797079a4f5db5112f294d550e6590bcc202740de1afa40d259cee18a4731ecefd2ae4ef72a7be1fc8758bff7a8f8
EBUILD vanilla-kernel-5.4.233.ebuild 3062 BLAKE2B 596abc4cc489a193e1e573661789ff36d8da65e7416caa52cd3d0b74d472b6079d9859f40fc346818147ad9f7d95337d42792567997c612ce1da164c9968c325 SHA512 2fa5be41becf64b346d2dc63a30f687394c2797079a4f5db5112f294d550e6590bcc202740de1afa40d259cee18a4731ecefd2ae4ef72a7be1fc8758bff7a8f8
EBUILD vanilla-kernel-5.4.234.ebuild 3062 BLAKE2B 596abc4cc489a193e1e573661789ff36d8da65e7416caa52cd3d0b74d472b6079d9859f40fc346818147ad9f7d95337d42792567997c612ce1da164c9968c325 SHA512 2fa5be41becf64b346d2dc63a30f687394c2797079a4f5db5112f294d550e6590bcc202740de1afa40d259cee18a4731ecefd2ae4ef72a7be1fc8758bff7a8f8
+EBUILD vanilla-kernel-5.4.235.ebuild 3062 BLAKE2B 57f0ff3da486dcf8c18cd11607ac6835b7dadd1d792c2499ff6530f0a28a017695ef9ef6e7a0fc15d31b857bfa0359694572cea594cf1a473d639ebb55ff0e58 SHA512 a7c2010a4ac27038d55adc11bc2f5340015266b60f61d93d41fbc20346fdd5ac624673fd08da709d5a144b78ff6a46f28cfc94663f627e0a87ea97db24cb7f42
EBUILD vanilla-kernel-5.4.9999.ebuild 2635 BLAKE2B 16aaff3ea21368478a85a6bb93cf79a1074e68a7510101586cf6d06d11884c99d474cb19fb47e46fa64b34397528e32719667e2895e01c946a5da3a842f2d7ea SHA512 dd115a18e6005ab5a7d22fde68c5866118e26cb3151dba2ceb8c96cd843a7992fad0edfab8adef57d58653871c6b59ad7fbc0371396ff5cc56ade469626d3019
EBUILD vanilla-kernel-6.1.12.ebuild 3894 BLAKE2B 33a0975c3412120cc5cef7d64e4c89e261676ea8b932f051cfae2b62c0c7e960b0c820a9af00e3ac8978630f103c88b2548a9dbfa9b8777b98fed45b5d993fb9 SHA512 abe01b978e9f4b6260856e13076367e2115845f13d017f8e85377dc6f3523561ab26824e785c7954bc71afd26a5577264c1e3d75e58cf3ff086252a5a9cb55f2
EBUILD vanilla-kernel-6.1.13.ebuild 3894 BLAKE2B 33a0975c3412120cc5cef7d64e4c89e261676ea8b932f051cfae2b62c0c7e960b0c820a9af00e3ac8978630f103c88b2548a9dbfa9b8777b98fed45b5d993fb9 SHA512 abe01b978e9f4b6260856e13076367e2115845f13d017f8e85377dc6f3523561ab26824e785c7954bc71afd26a5577264c1e3d75e58cf3ff086252a5a9cb55f2
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.235.ebuild b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.235.ebuild
new file mode 100644
index 000000000000..e60639c72379
--- /dev/null
+++ b/sys-kernel/vanilla-kernel/vanilla-kernel-5.4.235.ebuild
@@ -0,0 +1,111 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit kernel-build verify-sig
+
+MY_P=linux-${PV}
+# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
+CONFIG_VER=5.4.21
+CONFIG_HASH=2809b7faa6a8cb232cd825096c146b7bdc1e08ea
+GENTOO_CONFIG_VER=g7
+
+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.config
+ -> kernel-x86_64.config.${CONFIG_VER}
+ )
+ arm64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64.config
+ -> kernel-aarch64.config.${CONFIG_VER}
+ )
+ ppc64? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le.config
+ -> kernel-ppc64le.config.${CONFIG_VER}
+ )
+ x86? (
+ https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686.config
+ -> kernel-i686.config.${CONFIG_VER}
+ )
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm64 ~ppc ~x86"
+IUSE="debug"
+
+BDEPEND="
+ debug? ( dev-util/pahole )
+ verify-sig? ( sec-keys/openpgp-keys-kernel )
+"
+PDEPEND="
+ >=virtual/dist-kernel-${PV}
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/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
+
+ # prepare the default config
+ case ${ARCH} in
+ amd64)
+ cp "${DISTDIR}/kernel-x86_64.config.${CONFIG_VER}" .config || die
+ ;;
+ arm64)
+ cp "${DISTDIR}/kernel-aarch64.config.${CONFIG_VER}" .config || die
+ ;;
+ 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.config.${CONFIG_VER}" .config || die
+ ;;
+ x86)
+ cp "${DISTDIR}/kernel-i686.config.${CONFIG_VER}" .config || die
+ ;;
+ *)
+ die "Unsupported arch ${ARCH}"
+ ;;
+ esac
+
+ echo 'CONFIG_LOCALVERSION="-dist"' > "${T}"/version.config || die
+ local merge_configs=(
+ "${T}"/version.config
+ "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/base.config
+ )
+ use debug || merge_configs+=(
+ "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/no-debug.config
+ )
+ [[ ${ARCH} == x86 ]] && merge_configs+=(
+ "${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"/32-bit.config
+ )
+
+ kernel-build_merge_configs "${merge_configs[@]}"
+}