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: Thu, 14 Nov 2019 18:51:13
Message-Id: 1573757447.4817001e4cddf6224d5c850840f4dee672d6d8b5.juippis@gentoo
1 commit: 4817001e4cddf6224d5c850840f4dee672d6d8b5
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 14 18:50:47 2019 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 14 18:50:47 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4817001e
7
8 sys-kernel/pf-sources: bump to 5.3-pf8
9
10 Package-Manager: Portage-2.3.79, 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_p8.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 acefbdc9bfc..f3fafe7b08a 100644
19 --- a/sys-kernel/pf-sources/Manifest
20 +++ b/sys-kernel/pf-sources/Manifest
21 @@ -15,3 +15,4 @@ DIST pf-sources-5.3_p3.patch 980797 BLAKE2B 96bd53791737fcb1d1503b719a8654a90bd9
22 DIST pf-sources-5.3_p4.patch 1340441 BLAKE2B fe979e8511d6bfa481749e50d8f4f2edc8016477de4edc644cd57015b0568c9948e7643871642ce67a5a9250294e3981951b87a3f60161ceec6232c206031349 SHA512 879991193cd6fd77f17f5fafbfd6172528837c57014a6d220d37cc57cd9bd51ebae9d7687762eb972cea16c37f7e48d440d9d55e7f4532ec09f218cf7a2cac4c
23 DIST pf-sources-5.3_p5.patch 1596810 BLAKE2B ba0229daedb6e883192fc3de569601bc2284dfdb012c4a46b7367772aec07570b826e9fb23725b68deac2a35613c44c83ae587dfb2d4787ef5bba39b995535b5 SHA512 7524528d02f4d593eae506c055c414f28875ee3f32334cf420ad4357e41fb8dbd0b3801d98676ca624566351145fde032c1ff8a25f762aa058c9558ffdf014cd
24 DIST pf-sources-5.3_p6.patch 2032026 BLAKE2B 5384f2196b3799861e79ab223a1370f4049b86f0cc201d2ab09d31127e08fff3de0b2403693046b5f7a5f73750e12f027f30a5897ca6e457f0fac760bf0b8c6f SHA512 31b5e1d7bfe934a7733f81b663f8022b3c292acda3cef982ca4e56fee0a1df151e58c4a8e3af3d9a85927cac773add4492f5be369526308f665c3bafb629e936
25 +DIST pf-sources-5.3_p8.patch 2445607 BLAKE2B d1aa017f43219f661d16e82f9f36ef5b526aad8492f0bb758abda6c1d2caf2d07ed98fd444819dbcc64718c41f0e90b4f18969cafcf02737f1893d92514a49d5 SHA512 033d92493b54fa8bb231f168357cf3b65a7b858e75e04c24a6e97d0dbced7baa8b49cdaec11e4e4b3f2eb44de80a33780511785827dab0893dc1721d47085483
26
27 diff --git a/sys-kernel/pf-sources/pf-sources-5.3_p8.ebuild b/sys-kernel/pf-sources/pf-sources-5.3_p8.ebuild
28 new file mode 100644
29 index 00000000000..82d79915f60
30 --- /dev/null
31 +++ b/sys-kernel/pf-sources/pf-sources-5.3_p8.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 +}