commit:     db7f8a0ff3e91fec3797cf44550d291373fd53c8
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 24 06:07:53 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Apr 24 06:11:04 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db7f8a0f

sys-kernel/pf-sources: bump to 5.11-pf8

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 sys-kernel/pf-sources/Manifest                  |  1 +
 sys-kernel/pf-sources/pf-sources-5.11_p8.ebuild | 72 +++++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest
index 2bdc4375900..f9e42edb174 100644
--- a/sys-kernel/pf-sources/Manifest
+++ b/sys-kernel/pf-sources/Manifest
@@ -17,4 +17,5 @@ DIST pf-sources-5.11_p4.patch 4443076 BLAKE2B 
294d1eb3ec09de6c5d6011913a8d831185
 DIST pf-sources-5.11_p5.patch 4598966 BLAKE2B 
8dc474e83816d698bceeba123ceef1c6d33eba551ff85cdc121d51eb2cfc4b81fd1b7fcb63a5254560b978368ec1b24bd9c49cef38432ba3ef956399f4d4e7f2
 SHA512 
296dda2e6fa1fdc8706ba1547122982e261f0bde82b80c423a2bd5f7b63d98113a75912fd64c630add18eb00f9d77dd1ebf3a0ebd33db985b30484b058d50547
 DIST pf-sources-5.11_p6.patch 5055069 BLAKE2B 
75ea4ce13e12762c282c51f07a4bf4553dccd864a004b6af3b2e4531795e0d05d510ca22f890344d692a63f177888a094e265282527ebfb6ef1ce3f11f192205
 SHA512 
68454152046bde1f412d2c2da8c30d9e57d856f28b2efc88b0038235fac04ddb32e009d2ea4bd75364fa6d17336ea445bf0fa5487846ec81f790add33544d214
 DIST pf-sources-5.11_p7.patch 5538351 BLAKE2B 
112f27ae4c640b5398dea06eb85b3f88518e9dfc94bcf104114cdd7d8a33a85c2decf32a696d8ce648c344cdf018af0b588b11785cb33394394a32f38b1d52db
 SHA512 
f957283309a6d2116c0f130e59e944baf3b91d72991e5f74317e8badc6962153deccf4ba376fc33ff50ddae2d6f1b1f2d3419c68a036ec8fc68e94cfcd11c789
+DIST pf-sources-5.11_p8.patch 5688583 BLAKE2B 
5d845677efd1d6ac95282d24223c7aa26d33ea74670b37184fda20dded42b5de1c4b4fd06f29afb12c8fd3372feb208b7d655c1dba3b60cfd1f4dc5cecfe5116
 SHA512 
62105aa308543ae5bb2e79be77dd77f3d4d3430669423c6e9e528acb114edf3b3a3cdcc2371ea566a6a51dbc16ebfba64187dabf485a96dea7c0127162173675
 DIST pf-sources-5.9_p7.patch 3027972 BLAKE2B 
9247ea63b30f9d42d79303b73a900d468a71e703333932f7f15ae697cdba52c46358297023e037226c219fad5df912fb5d21e6f4b7190556ca799fa84924480e
 SHA512 
c69e14f59bf98944b3329c65b7e2c271d74a756bc8c890130bf3cc68b4b96d31f1c33c4edb128580fcaefeb6e42dd04b1eb3d7f071b2d58bc764d26322bda8cd

diff --git a/sys-kernel/pf-sources/pf-sources-5.11_p8.ebuild 
b/sys-kernel/pf-sources/pf-sources-5.11_p8.ebuild
new file mode 100644
index 00000000000..892784a56e6
--- /dev/null
+++ b/sys-kernel/pf-sources/pf-sources-5.11_p8.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# 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="1"
+
+# -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"
+
+SHPV="${PV/_p*/}"
+
+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://dev.gentoo.org/~mpagano/genpatches/trunk/${SHPV}/5020_BMQ-and-PDS-io-scheduler-v${SHPV}-r2.patch
+       
https://dev.gentoo.org/~mpagano/genpatches/trunk/${SHPV}/5021_BMQ-and-PDS-gentoo-defaults-v${SHPV}-r2.patch";
+
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+S="${WORKDIR}/linux-${PVR}-pf"
+
+PATCHES=( "${DISTDIR}/${P}.patch"
+       "${DISTDIR}/5020_BMQ-and-PDS-io-scheduler-v${SHPV}-r2.patch"
+       "${DISTDIR}/5021_BMQ-and-PDS-gentoo-defaults-v${SHPV}-r2.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
+}

Reply via email to