1 |
commit: 09c23000a1d405dc84117ee2d95679dc996121d9 |
2 |
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 4 06:16:36 2022 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 4 06:16:36 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09c23000 |
7 |
|
8 |
sys-kernel/pf-sources: add 5.18-pf3 |
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.18_p3.ebuild | 74 +++++++++++++++++++++++++ |
14 |
2 files changed, 76 insertions(+) |
15 |
|
16 |
diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest |
17 |
index e555ee46909d..291e08de966e 100644 |
18 |
--- a/sys-kernel/pf-sources/Manifest |
19 |
+++ b/sys-kernel/pf-sources/Manifest |
20 |
@@ -14,8 +14,10 @@ DIST pf-sources-5.17_p5.patch 4028503 BLAKE2B c1694083cd03ee1312e12ff87d60d3b772 |
21 |
DIST pf-sources-5.18-pf1-add_missing_includes.patch 1412 BLAKE2B 114dc25880c20a3e85b0a62ae7b97bfd5ca209e591122a9f45a6bc403ca6e514f0217927feeec2aa467a5df936a3dd5681a5f29db906aa1c8cd366cde86f8e46 SHA512 a6c10a698bde3be27f29d4301e0b633e677a46dd0af603119fd63ce282b4cfc2c49f6f74ffd1f52abcb8cbed8c449bb6ad6205395715b463631875a404300bd8 |
22 |
DIST pf-sources-5.18_p1.patch 901718 BLAKE2B 6e38debba1d34c1ac96a36e3b822da8a953c81cfa6c33f5c0117cad51bc376e202d56270d3a7fb90e315d015c4ec2146aa1f10b486a91e47a78ee16a26946b70 SHA512 5dfc259108653a0b976bf68533dbdd11bfbf24b6c52a4bf757cb06789c91b1ac739b0da82b7b2da8fd1794083d04f97bbb9a0fbfb2bee9c5f025a7931fc10b40 |
23 |
DIST pf-sources-5.18_p2.patch 2866009 BLAKE2B 2157ab316a0fc27909820b8ba3136ab0b3907230387e03aae05f9f125092aa8d1ffa67c2a8b3b5afba9356ef91bc14e9bc28511283edb551183c8bebc88f2738 SHA512 3d1bba278294e7954db56284b04e197316f57c6f43583215d966a03333cc2252f42c482206d9557761f5d5f114d69c06604f16723d6586c025d5176ff4bfee3e |
24 |
+DIST pf-sources-5.18_p3.patch 3359909 BLAKE2B 7c7c5b1d1e657c3a5589903d18d1cfe677dc4798afd89067b7b8764c5636580aa6044943791ad5922896198d1cc78e5cc26ebbf10e60bb5277f61d7bfa04937f SHA512 fe6fc6eadc8a5aeffa21567f80fedb2406134bef00765a0e7605c50e90ae7a7e9d8c74eb52848c88b31dc6feefc9faa41df95d65caf184189ad681b5c0797df3 |
25 |
DIST prjc-v5.16-4uo.patch 270113 BLAKE2B e88ec884ec8a539f9acc55844193d98c009d820bf18d8a6ca4dcb03d796897a15efc7006b35a736f31218895ffaf5cc83851a12f4db1b8e56b69ac8518347d02 SHA512 2f9eaef69d2125f6b23da3e597e2ed508266a93e3c3e1a0a04c1ba378448f8267a0985748b8de215c23fbbc62820a46da47671ff2e3ffd77f41bcca79cc11436 |
26 |
DIST prjc-v5.16-5uo.patch 268223 BLAKE2B 3c0b89e36abaa95889d00abdbc8f3151fdd6fe0ed1e496730ed066ae22b68e5989c643441c69d733a920bf20149da6633e6a9e0b0062e997788919b10770eea0 SHA512 b95591e917d0b7b6b7fa7af62aac8f850aad7717e76f7ba17edfdb7ecbd53e31cf2c9409e1225f0aa6636564249c23a7f5c2bfc1e521cd1eec25a6e081b2122c |
27 |
DIST prjc_v5.17-r2.patch 269135 BLAKE2B 75c53846e39333523d53beefa4f1a2873d06595a701bd60ea6645f108dddfab7e5a543ff0e95a6b4bb43bd9eaa1e6e75c12a9926431b4e0fd22df7290c16b2b1 SHA512 05e826ebc234f93bd96c467ffe2e9f0b0876950fb5355f1c0a8470793b85834f5dc638e85b65b1c9558d086b0d620735837502478763882321f64aff66388065 |
28 |
DIST prjc_v5.18-r0.patch 271872 BLAKE2B 587c8db594e5923cd61bbbcb1a8c738681c34b9e57c04fa5d4dd7418038db15b912a8104b39267576a114d5e69721a4e680f662c077efaa0a8f5992f3923c6d6 SHA512 7c27134da1ece56f92a3dd540bf4163c38f2fa47d2a01bf6d66358e337e1ad930b363bc25769b18e679d7845713605fde3f21c317c393a83de61bcf764a9a3fa |
29 |
DIST prjc_v5.18-r1.patch 270901 BLAKE2B 81000dd93c038389ab1bbe04e1e9706062244e70571da03388c2ab0d382bd817d86d8b12adfe607b49adf7bbab3624640a70ba6df2e97bd7f55f9d2def73e88f SHA512 1ae402b0fd4edec5d819e1a8cf0664b73de995f5b9975d2ffaf1f9d643713c539911cefbfb58c5952b27c6edc3ce3f572a3b83a1e491c3e35b15333f9222cd95 |
30 |
+DIST prjc_v5.18-r2.patch 270353 BLAKE2B 15d7ed7a0eb6f7ad37feaf52ab7c383e1c7c3e72fb41a767c8d1151a0ad41255c216ede1e4938a041f3b628874ed61398c61dd7b0e0b62090730f2fd0f6a70db SHA512 25c558bd6281a09bb611c6cca68084b27d0f2e290d2c0575e88b6a94322fad86de6dbeda30eb77919edd5adff921ad445593d9478f115ec93fa2e4c7ed6b5c1e |
31 |
|
32 |
diff --git a/sys-kernel/pf-sources/pf-sources-5.18_p3.ebuild b/sys-kernel/pf-sources/pf-sources-5.18_p3.ebuild |
33 |
new file mode 100644 |
34 |
index 000000000000..cd9fc6cae356 |
35 |
--- /dev/null |
36 |
+++ b/sys-kernel/pf-sources/pf-sources-5.18_p3.ebuild |
37 |
@@ -0,0 +1,74 @@ |
38 |
+# Copyright 1999-2022 Gentoo Authors |
39 |
+# Distributed under the terms of the GNU General Public License v2 |
40 |
+ |
41 |
+EAPI=8 |
42 |
+ |
43 |
+# Define what default functions to run |
44 |
+ETYPE="sources" |
45 |
+ |
46 |
+# No 'experimental' USE flag provided, but we still want to use genpatches |
47 |
+K_EXP_GENPATCHES_NOUSE="1" |
48 |
+ |
49 |
+# Just get basic genpatches, -pf patch set already includes vanilla-linux updates |
50 |
+K_GENPATCHES_VER="1" |
51 |
+ |
52 |
+# -pf already sets EXTRAVERSION to kernel Makefile |
53 |
+K_NOSETEXTRAVERSION="1" |
54 |
+ |
55 |
+# Not supported by the Gentoo security team |
56 |
+K_SECURITY_UNSUPPORTED="1" |
57 |
+ |
58 |
+# We want the very basic patches from gentoo-sources, experimental patch is |
59 |
+# already included in pf-sources |
60 |
+K_WANT_GENPATCHES="base extras" |
61 |
+ |
62 |
+# major kernel version, e.g. 5.14 |
63 |
+SHPV="${PV/_p*/}" |
64 |
+ |
65 |
+# https://gitlab.com/alfredchen/projectc/ revision for a major version, |
66 |
+# e.g. prjc-v5.14-r2 = 2 |
67 |
+PRJC_R=2 |
68 |
+ |
69 |
+inherit kernel-2 optfeature |
70 |
+detect_version |
71 |
+ |
72 |
+DESCRIPTION="Linux kernel fork that includes the pf-kernel patchset and Gentoo's genpatches" |
73 |
+HOMEPAGE="https://gitlab.com/post-factum/pf-kernel/-/wikis/README |
74 |
+ https://dev.gentoo.org/~mpagano/genpatches/" |
75 |
+SRC_URI="${KERNEL_URI} |
76 |
+ https://github.com/pfactum/pf-kernel/compare/v${SHPV}...v${SHPV}-pf${PV/*_p/}.diff -> ${P}.patch |
77 |
+ https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${SHPV}-${K_GENPATCHES_VER}.base.tar.xz |
78 |
+ https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${SHPV}-${K_GENPATCHES_VER}.extras.tar.xz |
79 |
+ https://gitlab.com/alfredchen/projectc/-/raw/master/${SHPV}/prjc_v${SHPV}-r${PRJC_R}.patch" |
80 |
+ |
81 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
82 |
+ |
83 |
+S="${WORKDIR}/linux-${PVR}-pf" |
84 |
+ |
85 |
+PATCHES=( "${DISTDIR}/${P}.patch" |
86 |
+ "${DISTDIR}/prjc_v${SHPV}-r${PRJC_R}.patch" ) |
87 |
+ |
88 |
+K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, |
89 |
+ see: ${HOMEPAGE}." |
90 |
+ |
91 |
+pkg_setup() { |
92 |
+ ewarn "" |
93 |
+ ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." |
94 |
+ ewarn "If you need support, please contact the pf developers directly." |
95 |
+ ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" |
96 |
+ ewarn "the ebuilds. Thank you." |
97 |
+ ewarn "" |
98 |
+ |
99 |
+ kernel-2_pkg_setup |
100 |
+} |
101 |
+ |
102 |
+src_prepare() { |
103 |
+ # kernel-2_src_prepare doesn't apply PATCHES(). |
104 |
+ default |
105 |
+} |
106 |
+ |
107 |
+pkg_postinst() { |
108 |
+ kernel-2_pkg_postinst |
109 |
+ |
110 |
+ optfeature "userspace KSM helper" sys-process/uksmd |
111 |
+} |