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: Mon, 02 Nov 2020 09:54:51
Message-Id: 1604310876.28a7397f12cd2b6f9220d59950cda58e897dae15.juippis@gentoo
1 commit: 28a7397f12cd2b6f9220d59950cda58e897dae15
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 2 08:27:22 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 2 09:54:36 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28a7397f
7
8 sys-kernel/pf-sources: bump to 5.9-pf2
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.9_p2.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 ab92a66c63a..c88bcbfdad8 100644
18 --- a/sys-kernel/pf-sources/Manifest
19 +++ b/sys-kernel/pf-sources/Manifest
20 @@ -10,3 +10,4 @@ DIST linux-5.9.tar.xz 115507140 BLAKE2B e8d11472d63a9f8409ca12a2e8c97c6963a3d451
21 DIST pf-sources-5.7_p7.patch 2471776 BLAKE2B c87c9a5f159967877a2858da1af919332aa9ccd49c2029950b31bcce592b9e802c4d5d5daf2f86929bf9318aaa455d879d3eba21904ab38e5615f05742934a98 SHA512 11c0f0021c1d67f65461a74598ed355309c5bdea8d8c94a8e59bcdff2a8320f9504a4457dd8adddcbfc85cd753bff6018ab9a093cfd7d70dcfee4a2f82110d30
22 DIST pf-sources-5.8_p7.patch 2546471 BLAKE2B 9eae65836ee0a4e67737462325753b6201c40fcf93f99a114e929f9557fb7bcf9ea619c2502f7824db6bdcf96c7a7640ad0cc1ff5dafa494a532e6f9ee4964b2 SHA512 0449f4ac292d8b0ac6222c273bc535acae5b1e8bdb9c6d196098d61de78fce6739911094bc8f710e4ef3ec187964ee8a146aa09c87f241e816ef5515272059eb
23 DIST pf-sources-5.9_p1.patch 35818 BLAKE2B c28c292b527c1116b927861dbcdfb948e1e7d30018ecacfa89425fb0b357f2a2cb93daa681ad6a940f936b255453770c743db2a95f8ad67bd6ab772febae7a76 SHA512 82f5583fdb8862a628265f188473fc2cfaaad1ffb06292248a69fc012058f743906aca7abcd88fa223e32f0a626748ae8111fa6858629182d0482989a0f7f725
24 +DIST pf-sources-5.9_p2.patch 1222181 BLAKE2B 1a444ba68ade78f7862c474d52c021064ed78eefb68f03960ac9beb75edfc48f1da970cdaf06f78642d1d4d06fc266801228e184eafd211f3ae29811019ea8d2 SHA512 a2073d9a38fba54f32ec21fd4df928831649b80aa4786f2d58f7ce090d7f768abe2556e92c7af719c7bc8674bee5f940f2555bc5ba39b9528547e6ea5a819a36
25
26 diff --git a/sys-kernel/pf-sources/pf-sources-5.9_p2.ebuild b/sys-kernel/pf-sources/pf-sources-5.9_p2.ebuild
27 new file mode 100644
28 index 00000000000..f2344adc15d
29 --- /dev/null
30 +++ b/sys-kernel/pf-sources/pf-sources-5.9_p2.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 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 + 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 +}