1 |
commit: 461b4fd557b12320f5d9bee5dd9518c0435a66fc |
2 |
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 29 06:07:40 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 29 06:08:20 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=461b4fd5 |
7 |
|
8 |
sys-kernel/pf-sources: bump to 5.10-pf10 |
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.10_p10.ebuild | 66 ++++++++++++++++++++++++ |
14 |
2 files changed, 67 insertions(+) |
15 |
|
16 |
diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest |
17 |
index 0ee39f39c15..d349d18ee44 100644 |
18 |
--- a/sys-kernel/pf-sources/Manifest |
19 |
+++ b/sys-kernel/pf-sources/Manifest |
20 |
@@ -6,6 +6,7 @@ DIST genpatches-5.9-1.base.tar.xz 4004 BLAKE2B 8a4577d42262fa901186acc60d28221d0 |
21 |
DIST genpatches-5.9-1.extras.tar.xz 1764 BLAKE2B 32d29f0448aef113ba9c9591c5d3b671d00d07abde9f35f365b48168887913bb2da95a8a52b852453307cabb111115a26178be4cbcc016e53a26a31f783a9df7 SHA512 df007dc98c1acdd31773f7dcf8aeb22812aa55e5593e8509b6a8762f2dcf06c95d69ad7cdce992e7a5fe730754bef26242acdc4e4da51ee29206fabb86c9cb0e |
22 |
DIST linux-5.10.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a9362d2adacdadd8d96251f61f7230878ea297a269a7f3b3c56830f0b177e068691e1d7f88501a05653b0a13274d1 SHA512 95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e |
23 |
DIST linux-5.9.tar.xz 115507140 BLAKE2B e8d11472d63a9f8409ca12a2e8c97c6963a3d4516b5a398b627d6ece565584526f9b5a1377a2fa4bd184c09c7db94c987428bc5d52df0c788464a67e9e8d6dcb SHA512 d3d92ce4246bad74c9a784212f160d98449b1e8793970c2c308276568d852b8effe0528686bdb87d55d691f09a826abf7938d69bdd4759ce65ddd5c05ffe4eca |
24 |
+DIST pf-sources-5.10_p10.patch 4844801 BLAKE2B d38596ac73cc10cc81d3ce742a587bf9de918c7fdda7aa721d3ff721d562339bc6dc3a97f361888804754c7182e99459fc312a9efaaa37b94b58b7f502539586 SHA512 377ab784d9dc138ec4482382c912335cae05e86be7dd47f13fe3df402f12a40d613f3e30a0067f01b682bb5ca4dfbcf9592cc166f0b42424af70a702f8651dcd |
25 |
DIST pf-sources-5.10_p2.patch 2555927 BLAKE2B 69684df6616e243f5bda273ce4fd30300cde82355e3e71ef3f265bbc2fe2f680d035875ce76e836c0ee432692b69736ada54026bedbfa4423826260b5c3e05a1 SHA512 cdcaa01a9b89b935ee7b3035516c38b69ed38b897e4566adc132416fdb1953f965c33471192a3e0c85187af8edc2f0645d65e324d7b591fb4e3cabda4b05126c |
26 |
DIST pf-sources-5.10_p3.patch 2588302 BLAKE2B 47a3aaa429b773edfa4f1a2eeb046648f57204a8b1985710eaf11d95baceb92950352b03e819250d59614b52e8315758a78e72a646f4bedddc5674c2571a06ab SHA512 3701656ddb88b59bb816b96c8b986f9abf4087231dac7ef2c07f1a406e8edbffb7da6e0099ff0ce3a9f73557c96984e8e7b6a9cc69d4cd129d7f7e05535fee1f |
27 |
DIST pf-sources-5.10_p4.patch 3769450 BLAKE2B 5f470380efe3224150267125022012553daa36aea6bcc62d7df28a78a0f091aef925f6a2964d11e68877750b25ef5449a7d87577db30068d417106e6a76dd396 SHA512 8c0f0f48ff19e2c93ab1a0ec0387ba59365c4b5dedd4d4b7f323ac0f24502862e6e2a50c8c3c5be911836392aefba3d1c99b2fe1bc2ec8849ffff9c72a4dff2d |
28 |
|
29 |
diff --git a/sys-kernel/pf-sources/pf-sources-5.10_p10.ebuild b/sys-kernel/pf-sources/pf-sources-5.10_p10.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..223e79a03a5 |
32 |
--- /dev/null |
33 |
+++ b/sys-kernel/pf-sources/pf-sources-5.10_p10.ebuild |
34 |
@@ -0,0 +1,66 @@ |
35 |
+# Copyright 1999-2021 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=6 |
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 |
+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${PV/_p*/}...v${PV/_p*/}-pf${PV/*_p/}.diff -> ${P}.patch |
67 |
+ https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${PV/_p*/}-${K_GENPATCHES_VER}.base.tar.xz |
68 |
+ https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${PV/_p*/}-${K_GENPATCHES_VER}.extras.tar.xz" |
69 |
+ |
70 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
71 |
+ |
72 |
+S="${WORKDIR}/linux-${PVR}-pf" |
73 |
+ |
74 |
+PATCHES=( "${DISTDIR}/${P}.patch" ) |
75 |
+ |
76 |
+K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, |
77 |
+ see: ${HOMEPAGE}." |
78 |
+ |
79 |
+pkg_setup() { |
80 |
+ ewarn "" |
81 |
+ ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." |
82 |
+ ewarn "If you need support, please contact the pf developers directly." |
83 |
+ ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" |
84 |
+ ewarn "the ebuilds. Thank you." |
85 |
+ ewarn "" |
86 |
+ |
87 |
+ kernel-2_pkg_setup |
88 |
+} |
89 |
+ |
90 |
+src_prepare() { |
91 |
+ # kernel-2_src_prepare doesn't apply PATCHES(). |
92 |
+ default |
93 |
+} |
94 |
+ |
95 |
+pkg_postinst() { |
96 |
+ kernel-2_pkg_postinst |
97 |
+ |
98 |
+ elog "Optional features:" |
99 |
+ optfeature "Userspace KSM helper" sys-process/uksmd |
100 |
+} |