diff --git a/sys-kernel/xanmod-sources/Manifest b/sys-kernel/xanmod-sources/Manifest index 168670d..4b35109 100644 --- a/sys-kernel/xanmod-sources/Manifest +++ b/sys-kernel/xanmod-sources/Manifest @@ -1,7 +1,6 @@ DIST genpatches-5.10-1.base.tar.xz 3840 BLAKE2B 08ac1f83dc9a1cfc1d4cf0a3a5ab4c9d4686a80348247ec7cd1da6e49db92d6932a1864113f2631d5528a4ba732945b2afe73d03061bd3c532b3d1e4d9571999 SHA512 04356093c4df6a7ee0876b89be5b90f8bc90c920628e5fe69b5787ce82e003be05eaac142310f10f32d0549a6676af846734ae4ac188c2b96c2eca2cb0a6f4b0 DIST genpatches-5.10-1.extras.tar.xz 1768 BLAKE2B e99d5d2137d5752845ba8284a0dd57620851c3620603e871973af5841b54e9bfdde92ea2408ddedb55355f2c954c80641b06098060043916d2483e10cfb8293a SHA512 0034e5ab57cccb2e969a3b9e1f674614ca853779c552c37be9c5afb0a37112bf8f2c30e1b21832d56320c70c1d622081b60369c6a86fa737a23c3ed953267453 DIST linux-5.10.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a9362d2adacdadd8d96251f61f7230878ea297a269a7f3b3c56830f0b177e068691e1d7f88501a05653b0a13274d1 SHA512 95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e -DIST patch-5.10.1-xanmod1.xz 84852 BLAKE2B c3f41a05c92ca57d3e5117d8096d8180119a4d4bec7cb7adf9bad9afa4ed332128400ad17de7ed517fb2661f1356e954108aa786150748b99c5268f482541f6e SHA512 13b32629072c87eef98a42f10ef41040c48a8f01f33f4ce1042370672da107b3d11e73cc5ea437600622bea2116c856aade691ef95eef86181868c200161f8db DIST patch-5.10.2-xanmod1-cacule.xz 95684 BLAKE2B 3bc336813ce24e4bb7bd93d4969f555c8d27ff99c77366edbffabc969d197a306e496af49d5db846daf35f50a4c895c1b6567f66a54c644c2c9cdc23fbc96176 SHA512 6d6d83ef6c7ad53df10f43a094a7fa418267b7cb4722d84049685f2d7611839143636fd034ac25adcec25920c54c8b1faea3f36189443d8f164e0a13eceed888 DIST patch-5.10.2-xanmod1.xz 88392 BLAKE2B 5d19e9ea45f7dcd8c644c4055eacb1e46b64a7e1ca39ed5f5550e8c59546a93a54a918528b160549d5c534f7b461173a58826fa5d3b737a12455d39fbc31613a SHA512 3f39aa11747a74471e7aaca3a006092b3075a48c01133d2c01406150d16e598cd1f086e7699cb705f6d993b0f0e5bb6e9e1b977f52da254fb267e40fe082ea84 DIST patch-5.10.3-xanmod1-cacule.xz 106272 BLAKE2B dce12457218040d4788fccd2b0061014e18194b48b3de10d98eb3f783cc606c267185b66ff9283eae314793090350ff9bd868da6540cdc0fda43651078aeefdd SHA512 3fa141e26dddcd6db86ad999a4a2312dba2084a4b4e712806953d1d778761ad324abda16a19ca9c383b06feb103b75c15d5a1ec53a9a077b09220fbb70226f6c @@ -10,3 +9,5 @@ DIST patch-5.10.4-xanmod1-cacule.xz 286452 BLAKE2B fb2f5c389a1e0810837292bd476c1 DIST patch-5.10.4-xanmod1.xz 279076 BLAKE2B 49074b019705d001bf04358bf010dc0957c2b8917a38bc2e19a4e3a42ce5ce3820c0f9f60f7472c906244f91136d9412ebfe9774d4a0102692ab1560e344c89d SHA512 3f86b65fa856aa2e56255051efc2f523a0361435b8fc10d0f63dfa3bbda5021330278bf1952d971501dfd2c86e945a1c7c0b9af068a7f8d75053d10730319754 DIST patch-5.10.5-xanmod1-cacule.xz 338976 BLAKE2B 327af0edc5d62efdda58490dac449edfe0035e3eb6fa87726a38a549da12e416e2b501987fa258111425b2639b1a5468e8108cb791b5479f4de9e4eef8c85e4f SHA512 38c2a3f533d960b2bf1b2a42967ad56bb5692941a9531fe262fa96bc81c6fe923ab09dc7d7d0c9a009c074ec1fd17dc00b43400f16757e7ac9a8e8953b66eecd DIST patch-5.10.5-xanmod1.xz 331808 BLAKE2B d081db46f12e6c5a49865a2170f458910212b643c6a423c47910077259ebc897a54baaa7e4a3034d06a173260539a25b51ab6cedc1bfe54f63cf7430c8a2d71a SHA512 83e93bb6f424ee4fd53303c6432649a64ed44b4cc1a14af82b23a4593aa97a1404e847df51a9dfa8195c52e546683dbc9989904fdcbb2aee943c073a435dd9ac +DIST patch-5.10.6-xanmod1-cacule.xz 349164 BLAKE2B cb54f0e2c9a4a6a0f7066b3c0e0cbb561633eb74307f333bd44d98b41db77fca4b981d85ddf22adce6f2eff8b7a2fd46e72e1f11a59b643e1f169f0f114ec325 SHA512 3f3cba4e8eafbd1d9c05d86f8e1c6675a42d52b85c57be581c046d57cd6ae1a3095a07a482fd3b77f3f52299dd5508c4744bc5d92cd67aacf1a04740fc9cf206 +DIST patch-5.10.6-xanmod1.xz 342188 BLAKE2B 93cca375086b5a081cdcef69189a0bdbe710cad97755c91c823221aeefcf3ec4d514036460e49cd9e3939633e9cc96e0723d4673d3dfdf68d25fe8cc14e171ef SHA512 d421447f793661b72c676731c32c78a7c2c0873a891cc660566b6247ac0e1c7c3985cc37ead7edd7a89ffef51927e09e61c850f238277032974ebf517e99730c diff --git a/sys-kernel/xanmod-sources/xanmod-sources-5.10.1.ebuild b/sys-kernel/xanmod-sources/xanmod-sources-5.10.1.ebuild deleted file mode 100644 index c0df358..0000000 --- a/sys-kernel/xanmod-sources/xanmod-sources-5.10.1.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -K_WANT_GENPATCHES="base extras" -K_GENPATCHES_VER="1" -K_SECURITY_UNSUPPORTED="1" -K_NOSETEXTRAVERSION="1" -XANMOD_VERSION="1" -ETYPE="sources" - -inherit kernel-2-src-prepare-overlay -detect_version - -DESCRIPTION="Full XanMod sources including the Gentoo patchset for the ${KV_MAJOR}.${KV_MINOR} kernel tree" -HOMEPAGE="https://xanmod.org" -LICENSE+=" CDDL" -SRC_URI="${KERNEL_BASE_URI}/linux-${KV_MAJOR}.${KV_MINOR}.tar.xz https://github.com/xanmod/linux/releases/download/${OKV}-xanmod${XANMOD_VERSION}/patch-${OKV}-xanmod${XANMOD_VERSION}.xz ${GENPATCHES_URI}" - -UNIPATCH_LIST_DEFAULT="" -UNIPATCH_LIST="${DISTDIR}/patch-${OKV}-xanmod${XANMOD_VERSION}.xz" - -KEYWORDS="~amd64" - -src_prepare() { - - kernel-2-src-prepare-overlay_src_prepare - - rm "${S}"/.config || die - -} diff --git a/sys-kernel/xanmod-sources/xanmod-sources-5.10.6.ebuild b/sys-kernel/xanmod-sources/xanmod-sources-5.10.6.ebuild new file mode 100644 index 0000000..2c44f7e --- /dev/null +++ b/sys-kernel/xanmod-sources/xanmod-sources-5.10.6.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +K_WANT_GENPATCHES="base extras" +K_GENPATCHES_VER="1" +K_SECURITY_UNSUPPORTED="1" +K_NOSETEXTRAVERSION="1" +ETYPE="sources" +inherit kernel-2-src-prepare-overlay +detect_version + +DESCRIPTION="Full XanMod sources with cacule option and including the Gentoo patchset " +HOMEPAGE="https://xanmod.org" +LICENSE+=" CDDL" +KEYWORDS="~amd64" +IUSE="cacule experimental" +XANMOD_VERSION="1" +XANMOD_URI="https://github.com/xanmod/linux/releases/download/" +SRC_URI=" + ${KERNEL_BASE_URI}/linux-${KV_MAJOR}.${KV_MINOR}.tar.xz + cacule? ( ${XANMOD_URI}/${OKV}-xanmod${XANMOD_VERSION}-cacule/patch-${OKV}-xanmod${XANMOD_VERSION}-cacule.xz ) + !cacule? ( ${XANMOD_URI}/${OKV}-xanmod${XANMOD_VERSION}/patch-${OKV}-xanmod${XANMOD_VERSION}.xz ) + ${GENPATCHES_URI} +" + +src_unpack() { +UNIPATCH_LIST_DEFAULT="" + if use cacule; then + UNIPATCH_LIST="${DISTDIR}/patch-${OKV}-xanmod${XANMOD_VERSION}-cacule.xz " + else + UNIPATCH_LIST="${DISTDIR}/patch-${OKV}-xanmod${XANMOD_VERSION}.xz " + fi + kernel-2-src-prepare-overlay_src_unpack +} + +src_prepare() { + + if use cacule; then + eapply "${FILESDIR}/localversion.patch" + fi + + if use experimental ; then + eapply "${FILESDIR}/no_reset_on_migration.patch" + fi + + kernel-2-src-prepare-overlay_src_prepare + + rm "${S}"/.config || die + +} + +pkg_postinst() { + elog "MICROCODES" + elog "Use xanmod-sources with microcodes" + elog "Read https://wiki.gentoo.org/wiki/Intel_microcode" +}