sys-kernel/xanmod-kernel: add 6.1.52, 6.4.15

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2023-09-07 07:31:16 +03:00
parent 5bc4189012
commit 0ff11108e3
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
5 changed files with 207 additions and 0 deletions

View File

@ -2,14 +2,20 @@ DIST genpatches-6.1-56.base.tar.xz 3326400 BLAKE2B 4a62be88a16883b13ab169a93933a
DIST genpatches-6.1-56.extras.tar.xz 3808 BLAKE2B 647f53e02a9a383d96beec781f33892f015302609b93f6d9f8408ad1e8b2ffb423d01f0f540365fdcb795e493bc1bc493c390a218226258f6ac51e8fc8bad657 SHA512 c4bf617db17818a615b279a2351e5f369c9efb256b30e2581210c57758ca519eff1d8a320bbceefc5ac8784e530476dd2db7cc559e7da99c3d1037d1ce69e663
DIST genpatches-6.1-57.base.tar.xz 3329956 BLAKE2B d43450b8139d3a37aa248d8b5af3047d29cc8a16346512633d6ebd55c8adfda8a165d707051e4bf5b167830a711074e9fa4fd2038c04505ee455a6a43686eb1a SHA512 1917b2d9026372ced986e2572f9b1f99633bd61154855547283110279d3feca3fe2326d200bda75c61a617ff61a5758032bddbb4fc37dc403384bb76e060bcb3
DIST genpatches-6.1-57.extras.tar.xz 3808 BLAKE2B 39e1e8aef7db1d76f770bdee410c6b26bc7bab3e6c7b3e7ef342122d83ac8fea8bf1975887bef6ba1be2e99035f2f233ff3267c05a1e6d17ccf282ee26c4eba2 SHA512 027cf468cd29d927f620f013c2d1461dbe4877f587d8e4fcd02dde085bbdbb4f0f1ffb5cd23a84ba89ce9a5425144eb28a72415b2998bad14ea8a589316f32c5
DIST genpatches-6.1-58.base.tar.xz 3336552 BLAKE2B bea24fa334dd00948056ec5c1e18b20869347e33a1a61cbcdbc03d821c3da697689a84c8cc09d4127b94c9c581d4293c1d847c692522bb4a37fcf4850272d1ed SHA512 69c21b4ee470a49bc5b82c3fe8ee53d688585d1b30cda72dc2e7aac230b65d5972e4d7ad4b879f32012412a7c59e0573772d1ee217c5d2e5cb9790759f7ecd82
DIST genpatches-6.1-58.extras.tar.xz 3812 BLAKE2B 16953223f8d699527c36c16c45e20be26ed8afe6ebb6eb2badb8f2f303f6d22d1ea351b6c16c0b14110580275c50b074560d4e2b79851850c20ffe6e279b8287 SHA512 23ac18840460888f60b1f35f2625c9e4cefb31a61d9a8449ff890cf29c7f9ad61416da95d198e197bb6cd30dedeeb20466284bab7f5fd7a8f103c5a1b055ed31
DIST genpatches-6.4-15.base.tar.xz 809064 BLAKE2B 5f931235de8f0d94b1297c4e5c1c5c82dfe51e2e5149551fd053b908f112adb034e399ec3a8eaabf1b07993cb021577b210ccbd55d0f4d3670f87ebfdf34964f SHA512 b5181ddfc2896849cd0a5889c2c1f3009eedbd3c080a253e78c75545d8a57b7671e163b0cd5076d6255c5eb18b42b8cd81f0d47eaeb40397015418c3e212a5b3
DIST genpatches-6.4-15.extras.tar.xz 3700 BLAKE2B 36916108aa768ac8138cfe4e167d1bdbc8413e2c971ce81f531966882ff1d096077c9676298ffcf69461059c62ba69e5ed821187e8a520aa21f0adb7ba119281 SHA512 65f96f5b47fe3ca21c4e7f09c13474c64d932eefe94a523d3197addc8ff8f70fce0b9da59f26e890cdb75cd9a9979dc99386c4815ba8d6e2b419a1d5872fd0d1
DIST genpatches-6.4-16.base.tar.xz 811436 BLAKE2B 1a1f92b35cafd3ee73cc9a04a94d72a11f01d48195c43e881cbca1a776fc5f6abaf582523a6e75a5dbbb04cdfbed7b19e85d77b5541a926f4e6497d72508de87 SHA512 7a4899923c0ff93d8b5dfb3ab1d4a698337cfe19a457affc3d67df41f3ef734064110d55e3cc84e0fa5b458c7919fea14738fc18befa4ed5f6052a5b8b5383bb
DIST genpatches-6.4-16.extras.tar.xz 3700 BLAKE2B a50cf572b21a1e91c2e84f05238f5d0301fd2b6596f98fb48fb962c4c4f2d17f91a95af4c3814d818ef53e1743523aa6ec45ac0b26c41bcb7e122a31f616d59e SHA512 534d7320c07134e41f6bd31547ab55f6e0d305b5bd7cb8c862f0d9454142e3aa273c64f50405a1230da32b9341dfdba0a1ab71121bb4a78819ddd5a9e6f320b2
DIST genpatches-6.4-17.base.tar.xz 818408 BLAKE2B 71e3e8271b5ba2788bb52f42e8cf7846375856d0a946188c01e1e20f4bd2001817837910d9272c5e70cffd539d7f9e30dc89d7378501f18ebff678d699824e3b SHA512 bd11bee4f21132321da063dfd66f506e67e5528fa6aafddfb483067a0ca02e92ef71a83c02bbe601e434d5c77649f17c7e9d9e34ba1c9f06084eda79906b73a3
DIST genpatches-6.4-17.extras.tar.xz 3696 BLAKE2B 6a9be135efa7a8fdc0ebafd41ed2f8794530e6052d3a955d6142c03d7f134d2157efbdaef071c0b0f362406e42a404f385bb4c73717b24e427a4a6e886ea1504 SHA512 191a861faefd72ce25d4a6bf873488e5b8625b70f46bd1bf1f36125483ecffcd00cb5c3a7a07e2cd5d97d5f140d8ddb9897e80fa010492e64435340eab9c76bd
DIST gentoo-kernel-config-g7.tar.gz 4625 BLAKE2B 72ba0d038ee34ca5eb26d43bd373735aef3a50d02b414993ea05485e49d83d46df98a6cb0f6f3170a8ec0c99b557432fd9a11cbb92ff7c2837625a7f4469831e SHA512 2d74a8ca9f5402b4290ed93cd3ddba04a7f2ff42c8d8d3f2cbbe22fc20daa0fca119368daa8af39b7a26b1b99e4e3187c3c5d95886a651675ad94ff98d686628
DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68
DIST linux-6.4.tar.xz 137794856 BLAKE2B b59eb04a8715af9f686978812e6d4a466172bb859f80657076de14cd0828b4fac15b688ff8959f5c65485f7f6bef26590412c66821e720de843cb8666f226c90 SHA512 11a48b25e0b513782d3b89101c2ec8dd9cefd6ce08dc63a91137903b66392aa72ca1fe32816710673af84dd47de3ab8738056a6af93dc0d5e60ef4b869b49928
DIST patch-6.1.50-xanmod1.xz 2564272 BLAKE2B 007ff683f21845f8a8cbb855c6692c89687f11ed34fb0b8314a08d2d5533657fe76acb114362564740c5acd320a7e6aca46c1980e1cd5e4de3f30cdce0d4387f SHA512 99314257ec9e209f5274ccf45af6ee5508cebd5ac4195a5c7be52c38017d7c287c58d47c5c2fff99d9fa02fea81114d975e30b0621c7d27f189b62fdb8c758ac
DIST patch-6.1.51-xanmod1.xz 2567916 BLAKE2B 29840cb3169ed0ca9c8545a1dd102504eafd0ecf56263e9f2db6be719774353a6c64b4312ed947c7650113847455de80506c8ccb152425a7b4c69477958b7c6b SHA512 cd88ffb70bbffc65c88bf4c547acf6d5b3a40ae5b37f90f8f5f8a7470571992197630bbd47713ca2241ecdb9be0a05fcc2d618469d7cf5ef35896cfc56db8ab7
DIST patch-6.1.52-xanmod1.xz 2573404 BLAKE2B cddb7aaf9c3ad6109448814329b730b3b3227d4470bf5502db1c485ebd859ef21351f31df7cff5eb87fcf6e08cab0aa36e9195f5609b5d94c589a7a86507c68b SHA512 8fa14ab6f9feb216c478678295757b3f9d901df20bf62018cda753ad44e666b6ca7f26dea3026b4cc1fe2e0abbbd53915eb005afeccc1c0385272c484c47378b
DIST patch-6.4.13-xanmod1.xz 924796 BLAKE2B f447a5fdc8332641bb403ed4f690c031d8c47b08ad4345ac5844b49fc642c14d926a80989d04ced506baf4cd557ec0c9412581ab0c10ca34a9354b818353c50e SHA512 fe377806efbdbd32524efefdecec1506ed17e4bcae3342287a0edac99d867a7d11f1b1308e8a072a6b4ca66acc7823ce8d236539df10f08cfea540a5f19e1fa1
DIST patch-6.4.14-xanmod1.xz 928160 BLAKE2B b9036907061df7f2469f7f60f4502cb00a4a6de78a129ac4f5546a365029aacb98e9179c935da9eb35895f07e2cd62e5fccdc5244856a0371cd2ecb7c4bb4bc5 SHA512 dd97e322d4c8afcaee3412c8a1b2fcd6e7583a8e942261b205ea6fda9e3fc6fca25d73f0c7694a4598d9aa6e013114e62036751d5e5b2fd54167ec3b35f8f662
DIST patch-6.4.15-xanmod1.xz 934176 BLAKE2B ddf924e34e8f5ff02346164e59914c65f9bc40282e70edb8a91c0a20b7ad8f7eaa5a157b5f2db030c34208cd7ff8d1fdde05d55ce01b6f69e22aac19f618fea0 SHA512 e03ba09ad5cac975700992ff7abbed07da7ac29c04ba5d1b1c37b0c648e0ab96ddb176890a021f6aac89be69be70ef69c66d8ca05016dea28268ca569e5a5812

