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, 06 Mar 2020 20:00:56
Message-Id: 1583524843.7c3e26e1fa234fd71aba43651dfce86b28adc79f.juippis@gentoo
1 commit: 7c3e26e1fa234fd71aba43651dfce86b28adc79f
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 6 20:00:18 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 6 20:00:43 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c3e26e1
7
8 sys-kernel/pf-sources: bump to 5.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.5_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 d8763252542..441f7995f2b 100644
18 --- a/sys-kernel/pf-sources/Manifest
19 +++ b/sys-kernel/pf-sources/Manifest
20 @@ -14,3 +14,4 @@ DIST pf-sources-5.5_p2.patch 657945 BLAKE2B 96acd27211f938605ff14b0588388b786069
21 DIST pf-sources-5.5_p3.patch 1305735 BLAKE2B 3b124c3fe3949ea18242558d57672f4f9f1e854f0c7351cbfc71ae2783028f7e170df0a8cde55692e87a77915e85decdd91e34105b1685dc0c6718c211d7b596 SHA512 c6915878e5d6347af89ea515ce66b14d3ae511b37774b8e1a277c5154dc9a3398731aa4da838dbf42fe0945000fc329f63a62b60d0b42acc5d1b843c5d614a77
22 DIST pf-sources-5.5_p4.patch 1489666 BLAKE2B 3906d23f42d4943acf3e75a5b47d94b808417338cffbf8e04dad825387188be678afa3eb7d264c687e483b91b82402370a2df7e72c82294cffc39d4a7c0429b5 SHA512 b0c9cad6a375205c65d32d435efede2dbb98cd6e077aa7ef4d0d33e9735f3937980c371b87a76d5595426b3dce3606bacdb69eb1c8baf14d435e2c9190035bc2
23 DIST pf-sources-5.5_p5.patch 2147102 BLAKE2B 0f6aee4d3e59386e3acdf67ab7f931e45acb3d6d1b8aa39a914875da1bde2733d5b4bfc601635280f7f6fd0dcfbf1c6cdd77061a3e4230b128896da829b9e495 SHA512 7d60c3a18bec8642cc13594bdbb82c684d78d62636f9bbb9f2e791f7695476420c6d80256a4157a44e61f9d85c9405dd398587f935c33c77b8a2b92538855037
24 +DIST pf-sources-5.5_p6.patch 2597110 BLAKE2B 7ab0a9bb5b1787cb2488e418bc3b45edf2348e60f118f90e47025d540367a93a49c87fd2362fc3bb3e84d89bd8d0c2b8f63c6f79e969813ce398578bdef9bcc2 SHA512 5530fd6e874ee5f0ac03e558c475790ac4e0ff79e98aa2df272d223d9a3cebf49a1e90a08751a37b694cd6b643040d0ececeea66a7a855194fbd33b448cdf3c9
25
26 diff --git a/sys-kernel/pf-sources/pf-sources-5.5_p6.ebuild b/sys-kernel/pf-sources/pf-sources-5.5_p6.ebuild
27 new file mode 100644
28 index 00000000000..2a683a5287d
29 --- /dev/null
30 +++ b/sys-kernel/pf-sources/pf-sources-5.5_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 eutils 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 +}