diff options
author | Joonas Niilola <juippis@gentoo.org> | 2022-01-06 08:43:34 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2022-01-06 08:43:34 +0200 |
commit | 2986f8cf457b74f271eb74e95bfc4ddbf8a1a10f (patch) | |
tree | 3ac935e3544e647f09a9f483c4a746219881353a /sys-kernel | |
parent | x11-wm/enlightenment: add a note about the weird slotting (diff) | |
download | gentoo-2986f8cf457b74f271eb74e95bfc4ddbf8a1a10f.tar.gz gentoo-2986f8cf457b74f271eb74e95bfc4ddbf8a1a10f.tar.bz2 gentoo-2986f8cf457b74f271eb74e95bfc4ddbf8a1a10f.zip |
sys-kernel/pf-sources: add 5.15-pf6
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/pf-sources/Manifest | 1 | ||||
-rw-r--r-- | sys-kernel/pf-sources/pf-sources-5.15_p6.ebuild | 76 |
2 files changed, 77 insertions, 0 deletions
diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest index f7028f2277ba..dfe4cddf54fe 100644 --- a/sys-kernel/pf-sources/Manifest +++ b/sys-kernel/pf-sources/Manifest @@ -24,6 +24,7 @@ DIST pf-sources-5.15_p2.patch 4107461 BLAKE2B 57c31ff106c78b97a2b131c66146f176a2 DIST pf-sources-5.15_p3.patch 4539285 BLAKE2B b723ec41f7ad6177b629dd736ec8e5d70342149a636be3457dae9e3d25e0afd65bcab12938b67eb9779c85a9e21d29e7c03cf4c32e545a564e010d2ae8bcdf96 SHA512 b38865fdebdfce0c23fd570b149d4d810cdd0cd8d732a926a9a353569233a94a4beaecca6aa33f7c6c1cd01bc6ebc8bbac67bfa1f6fba199fc9523e961e377f2 DIST pf-sources-5.15_p4.patch 4939937 BLAKE2B a974637fa650136525513d84c492be62a90f0ab485456de20bf93d0642f690dd26e69f38de2f804447074ff3f3da19ed7fb9518cf9157b617239ec1ae0f4e87d SHA512 0f2954b2b113ca0917f52602daf16450cd9575753840084df810c7c29c7c08dcbfcc51f2250cc23c0cc512a08ab407a9e3a167d17eba033b0b8569132d37dd55 DIST pf-sources-5.15_p5.patch 5462746 BLAKE2B de7e1aeb7f2a99d3c79c71b6ad56776d828f81759aca08282916a5c67d1f91ed62fbbf83b429269bb09a5b3be499bc73f8f70ca468782ff46b02557d47f51ec3 SHA512 2fa8592b0c012b52c4f0ebc6b75d0108f219954f719f40c7beac91b837cdb419c3a1d4c2c904d60f80eecdcf17c853089f147f399e96ba19dde49eb28baef248 +DIST pf-sources-5.15_p6.patch 5753774 BLAKE2B a56166b285b5c8cfb1697f5180584ed025e34a42b5b96dbf58c2aa14ba9d8c21b5dd6ebc6054bc198c922348ffe3613138baa75913dd9a8c43f3868dd3e18a48 SHA512 c42a434efcee22f4cfc42cc35a7a39e2467b1cf82046dc0fab1294086dd1b6307cb641c6ac709303b9f8c88cd744518d66b20fbdf140917976d50a17958aa8d6 DIST prjc_v5.13-r3.patch 257137 BLAKE2B 22e05106ee91f104c69f8d11fa4072b28910b8202388a1778ac498f5128f8b93e6465c3e1ef0d9393aa5d01bfc226b3d6463fbba9e463305381a45cb5f015fa0 SHA512 d7dc67a9913d0d7723a616a11db2ab0798e65a6c2dfb99990bc2a4287c0c2e2eab72d17cdc3f93b884f006844f576379a9d8617b7e491dad278f3880d372bb17 DIST prjc_v5.14-r3.patch 258757 BLAKE2B 27cd56595a131b7c9a45429d775ff3a0eea79f95674711acf0c0688716a0952150f335540457dc7aab05ac92c58e32e576ce3d392c7e0df51c93be28b17522b6 SHA512 9719b022a1798a7909cd7160917816c40310eb42fa4144f7b122dd57950c1088f2ab6fb9202f30591d7b793c6634a7b97e77af2e192043b95ae44751451af7cc DIST prjc_v5.15-r0.patch 266816 BLAKE2B ba2c15b074fac3cb01eddb1099b6292077aaf7af1de4721b365b8da40895c61388081ee164bbcde938fdcefe17eea292c56a175da0a23591ffc7a6c3680d86ae SHA512 5da7ac4a3e9ea8e9e1d37403d688369e5ffdc2340bd60eabf36368a4e134713ae1011f728ea79f44ff5d2ab2827adf69e5d05db3431b73e8027238f5ea68a49f diff --git a/sys-kernel/pf-sources/pf-sources-5.15_p6.ebuild b/sys-kernel/pf-sources/pf-sources-5.15_p6.ebuild new file mode 100644 index 000000000000..282b2e2752a6 --- /dev/null +++ b/sys-kernel/pf-sources/pf-sources-5.15_p6.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# Define what default functions to run +ETYPE="sources" + +# No 'experimental' USE flag provided, but we still want to use genpatches +K_EXP_GENPATCHES_NOUSE="1" + +# Just get basic genpatches, -pf patch set already includes vanilla-linux updates +K_GENPATCHES_VER="2" + +# -pf already sets EXTRAVERSION to kernel Makefile +K_NOSETEXTRAVERSION="1" + +# Not supported by the Gentoo security team +K_SECURITY_UNSUPPORTED="1" + +# We want the very basic patches from gentoo-sources, experimental patch is +# already included in pf-sources +K_WANT_GENPATCHES="base extras" + +# major kernel version, e.g. 5.14 +SHPV="${PV/_p*/}" + +# https://gitlab.com/alfredchen/projectc/ revision for a major version, +# e.g. prjc-v5.14-r2 = 2 +PRJC_R=1 + +inherit kernel-2 optfeature +detect_version + +DESCRIPTION="Linux kernel fork that includes the pf-kernel patchset and Gentoo's genpatches" +HOMEPAGE="https://gitlab.com/post-factum/pf-kernel/-/wikis/README + https://dev.gentoo.org/~mpagano/genpatches/" +SRC_URI="${KERNEL_URI} + https://github.com/pfactum/pf-kernel/compare/v${SHPV}...v${SHPV}-pf${PV/*_p/}.diff -> ${P}.patch + https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${SHPV}-${K_GENPATCHES_VER}.base.tar.xz + https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${SHPV}-${K_GENPATCHES_VER}.extras.tar.xz + https://gitlab.com/alfredchen/projectc/-/raw/master/${SHPV}/prjc_v${SHPV}-r${PRJC_R}.patch + https://dev.gentoo.org/~mpagano/genpatches/trunk/${SHPV}/5021_BMQ-and-PDS-gentoo-defaults.patch -> 5021_BMQ-and-PDS-gentoo-defaults-${SHPV}.patch" + +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +S="${WORKDIR}/linux-${PVR}-pf" + +PATCHES=( "${DISTDIR}/${P}.patch" + "${DISTDIR}/prjc_v${SHPV}-r${PRJC_R}.patch" + "${DISTDIR}/5021_BMQ-and-PDS-gentoo-defaults-${SHPV}.patch" ) + +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, + see: ${HOMEPAGE}." + +pkg_setup() { + ewarn "" + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the pf developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds. Thank you." + ewarn "" + + kernel-2_pkg_setup +} + +src_prepare() { + # kernel-2_src_prepare doesn't apply PATCHES(). + default +} + +pkg_postinst() { + kernel-2_pkg_postinst + + optfeature "userspace KSM helper" sys-process/uksmd +} |