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: Tue, 01 Oct 2019 19:11:42
Message-Id: 1569957086.5aefba7cf065eb19211241b95e82a5e68a798fa0.juippis@gentoo
1 commit: 5aefba7cf065eb19211241b95e82a5e68a798fa0
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 1 19:09:57 2019 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 1 19:11:26 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5aefba7c
7
8 sys-kernel/pf-sources: bump to 5.3-pf2
9
10 Package-Manager: Portage-2.3.76, Repoman-2.3.17
11 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
12
13 sys-kernel/pf-sources/Manifest | 1 +
14 sys-kernel/pf-sources/pf-sources-5.3_p2.ebuild | 74 ++++++++++++++++++++++++++
15 2 files changed, 75 insertions(+)
16
17 diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest
18 index 4e0fce0425d..0e80047233b 100644
19 --- a/sys-kernel/pf-sources/Manifest
20 +++ b/sys-kernel/pf-sources/Manifest
21 @@ -17,3 +17,4 @@ DIST pf-sources-5.2_p6.patch 1777289 BLAKE2B 11a913546dcd8a4ad39b4b924aa085bdf0b
22 DIST pf-sources-5.2_p7.patch 2142830 BLAKE2B 000e4f464b8d81e0ec767b6cfde56f001f51ed39c90d4dcb3c962460bf0fc184334cd631e9c05e26a0e49814665aad88df066f87f04cc3dee3f42a806d405d7d SHA512 2532cf8d6278321a6b757fca4e5405164ff3fe9349059f5f0983bcf302de2ea0a46a4c70c5cc2af185083050cb086a85be5fffb6104fb2df8f396af822dc841b
23 DIST pf-sources-5.2_p8.patch 2328455 BLAKE2B 425b0a04800db70b060c8b18ae4f8e99a7af12cf8053604361b34b0c6c759cefcad6d1ba4d241729fbbb12ef5fa4c034d904c14219bd3c7a18dc9e616f148f43 SHA512 4f021b1051391a9a582e86ab898f1fbdf867b8573d6861f25932e5bef2baae4234be5caac93cfc87656bc5c4fc2bf179906b7ce12e0c267245e5efeaa63605bd
24 DIST pf-sources-5.3_p1.patch 253654 BLAKE2B f1d4cd4a1d2ad78a918a540c79ec2a7c15c35788c654829d98d5fcfdd9fa13656dcc83dd0f1d34d03f1aa8e0fc6ad1c55d50faf290705bc0d7d296a1ce12ce08 SHA512 951a3bf95962c4e22adb5f59c21a7f367ed734e4d2c1140cee6c9daabd396c0ea322ca6da364fb9682188a3e7eba1f9cbd62523a863399ab8e441f390e9597fb
25 +DIST pf-sources-5.3_p2.patch 317339 BLAKE2B 7e5f8c3a2cd7f2fae4b038c8178c1d0943b1224fd4898aab6a546fadf7b091177c6d3ce99ffe6bcf298405d9354064aca78695f608c6d695bbb287752e8e9f4b SHA512 8c0c4dabb6925ab6fa1a9379035fcbac9587737be938e13bf0059fa5e55f79ef7f8800f1568dd1192e63e377e832ad628127b239ffc96b06699ee413d7a884f8
26
27 diff --git a/sys-kernel/pf-sources/pf-sources-5.3_p2.ebuild b/sys-kernel/pf-sources/pf-sources-5.3_p2.ebuild
28 new file mode 100644
29 index 00000000000..82d79915f60
30 --- /dev/null
31 +++ b/sys-kernel/pf-sources/pf-sources-5.3_p2.ebuild
32 @@ -0,0 +1,74 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
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 +}