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: Sun, 07 Aug 2022 06:52:51
Message-Id: 1659855165.36366c5b16a5f5aae27b113142f22196a25814ac.juippis@gentoo
1 commit: 36366c5b16a5f5aae27b113142f22196a25814ac
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 7 06:52:32 2022 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 7 06:52:45 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36366c5b
7
8 sys-kernel/pf-sources: drop 5.18_p3, 5.18_p4
9
10 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
11
12 sys-kernel/pf-sources/Manifest | 2 -
13 sys-kernel/pf-sources/pf-sources-5.18_p3.ebuild | 85 -------------------------
14 sys-kernel/pf-sources/pf-sources-5.18_p4.ebuild | 85 -------------------------
15 3 files changed, 172 deletions(-)
16
17 diff --git a/sys-kernel/pf-sources/Manifest b/sys-kernel/pf-sources/Manifest
18 index 2ac5bf1b639f..2b1d4babbcb0 100644
19 --- a/sys-kernel/pf-sources/Manifest
20 +++ b/sys-kernel/pf-sources/Manifest
21 @@ -2,8 +2,6 @@ DIST genpatches-5.18-1.base.tar.xz 3800 BLAKE2B 52cf33aea903e8783b554127936ebde6
22 DIST genpatches-5.18-1.extras.tar.xz 3924 BLAKE2B b4c7e29f0237ae9e4e3300c8be75c0def63969e5c4dec52d4d5259a6b3b6d27406883e45d2ad4d0fe576a1285121037fb88fcdeab58a5fabbb58d4847cbfbbfe SHA512 0182a96feca475471d1dde2e8326067e98f8f43a6e9122e29635a52ae4ca56eaf6ac349b189a0198704c9adee62cbdbd2def7e90d2dad564c72bec2f8ff32ec9
23 DIST genpatches-5.19-1.base.tar.xz 4080 BLAKE2B 27fe512fd700cc6fc1946ebe0b39b423f35fbdce3b6c2181e1e1c197dccf436c6ba285b8bbf74500c80c64c486831a88f0f548cbd787d925eefafe740764a839 SHA512 8ff90b26202ddb80890ce8a33debbb8b6b85432412e7f76fdbdd98e257e9be23ffa5c03c81cb8482b7a35099083dec800f766354b5886d4f8f7647e3354f97b6
24 DIST genpatches-5.19-1.extras.tar.xz 3772 BLAKE2B 1d418c3d5d328e9704ba10d7483cd562e511f345a5cc6799abc52e6cdeca20efa61417f62eaf7aae2078a8bb05c7dbabe4f4ddba7ad4221b458bd5c589f29b47 SHA512 479d957a3348485baf6504a08cf06b334938656701b15067512c0f48e530c2e87ca281ad3af6e55c75a53d2e9e584d94fc030ee82c538a97a85cea9a9c8fe214
25 -DIST linux-5.18-pf3.tar.gz 206979899 BLAKE2B e66670f81f55353f5850272316141833d5dfb804defd03bce2d1a84e404a2631cc5918714cb7dac75b4a9344d1cc597377bcdff94a034e5a544109e0ac2d12ae SHA512 85d9be125bc378ac5aada2f557e6636987c93a108bc7768ae3f314b03bdb4b2bfea66e4226ab04c6323464b3a299381356be49e85a458294fe3d39cd04ebed13
26 -DIST linux-5.18-pf4.tar.gz 206956302 BLAKE2B 7eb7240792e2ab676facf7c3bae0811ec0db54c0d95d6ccd1ab60c50956e3fdb6cb4d5db3d77e5b08e7b18b78ffeebb5ac98d26ea4be0a7d04a49bc93421421d SHA512 b3b62618f0acb64f66369071eea503a0e894b3bb0c52941c738cc4ac7826a8327ddc32a27db02d493f3e022eacc18b1c7ed6d624b4a798e0773f17ee51f923fb
27 DIST linux-5.18-pf5.tar.gz 206988172 BLAKE2B ae5abdee064b429019d7aaa4801d0bf852ed94dfef3965486cbc58d084e68ab9276651297857c1e64d5430e8b17728d1ebd7db597afd7ed7580d100e84431921 SHA512 dde7c08750858a719c70ff332df67b73432ace56571c73dfb7af7bf4ab4d5b5fbfb94486ac97b4b95e252f51a3be125fdb05a3abdc1b7443fb45ca4074810996
28 DIST linux-5.19-pf1.tar.gz 212145719 BLAKE2B 20264648efeac1589dfc76fc065860d9c7134661dd5ff1bb76996864ec7fee1f3cf6198d76da0d7cb5c1b9ca5fb1cccd2c63bb33e4d5fc9ba012c2cea8a38357 SHA512 eeef1d04add939a7826e7a25f5286606070e508c8ca4817a7e7616f947bdb1684819954d068e45964aa297df105a26dd996ee4662a182b3726010607df98edf7
29 DIST prjc_v5.18-r2.patch 270353 BLAKE2B 15d7ed7a0eb6f7ad37feaf52ab7c383e1c7c3e72fb41a767c8d1151a0ad41255c216ede1e4938a041f3b628874ed61398c61dd7b0e0b62090730f2fd0f6a70db SHA512 25c558bd6281a09bb611c6cca68084b27d0f2e290d2c0575e88b6a94322fad86de6dbeda30eb77919edd5adff921ad445593d9478f115ec93fa2e4c7ed6b5c1e
30
31 diff --git a/sys-kernel/pf-sources/pf-sources-5.18_p3.ebuild b/sys-kernel/pf-sources/pf-sources-5.18_p3.ebuild
32 deleted file mode 100644
33 index 6b411574afb8..000000000000
34 --- a/sys-kernel/pf-sources/pf-sources-5.18_p3.ebuild
35 +++ /dev/null
36 @@ -1,85 +0,0 @@
37 -# Copyright 1999-2022 Gentoo Authors
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=8
41 -
42 -# Define what default functions to run
43 -ETYPE="sources"
44 -
45 -# No 'experimental' USE flag provided, but we still want to use genpatches
46 -K_EXP_GENPATCHES_NOUSE="1"
47 -
48 -# Just get basic genpatches, -pf patch set already includes vanilla-linux updates
49 -K_GENPATCHES_VER="1"
50 -
51 -# -pf already sets EXTRAVERSION to kernel Makefile
52 -K_NOSETEXTRAVERSION="1"
53 -
54 -# Not supported by the Gentoo security team
55 -K_SECURITY_UNSUPPORTED="1"
56 -
57 -# We want the very basic patches from gentoo-sources, experimental patch is
58 -# already included in pf-sources
59 -K_WANT_GENPATCHES="base extras"
60 -
61 -# major kernel version, e.g. 5.14
62 -SHPV="${PV/_p*/}"
63 -
64 -# Replace "_p" with "-pf"
65 -PFPV="${PV/_p/-pf}"
66 -
67 -# https://gitlab.com/alfredchen/projectc/ revision for a major version,
68 -# e.g. prjc-v5.14-r2 = 2
69 -PRJC_R=2
70 -
71 -inherit kernel-2 optfeature
72 -detect_version
73 -
74 -DESCRIPTION="Linux kernel fork that includes the pf-kernel patchset and Gentoo's genpatches"
75 -HOMEPAGE="https://codeberg.org/pf-kernel/linux/wiki/README
76 - https://dev.gentoo.org/~mpagano/genpatches/"
77 -SRC_URI="https://codeberg.org/pf-kernel/linux/archive/v${PFPV}.tar.gz -> linux-${PFPV}.tar.gz
78 - https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${SHPV}-${K_GENPATCHES_VER}.base.tar.xz
79 - https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${SHPV}-${K_GENPATCHES_VER}.extras.tar.xz
80 - https://gitlab.com/alfredchen/projectc/-/raw/master/${SHPV}/prjc_v${SHPV}-r${PRJC_R}.patch"
81 -
82 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
83 -
84 -S="${WORKDIR}/linux-${PFPV}"
85 -
86 -PATCHES=( "${DISTDIR}/prjc_v${SHPV}-r${PRJC_R}.patch" )
87 -
88 -K_EXTRAEINFO="For more info on pf-sources and details on how to report problems,
89 - see: ${HOMEPAGE}."
90 -
91 -pkg_setup() {
92 - ewarn ""
93 - ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."
94 - ewarn "If you need support, please contact the pf developers directly."
95 - ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
96 - ewarn "the ebuilds. Thank you."
97 - ewarn ""
98 -
99 - kernel-2_pkg_setup
100 -}
101 -
102 -src_unpack() {
103 - # Since the Codeberg-hosted pf-sources include full kernel sources, we need to manually override
104 - # the src_unpack phase because kernel-2_src_unpack() does a lot of unwanted magic here.
105 - unpack ${A}
106 -
107 - mv pf-kernel linux-${PFPV} || die "Failed to move source directory"
108 -}
109 -
110 -src_prepare() {
111 - # kernel-2_src_prepare doesn't apply PATCHES(). After pf-sources moved to Codeberg, we need
112 - # to manually eapply the genpatches too.
113 - eapply "${WORKDIR}"/*.patch
114 - default
115 -}
116 -
117 -pkg_postinst() {
118 - kernel-2_pkg_postinst
119 -
120 - optfeature "userspace KSM helper" sys-process/uksmd
121 -}
122
123 diff --git a/sys-kernel/pf-sources/pf-sources-5.18_p4.ebuild b/sys-kernel/pf-sources/pf-sources-5.18_p4.ebuild
124 deleted file mode 100644
125 index 0227431b90ac..000000000000
126 --- a/sys-kernel/pf-sources/pf-sources-5.18_p4.ebuild
127 +++ /dev/null
128 @@ -1,85 +0,0 @@
129 -# Copyright 1999-2022 Gentoo Authors
130 -# Distributed under the terms of the GNU General Public License v2
131 -
132 -EAPI=8
133 -
134 -# Define what default functions to run
135 -ETYPE="sources"
136 -
137 -# No 'experimental' USE flag provided, but we still want to use genpatches
138 -K_EXP_GENPATCHES_NOUSE="1"
139 -
140 -# Just get basic genpatches, -pf patch set already includes vanilla-linux updates
141 -K_GENPATCHES_VER="1"
142 -
143 -# -pf already sets EXTRAVERSION to kernel Makefile
144 -K_NOSETEXTRAVERSION="1"
145 -
146 -# Not supported by the Gentoo security team
147 -K_SECURITY_UNSUPPORTED="1"
148 -
149 -# We want the very basic patches from gentoo-sources, experimental patch is
150 -# already included in pf-sources
151 -K_WANT_GENPATCHES="base extras"
152 -
153 -# major kernel version, e.g. 5.14
154 -SHPV="${PV/_p*/}"
155 -
156 -# Replace "_p" with "-pf"
157 -PFPV="${PV/_p/-pf}"
158 -
159 -# https://gitlab.com/alfredchen/projectc/ revision for a major version,
160 -# e.g. prjc-v5.14-r2 = 2
161 -PRJC_R=2
162 -
163 -inherit kernel-2 optfeature
164 -detect_version
165 -
166 -DESCRIPTION="Linux kernel fork that includes the pf-kernel patchset and Gentoo's genpatches"
167 -HOMEPAGE="https://codeberg.org/pf-kernel/linux/wiki/README
168 - https://dev.gentoo.org/~mpagano/genpatches/"
169 -SRC_URI="https://codeberg.org/pf-kernel/linux/archive/v${PFPV}.tar.gz -> linux-${PFPV}.tar.gz
170 - https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${SHPV}-${K_GENPATCHES_VER}.base.tar.xz
171 - https://dev.gentoo.org/~mpagano/genpatches/tarballs/genpatches-${SHPV}-${K_GENPATCHES_VER}.extras.tar.xz
172 - https://gitlab.com/alfredchen/projectc/-/raw/master/${SHPV}/prjc_v${SHPV}-r${PRJC_R}.patch"
173 -
174 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
175 -
176 -S="${WORKDIR}/linux-${PFPV}"
177 -
178 -PATCHES=( "${DISTDIR}/prjc_v${SHPV}-r${PRJC_R}.patch" )
179 -
180 -K_EXTRAEINFO="For more info on pf-sources and details on how to report problems,
181 - see: ${HOMEPAGE}."
182 -
183 -pkg_setup() {
184 - ewarn ""
185 - ewarn "${PN} is *not* supported by the Gentoo Kernel Project in any way."
186 - ewarn "If you need support, please contact the pf developers directly."
187 - ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
188 - ewarn "the ebuilds. Thank you."
189 - ewarn ""
190 -
191 - kernel-2_pkg_setup
192 -}
193 -
194 -src_unpack() {
195 - # Since the Codeberg-hosted pf-sources include full kernel sources, we need to manually override
196 - # the src_unpack phase because kernel-2_src_unpack() does a lot of unwanted magic here.
197 - unpack ${A}
198 -
199 - mv linux linux-${PFPV} || die "Failed to move source directory"
200 -}
201 -
202 -src_prepare() {
203 - # kernel-2_src_prepare doesn't apply PATCHES(). After pf-sources moved to Codeberg, we need
204 - # to manually eapply the genpatches too.
205 - eapply "${WORKDIR}"/*.patch
206 - default
207 -}
208 -
209 -pkg_postinst() {
210 - kernel-2_pkg_postinst
211 -
212 - optfeature "userspace KSM helper" sys-process/uksmd
213 -}