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