From 52ae6670aed69078face2cbf21fde8ade166bf57 Mon Sep 17 00:00:00 2001 From: hedmo Date: Sun, 31 Jan 2021 22:04:51 +0100 Subject: [PATCH] sys-kernel/xanmod-sources:bump to 5.10.12 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andreas Westman Dorcsak --- sys-kernel/xanmod-sources/Manifest | 2 + .../xanmod-sources-5.10.12.ebuild | 53 +++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 sys-kernel/xanmod-sources/xanmod-sources-5.10.12.ebuild diff --git a/sys-kernel/xanmod-sources/Manifest b/sys-kernel/xanmod-sources/Manifest index 348354d..33ca345 100644 --- a/sys-kernel/xanmod-sources/Manifest +++ b/sys-kernel/xanmod-sources/Manifest @@ -3,6 +3,8 @@ DIST genpatches-5.10-1.extras.tar.xz 1768 BLAKE2B e99d5d2137d5752845ba8284a0dd57 DIST linux-5.10.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a9362d2adacdadd8d96251f61f7230878ea297a269a7f3b3c56830f0b177e068691e1d7f88501a05653b0a13274d1 SHA512 95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e DIST patch-5.10.10-xanmod1-cacule.xz 459912 BLAKE2B dfc0ee7527298412346aef8330fdb3a450f9f7a6ba5b3f53c3a5d0ecbf1400e36d99ede4b0aa8497669647409d8d9489bddf42d5eb1c176e57c4e06f3fb1d363 SHA512 d5183d07069ef81b74571ad704374cd6a1bdbb70ce0ab86e57d06cf38488364f1c10bc0c24a8b279cef3da603c1eba8f001f0160d9bc469d898768511172bef5 DIST patch-5.10.10-xanmod1.xz 452512 BLAKE2B 3c826cce43695439430a687d85eb2bcb73fff532f116c26171b4ec4e30c1eb1e6057ce91f2de17170ac2e53d85e62099741bad47cadaef0f3a062f2ff91e696c SHA512 0fcc0996232ea2ddff8a278d103629b8853be9f644014e2e74433e93c54509586bd63fbce466424bb48689575a5d59dbc78eb16fc2e3b7260bdb9507607773f0 +DIST patch-5.10.12-xanmod1-cacule.xz 515924 BLAKE2B ff36fe9df894a179372de5ee3c891a8be66949ad8fba964cde731f2d4976872004473ad67a407abb4ac230e7447dadbfd08d7ed92e3e53dbcf7e593dfa603613 SHA512 ca1e155bb57fce0446fccde5b86de41fe0e13a6c7a873573445ded2d9ef5bdc2ce23991fcc2a4afe8cb4f5772e00aeda9a7294257816616fc971bd4b0056e60e +DIST patch-5.10.12-xanmod1.xz 508588 BLAKE2B 273cef83b87d0a772db73683a5decc40addccd70e9d301b6fcc6da1d89e55c7df5af4d99135906daa4095e39d4dbb1561190ffbd3544d8899b581d6d7f3f8269 SHA512 5c13f2af2f8ee1f970ae5863069f2a1ba738b928aec13b9fe353aba8a1bf06860d8f8ff38986a7188034c20f0051ebad50021c8561e0dd8ebdd0712dddf9b2ba DIST patch-5.10.4-xanmod1-cacule.xz 286452 BLAKE2B fb2f5c389a1e0810837292bd476c1f57d202e8b22eb8e9fe4895a9954070442635f1a1e8f53b55a28b09a3702d319f43003d4762f1772ef9dfca11984d5323f2 SHA512 07ad37cb2e186874b6c78278abc9653a200cbc95ce1229ff2b93425afa14eeaacd96d9dd8da4141d341b2f2dba9de0d6b6c47922a6f713a325d9caef0a231466 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 diff --git a/sys-kernel/xanmod-sources/xanmod-sources-5.10.12.ebuild b/sys-kernel/xanmod-sources/xanmod-sources-5.10.12.ebuild new file mode 100644 index 0000000..7c84c31 --- /dev/null +++ b/sys-kernel/xanmod-sources/xanmod-sources-5.10.12.ebuild @@ -0,0 +1,53 @@ +# 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" +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 + + 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" +}