1 |
commit: a52bd0519ac46d14a7c30a14c9ff7e5174c19a15 |
2 |
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 2 17:57:05 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 2 17:57:05 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a52bd051 |
7 |
|
8 |
sys-kernel/pf-sources: bump to 5.9-pf6 |
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.9_p6.ebuild | 67 ++++++++++++++++++++++++++ |
14 |
2 files changed, 68 insertions(+) |
15 |
|
16 |
diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest |
17 |
index 9b6caab62bb..99026c9bee2 100644 |
18 |
--- a/sys-kernel/pf-sources/Manifest |
19 |
+++ b/sys-kernel/pf-sources/Manifest |
20 |
@@ -13,3 +13,4 @@ DIST pf-sources-5.9_p1.patch 35818 BLAKE2B c28c292b527c1116b927861dbcdfb948e1e7d |
21 |
DIST pf-sources-5.9_p2.patch 1222181 BLAKE2B 1a444ba68ade78f7862c474d52c021064ed78eefb68f03960ac9beb75edfc48f1da970cdaf06f78642d1d4d06fc266801228e184eafd211f3ae29811019ea8d2 SHA512 a2073d9a38fba54f32ec21fd4df928831649b80aa4786f2d58f7ce090d7f768abe2556e92c7af719c7bc8674bee5f940f2555bc5ba39b9528547e6ea5a819a36 |
22 |
DIST pf-sources-5.9_p4.patch 1978557 BLAKE2B 1863fbf17732dad7e6f96b2ddfb66b424cc4cf9649eaff06b9e043e763a6d7a5941a80f3a1d2b6edc9987da41b3e9eb346c1fd63422f14f5cee285fb2de12f0e SHA512 d08011d285cfc1db431a92de9e58f5c3bde3e556cbca3237a7fd9ca234b9598c34b71482d0a9ac117e1fa15860c64aaa60c61435443c7cfa0548a620fe992b16 |
23 |
DIST pf-sources-5.9_p5.patch 2334422 BLAKE2B e90fa94cc371995f36dda11b0d758c157254a4bf7f47ee31af34a83b6a4b6ebb3720d9bfaf752705c5cf3e2fd53cb7df1399654bdf20803c5a1a72e9c731aad8 SHA512 e562acccafa1ca2cd743ad20f5920a61607b27aa1310552e5a3cbf822668886c49ce020fd381d4ce987ec9f77f3c6e861fe83e697acfcbe2d0a5665619614cc8 |
24 |
+DIST pf-sources-5.9_p6.patch 2906787 BLAKE2B 23478dbafee1637661544d0deba45b619acadfc4a368b7f1530358450a0c4112556a779866a31de3b68f1bc1788028d408cc530b40fd1250e30c92f7b85f996a SHA512 eb31a8efbf80c1b22bb491b59b540a1cd3e03b8d20dd97a233b6ab118baa5d4ed7b4f3bd5c02df6ab268f1f38bee08c6219e0d2f88a73da73ee8897c75223b1f |
25 |
|
26 |
diff --git a/sys-kernel/pf-sources/pf-sources-5.9_p6.ebuild b/sys-kernel/pf-sources/pf-sources-5.9_p6.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..f2344adc15d |
29 |
--- /dev/null |
30 |
+++ b/sys-kernel/pf-sources/pf-sources-5.9_p6.ebuild |
31 |
@@ -0,0 +1,67 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+# Define what default functions to run |
38 |
+ETYPE="sources" |
39 |
+ |
40 |
+# No 'experimental' USE flag provided, but we still want to use genpatches |
41 |
+K_EXP_GENPATCHES_NOUSE="1" |
42 |
+ |
43 |
+# Just get basic genpatches, -pf patch set already includes vanilla-linux |
44 |
+# 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 |
+inherit kernel-2 optfeature |
58 |
+detect_version |
59 |
+ |
60 |
+DESCRIPTION="Linux kernel fork that includes the pf-kernel patchset and Gentoo's genpatches" |
61 |
+HOMEPAGE="https://gitlab.com/post-factum/pf-kernel/-/wikis/README |
62 |
+ https://dev.gentoo.org/~mpagano/genpatches/" |
63 |
+SRC_URI="${KERNEL_URI} |
64 |
+ https://github.com/pfactum/pf-kernel/compare/v${PV/_p*/}...v${PV/_p*/}-pf${PV/*_p/}.diff -> ${P}.patch |
65 |
+ https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${PV/_p*/}-${K_GENPATCHES_VER}.base.tar.xz |
66 |
+ https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${PV/_p*/}-${K_GENPATCHES_VER}.extras.tar.xz" |
67 |
+ |
68 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
69 |
+ |
70 |
+S="${WORKDIR}/linux-${PVR}-pf" |
71 |
+ |
72 |
+PATCHES=( "${DISTDIR}/${P}.patch" ) |
73 |
+ |
74 |
+K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, |
75 |
+ see: ${HOMEPAGE}." |
76 |
+ |
77 |
+pkg_setup() { |
78 |
+ ewarn "" |
79 |
+ ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." |
80 |
+ ewarn "If you need support, please contact the pf developers directly." |
81 |
+ ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" |
82 |
+ ewarn "the ebuilds. Thank you." |
83 |
+ ewarn "" |
84 |
+ |
85 |
+ kernel-2_pkg_setup |
86 |
+} |
87 |
+ |
88 |
+src_prepare() { |
89 |
+ default |
90 |
+ kernel-2_src_prepare |
91 |
+} |
92 |
+ |
93 |
+pkg_postinst() { |
94 |
+ kernel-2_pkg_postinst |
95 |
+ |
96 |
+ elog "Optional features:" |
97 |
+ optfeature "Userspace KSM helper" sys-process/uksmd |
98 |
+} |