Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/pf-sources/
Date: Thu, 22 Jul 2021 05:34:00
Message-Id: 1626932028.8f8694c9399c66ddb1d43de7bd6704ca37cfe9e6.juippis@gentoo
1 commit: 8f8694c9399c66ddb1d43de7bd6704ca37cfe9e6
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 22 05:30:45 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 22 05:33:48 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f8694c9
7
8 sys-kernel/pf-sources: bump to 5.13-pf3
9
10 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
11
12 sys-kernel/pf-sources/Manifest | 1 +
13 sys-kernel/pf-sources/pf-sources-5.13_p3.ebuild | 71 +++++++++++++++++++++++++
14 2 files changed, 72 insertions(+)
15
16 diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest
17 index e765f0bc853..db8f9f7621a 100644
18 --- a/sys-kernel/pf-sources/Manifest
19 +++ b/sys-kernel/pf-sources/Manifest
20 @@ -22,4 +22,5 @@ DIST pf-sources-5.12_p4.patch 5002181 BLAKE2B 6e018a8c9f4eaec7b565fb3ad38cf371a5
21 DIST pf-sources-5.12_p5.patch 5560118 BLAKE2B 4d47eee16ca58acb4aa38cbdde09742fed9575457dc2e90df00b0d0dc557a8f35156acb3777598a619834201c842d598fa2cb6087ebfe01722f5b67c85ce4bc3 SHA512 72d387fa0d76dbe6a5692a894de384adba6faf8e5523a849dd94d3d44cc12bbc07ae0b8c4a9da255cf4215488ef38987902698c62e191077c4613cf40b2faf63
22 DIST pf-sources-5.12_p6.patch 5790826 BLAKE2B 286f6311197cb12613e9a082896c08107153998dfc667f813212750e52c2cd5278e7e456b8658810442cb08c8559366b8d230a75a9db293f72f8a0db27285afd SHA512 ad8caafef8e9566ff9bf919dd7c4d8396f7ec8ea61e27b03451b24c2c007cf888de5f9dec9b9a4f3021c956d4cf4827af32db6a187c57248e6098e5574d48b5c
23 DIST pf-sources-5.13_p2.patch 2756507 BLAKE2B 8602f98e8fc857621418513956ed9103404d4e690420f3631c9c63ce4939a4cbdd4c05ddcc0c43c9db82369337e220c9bded31055b567f138249bf3e089eea95 SHA512 2b18e4b7d408b1cdb0c857e2bab71fbc9b20cc7616608f6056940ecb1318192539abfaf1147e663b7285085fee4d7c9117fe5a33e0db7ce0ef6e76ee27757169
24 +DIST pf-sources-5.13_p3.patch 5055786 BLAKE2B c19d0d447bdd6c8204a0c61a84592ee0d6f7fd09a4142af2f8cf9d075311dc7fbad94c78261415b6d8c0f8cc9ef408c2b8e35ee2780320b61e1050e332cdf5d2 SHA512 bff89ba11ab81b5ac3903bdbf271952a59ecf360d071a9c2c375c1eb4a4e2c478e354f7119e3ce97fd6996709d733cf305ab2ecd9eaf8655e414f0b55494da11
25 DIST prjc_v5.13-r1.patch 258898 BLAKE2B 013be3c3e9b342268359ecbcc10c7b95c7fe3741d2b9058db87da59d40aa9b34db898d31f1f1a0dab80598cab313499d8083ccea141c5200b5593c9d44647de7 SHA512 ad9276a80e28eec461a307ad44a1ed5acebf810b14ce8c9e6f1dc211be6ed7e72f535175fb65f3115fa217f8b635122c65c2c002ff00ba458c867d8bb6257f36
26
27 diff --git a/sys-kernel/pf-sources/pf-sources-5.13_p3.ebuild b/sys-kernel/pf-sources/pf-sources-5.13_p3.ebuild
28 new file mode 100644
29 index 00000000000..8dbab3d94ab
30 --- /dev/null
31 +++ b/sys-kernel/pf-sources/pf-sources-5.13_p3.ebuild
32 @@ -0,0 +1,71 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +# Define what default functions to run
39 +ETYPE="sources"
40 +
41 +# No 'experimental' USE flag provided, but we still want to use genpatches
42 +K_EXP_GENPATCHES_NOUSE="1"
43 +
44 +# Just get basic genpatches, -pf patch set already includes vanilla-linux updates
45 +K_GENPATCHES_VER="1"
46 +
47 +# -pf already sets EXTRAVERSION to kernel Makefile
48 +K_NOSETEXTRAVERSION="1"
49 +
50 +# Not supported by the Gentoo security team
51 +K_SECURITY_UNSUPPORTED="1"
52 +
53 +# We want the very basic patches from gentoo-sources, experimental patch is
54 +# already included in pf-sources
55 +K_WANT_GENPATCHES="base extras"
56 +
57 +SHPV="${PV/_p*/}"
58 +
59 +inherit kernel-2 optfeature
60 +detect_version
61 +
62 +DESCRIPTION="Linux kernel fork that includes the pf-kernel patchset and Gentoo's genpatches"
63 +HOMEPAGE="https://gitlab.com/post-factum/pf-kernel/-/wikis/README
64 + https://dev.gentoo.org/~mpagano/genpatches/"
65 +SRC_URI="${KERNEL_URI}
66 + https://github.com/pfactum/pf-kernel/compare/v${SHPV}...v${SHPV}-pf${PV/*_p/}.diff -> ${P}.patch
67 + https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${SHPV}-${K_GENPATCHES_VER}.base.tar.xz
68 + https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${SHPV}-${K_GENPATCHES_VER}.extras.tar.xz
69 + https://gitlab.com/alfredchen/projectc/-/raw/master/${SHPV}/prjc_v${SHPV}-r1.patch
70 + https://raw.githubusercontent.com/GKernelCI/linux-patches/5.12/5021_BMQ-and-PDS-gentoo-defaults-v5.12-r0.patch"
71 +
72 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
73 +
74 +S="${WORKDIR}/linux-${PVR}-pf"
75 +
76 +PATCHES=( "${DISTDIR}/${P}.patch"
77 + "${DISTDIR}/prjc_v${SHPV}-r1.patch"
78 + "${DISTDIR}/5021_BMQ-and-PDS-gentoo-defaults-v5.12-r0.patch" )
79 +
80 +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems,
81 + see: ${HOMEPAGE}."
82 +
83 +pkg_setup() {
84 + ewarn ""
85 + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."
86 + ewarn "If you need support, please contact the pf developers directly."
87 + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
88 + ewarn "the ebuilds. Thank you."
89 + ewarn ""
90 +
91 + kernel-2_pkg_setup
92 +}
93 +
94 +src_prepare() {
95 + # kernel-2_src_prepare doesn't apply PATCHES().
96 + default
97 +}
98 +
99 +pkg_postinst() {
100 + kernel-2_pkg_postinst
101 +
102 + optfeature "userspace KSM helper" sys-process/uksmd
103 +}