diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-13 13:10:51 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-13 13:10:51 +0000 |
commit | 7860ad41012a3808c645607818b64ad7dab025e9 (patch) | |
tree | 102565176c19f5aef57ae4f6faecd3bded6f36ee /sys-kernel/gentoo-kernel | |
parent | b83f9f17a27e03508085814208cd9c89a07f1f49 (diff) |
gentoo auto-resync : 13:01:2024 - 13:10:51
Diffstat (limited to 'sys-kernel/gentoo-kernel')
-rw-r--r-- | sys-kernel/gentoo-kernel/Manifest | 3 | ||||
-rw-r--r-- | sys-kernel/gentoo-kernel/gentoo-kernel-5.10.207.ebuild | 134 |
2 files changed, 137 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest index 9164b51f2a44..7b02d6384c9e 100644 --- a/sys-kernel/gentoo-kernel/Manifest +++ b/sys-kernel/gentoo-kernel/Manifest @@ -2,6 +2,8 @@ DIST genpatches-5.10-216.base.tar.xz 6323624 BLAKE2B 7322ad90ab57a998bd282bfe47d DIST genpatches-5.10-216.extras.tar.xz 3876 BLAKE2B 60da30135bee0734e352fa197aa1e6ee0db45907c3053ca0707282a00250d835e483b92dbff50e882a4b5345bda5a68ea421769229416c4feb6d5c5b08c63f0d SHA512 712301b6fd53fcef79ab508b44fedf1f55ed9cafd0f707cf86d4061770addb66f7f6c2b9f8f6e1366ff7b88ded5cc8fc4ffbcc06ccb0e60672dc39f90b586a6f DIST genpatches-5.10-217.base.tar.xz 6347248 BLAKE2B 35c610d675da3fca5c1cb187267c8eec4036397dc690f07ab1fb25cbf810e749670ac17a01746eb668563d1cc7f5b206b9f44d7457284dfc2289f8a489a1f1ad SHA512 2c83342a07254bcd20e07aae95fa01c56c2f650c83b104bd1595dbc744b87d98262c2abb62fee3eb8bef68efbb1f0b980651bf54c1a41bfef97b46bec3e25255 DIST genpatches-5.10-217.extras.tar.xz 3872 BLAKE2B 064f45be10fd871b85cf014894e01be7cc89a7a8d995a9cbc5dce54661e82b97d25b9b94c4ffdf35050dcf8784cd7a31f3fcc6531e7d9ab7f16d50f22d363f87 SHA512 ac67120c0fe629f9b184e415bc665be1234d5a9f5b9fe56210c81cfbad4a36471ec663fd51309ca616331990a30fa3b9c2a6e5aec4cb7eb11e4549ad415d0181 +DIST genpatches-5.10-218.base.tar.xz 6347584 BLAKE2B 0b04d59069f469e8555a54865832edf3aee7c0e5c06ef1044a6c3406151e970f5147f4b878963dc6fdfaf4b6e99709b9c49c29c12fbb52cd8347b2d522d162d5 SHA512 01ca450a7963c48d29e41f1d56b40f5aa14f64a5c75a67eff31bf8bfe9a402ca262e57bbc9cbfca9d858f51c418c53bc48f1465d670fabe6050bb6ef7f3426fc +DIST genpatches-5.10-218.extras.tar.xz 3872 BLAKE2B 6b43940c29587c763eaac4b31376d14a1fe575a93ae14bb68ad0d47d8c79266ff05cc1530899e8084fc2861018c2b7cc9e1777b5168191eea91f642ca6a5daac SHA512 4665d4dd3e3e6b4d28206f501b8da527db194cd8ee85b22ded6904ce2c86f2a48110273af891fbcf44af8230320fa70a05adb69f5faca326ebdabd31348b5940 DIST genpatches-5.15-154.base.tar.xz 5941944 BLAKE2B b32e3bbeadf0b2b3e121d1cd017c3e77320fa8b7365e4106d6574934899ca1c0d4604370774da759a840c09693f89006365078cb77bcf1c23da5bc463d4a36fe SHA512 e32978ea17b1770d5180ebeaa6ba5f9e91e6b4bca70fc4dfced04c93aa7b6d76adf8c83c1b94a182b61fb6a5b73d3778789a0183ef9b49e887647348fadbf2e3 DIST genpatches-5.15-154.extras.tar.xz 3936 BLAKE2B 6940bf38e7c0ea4008d745171b61b4dc9825ed418a10e5d5c7fbd0ecd7a6bbabcb6c747830bc60f5d75250b826c308bb221e4720be47275e0cb653b3e21d8f10 SHA512 6b70c21c724be7e42d4e9b7ca0ee5af7aba1f7d2532ae73a571137290cebc4c6ba5146d4c0b73c9424827b876c1fba18e6b60868f09022902e0c8369b73cf2d5 DIST genpatches-5.15-155.base.tar.xz 5989160 BLAKE2B d0b4b6b84a87f5ce4f7f22ae2b0c21cf21acbdba1de9f22839a327c1fe581023ce4b6a2886e6871220189618bd4adf865eb073388ef14b6becf8bcc8861f690f SHA512 1d7454c1e628e0f4a281c14ae0c330d69611dc96a074f25a0c6573bb83ebf4c3d6a3137ee3599421ab70b55c98f71e9a2934c45afc45d4c02b7f1c4614288c79 @@ -43,6 +45,7 @@ DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35 EBUILD gentoo-kernel-5.10.205.ebuild 3661 BLAKE2B ea574fbe0db1a50cbb7bc07c89f82b502c3ee2dfff9ffd87d00ad9915d385c47b57380256f5b3847ad07b98d5ef8e6ea2c39625bc2d5bea9fb19aee351800e2f SHA512 906113eb32b5b88e8734bfa7860b386440c636da6877de084ee3f4b24f0d1a1828ea305669169763877b7f2aa18c3c2c435966c95044fac43bf941ce19eb6f25 EBUILD gentoo-kernel-5.10.206.ebuild 3665 BLAKE2B df47736d0b73a5489929cbe7c42b68eb8160f22711de1d06c427e8bc3036cb18ddc6a51dcd13e1f92d57783598cd41b2919baf709c309e83cab09fb92c622640 SHA512 6c1ebf85ba250611d0ace5f2c14b77d9d93782d579e8d3ba49c75e6bc65e8d0ef617cab65222ac31245d7d9454d2fbffb6f0a5706ee7f57ca17122a8c96ead97 +EBUILD gentoo-kernel-5.10.207.ebuild 3665 BLAKE2B df47736d0b73a5489929cbe7c42b68eb8160f22711de1d06c427e8bc3036cb18ddc6a51dcd13e1f92d57783598cd41b2919baf709c309e83cab09fb92c622640 SHA512 6c1ebf85ba250611d0ace5f2c14b77d9d93782d579e8d3ba49c75e6bc65e8d0ef617cab65222ac31245d7d9454d2fbffb6f0a5706ee7f57ca17122a8c96ead97 EBUILD gentoo-kernel-5.15.145.ebuild 3739 BLAKE2B 5a0e840b0d83977451af62694842ac32c2068cbe0b43df475ae7c8e141c7e0c748e5035a488762561736a53e5362689c182e1a97b5ade7bb44b3fd431b0b6dc5 SHA512 3a0aef9e2ac7e6142da00315a109e57b6300c9a93b5e3032ec66e0ae6523db458ac7ff08777dd9d187338a1bb5f244a7ab0a15763d086a090ef29af2a7dd83d0 EBUILD gentoo-kernel-5.15.146.ebuild 3743 BLAKE2B c9a2ff594598c24cfd37defe34bc4c4a303e9a3b4b8901e831086fda939b1c0c4cd1cc75c94739a24be7b787dc6e95005a33e5e9b4b4403916d5176dadcbbb6c SHA512 1a9194f20888650010f9dec08ade7d7b81464f056b3c4569637a57175478f812101278c56f6fc1708f3d08aa29fa1729d2a8edffa10672e2c2d4a2955e259df0 EBUILD gentoo-kernel-6.1.69.ebuild 3975 BLAKE2B b7c7b165887c467eebedddca18e7b7f04fe3f65ba2eea02efbcd3232822ace79b5b53b5b5712cc4448bbad0b6549c35a111c0a0c4c35bf8da4e43c9f5f55cc8a SHA512 a79e445d24c86e5bb4271a30e4194ac33b9de283f6b2ac994f7be8de6f746f6a3aa1fc05601b02ceb89b9e3568dd5ddcdfac6f7882fa28c262931a7b01a14578 diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.207.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.207.ebuild new file mode 100644 index 000000000000..a9cb5d5f0f12 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-5.10.207.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 + +MY_P=linux-${PV%.*} +GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 11 )) +# https://koji.fedoraproject.org/koji/packageinfo?packageID=8 +CONFIG_VER=5.10.12 +CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530 +GENTOO_CONFIG_VER=g11 + +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://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 )" + +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 +" + +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 + ;; + 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="-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 + + kernel-build_merge_configs "${merge_configs[@]}" +} |