1 |
commit: 105c1a87ced5445831662b1f9992dcee2e92d2ed |
2 |
Author: Alice Ferrazzi <alicef <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 2 18:46:39 2019 +0000 |
4 |
Commit: Alice Ferrazzi <alicef <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 2 18:47:16 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=105c1a87 |
7 |
|
8 |
sys-kernel/kpatch: remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.67, Repoman-2.3.13 |
11 |
Signed-off-by: Alice Ferrazzi <alicef <AT> gentoo.org> |
12 |
|
13 |
sys-kernel/kpatch/Manifest | 3 -- |
14 |
sys-kernel/kpatch/kpatch-0.4.0-r1.ebuild | 76 -------------------------------- |
15 |
sys-kernel/kpatch/kpatch-0.6.0.ebuild | 76 -------------------------------- |
16 |
sys-kernel/kpatch/kpatch-0.6.2.ebuild | 76 -------------------------------- |
17 |
4 files changed, 231 deletions(-) |
18 |
|
19 |
diff --git a/sys-kernel/kpatch/Manifest b/sys-kernel/kpatch/Manifest |
20 |
index 750a99bcfda..64fabeba921 100644 |
21 |
--- a/sys-kernel/kpatch/Manifest |
22 |
+++ b/sys-kernel/kpatch/Manifest |
23 |
@@ -1,4 +1 @@ |
24 |
-DIST kpatch-0.4.0.tar.gz 124433 BLAKE2B 6ea18c4d590426f9db95e16d555307e264d1b7db362d421f72eaaf897703f7883c44cc49bd98b48d8789453962259d0b0e301aca325c94be6c21061d0621a9cf SHA512 0bbb49a06d02e9eb026be458eb904cf50f50461a67f16835a306bb3a4a57ef88b86ecf6bca6dfc91b921ba87b4c8b9d532e2a77e987e7c71583b8cb53520a1d7 |
25 |
-DIST kpatch-0.6.0.tar.gz 153337 BLAKE2B 5c132b885f9f8bc3c7b514997a0b8b77280d0387431dd3eb73f45da4678b281961a03452b0ec590b37fc9568192135528a9a42bd5005530bd8b9175fe652f7b1 SHA512 7ac27639773a851ad6689743100ff973b4e3a30efc386bdf413c8f6167068d93c2d18820d87e1f1e96405fa3545dcb80a72db0011f07218a692f91f1f3c3655a |
26 |
-DIST kpatch-0.6.2.tar.gz 148110 BLAKE2B 9903c9423ee6268a0d87c55336e418a964474a3d7f35dd1ad613be7645a932cd09991652cd4a3af0b08a686f39e7c6c7f4b12d80c20c7ecd663aa703821503f8 SHA512 65098195330a2dbea4f8648c87c41f3a7751ffcb83b4e4c5f0a1146f91a8ae8c305d8f111a69304b31f1f12dd26da788af31a5477899bda098b7391cd0a32eca |
27 |
DIST kpatch-0.6.3.tar.gz 153100 BLAKE2B e95d1880ffc9ff6038bba98902d0f1e97c9f7f8d0f90eedc281c4bf0570217668cf7b701d038d6f06e9885ebdbb4407cc554d5175cf17eb8fd5051381f75deb3 SHA512 0d266dd837ad651d7f46047cf2c8de527d08274a885a154c53354f4b3c5679d91c766d7d42294ffe71cc548e5ee865c7555f24001882b806f2fb48825f9b0c06 |
28 |
|
29 |
diff --git a/sys-kernel/kpatch/kpatch-0.4.0-r1.ebuild b/sys-kernel/kpatch/kpatch-0.4.0-r1.ebuild |
30 |
deleted file mode 100644 |
31 |
index 2dae0d7a524..00000000000 |
32 |
--- a/sys-kernel/kpatch/kpatch-0.4.0-r1.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,76 +0,0 @@ |
35 |
-# Copyright 1999-2017 Gentoo Foundation |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI="6" |
39 |
- |
40 |
-inherit linux-info linux-mod flag-o-matic |
41 |
- |
42 |
-if [[ "${PV}" == "9999" ]]; then |
43 |
- inherit git-r3 |
44 |
- EGIT_REPO_URI="https://github.com/dynup/${PN}.git" |
45 |
-else |
46 |
- SRC_URI="https://github.com/dynup/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
47 |
- KEYWORDS="~amd64" |
48 |
-fi |
49 |
- |
50 |
-DESCRIPTION="Dynamic kernel patching for Linux" |
51 |
-HOMEPAGE="https://github.com/dynup/kpatch" |
52 |
- |
53 |
-LICENSE="GPL-2+" |
54 |
-SLOT="0" |
55 |
-IUSE="examples +modules test" |
56 |
- |
57 |
-RDEPEND=" |
58 |
- app-crypt/pesign |
59 |
- dev-libs/openssl:0= |
60 |
- sys-libs/zlib |
61 |
- sys-apps/pciutils |
62 |
-" |
63 |
- |
64 |
-DEPEND=" |
65 |
- ${RDEPEND} |
66 |
- dev-libs/elfutils |
67 |
- sys-devel/bison |
68 |
-" |
69 |
- |
70 |
-pkg_pretend() { |
71 |
- if kernel_is gt 3 9 0; then |
72 |
- if ! linux_config_exists; then |
73 |
- eerror "Unable to check the currently running kernel for kpatch support" |
74 |
- eerror "Please be sure a .config file is available in the kernel src dir" |
75 |
- eerror "and ensure the kernel has been built." |
76 |
- else |
77 |
- # Fail to build if these kernel options are not enabled (see kpatch/kmod/core/Makefile) |
78 |
- CONFIG_CHECK="FUNCTION_TRACER HAVE_FENTRY MODULES SYSFS KALLSYMS_ALL" |
79 |
- ERROR_FUNCTION_TRACER="CONFIG_FUNCTION_TRACER must be enabled in the kernel's config file" |
80 |
- ERROR_HAVE_FENTRY="CONFIG_HAVE_FENTRY must be enabled in the kernel's config file" |
81 |
- ERROR_MODULES="CONFIG_MODULES must be enabled in the kernel's config file" |
82 |
- ERROR_SYSFS="CONFIG_SYSFS must be enabled in the kernel's config file" |
83 |
- ERROR_KALLSYMS_ALL="CONFIG_KALLSYMS_ALL must be enabled in the kernel's config file" |
84 |
- fi |
85 |
- else |
86 |
- eerror |
87 |
- eerror "kpatch is not available for Linux kernels below 4.0.0" |
88 |
- eerror |
89 |
- die "Upgrade the kernel sources before installing kpatch." |
90 |
- fi |
91 |
- |
92 |
- check_extra_config |
93 |
-} |
94 |
- |
95 |
-src_prepare() { |
96 |
- replace-flags '-O?' '-O1' |
97 |
- default |
98 |
-} |
99 |
- |
100 |
-src_compile() { |
101 |
- set_arch_to_kernel |
102 |
- emake all |
103 |
-} |
104 |
- |
105 |
-src_install() { |
106 |
- set_arch_to_kernel |
107 |
- emake DESTDIR="${D}" PREFIX="/usr" install |
108 |
- |
109 |
- einstalldocs |
110 |
-} |
111 |
|
112 |
diff --git a/sys-kernel/kpatch/kpatch-0.6.0.ebuild b/sys-kernel/kpatch/kpatch-0.6.0.ebuild |
113 |
deleted file mode 100644 |
114 |
index e9cdeb7b5ac..00000000000 |
115 |
--- a/sys-kernel/kpatch/kpatch-0.6.0.ebuild |
116 |
+++ /dev/null |
117 |
@@ -1,76 +0,0 @@ |
118 |
-# Copyright 1999-2018 Gentoo Foundation |
119 |
-# Distributed under the terms of the GNU General Public License v2 |
120 |
- |
121 |
-EAPI="6" |
122 |
- |
123 |
-inherit linux-info linux-mod flag-o-matic |
124 |
- |
125 |
-if [[ "${PV}" == "9999" ]]; then |
126 |
- inherit git-r3 |
127 |
- EGIT_REPO_URI="https://github.com/dynup/${PN}.git" |
128 |
-else |
129 |
- SRC_URI="https://github.com/dynup/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
130 |
- KEYWORDS="~amd64" |
131 |
-fi |
132 |
- |
133 |
-DESCRIPTION="Dynamic kernel patching for Linux" |
134 |
-HOMEPAGE="https://github.com/dynup/kpatch" |
135 |
- |
136 |
-LICENSE="GPL-2+" |
137 |
-SLOT="0" |
138 |
-IUSE="examples +modules test" |
139 |
- |
140 |
-RDEPEND=" |
141 |
- app-crypt/pesign |
142 |
- dev-libs/openssl:0= |
143 |
- sys-libs/zlib |
144 |
- sys-apps/pciutils |
145 |
-" |
146 |
- |
147 |
-DEPEND=" |
148 |
- ${RDEPEND} |
149 |
- dev-libs/elfutils |
150 |
- sys-devel/bison |
151 |
-" |
152 |
- |
153 |
-pkg_pretend() { |
154 |
- if kernel_is gt 3 9 0; then |
155 |
- if ! linux_config_exists; then |
156 |
- eerror "Unable to check the currently running kernel for kpatch support" |
157 |
- eerror "Please be sure a .config file is available in the kernel src dir" |
158 |
- eerror "and ensure the kernel has been built." |
159 |
- else |
160 |
- # Fail to build if these kernel options are not enabled (see kpatch/kmod/core/Makefile) |
161 |
- CONFIG_CHECK="FUNCTION_TRACER HAVE_FENTRY MODULES SYSFS KALLSYMS_ALL" |
162 |
- ERROR_FUNCTION_TRACER="CONFIG_FUNCTION_TRACER must be enabled in the kernel's config file" |
163 |
- ERROR_HAVE_FENTRY="CONFIG_HAVE_FENTRY must be enabled in the kernel's config file" |
164 |
- ERROR_MODULES="CONFIG_MODULES must be enabled in the kernel's config file" |
165 |
- ERROR_SYSFS="CONFIG_SYSFS must be enabled in the kernel's config file" |
166 |
- ERROR_KALLSYMS_ALL="CONFIG_KALLSYMS_ALL must be enabled in the kernel's config file" |
167 |
- fi |
168 |
- else |
169 |
- eerror |
170 |
- eerror "kpatch is not available for Linux kernels below 4.0.0" |
171 |
- eerror |
172 |
- die "Upgrade the kernel sources before installing kpatch." |
173 |
- fi |
174 |
- |
175 |
- check_extra_config |
176 |
-} |
177 |
- |
178 |
-src_prepare() { |
179 |
- replace-flags '-O?' '-O1' |
180 |
- default |
181 |
-} |
182 |
- |
183 |
-src_compile() { |
184 |
- set_arch_to_kernel |
185 |
- emake all |
186 |
-} |
187 |
- |
188 |
-src_install() { |
189 |
- set_arch_to_kernel |
190 |
- emake DESTDIR="${D}" PREFIX="/usr" install |
191 |
- |
192 |
- einstalldocs |
193 |
-} |
194 |
|
195 |
diff --git a/sys-kernel/kpatch/kpatch-0.6.2.ebuild b/sys-kernel/kpatch/kpatch-0.6.2.ebuild |
196 |
deleted file mode 100644 |
197 |
index e9cdeb7b5ac..00000000000 |
198 |
--- a/sys-kernel/kpatch/kpatch-0.6.2.ebuild |
199 |
+++ /dev/null |
200 |
@@ -1,76 +0,0 @@ |
201 |
-# Copyright 1999-2018 Gentoo Foundation |
202 |
-# Distributed under the terms of the GNU General Public License v2 |
203 |
- |
204 |
-EAPI="6" |
205 |
- |
206 |
-inherit linux-info linux-mod flag-o-matic |
207 |
- |
208 |
-if [[ "${PV}" == "9999" ]]; then |
209 |
- inherit git-r3 |
210 |
- EGIT_REPO_URI="https://github.com/dynup/${PN}.git" |
211 |
-else |
212 |
- SRC_URI="https://github.com/dynup/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
213 |
- KEYWORDS="~amd64" |
214 |
-fi |
215 |
- |
216 |
-DESCRIPTION="Dynamic kernel patching for Linux" |
217 |
-HOMEPAGE="https://github.com/dynup/kpatch" |
218 |
- |
219 |
-LICENSE="GPL-2+" |
220 |
-SLOT="0" |
221 |
-IUSE="examples +modules test" |
222 |
- |
223 |
-RDEPEND=" |
224 |
- app-crypt/pesign |
225 |
- dev-libs/openssl:0= |
226 |
- sys-libs/zlib |
227 |
- sys-apps/pciutils |
228 |
-" |
229 |
- |
230 |
-DEPEND=" |
231 |
- ${RDEPEND} |
232 |
- dev-libs/elfutils |
233 |
- sys-devel/bison |
234 |
-" |
235 |
- |
236 |
-pkg_pretend() { |
237 |
- if kernel_is gt 3 9 0; then |
238 |
- if ! linux_config_exists; then |
239 |
- eerror "Unable to check the currently running kernel for kpatch support" |
240 |
- eerror "Please be sure a .config file is available in the kernel src dir" |
241 |
- eerror "and ensure the kernel has been built." |
242 |
- else |
243 |
- # Fail to build if these kernel options are not enabled (see kpatch/kmod/core/Makefile) |
244 |
- CONFIG_CHECK="FUNCTION_TRACER HAVE_FENTRY MODULES SYSFS KALLSYMS_ALL" |
245 |
- ERROR_FUNCTION_TRACER="CONFIG_FUNCTION_TRACER must be enabled in the kernel's config file" |
246 |
- ERROR_HAVE_FENTRY="CONFIG_HAVE_FENTRY must be enabled in the kernel's config file" |
247 |
- ERROR_MODULES="CONFIG_MODULES must be enabled in the kernel's config file" |
248 |
- ERROR_SYSFS="CONFIG_SYSFS must be enabled in the kernel's config file" |
249 |
- ERROR_KALLSYMS_ALL="CONFIG_KALLSYMS_ALL must be enabled in the kernel's config file" |
250 |
- fi |
251 |
- else |
252 |
- eerror |
253 |
- eerror "kpatch is not available for Linux kernels below 4.0.0" |
254 |
- eerror |
255 |
- die "Upgrade the kernel sources before installing kpatch." |
256 |
- fi |
257 |
- |
258 |
- check_extra_config |
259 |
-} |
260 |
- |
261 |
-src_prepare() { |
262 |
- replace-flags '-O?' '-O1' |
263 |
- default |
264 |
-} |
265 |
- |
266 |
-src_compile() { |
267 |
- set_arch_to_kernel |
268 |
- emake all |
269 |
-} |
270 |
- |
271 |
-src_install() { |
272 |
- set_arch_to_kernel |
273 |
- emake DESTDIR="${D}" PREFIX="/usr" install |
274 |
- |
275 |
- einstalldocs |
276 |
-} |