1 |
commit: e987eb1bc158664830655ef0b6bb3f97e8f78dcd |
2 |
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 31 12:45:32 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 31 12:46:27 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e987eb1b |
7 |
|
8 |
sys-kernel/pf-sources: bump to 5.6-pf8 |
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.6_p8.ebuild | 71 ++++++++++++++++++++++++++ |
14 |
2 files changed, 72 insertions(+) |
15 |
|
16 |
diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest |
17 |
index 461784645e6..a4d0e352897 100644 |
18 |
--- a/sys-kernel/pf-sources/Manifest |
19 |
+++ b/sys-kernel/pf-sources/Manifest |
20 |
@@ -16,3 +16,4 @@ DIST pf-sources-5.6_p4.patch 848431 BLAKE2B 3313a8bb32b8b6bb79dd222796bd644a62cd |
21 |
DIST pf-sources-5.6_p5.patch 861886 BLAKE2B edf1ea471d36a0a2bd715fd8822dfbdad475642ab7896c4583184d8d15d050cdbe7875d12d881f8cc71ccc84149cfda4f20c3f9580d4a87240be5f3fab2c4563 SHA512 b1b560737e20ffe6495c9e87b3ba265d7ba8d494b0572b84db74c76c0de5736e0260c917cb7f43c33a08d611f30e94fe7d438d0cfb9ff05fea0d5bc870eb8665 |
22 |
DIST pf-sources-5.6_p6.patch 1218338 BLAKE2B 4317b9f195fed9e6ed0fee9532a6a878586e501c8e96b584449c18870b966f4e0a105eb3f54f904d1a4aadac3ca67a80d8613c675124ca09dc374d08138083dc SHA512 c760611142a35ddacc8b85520d7de3ed4c69e13abc6775ddd84bcbb58485b5ec5001b1444b858a48c68d4a9f417b4e1a7aab59913e34107987e7897be9bdf97a |
23 |
DIST pf-sources-5.6_p7.patch 1519043 BLAKE2B 73ad395b6437920d35a3a695e5adbfa311a4482632e8678daf55ca2e23ed00907be9af725dc1fe44039a66533a74bf98b0bfb15756f7d144ec08d2fc861e8846 SHA512 2d14c4f892433ab95bac2467ac805cb822888d792c005bc266e71a86bbc1131e59dcccee55514cae0d69c2935bbd6ee6bfdbd7bba32e306a8b568423b8d7bab5 |
24 |
+DIST pf-sources-5.6_p8.patch 1877703 BLAKE2B 07c39ade7484c84a2b9a496f989a0ff9241f5957cda64e9fc70c1f8a38d936531f648a12a5963288be5cc29a977f785cf97d74c1639b014083a486b3073b1052 SHA512 e9e18e120feceeb37d8405347a7df98174ecf28f0bb30be5882711459ac19ef0af81a2ba929634b907ee01fdfd4ae01bb73d832cac4a3e0ac15cec8dfd5c1e61 |
25 |
|
26 |
diff --git a/sys-kernel/pf-sources/pf-sources-5.6_p8.ebuild b/sys-kernel/pf-sources/pf-sources-5.6_p8.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..e140e5f7329 |
29 |
--- /dev/null |
30 |
+++ b/sys-kernel/pf-sources/pf-sources-5.6_p8.ebuild |
31 |
@@ -0,0 +1,71 @@ |
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="2" |
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 eutils kernel-2 |
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 |
+ |
91 |
+ # Temporary fix due to 5.6 iwlwifi mess |
92 |
+ find "${S}" -name "10*linux*" -delete || die |
93 |
+ |
94 |
+ kernel-2_src_prepare |
95 |
+} |
96 |
+ |
97 |
+pkg_postinst() { |
98 |
+ kernel-2_pkg_postinst |
99 |
+ |
100 |
+ elog "Optional features:" |
101 |
+ optfeature "Userspace KSM helper" sys-process/uksmd |
102 |
+} |