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