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: Sun, 27 Sep 2020 10:27:39
Message-Id: 1601202447.d5c9c24950fe0779503a713d50abd705e830ba96.juippis@gentoo
1 commit: d5c9c24950fe0779503a713d50abd705e830ba96
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 27 10:25:17 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 27 10:27:27 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5c9c249
7
8 sys-kernel/pf-sources: bump to 5.8-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.8_p6.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 6ff10055dc9..1ea5cfb45ff 100644
18 --- a/sys-kernel/pf-sources/Manifest
19 +++ b/sys-kernel/pf-sources/Manifest
20 @@ -15,3 +15,4 @@ DIST pf-sources-5.8_p2.patch 1071081 BLAKE2B e6c5f85607b7483ee711bee6b62dae5fc1d
21 DIST pf-sources-5.8_p3.patch 1248429 BLAKE2B acf0911cd8b9c356bcafe754e54e982a6f749800c01795fa9ca4573a932e366185378e41a649150718ddf604e787ba85d22bec134d106c2fb44aa35262a32d19 SHA512 01cb5fd69560220c61106508585db4970164dc27b373aee03b5b9a14a30af5b04534095b9f839228f5a9bf4139f8d6e0b8b978ca2ae1b6c1e873cce782c7e9c7
22 DIST pf-sources-5.8_p4.patch 1896149 BLAKE2B 1d036e1d4605372557e110d829edbfe03bbe76367b122c3081c04bdd13eb17d3c6076eebe674b957a31d8909170d0cd667692f37f14d47030f72687ccdbf38a5 SHA512 94c0a51973788a26a2130abbbda1bbcfcc8ca8f43ed8bdeed5ff27989baa886b5501b392c2aa90ce833d8b729c32fce55dced1c635e2388395967efff848d997
23 DIST pf-sources-5.8_p5.patch 2141177 BLAKE2B 5d55ced84a31fa86d80d2e9ff694812b073ee2799a0685455c83dda8de7bb5b9231d590673092e8b1b6301a3e87f8089c656879d323524c7f76d3eade9000bf2 SHA512 6b2948aee3bbfebc4e7b4c46ead91987f5b2690b91e7ffbeace2b78f6455555ef36f4557fd88c82cb302b5fe389d8e9d786a1ec4d2d226780357760dc6024970
24 +DIST pf-sources-5.8_p6.patch 2337599 BLAKE2B 8ea69321cc3d7d9b63d67823c5326e796f9d09e39b29cad9eb0500f025b9c7dad71a20bc8b702815fb1c3dad1846e63e95a916114901fc519a2f8df120d4ca3a SHA512 10ae0bcb7b99bcfd20153f037128f4fbd127a9196ef3f346a328fbd12df38ebb61987c577b7e8846f447ed4b6acd448a69f62bab9680b6bc381d8b48d670073b
25
26 diff --git a/sys-kernel/pf-sources/pf-sources-5.8_p6.ebuild b/sys-kernel/pf-sources/pf-sources-5.8_p6.ebuild
27 new file mode 100644
28 index 00000000000..d2e345cf5fb
29 --- /dev/null
30 +++ b/sys-kernel/pf-sources/pf-sources-5.8_p6.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 +}