diff --git a/sys-kernel/xanmod-kernel/Manifest b/sys-kernel/xanmod-kernel/Manifest index 7860f82..ffe57a9 100644 --- a/sys-kernel/xanmod-kernel/Manifest +++ b/sys-kernel/xanmod-kernel/Manifest @@ -2,6 +2,8 @@ DIST genpatches-6.1-52.base.tar.xz 3173368 BLAKE2B 429b5bc3af457d91b9c178737e573 DIST genpatches-6.1-52.extras.tar.xz 3808 BLAKE2B 6a67986309840e14bd4759c0aabb1af5d6b3653660d1a12d8706567470a28b3a56d5a09cbdd3df9068bed7a845206b5a81fca3a1be0ffe7122579d9b3ff63401 SHA512 0476ec7af5906dfd4dd48c96799568f8ed7d24d7d43717979e03a16219b732461e0afc7af1c5a4f528a08c4b5c2c35d249e81be1c6d0f854f7993da2e0c7aad3 DIST genpatches-6.1-53.base.tar.xz 3225656 BLAKE2B d701a2920347788f343b14babfdd113b62b78218e8b19a5ee4f36d76b8571e697d9f3a3a9aa8364344e4d0ccaa60eccaab27b24036504b3ea1d011c4492a1eb2 SHA512 10aed454a5d7d7a763ec3008ceb17e30d989abcd76e1ca54d47b8946cf20a9de5991e09158a4e0b182ba58b41760a8de3bbd1979ff23fa9a84aa094c5c31094d DIST genpatches-6.1-53.extras.tar.xz 3812 BLAKE2B ad3b65af5b05947d20e1ecaaabd7304261310162c9ef679cba698712af55e7bc5b18ab1b69613a4442e38f362e34a9a1699408decd9016cfb4543c33ac97468a SHA512 a813b49a8af0cf17e48a88475731b6349dfa49af90e16037528eebd55a80b3ecdb52805547a56003a463b00a4302a779c8fff23970d73f3393cde7f205e92d32 +DIST genpatches-6.1-56.base.tar.xz 3326400 BLAKE2B 4a62be88a16883b13ab169a93933a638aa61ca469fdab5f4a474a68983dfdca256bdbc4e62bf7b4ccbed48365a966c6396588444d45ed210a3dfefc8677a3ca5 SHA512 5c9d46528036cd7457e825dd97d7c20c69cee3f6d0279b82b0f45a3ec707d15a74afd270a0084e3438948a47c3128cca4ce2c53d45590c0260dd3b4324206287 +DIST genpatches-6.1-56.extras.tar.xz 3808 BLAKE2B 647f53e02a9a383d96beec781f33892f015302609b93f6d9f8408ad1e8b2ffb423d01f0f540365fdcb795e493bc1bc493c390a218226258f6ac51e8fc8bad657 SHA512 c4bf617db17818a615b279a2351e5f369c9efb256b30e2581210c57758ca519eff1d8a320bbceefc5ac8784e530476dd2db7cc559e7da99c3d1037d1ce69e663 DIST genpatches-6.4-13.base.tar.xz 708424 BLAKE2B 35ac10ca68775c9e9c5668e9d4a8764c6cc583f8ecbade54b6f1bb1e4ca41fee1d48f5e782a6ba271d0b2f710889aaefdb13c9e4bb437d4f91b05a3d7e464a2f SHA512 5c3fa0b3c09b5298b4bf6542960e07d9c63875cc84821bbd6ef70556868f33a6aece33b9882b97cb9e32536ebfa536a71b9113e95b1b72b80c4f1348434e43c6 DIST genpatches-6.4-13.extras.tar.xz 3696 BLAKE2B e2e9014e497de63eae5dc5d644e1ef27fc2fda99379b881af096874bf25f269212bbd811781f3fc63fa896285e78cb9c41717392e59bfa62c039dce58ed11f86 SHA512 ffa3f9043767ae00e18b1d5313df6312d179b0d9e2b224d7b1097cbdc9c48f56615a36425ae1fd00680caed085420e438deb4fd331a37cd4397a814e542d6fa0 DIST genpatches-6.4-14.base.tar.xz 765548 BLAKE2B e1d9bc63a0d8beeeeef9894b264ef4d8078bf57a3548548c08e75e699420731cdfdcf9df69ab6844a57563f24d806c96c27c9a158a7f6a1afa72bf8328ce60bc SHA512 5ee620824e0c17146add7f9bfd1d3444e5eb497444c040dc0f06a7ba247e81fc30eb8c92896ed359c7192690f24a1c45bb3b767bc408e9430ad9c7095ca2be40 @@ -11,5 +13,6 @@ DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b DIST linux-6.4.tar.xz 137794856 BLAKE2B b59eb04a8715af9f686978812e6d4a466172bb859f80657076de14cd0828b4fac15b688ff8959f5c65485f7f6bef26590412c66821e720de843cb8666f226c90 SHA512 11a48b25e0b513782d3b89101c2ec8dd9cefd6ce08dc63a91137903b66392aa72ca1fe32816710673af84dd47de3ab8738056a6af93dc0d5e60ef4b869b49928 DIST patch-6.1.46-xanmod1.xz 2494048 BLAKE2B fe1684f53708d0e2706db4b75502aeaa125293a36606485d080afc70a9dc1618934d3f09e1d25372228ec92f45ac954395a086b3f5c3ecfb1d4ef4b6a68df932 SHA512 666ce47be7df1bd72e18358c393779f3d5a244d79a3c972f48e8efe4f8c81d67a471bcddac082841fabafb902dc4dc1de426bef2a12ef4b6f481b15d56ad8f5f DIST patch-6.1.47-xanmod1.xz 2530012 BLAKE2B 4415d01da127af74485195aac5af1214fb685ad94ad09336f5a6407f9f3a8a9a2187499c006ab52b1740d249352cad48fbd9e9db294738cf350df0b85aef7a73 SHA512 b78f7e4e04f358746481d117f6b186f6d4bd8910d93b77a4850d2209b738ab425ceedb05c21aa004c58aa83599bbc5fa7abf71b0639f86f6547fbbdea1ab798a +DIST patch-6.1.50-xanmod1.xz 2564272 BLAKE2B 007ff683f21845f8a8cbb855c6692c89687f11ed34fb0b8314a08d2d5533657fe76acb114362564740c5acd320a7e6aca46c1980e1cd5e4de3f30cdce0d4387f SHA512 99314257ec9e209f5274ccf45af6ee5508cebd5ac4195a5c7be52c38017d7c287c58d47c5c2fff99d9fa02fea81114d975e30b0621c7d27f189b62fdb8c758ac DIST patch-6.4.11-xanmod1.xz 832920 BLAKE2B b478f99d8b913a7d2c47760f58ec342df2923d5717977df1d2d373f29b620f1b42288a5972a88d4772fdc5c7e30bb53ecfea392546ceb778cd22ad94baeed124 SHA512 70af2bf9e1a0cab7542fa2f5cff48ebe49ea47bf438086b932975832f02ca65cc8f1fc4b1c436c08c54867e74a1c30a3802b0b9f4073600d405ec6a778782590 DIST patch-6.4.12-xanmod1.xz 884548 BLAKE2B be0e56b5332401ffc61d738501b00d68dd6945d9660de50c25434a1484060754726bd0b32e7933ed037ed8cbcddabd5e357001df0bd45b9cf53aa27fbe0cc63f SHA512 ed88e380375d9fe89bb57c26c616d6b77c3a5f56d5c502291f64a3731cb992719f3f0550cd387ec584fbd047c2b53983276d108fffe3670b4f758c8e6dea0ca3 diff --git a/sys-kernel/xanmod-kernel/xanmod-kernel-6.1.50.ebuild b/sys-kernel/xanmod-kernel/xanmod-kernel-6.1.50.ebuild new file mode 100644 index 0000000..7cdc3fc --- /dev/null +++ b/sys-kernel/xanmod-kernel/xanmod-kernel-6.1.50.ebuild @@ -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[@]}" +} diff --git a/virtual/dist-kernel/dist-kernel-6.1.50.ebuild b/virtual/dist-kernel/dist-kernel-6.1.50.ebuild new file mode 100644 index 0000000..b9a20a4 --- /dev/null +++ b/virtual/dist-kernel/dist-kernel-6.1.50.ebuild @@ -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} + )"