Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/pf-sources/
Date: Fri, 08 Jan 2021 07:17:14
Message-Id: 1610090188.0b6aea74a4615f32afc30cad416463763ab65455.juippis@gentoo
1 commit: 0b6aea74a4615f32afc30cad416463763ab65455
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 8 07:16:28 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 8 07:16:28 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b6aea74
7
8 sys-kernel/pf-sources: bump to 5.10-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.10_p6.ebuild | 66 +++++++++++++++++++++++++
14 2 files changed, 67 insertions(+)
15
16 diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest
17 index 1ea64f28c2b..efbb4144bcd 100644
18 --- a/sys-kernel/pf-sources/Manifest
19 +++ b/sys-kernel/pf-sources/Manifest
20 @@ -10,4 +10,5 @@ DIST pf-sources-5.10_p2.patch 2555927 BLAKE2B 69684df6616e243f5bda273ce4fd30300c
21 DIST pf-sources-5.10_p3.patch 2588302 BLAKE2B 47a3aaa429b773edfa4f1a2eeb046648f57204a8b1985710eaf11d95baceb92950352b03e819250d59614b52e8315758a78e72a646f4bedddc5674c2571a06ab SHA512 3701656ddb88b59bb816b96c8b986f9abf4087231dac7ef2c07f1a406e8edbffb7da6e0099ff0ce3a9f73557c96984e8e7b6a9cc69d4cd129d7f7e05535fee1f
22 DIST pf-sources-5.10_p4.patch 3769450 BLAKE2B 5f470380efe3224150267125022012553daa36aea6bcc62d7df28a78a0f091aef925f6a2964d11e68877750b25ef5449a7d87577db30068d417106e6a76dd396 SHA512 8c0f0f48ff19e2c93ab1a0ec0387ba59365c4b5dedd4d4b7f323ac0f24502862e6e2a50c8c3c5be911836392aefba3d1c99b2fe1bc2ec8849ffff9c72a4dff2d
23 DIST pf-sources-5.10_p5.patch 3767157 BLAKE2B 7ea53839532d97225bbb95cd0e56c5e81d51cbe7e01bbfb09a5aea08fabbad7dee415da0ff79b6b248e2f88bb73434d53ba17808a8d62d403387cccc269e9f9d SHA512 2c07b1e66fad2e2ae1c279cfe9a41585c98ad0fe7d592a20d04e203e7a74ef9dddf6d8a970adb797727185dcbb28fa7a6a1faefcc2adb6a1eb0d309c43356f7e
24 +DIST pf-sources-5.10_p6.patch 3863592 BLAKE2B 5ce92850e459f9ea9bdd19d4375f13a7554adbdcd3ed2b2c77c1e138c6cb508554ab8701398f77485f9551ad6422fd14e4f7ba708d607d9a107ccd818c42f560 SHA512 44398b4bcef521267ed4b9dc56281cff2587680498f68130361bab8de8bf164601bc95642493dcbb08eaf43ffca3b333ab2a12db825e7f52eb0171bb191bbaea
25 DIST pf-sources-5.9_p7.patch 3027972 BLAKE2B 9247ea63b30f9d42d79303b73a900d468a71e703333932f7f15ae697cdba52c46358297023e037226c219fad5df912fb5d21e6f4b7190556ca799fa84924480e SHA512 c69e14f59bf98944b3329c65b7e2c271d74a756bc8c890130bf3cc68b4b96d31f1c33c4edb128580fcaefeb6e42dd04b1eb3d7f071b2d58bc764d26322bda8cd
26
27 diff --git a/sys-kernel/pf-sources/pf-sources-5.10_p6.ebuild b/sys-kernel/pf-sources/pf-sources-5.10_p6.ebuild
28 new file mode 100644
29 index 00000000000..223e79a03a5
30 --- /dev/null
31 +++ b/sys-kernel/pf-sources/pf-sources-5.10_p6.ebuild
32 @@ -0,0 +1,66 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +
38 +# Define what default functions to run
39 +ETYPE="sources"
40 +
41 +# No 'experimental' USE flag provided, but we still want to use genpatches
42 +K_EXP_GENPATCHES_NOUSE="1"
43 +
44 +# Just get basic genpatches, -pf patch set already includes vanilla-linux 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 + # kernel-2_src_prepare doesn't apply PATCHES().
90 + default
91 +}
92 +
93 +pkg_postinst() {
94 + kernel-2_pkg_postinst
95 +
96 + elog "Optional features:"
97 + optfeature "Userspace KSM helper" sys-process/uksmd
98 +}