1 |
commit: 1d3e31e9e555c815a1f731b2ffec78554b834f5e |
2 |
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 30 05:22:22 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 30 05:22:42 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d3e31e9 |
7 |
|
8 |
sys-kernel/pf-sources: bump to 5.12-pf4 |
9 |
|
10 |
- add missing |
11 |
1510_fs-enable-link-security-restrictions-by-default.patch for 5.12, |
12 |
- EAPI 7. |
13 |
|
14 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
15 |
|
16 |
sys-kernel/pf-sources/Manifest | 2 + |
17 |
sys-kernel/pf-sources/pf-sources-5.12_p4.ebuild | 73 +++++++++++++++++++++++++ |
18 |
2 files changed, 75 insertions(+) |
19 |
|
20 |
diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest |
21 |
index 6572b075c2d..5b0c00d86a2 100644 |
22 |
--- a/sys-kernel/pf-sources/Manifest |
23 |
+++ b/sys-kernel/pf-sources/Manifest |
24 |
@@ -1,3 +1,4 @@ |
25 |
+DIST 1510_fs-enable-link-security-restrictions-by-default-5.12.patch 810 BLAKE2B bb749b365f37988253206ddff130651e1042af49a6c773ba6f93642d5927af9a9926eab278979e048c13d2ca683e726a5d0cd509de9e6177d59c85197051e230 SHA512 c97a3799a2d5e4da9c9dfe129756da629fba8183479b02ca82f9b6d9993f17a165a96bd35ac50eb25fb293785b9b529a95165b1a2eb79c05134bee8ccf22a5d3 |
26 |
DIST 5020_BMQ-and-PDS-io-scheduler-v5.11-r2.patch 259433 BLAKE2B e3cc85db32795721d39962dfd3b72ac923b89da8a9125ef0e12ba199b3606cec9a2d99392c0b0f195b1557a25be2370be1efe3bab9a9e0c2e89e2e92eb86eccb SHA512 3e75edcb8c82222a5ff64d751cff1c9102ea5eabadda3ba6ae1369b2a1478d5f001776f7ce1b13425f5c2f7acdb1a8a117864ccb9aca6755188efaa4110dcb43 |
27 |
DIST 5020_BMQ-and-PDS-io-scheduler-v5.12-r0.patch 268250 BLAKE2B cc843d32e3cc36cc850fadab2cd6bbde7b04b29e103f81473b6e53f70f678d6f5c82f90f5107296aa6cb54e53545e15487c5a2796498a38c9cfa00c93929f894 SHA512 7d96b7e9e1caa6681f5c662e58777c26f0c579ffa49ae08f92b72a609c582dc7d2a3514c3d2d8e708af7fd9b1d387991ae065db798c85cac7d139291d86f7c21 |
28 |
DIST 5021_BMQ-and-PDS-gentoo-defaults-v5.11-r2.patch 348 BLAKE2B e81fa7e5157ad317babd4c636facb34b577c8cb850a77c945e94d62547ec687d61dbef3766e3772ba880e2b657bbbbf400a2d9c86efdced2dada7a108b4c1593 SHA512 192431f1b1c19e91d4fcf16e3a275151043c8f065eb5a909f68ff640108537f9d5105be9175a8eea12b0bbfc871ab1595f3e051e64c39bb2a32f8c75a1137bb3 |
29 |
@@ -19,4 +20,5 @@ DIST pf-sources-5.11_p8.patch 5688583 BLAKE2B 5d845677efd1d6ac95282d24223c7aa26d |
30 |
DIST pf-sources-5.12_p1.patch 2785321 BLAKE2B 6010dcc736c6e068cb5aed9df790df6795f8b85f4169b9b6b66eb020f0e1821cd29630f421842c172f52fb41e4ac94f1671d506ec3f72f0bc883adbadd258302 SHA512 a861f3f96205de0c86a506bfd470116eeaabc8ec574e1940572abdfe166e16539f2fe874af5a0ea234741e5385e88491a49ba390a5493efc2fcc0c0283b43aa6 |
31 |
DIST pf-sources-5.12_p2.patch 4252808 BLAKE2B 2c23009ba31caa7f5e6268d854af2bb2f9db2831a67cb34ef535fe1914d913f057f514aa8ce7c1a8a63374498c56d9bcce0662ed4ec3a888e2e7518b339196c1 SHA512 e2da600deeea7e16667bd0c9e0be9349f47441a4d9c2f06f66fb4f2a78c1b2c596a502cc35c6d9aea3ffcdb26461299f3446b5bb5a9b88b059806eb4db80d2b2 |
32 |
DIST pf-sources-5.12_p3.patch 4818489 BLAKE2B f2d729477ebe5016889de4d216e7ae824d1e4f8401129679d527c42fa1189b1e473711c77a8cb14de84bad9abbbdd2fc0ee3fa82dda64133c1af0ac42593a32a SHA512 6663710d313585ea279a86370d0e6c12e892abc6cb0c2481e81b70abfe427b0ec247d672ffa31587365b474efb2041c53ac99e39737bdc1529e3f1d9688bfe21 |
33 |
+DIST pf-sources-5.12_p4.patch 5002181 BLAKE2B 6e018a8c9f4eaec7b565fb3ad38cf371a59bce2620f2a95d6c1bac33205e717eb6ba312d573130d9316b744de6444714dd484a9d2906352a9bf9a953b3f5c2c2 SHA512 aeafa5a290fa3e3d942986ed6deff4f5ef60f0cb8307c1d77cbe34a5007d674e037c0cedc14ea9d090aa4f1ba4f69e80936af1d61391a656608a29528e4702cf |
34 |
DIST pf-sources-5.9_p7.patch 3027972 BLAKE2B 9247ea63b30f9d42d79303b73a900d468a71e703333932f7f15ae697cdba52c46358297023e037226c219fad5df912fb5d21e6f4b7190556ca799fa84924480e SHA512 c69e14f59bf98944b3329c65b7e2c271d74a756bc8c890130bf3cc68b4b96d31f1c33c4edb128580fcaefeb6e42dd04b1eb3d7f071b2d58bc764d26322bda8cd |
35 |
|
36 |
diff --git a/sys-kernel/pf-sources/pf-sources-5.12_p4.ebuild b/sys-kernel/pf-sources/pf-sources-5.12_p4.ebuild |
37 |
new file mode 100644 |
38 |
index 00000000000..32d3aa0a799 |
39 |
--- /dev/null |
40 |
+++ b/sys-kernel/pf-sources/pf-sources-5.12_p4.ebuild |
41 |
@@ -0,0 +1,73 @@ |
42 |
+# Copyright 1999-2021 Gentoo Authors |
43 |
+# Distributed under the terms of the GNU General Public License v2 |
44 |
+ |
45 |
+EAPI=7 |
46 |
+ |
47 |
+# Define what default functions to run |
48 |
+ETYPE="sources" |
49 |
+ |
50 |
+# No 'experimental' USE flag provided, but we still want to use genpatches |
51 |
+K_EXP_GENPATCHES_NOUSE="1" |
52 |
+ |
53 |
+# Just get basic genpatches, -pf patch set already includes vanilla-linux updates |
54 |
+K_GENPATCHES_VER="1" |
55 |
+ |
56 |
+# -pf already sets EXTRAVERSION to kernel Makefile |
57 |
+K_NOSETEXTRAVERSION="1" |
58 |
+ |
59 |
+# Not supported by the Gentoo security team |
60 |
+K_SECURITY_UNSUPPORTED="1" |
61 |
+ |
62 |
+# We want the very basic patches from gentoo-sources, experimental patch is |
63 |
+# already included in pf-sources |
64 |
+K_WANT_GENPATCHES="base extras" |
65 |
+ |
66 |
+SHPV="${PV/_p*/}" |
67 |
+ |
68 |
+inherit kernel-2 optfeature |
69 |
+detect_version |
70 |
+ |
71 |
+DESCRIPTION="Linux kernel fork that includes the pf-kernel patchset and Gentoo's genpatches" |
72 |
+HOMEPAGE="https://gitlab.com/post-factum/pf-kernel/-/wikis/README |
73 |
+ https://dev.gentoo.org/~mpagano/genpatches/" |
74 |
+SRC_URI="${KERNEL_URI} |
75 |
+ https://github.com/pfactum/pf-kernel/compare/v${SHPV}...v${SHPV}-pf${PV/*_p/}.diff -> ${P}.patch |
76 |
+ https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${SHPV}-${K_GENPATCHES_VER}.base.tar.xz |
77 |
+ https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${SHPV}-${K_GENPATCHES_VER}.extras.tar.xz |
78 |
+ https://raw.githubusercontent.com/GKernelCI/linux-patches/${SHPV}/5020_BMQ-and-PDS-io-scheduler-v${SHPV}-r0.patch |
79 |
+ https://raw.githubusercontent.com/GKernelCI/linux-patches/${SHPV}/5021_BMQ-and-PDS-gentoo-defaults-v${SHPV}-r0.patch |
80 |
+ https://raw.githubusercontent.com/GKernelCI/linux-patches/${SHPV}/1510_fs-enable-link-security-restrictions-by-default.patch -> 1510_fs-enable-link-security-restrictions-by-default-${SHPV}.patch" |
81 |
+ |
82 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
83 |
+ |
84 |
+S="${WORKDIR}/linux-${PVR}-pf" |
85 |
+ |
86 |
+PATCHES=( "${DISTDIR}/${P}.patch" |
87 |
+ "${DISTDIR}/1510_fs-enable-link-security-restrictions-by-default-${SHPV}.patch" |
88 |
+ "${DISTDIR}/5020_BMQ-and-PDS-io-scheduler-v${SHPV}-r0.patch" |
89 |
+ "${DISTDIR}/5021_BMQ-and-PDS-gentoo-defaults-v${SHPV}-r0.patch" ) |
90 |
+ |
91 |
+K_EXTRAEINFO="For more info on pf-sources and details on how to report problems, |
92 |
+ see: ${HOMEPAGE}." |
93 |
+ |
94 |
+pkg_setup() { |
95 |
+ ewarn "" |
96 |
+ ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way." |
97 |
+ ewarn "If you need support, please contact the pf developers directly." |
98 |
+ ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" |
99 |
+ ewarn "the ebuilds. Thank you." |
100 |
+ ewarn "" |
101 |
+ |
102 |
+ kernel-2_pkg_setup |
103 |
+} |
104 |
+ |
105 |
+src_prepare() { |
106 |
+ # kernel-2_src_prepare doesn't apply PATCHES(). |
107 |
+ default |
108 |
+} |
109 |
+ |
110 |
+pkg_postinst() { |
111 |
+ kernel-2_pkg_postinst |
112 |
+ |
113 |
+ optfeature "userspace KSM helper" sys-process/uksmd |
114 |
+} |