1 |
commit: 408830e859a56fc32f90d3c30e83b4c81faf71f4 |
2 |
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 9 05:44:55 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 9 07:25:14 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=408830e8 |
7 |
|
8 |
sys-kernel/pf-sources: bump to 5.8-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.8_p7.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 1ea5cfb45ff..1495ed7cfa5 100644 |
18 |
--- a/sys-kernel/pf-sources/Manifest |
19 |
+++ b/sys-kernel/pf-sources/Manifest |
20 |
@@ -16,3 +16,4 @@ DIST pf-sources-5.8_p3.patch 1248429 BLAKE2B acf0911cd8b9c356bcafe754e54e982a6f7 |
21 |
DIST pf-sources-5.8_p4.patch 1896149 BLAKE2B 1d036e1d4605372557e110d829edbfe03bbe76367b122c3081c04bdd13eb17d3c6076eebe674b957a31d8909170d0cd667692f37f14d47030f72687ccdbf38a5 SHA512 94c0a51973788a26a2130abbbda1bbcfcc8ca8f43ed8bdeed5ff27989baa886b5501b392c2aa90ce833d8b729c32fce55dced1c635e2388395967efff848d997 |
22 |
DIST pf-sources-5.8_p5.patch 2141177 BLAKE2B 5d55ced84a31fa86d80d2e9ff694812b073ee2799a0685455c83dda8de7bb5b9231d590673092e8b1b6301a3e87f8089c656879d323524c7f76d3eade9000bf2 SHA512 6b2948aee3bbfebc4e7b4c46ead91987f5b2690b91e7ffbeace2b78f6455555ef36f4557fd88c82cb302b5fe389d8e9d786a1ec4d2d226780357760dc6024970 |
23 |
DIST pf-sources-5.8_p6.patch 2337599 BLAKE2B 8ea69321cc3d7d9b63d67823c5326e796f9d09e39b29cad9eb0500f025b9c7dad71a20bc8b702815fb1c3dad1846e63e95a916114901fc519a2f8df120d4ca3a SHA512 10ae0bcb7b99bcfd20153f037128f4fbd127a9196ef3f346a328fbd12df38ebb61987c577b7e8846f447ed4b6acd448a69f62bab9680b6bc381d8b48d670073b |
24 |
+DIST pf-sources-5.8_p7.patch 2546471 BLAKE2B 9eae65836ee0a4e67737462325753b6201c40fcf93f99a114e929f9557fb7bcf9ea619c2502f7824db6bdcf96c7a7640ad0cc1ff5dafa494a532e6f9ee4964b2 SHA512 0449f4ac292d8b0ac6222c273bc535acae5b1e8bdb9c6d196098d61de78fce6739911094bc8f710e4ef3ec187964ee8a146aa09c87f241e816ef5515272059eb |
25 |
|
26 |
diff --git a/sys-kernel/pf-sources/pf-sources-5.8_p7.ebuild b/sys-kernel/pf-sources/pf-sources-5.8_p7.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..d2e345cf5fb |
29 |
--- /dev/null |
30 |
+++ b/sys-kernel/pf-sources/pf-sources-5.8_p7.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 optfeature 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 |
+ 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 |
+} |