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: Wed, 31 Jul 2019 04:08:07
Message-Id: 1564546056.a3f6d2eee9738b11d40d1a22e792de636b181d42.juippis@gentoo
1 commit: a3f6d2eee9738b11d40d1a22e792de636b181d42
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 31 04:07:36 2019 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 31 04:07:36 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3f6d2ee
7
8 sys-kernel/pf-sources: bump to 5.2-pf3
9
10 Package-Manager: Portage-2.3.69, Repoman-2.3.16
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.2_p3.ebuild | 71 ++++++++++++++++++++++++++
15 2 files changed, 72 insertions(+)
16
17 diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest
18 index d43d1d99a66..c04d77c3503 100644
19 --- a/sys-kernel/pf-sources/Manifest
20 +++ b/sys-kernel/pf-sources/Manifest
21 @@ -9,3 +9,4 @@ DIST patch-4.13-pf4.xz 173732 BLAKE2B 990defc1eb15ca509f922381dc5f7726265caeccd9
22 DIST pf-sources-5.1_p7.patch 2206844 BLAKE2B 542a9c09aa1e9def85afafe4f6275aa62c178a7e60af157bdef0fe6ed659bc7ce96f30e3b05cb750bfa2f5e92e354064848b3a1d0f0c2894a07970cd2edc6bb4 SHA512 22ca39aa667fee4a75a470bffa86905191b3550ca82e3e1554bdd8ae3d5255053d8f650e781ae713b99e9b3cf1070e60f3f5df751fb7a70fe6d52e538a798a37
23 DIST pf-sources-5.2_p1.patch 365922 BLAKE2B dee7af932e0e220b4493a09adc21b210439705a615333e0fef91ffb577aa489f133864742f50b926266c9e939d9780ac5f587c4c518e15669cad866c38d90a34 SHA512 b518678bbabedc25e72716ebbe1afa4599ebc46d4eb3ee3ed8ae815ecbf64ea0cafe1dde9e5b5b72898b17758972ed5fca37f71a45f774a2922ce7deead15f2d
24 DIST pf-sources-5.2_p2.patch 556688 BLAKE2B cbcfc2b0949386e72a5bfe2a7e4eb5fe56a38c2a451e631509f31b61e3492150f5177e97390d1945959026188ef62c5e90a7474f9d26b5a63d920a1136b350f3 SHA512 2a74dac88e2e5828e44576041223e3168ac980fa6ff01819bdbd5f626cd233d4571641bffe176c0738fbfb2d8aefbe1f8e91990e4aa95e6587eea91983582db7
25 +DIST pf-sources-5.2_p3.patch 1101135 BLAKE2B f56ff7a269e48513ac2d8360531eef0b60b0d86ec3af223729870c3461746aef1f7370a6448558e921bfacf345043ca4f97d56c1f8069d5a6f607f9cb615e096 SHA512 0b81cf9927bcec69910f18046ccfead4ad3072e8926315f7eed122edd09ca87c43d345402051249f55de2f98c12b04bd87096653051eb1dc77e27fe24c2e85f3
26
27 diff --git a/sys-kernel/pf-sources/pf-sources-5.2_p3.ebuild b/sys-kernel/pf-sources/pf-sources-5.2_p3.ebuild
28 new file mode 100644
29 index 00000000000..9035be35ba7
30 --- /dev/null
31 +++ b/sys-kernel/pf-sources/pf-sources-5.2_p3.ebuild
32 @@ -0,0 +1,71 @@
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="
41 + https://gitlab.com/post-factum/pf-kernel/wikis/README
42 + https://dev.gentoo.org/~mpagano/genpatches/
43 +"
44 +
45 +IUSE=""
46 +
47 +# No 'experimental' USE flag provided, but we still want to use genpatches
48 +K_EXP_GENPATCHES_NOUSE="1"
49 +
50 +# No reason to bump this number unless something new gets included in genpatches,
51 +# in that case we can manually remove the linux kernel patches from genpatches.
52 +K_GENPATCHES_VER="1"
53 +
54 +K_NOSETEXTRAVERSION="1"
55 +
56 +# Not supported by the Gentoo security crew
57 +K_SECURITY_UNSUPPORTED="1"
58 +
59 +K_USEPV="yes"
60 +
61 +# We want the very basic patches from gentoo-sources, experimental patch
62 +# is already included in pf-sources
63 +K_WANT_GENPATCHES="base extras"
64 +
65 +UNIPATCH_STRICTORDER="yes"
66 +
67 +inherit kernel-2
68 +detect_version
69 +
70 +DESCRIPTION="Linux kernel fork that includes the pf-kernel patchset and Gentoo's genpatches"
71 +
72 +PF_URI="https://github.com/pfactum/pf-kernel/compare/v${PV/_p*/}...v${PV/_p*/}-pf${PV/*_p/}.diff -> ${P}.patch"
73 +SRC_URI="
74 + ${KERNEL_URI}
75 + ${PF_URI}
76 + https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${PV/_p*/}-${K_GENPATCHES_VER}.base.tar.xz
77 + https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${PV/_p*/}-${K_GENPATCHES_VER}.extras.tar.xz
78 +"
79 +
80 +KV_FULL="${PVR}-pf"
81 +S="${WORKDIR}/linux-${KV_FULL}"
82 +
83 +PATCHES=(
84 + "${DISTDIR}/${P}.patch"
85 +)
86 +
87 +K_EXTRAEINFO="For more info on pf-sources and details on how to report problems,
88 +see: ${HOMEPAGE}."
89 +
90 +pkg_setup(){
91 + ewarn
92 + ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."
93 + ewarn "If you need support, please contact the pf developers directly."
94 + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
95 + ewarn "the ebuilds. Thank you."
96 + ewarn
97 + kernel-2_pkg_setup
98 +}
99 +
100 +src_prepare() {
101 + default
102 + kernel-2_src_prepare
103 +}