1 |
commit: cc16bdb09aa2bfe69e93fddbd1bfcf852d970d51 |
2 |
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 20 17:18:11 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 20 17:18:11 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc16bdb0 |
7 |
|
8 |
sys-kernel/pf-sources: bump to 4.5-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.4_p6.ebuild | 75 ++++++++++++++++++++++++++ |
14 |
2 files changed, 76 insertions(+) |
15 |
|
16 |
diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest |
17 |
index 357670a2b2d..2d98ed987de 100644 |
18 |
--- a/sys-kernel/pf-sources/Manifest |
19 |
+++ b/sys-kernel/pf-sources/Manifest |
20 |
@@ -18,3 +18,4 @@ DIST pf-sources-5.4_p2.patch 444667 BLAKE2B 970e27405a2bcfd206b7c4d2852c1329b919 |
21 |
DIST pf-sources-5.4_p3.patch 977402 BLAKE2B 718d3239745b6be9736d4d5f49daddaeb4c0d8e6cb64f7824f84cfa64f3d9f15f86571fccf60009c0cc478be545d1da472fc1189ebf8df4518bbc57bea906c77 SHA512 5f8cff5193f0baadff310a47fc9be9abfa710f68595c2fd543bb6c72d9524e335ecc26d28a41e0e5735db1702d3978e0501984dc0e1637e3a3b54ac5fb1b5026 |
22 |
DIST pf-sources-5.4_p4.patch 1683670 BLAKE2B df903d196334f502ed8056de684f51d8aa8f9f81ceb2cb5f17e1267fab2c77e0534bba55b895d266f1f940d211504511dd3afe0da1f30479ff7555be03ebcdca SHA512 e1d24d45d8b0c00c9a2cf20774e6adb251dcbdda15f535c30abcb1296985781ea9fd4d7e6867dbdc9c0fe6fbbc7634d1997020a3c2345339ac08ad2e1c92409f |
23 |
DIST pf-sources-5.4_p5.patch 2125349 BLAKE2B 52dfd6a76f9473937dc2fc0c138d424d7dbb781b08dd1c775cf6e9b2119381be4c71b6c6b00333cce47209de7d0e08a6872c33412acec670daee4944313504a7 SHA512 9c90b33b75453dcc2f0463225a19bef8475b71c6d3d99e8bb3d147ada0eaad29a3bee0038099aa45a6bd71496015b29a2cd00b9ab3c68fbc3bd6ee54155d3004 |
24 |
+DIST pf-sources-5.4_p6.patch 2445594 BLAKE2B 766549139da27838aca8f849c6d71b13f3b1d1915468d5b617fef243f3947a45e7103d1b48dcf97f81675bf52ef2f15fbaf07ddaae739667ebb82f5b9b604e79 SHA512 9f259d5318fdf81285d2d22cbcdae65691abb8d214d031d74a3889750d027ef5439df1c92e6625ddee51f957c77648ceee7dd9478039a59e6c0b4e02eccede36 |
25 |
|
26 |
diff --git a/sys-kernel/pf-sources/pf-sources-5.4_p6.ebuild b/sys-kernel/pf-sources/pf-sources-5.4_p6.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..a86a2780b71 |
29 |
--- /dev/null |
30 |
+++ b/sys-kernel/pf-sources/pf-sources-5.4_p6.ebuild |
31 |
@@ -0,0 +1,75 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+ETYPE="sources" |
38 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
39 |
+ |
40 |
+HOMEPAGE="https://gitlab.com/post-factum/pf-kernel/-/wikis/README |
41 |
+ https://dev.gentoo.org/~mpagano/genpatches/" |
42 |
+ |
43 |
+IUSE="" |
44 |
+ |
45 |
+# No 'experimental' USE flag provided, but we still want to use genpatches |
46 |
+K_EXP_GENPATCHES_NOUSE="1" |
47 |
+ |
48 |
+# No reason to bump this number unless something new gets included in genpatches, |
49 |
+# in that case we can manually remove the linux kernel patches from genpatches. |
50 |
+K_GENPATCHES_VER="1" |
51 |
+ |
52 |
+K_NOSETEXTRAVERSION="1" |
53 |
+ |
54 |
+# Not supported by the Gentoo security crew |
55 |
+K_SECURITY_UNSUPPORTED="1" |
56 |
+ |
57 |
+K_USEPV="yes" |
58 |
+ |
59 |
+# We want the very basic patches from gentoo-sources, experimental patch |
60 |
+# is already included in pf-sources |
61 |
+K_WANT_GENPATCHES="base extras" |
62 |
+ |
63 |
+UNIPATCH_STRICTORDER="yes" |
64 |
+ |
65 |
+inherit eutils kernel-2 |
66 |
+detect_version |
67 |
+ |
68 |
+DESCRIPTION="Linux kernel fork that includes the pf-kernel patchset and Gentoo's genpatches" |
69 |
+ |
70 |
+PF_URI="https://github.com/pfactum/pf-kernel/compare/v${PV/_p*/}...v${PV/_p*/}-pf${PV/*_p/}.diff -> ${P}.patch" |
71 |
+SRC_URI=" |
72 |
+ ${KERNEL_URI} |
73 |
+ ${PF_URI} |
74 |
+ https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${PV/_p*/}-${K_GENPATCHES_VER}.base.tar.xz |
75 |
+ https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${PV/_p*/}-${K_GENPATCHES_VER}.extras.tar.xz |
76 |
+" |
77 |
+ |
78 |
+KV_FULL="${PVR}-pf" |
79 |
+S="${WORKDIR}/linux-${KV_FULL}" |
80 |
+ |
81 |
+PATCHES=( |
82 |
+ "${DISTDIR}/${P}.patch" |
83 |
+) |
84 |
+ |
85 |
+K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, |
86 |
+see: ${HOMEPAGE}." |
87 |
+ |
88 |
+pkg_setup(){ |
89 |
+ ewarn |
90 |
+ ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." |
91 |
+ ewarn "If you need support, please contact the pf developers directly." |
92 |
+ ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" |
93 |
+ ewarn "the ebuilds. Thank you." |
94 |
+ ewarn |
95 |
+ kernel-2_pkg_setup |
96 |
+} |
97 |
+ |
98 |
+src_prepare() { |
99 |
+ default |
100 |
+ kernel-2_src_prepare |
101 |
+} |
102 |
+ |
103 |
+pkg_postinst() { |
104 |
+ kernel-2_pkg_postinst |
105 |
+ optfeature "Userspace KSM helper" sys-process/uksmd |
106 |
+} |