sys-kernel/xanmod-kernel: Bump genpatches

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2023-12-02 11:29:21 +02:00
parent ca0226bcb3
commit f6f92acf15
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
4 changed files with 243 additions and 0 deletions

View File

@ -2,14 +2,20 @@ DIST genpatches-6.1-70.base.tar.xz 3972184 BLAKE2B 4fecbaed663f02725423386867efc
DIST genpatches-6.1-70.extras.tar.xz 3816 BLAKE2B 24fceb3a4d3482fe840ec8053badc22d06a8eb0091af745991ec729bde2dd99202122c149fe39553e3a0cc4e853c6d97d084d24a759172c643ceed829f2f6cf9 SHA512 381d9c79faf43a9c26991a3064096e90e7dbf027350c299b3a0afba6248b4cff4c7c58e6667528a33d77ed3b8e91516cd018f0aa4c9ae340bb441218e681a5af
DIST genpatches-6.1-71.base.tar.xz 4056620 BLAKE2B a33fe2f631e5fd240a519b1550c56986f236bd9034c1e6497da3b285332fc1429712716907d3246b00dac338ad1488b65c219e992fb35d2c8a1e2db35e3ca4ef SHA512 5e01e2a12719cd56ec0bab862eafd1409e637bf24da8ffabd31bdcee497b41466ad971cf229946a5bff116e71a224cf25024c47c74b00c16444302d25baf58a8
DIST genpatches-6.1-71.extras.tar.xz 3816 BLAKE2B d52f8ef239c4bf9b7b21a48104025d0d2a54e567bd0dabc6fa2f71eaa16b5ad43040443623b3608f747d555b71325c64119f64a9f174ea47a6aab26325bae16d SHA512 51bc2d01212064a162867b51525f58dfcc44f21157919b85b676fae7426a0920635538bc8d1df22860f81681ba50316eabf57db00654e73d0b60912e4ef3a6fe
DIST genpatches-6.1-72.base.tar.xz 4057544 BLAKE2B 7af6ca30c523e00f1f30f97cf29c4ede16f83cff59669c2eca781e9115f9aa4b3469fdfddb2625302f52e56c573cf9f36737e7887b7caf3c6825473ac3e6eb0f SHA512 fff5387e2b60164d70facce3e3d8c6c8aac12563b0c2c0732a25464246d15197651c89903299953a72c0a38c8c2ec6948b7bf3c2c37a6b0e30921dbdb45200c8
DIST genpatches-6.1-72.extras.tar.xz 3816 BLAKE2B a6de63bb21ba7a7f5ff88dde6eda62b6af5a2d205cf8072c88027f877b96f44c02465e825dfd13f503a636706f34d4fc0a11c0c71fa8a3c4059deca6f49da539 SHA512 736cc3baa53c31b8f93746677ec1e72616df48d58fb28d5e59b58c0004c484cfe1400bb5b23aa2c696923beeb1661bbbaf0fd8326e925ad486a0278e6b35f5e0
DIST genpatches-6.5-14.base.tar.xz 905872 BLAKE2B b8fff1e8a9a9c4d23e70597a7602c92017108d40b83f1c0411a00b5bb9bf2a41c31e7cdb0773c78bf40fe8cef131bb879ba80fe85c024b9725af7505ad87f8c6 SHA512 9166ab48252ea3cc7192aba8b2d4881ba608ec70f22e975477ad50f077c47ebd37993275b2927ca282a9fb1434479a56c82bbc26e4f8afee8b4e7c44e304dee0
DIST genpatches-6.5-14.extras.tar.xz 3704 BLAKE2B 21b8a21e4c86bf6d49a6eead8db5baaf2d1c4aaffc8ce6afb23a66cb1b3cc124e864e982d0d2bcf8d3edfdbeb58db71bec3de701db40027b56720969eda3f314 SHA512 f2f3cb5dc4535167448c426d22d8d49205c1474b8faad880306a317bafb3e40052689bf25942f1537c5c9188a10095fea45f4e259ee06739e8913b70ba9f13e2
DIST genpatches-6.5-15.base.tar.xz 1049440 BLAKE2B 642a12b693e6d9af8ffa3182336aa9ecb0924da610a19585b09b275c19a2cdef5e32454b7fd95f87b25d087f923c2020305fe0313e159ab609eb77343d3dc0c0 SHA512 4a0be3c3409f5e053044c06dacb627942050f66e2cc5200efa92661d71c8bd9d16663c7576fc4b63defa8f00b8cb34a24f70bf9ac5add6858205bbeede31e2d0
DIST genpatches-6.5-15.extras.tar.xz 3704 BLAKE2B 5d477a5328c365422ec0cd920aaf29c2af00c647ae00d45aef9211874ab8a462a2190983d3105ef90951c08b7eef83b4fa8ea862ba2ce70851aaedfdcc4f7264 SHA512 2192254b7fae30828a4b19a2a80042f8b6ff18318a2035ea443a8394fe6551c52d421bdd4e2821aecc70425146543eafa0222cdc2254773e5e6f1d9b03c98aaf
DIST genpatches-6.5-16.base.tar.xz 1050076 BLAKE2B 21e986d6a52db8b7bfb02f247d39e03bb3fcd6cd27564d86f519ea7fd3b48a7cebfb228ef14a477b5d864318021e453254e0c928a8f2817628cab28d552b7f97 SHA512 0d10770ff3024d146c870afce97d1aeb880a163ec26171e7bab2e6209786d85965724c12132abfd6c5342a9e461850967dab79c45d71710bc318443bc7c51c87
DIST genpatches-6.5-16.extras.tar.xz 3704 BLAKE2B aeee3a46f5f29c87e0fc0fa26b50ade77b90b197b79c87a8f5f728b4d29f13acbaf04374219a0be04025bf4a12aabca4af7d081052ab1718240822de9f52790b SHA512 dbdc3b55553fff537539fc64e9e4c0c613db758a39038dca737d49d33d8a12e12087f265a6b260cd8cf3cfd1e2b6638f3f26029989a3e637ec57709404b90254
DIST genpatches-6.6-3.base.tar.xz 214140 BLAKE2B 8004fed867cbb854c681834b0d297336189a638cf4b2f513e3f78fba469e0f385ac02ad7cfd752ec351da1aea7698576a7ae7001fd2872cd8124d4e664cba0c3 SHA512 1d6f276b145b7ebb6dbf9064319ae64050ff613f495fefaa973c06abfebce23f176ca00988918812ce81610044ab840cbf77f3b015c43754cf2c1b905a516dcd
DIST genpatches-6.6-3.extras.tar.xz 3704 BLAKE2B b8d26172a7fe7a85bdb30d9812da3e76d9bc061597da43b66d514b6aa24fd1ca8047989196003488db13107002a727445fe6d5cc7160d795b9a6f0f2c43c0f8e SHA512 964a49545c37d981049f2471ca9a29609e491550018b248ed7cc2775e32974ccd015f116533d0468652c9ee3af0f16831cc5ba2ba4c68bffa4e250826b9b11fa
DIST genpatches-6.6-4.base.tar.xz 391588 BLAKE2B 8691843486b8451cd16cf35b2c9053f623276ddf9375d0a41daedb1305a8d463f5e5578e99678c193c0644745029a6e7fbaef7f9e830599dfa6b28fb59d3ac3c SHA512 cc1ba9cea75c42503c4d5dc48c41a4ae11dd05396b15e4ae8efee649c6c59a779fb5efb39e5a5b1e7b9dfaecd9b75ffe130c7650ed473adc2a7bef7bdd71400b
DIST genpatches-6.6-4.extras.tar.xz 3704 BLAKE2B 975ae6464f9583b51a14ce7276ee16bac1ac1facdf085b1dc7e8501a100bf5a7766dbfe37065d803d8c8ded68e3b657eafdd23be166ee5240cc67baee5089850 SHA512 9056a41cc5911f4857661d854d8b048307a4837cecde5c573a05750126392b8f64ab622ae3ca22694fffe49b1001cb2799a0e3a5b6b681c0e8aa567096619d89
DIST genpatches-6.6-5.base.tar.xz 392288 BLAKE2B e6a9bf0886ad85754ec963185fa9204967b35c30450316ebde163c3376106db0aa75f44aac0e66fddfd487371cb37a2c5ec70bbf14bd7006369a73d1360d7880 SHA512 13833e3963fbd1ebd246c9290cfdf15dd9d62869cdcde7fb03688eba9260d2a0b8729c153d5eebd886f6e5c3b555f20764c8f8aaa36826f2823f1b97f1a8dd21
DIST genpatches-6.6-5.extras.tar.xz 3704 BLAKE2B 739d6f239b679f80f74475f10ae3a9e613558f93275b745cbc0d8f912e00d6b9a5753ad62193b20fb4401806c315782dd1ee33336434058e4fe0f5e7b90a124d SHA512 149c0eaadc4575c839517dc8e42a5fbc91b896b22e43f21c057ea91240b05936ea7c32e2f8b9bd7c4d7d2bf2dd11abcd41185869837c160e7f8953dd7b3c150d
DIST gentoo-kernel-config-g9.tar.gz 4981 BLAKE2B 1881cb550ea9e274cb5bcc3bff5b1aa6f28bc218a09825c5ab3ba2bff4ee1826398c9fbecc513b6dd20d195fd5cf26e1e7c631bf66100ab1887705a8e04fc79d SHA512 9dc2f30a33aa19fed3006e93330210c9db613febd842467e40d51c47eccac1dbdcb5a7037e9174e92c29e2a85a52ef2c31bbe2a8cccc7a22320b3dccb8aab17a
DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68
DIST linux-6.5.tar.xz 138898084 BLAKE2B 2e641b79a080e8f4ce283bcf6b74e2c6f15a374367f1c4c875c663868dbe801317340824fb3adb46b3a51d3b7e1f67cc4e8144d367621ec43ffba5c4eb8abb39 SHA512 1b59dc5e65d4922c3217a8c8f19022dfd6595ae89747861d825bfeb51a4ae6c85449d05db69635a712bef7b355b80318195665582d8933b1fed6ba582f6ff257

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##*.} + 8 ))
GENTOO_CONFIG_VER=g9
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##*.} + 3 ))
GENTOO_CONFIG_VER=g9
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=g9
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[@]}"
}