View File

@ -0,0 +1,79 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit kernel-build
MY_P=linux-${PV%.*}
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 6 ))
GENTOO_CONFIG_VER=g7
DESCRIPTION="Linux kernel built with XanMod and Gentoo patches"
HOMEPAGE="https://www.kernel.org/ https://xanmod.org/"
SRC_URI="
https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
mirror://sourceforge/xanmod/patch-${PV}-xanmod1.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/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
-> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
"
S=${WORKDIR}/${MY_P}
LICENSE="GPL-2"
KEYWORDS="-* ~amd64"
IUSE="debug"
RDEPEND="
!sys-kernel/xanmod-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() {
# Remove linux-stable patches (see 0000_README)
find "${WORKDIR}" -maxdepth 1 -name "1[0-4][0-9][0-9]*.patch" -exec rm {} + || die
local PATCHES=(
# meh, genpatches have no directory
"${WORKDIR}"/patch-${PV}-xanmod1
"${WORKDIR}"/*.patch
)
default
# prepare the default config
case ${ARCH} in
amd64)
cp "${S}/CONFIGS/xanmod/gcc/config_x86-64-v1" .config || die
;;
*)
die "Unsupported arch ${ARCH}"
;;
esac
rm "${S}/localversion" || die
local myversion="-xanmod1-dist"
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
"${FILESDIR}"/no-debug-extra.config
)
kernel-build_merge_configs "${merge_configs[@]}"
}

View File

@ -0,0 +1,79 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit kernel-build
MY_P=linux-${PV%.*}
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 2 ))
GENTOO_CONFIG_VER=g7
DESCRIPTION="Linux kernel built with XanMod and Gentoo patches"
HOMEPAGE="https://www.kernel.org/ https://xanmod.org/"
SRC_URI="
https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
mirror://sourceforge/xanmod/patch-${PV}-xanmod1.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/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
-> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
"
S=${WORKDIR}/${MY_P}
LICENSE="GPL-2"
KEYWORDS="-* ~amd64"
IUSE="debug"
RDEPEND="
!sys-kernel/xanmod-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() {
# Remove linux-stable patches (see 0000_README)
find "${WORKDIR}" -maxdepth 1 -name "1[0-4][0-9][0-9]*.patch" -exec rm {} + || die
local PATCHES=(
# meh, genpatches have no directory
"${WORKDIR}"/patch-${PV}-xanmod1
"${WORKDIR}"/*.patch
)
default
# prepare the default config
case ${ARCH} in
amd64)
cp "${S}/CONFIGS/xanmod/gcc/config_x86-64-v1" .config || die
;;
*)
die "Unsupported arch ${ARCH}"
;;
esac
rm "${S}/localversion" || die
local myversion="-xanmod1-dist"
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
"${FILESDIR}"/no-debug-extra.config
)
kernel-build_merge_configs "${merge_configs[@]}"
}

View File

@ -0,0 +1,22 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Virtual to depend on any Distribution Kernel"
HOMEPAGE=""
SRC_URI=""
LICENSE=""
SLOT="0/${PV}"
KEYWORDS="~amd64"
RDEPEND="
|| (
~sys-kernel/gentoo-kernel-${PV}
~sys-kernel/gentoo-kernel-bin-${PV}
~sys-kernel/vanilla-kernel-${PV}
~sys-kernel/xanmod-kernel-${PV}
~sys-kernel/xanmod-kernel-bin-${PV}
~sys-kernel/xanmod-rt-kernel-${PV}
)"

View File

@ -0,0 +1,21 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Virtual to depend on any Distribution Kernel"
HOMEPAGE=""
SRC_URI=""
LICENSE=""
SLOT="0/${PV}"
KEYWORDS="~amd64"
RDEPEND="
|| (
~sys-kernel/gentoo-kernel-${PV}
~sys-kernel/gentoo-kernel-bin-${PV}
~sys-kernel/vanilla-kernel-${PV}
sys-kernel/xanmod-kernel:${PV}
sys-kernel/xanmod-kernel-bin:${PV}
)"