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, 14 Feb 2020 16:29:37
Message-Id: 1581697532.5d735eb010357887679be58f7d91ef872337aa6d.juippis@gentoo
1 commit: 5d735eb010357887679be58f7d91ef872337aa6d
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 14 16:25:32 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 14 16:25:32 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d735eb0
7
8 sys-kernel/pf-sources: bump to 5.5-pf3
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_p3.ebuild | 75 ++++++++++++++++++++++++++
14 2 files changed, 76 insertions(+)
15
16 diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest
17 index 05ec44add30..86fbe03ed9e 100644
18 --- a/sys-kernel/pf-sources/Manifest
19 +++ b/sys-kernel/pf-sources/Manifest
20 @@ -11,3 +11,4 @@ DIST pf-sources-5.3_p8.patch 2445607 BLAKE2B d1aa017f43219f661d16e82f9f36ef5b526
21 DIST pf-sources-5.4_p6.patch 2445594 BLAKE2B 766549139da27838aca8f849c6d71b13f3b1d1915468d5b617fef243f3947a45e7103d1b48dcf97f81675bf52ef2f15fbaf07ddaae739667ebb82f5b9b604e79 SHA512 9f259d5318fdf81285d2d22cbcdae65691abb8d214d031d74a3889750d027ef5439df1c92e6625ddee51f957c77648ceee7dd9478039a59e6c0b4e02eccede36
22 DIST pf-sources-5.5_p1.patch 551540 BLAKE2B 6e169f1e3a75a9f18b3c8e8c3ab6da9ff365e8bc467e01e84a088a75a19d4f93908774260569c383479f4e91255abbffb1ea5bc67b955cdb787d1529e50e645f SHA512 8d2a4c71063d741b2e3dfad7403f9c020f9594166554d393d9c5e21d7fa64d20e67b7a91ee6f07dd0db008973b6d0bd88bfad95828ab3a230474770f35377c47
23 DIST pf-sources-5.5_p2.patch 657945 BLAKE2B 96acd27211f938605ff14b0588388b78606966e0fdfa7c8168521fd21155db2741d5f8256cb8c5df9232a77a6cf872d2ee945106af5e75502600c45d0d88f660 SHA512 2989554d41c0e970edef4641f7b6a402bd31b48ded6b94fa6b72af356327072a3ea0bcf58b7e9ab953eaf7a555b4cf49dcd75fad58c5da3235f0892f5e06c6ad
24 +DIST pf-sources-5.5_p3.patch 1305735 BLAKE2B 3b124c3fe3949ea18242558d57672f4f9f1e854f0c7351cbfc71ae2783028f7e170df0a8cde55692e87a77915e85decdd91e34105b1685dc0c6718c211d7b596 SHA512 c6915878e5d6347af89ea515ce66b14d3ae511b37774b8e1a277c5154dc9a3398731aa4da838dbf42fe0945000fc329f63a62b60d0b42acc5d1b843c5d614a77
25
26 diff --git a/sys-kernel/pf-sources/pf-sources-5.5_p3.ebuild b/sys-kernel/pf-sources/pf-sources-5.5_p3.ebuild
27 new file mode 100644
28 index 00000000000..a86a2780b71
29 --- /dev/null
30 +++ b/sys-kernel/pf-sources/pf-sources-5.5_p3.ebuild
31 @@ -0,0 +1,75 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +ETYPE="sources"
38 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
39 +
40 +HOMEPAGE="https://gitlab.com/post-factum/pf-kernel/-/wikis/README
41 + https://dev.gentoo.org/~mpagano/genpatches/"
42 +
43 +IUSE=""
44 +
45 +# No 'experimental' USE flag provided, but we still want to use genpatches
46 +K_EXP_GENPATCHES_NOUSE="1"
47 +
48 +# No reason to bump this number unless something new gets included in genpatches,
49 +# in that case we can manually remove the linux kernel patches from genpatches.
50 +K_GENPATCHES_VER="1"
51 +
52 +K_NOSETEXTRAVERSION="1"
53 +
54 +# Not supported by the Gentoo security crew
55 +K_SECURITY_UNSUPPORTED="1"
56 +
57 +K_USEPV="yes"
58 +
59 +# We want the very basic patches from gentoo-sources, experimental patch
60 +# is already included in pf-sources
61 +K_WANT_GENPATCHES="base extras"
62 +
63 +UNIPATCH_STRICTORDER="yes"
64 +
65 +inherit eutils kernel-2
66 +detect_version
67 +
68 +DESCRIPTION="Linux kernel fork that includes the pf-kernel patchset and Gentoo's genpatches"
69 +
70 +PF_URI="https://github.com/pfactum/pf-kernel/compare/v${PV/_p*/}...v${PV/_p*/}-pf${PV/*_p/}.diff -> ${P}.patch"
71 +SRC_URI="
72 + ${KERNEL_URI}
73 + ${PF_URI}
74 + https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${PV/_p*/}-${K_GENPATCHES_VER}.base.tar.xz
75 + https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${PV/_p*/}-${K_GENPATCHES_VER}.extras.tar.xz
76 +"
77 +
78 +KV_FULL="${PVR}-pf"
79 +S="${WORKDIR}/linux-${KV_FULL}"
80 +
81 +PATCHES=(
82 + "${DISTDIR}/${P}.patch"
83 +)
84 +
85 +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems,
86 +see: ${HOMEPAGE}."
87 +
88 +pkg_setup(){
89 + ewarn
90 + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."
91 + ewarn "If you need support, please contact the pf developers directly."
92 + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
93 + ewarn "the ebuilds. Thank you."
94 + ewarn
95 + kernel-2_pkg_setup
96 +}
97 +
98 +src_prepare() {
99 + default
100 + kernel-2_src_prepare
101 +}
102 +
103 +pkg_postinst() {
104 + kernel-2_pkg_postinst
105 + optfeature "Userspace KSM helper" sys-process/uksmd
106 +}