1 |
commit: bcc9d17118732466bed85a7b60cb4fb6c9ca43bb |
2 |
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 29 07:13:43 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 29 07:14:28 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcc9d171 |
7 |
|
8 |
sys-kernel/pf-sources: add 5.14-pf7 |
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.14_p7.ebuild | 76 +++++++++++++++++++++++++ |
14 |
2 files changed, 77 insertions(+) |
15 |
|
16 |
diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest |
17 |
index e2aebf995b5..84d3232b052 100644 |
18 |
--- a/sys-kernel/pf-sources/Manifest |
19 |
+++ b/sys-kernel/pf-sources/Manifest |
20 |
@@ -29,6 +29,7 @@ DIST pf-sources-5.14_p2.patch 4040142 BLAKE2B 6b41a69d8c9475ab5aab18de5cfc0e0321 |
21 |
DIST pf-sources-5.14_p4.patch 5657590 BLAKE2B e48ed2c8fe30e9a008bdcec98d8ff620e87977bcece927b6e8fc90fcbbe7692316ecb4759b1ac4b7928384a14680fd39aedb9607a533e436d239aca3922f0463 SHA512 490baec19f2de8951867ac355c23cc92ea7aa6f4f09dfc8baacc0dfcbcddfb5da8021549304b4030a97df1bd615fbccc2b5869593a47450eec339fd074a694b2 |
22 |
DIST pf-sources-5.14_p5.patch 6029195 BLAKE2B f64b148b26846574490fc81cde2de3e46e452c566673a1e89c2cbd7078415b735d77a5dce9a86239c0ae65be63fe5c0b7b037e5bde39a909a39bd79a47d17d77 SHA512 4ed4c5101c333f9129f37ad2495499a1b1da85fff87061bfccba58216e9749063dd8dc7d2d303c80feba3d83d86f318166392fc98a0b557e51a6acf6308532e0 |
23 |
DIST pf-sources-5.14_p6.patch 6286097 BLAKE2B e08a47900f8c3dd64fdcbd58056e4c69d13c39635b78bcfb113d799fe6c7f0d949d05cdacd988bb62c469380e21a1b9acb221456818be3f2770ed53d66bb651f SHA512 35b7b43386fe6b4066c20085d2984acf3b5b598bcfa4835befaf970d4b4fad3d2be09bb9a83d1739f826cc149070e6b893856eaa2b1c0a3343ed094c44d6c10f |
24 |
+DIST pf-sources-5.14_p7.patch 6639505 BLAKE2B f458bb874ace039b4c29ea33b1f4f16ce5db3c73a7a8b3ac8fc17d90df1d63e5da8c7847915ea9a29f6eedaca8e1c088fd2af5d254efe008fe1d1bc0c104101b SHA512 0e17495210444e3779aaee47dd635cb6126e8263a82b8a2821333b9d6519501960b31ce8e694d4a7bc3779b10aeda04af1813a0afc258a8d52617728e4b61e5c |
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.14_p7.ebuild b/sys-kernel/pf-sources/pf-sources-5.14_p7.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..6454ab5d9c2 |
32 |
--- /dev/null |
33 |
+++ b/sys-kernel/pf-sources/pf-sources-5.14_p7.ebuild |
34 |
@@ -0,0 +1,76 @@ |
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 |
+# major kernel version, e.g. 5.14 |
60 |
+SHPV="${PV/_p*/}" |
61 |
+ |
62 |
+# https://gitlab.com/alfredchen/projectc/ revision for a major version, |
63 |
+# e.g. prjc-v5.14-r2 = 2 |
64 |
+PRJC_R=3 |
65 |
+ |
66 |
+inherit kernel-2 optfeature |
67 |
+detect_version |
68 |
+ |
69 |
+DESCRIPTION="Linux kernel fork that includes the pf-kernel patchset and Gentoo's genpatches" |
70 |
+HOMEPAGE="https://gitlab.com/post-factum/pf-kernel/-/wikis/README |
71 |
+ https://dev.gentoo.org/~mpagano/genpatches/" |
72 |
+SRC_URI="${KERNEL_URI} |
73 |
+ https://github.com/pfactum/pf-kernel/compare/v${SHPV}...v${SHPV}-pf${PV/*_p/}.diff -> ${P}.patch |
74 |
+ https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${SHPV}-${K_GENPATCHES_VER}.base.tar.xz |
75 |
+ https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${SHPV}-${K_GENPATCHES_VER}.extras.tar.xz |
76 |
+ https://gitlab.com/alfredchen/projectc/-/raw/master/${SHPV}/prjc_v${SHPV}-r${PRJC_R}.patch |
77 |
+ https://dev.gentoo.org/~mpagano/genpatches/trunk/${SHPV}/5021_BMQ-and-PDS-gentoo-defaults.patch -> 5021_BMQ-and-PDS-gentoo-defaults-${SHPV}.patch" |
78 |
+ |
79 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
80 |
+ |
81 |
+S="${WORKDIR}/linux-${PVR}-pf" |
82 |
+ |
83 |
+PATCHES=( "${DISTDIR}/${P}.patch" |
84 |
+ "${DISTDIR}/prjc_v${SHPV}-r${PRJC_R}.patch" |
85 |
+ "${DISTDIR}/5021_BMQ-and-PDS-gentoo-defaults-${SHPV}.patch" ) |
86 |
+ |
87 |
+K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, |
88 |
+ see: ${HOMEPAGE}." |
89 |
+ |
90 |
+pkg_setup() { |
91 |
+ ewarn "" |
92 |
+ ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." |
93 |
+ ewarn "If you need support, please contact the pf developers directly." |
94 |
+ ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" |
95 |
+ ewarn "the ebuilds. Thank you." |
96 |
+ ewarn "" |
97 |
+ |
98 |
+ kernel-2_pkg_setup |
99 |
+} |
100 |
+ |
101 |
+src_prepare() { |
102 |
+ # kernel-2_src_prepare doesn't apply PATCHES(). |
103 |
+ default |
104 |
+} |
105 |
+ |
106 |
+pkg_postinst() { |
107 |
+ kernel-2_pkg_postinst |
108 |
+ |
109 |
+ optfeature "userspace KSM helper" sys-process/uksmd |
110 |
+} |