Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/spl/
Date: Fri, 26 Apr 2019 21:09:54
Message-Id: 1556312981.b65fcd27bd37e78b38d79c877fed393a34b241dd.gyakovlev@gentoo
1 commit: b65fcd27bd37e78b38d79c877fed393a34b241dd
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 26 20:30:02 2019 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 26 21:09:41 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b65fcd27
7
8 sys-kernel/spl: drop old
9
10 Package-Manager: Portage-2.3.65, Repoman-2.3.12
11 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
12
13 sys-kernel/spl/Manifest | 4 --
14 sys-kernel/spl/spl-0.7.11.ebuild | 112 ---------------------------------
15 sys-kernel/spl/spl-0.7.12-r1.ebuild | 112 ---------------------------------
16 sys-kernel/spl/spl-0.7.8.ebuild | 112 ---------------------------------
17 sys-kernel/spl/spl-0.7.9-r1.ebuild | 121 ------------------------------------
18 sys-kernel/spl/spl-0.7.9.ebuild | 112 ---------------------------------
19 6 files changed, 573 deletions(-)
20
21 diff --git a/sys-kernel/spl/Manifest b/sys-kernel/spl/Manifest
22 index d75b815355f..9283a507091 100644
23 --- a/sys-kernel/spl/Manifest
24 +++ b/sys-kernel/spl/Manifest
25 @@ -1,7 +1,3 @@
26 DIST spl-0.6.5.11.tar.gz 531710 BLAKE2B e89cb5a023d3f4b3949a385100b56e01c5fd0ff4448bc175f8463a84b74d1d8f1fcf669c2e4b73f2ec3326653594106ebfa3e66987e49a9cd029355bbb317990 SHA512 eae1641a0d528cb9182deccd309625e13abf3db88ba1cbb54947055b23d1f94b62c045f939d5e952784f19719eea5fdf85d65c5abd22b9db167ea7780bc55722
27 -DIST spl-0.7.11.tar.gz 551795 BLAKE2B c7002e0281ad6c1e97e2e5ef1365500ed2dce8d06339679b1a5e6405bea61c918cde280b8b840ab023a8fb73198faf985043e3e5eddae2494b331bea7637ad44 SHA512 c7d5d2f504f98f581554d3cf96fe5ae128dae6a27b0aa802e0f95f6b7d89f8a9783c71696e095a6a25a319c28087d933b5ebaa015111f96711d2fb54195c197c
28 DIST spl-0.7.12.tar.gz 551880 BLAKE2B 751909a5dba7060b6eb88acdf2e9a64010a802eef98f967d61bb4463b5e80d86c325d027d8092beab4f72b1bac90b1c5fa20a2d1448bd331e0bf214b4b5acbb6 SHA512 4dcada8ccde3fc0320eafbd8b3592baf3f5970babbb2c0b8d2c2c5f254bd940e52565fa86c176f455f819da2a192077df8183640fb7c6279410d628e446335f9
29 DIST spl-0.7.13.tar.gz 554211 BLAKE2B 7c1c95beb23b9725b3552a5bdb2260743c72fbc96cbdda8353893b9b13299b8a30c64d22400bc37d35ee21389eec809ee6d7b85a181ce44f0065dff81cb2e2a4 SHA512 31b67dc2f88f5028b5994aef886e05aeb9e65661895bffa29c5a1ac84df5f1c8e9c715f8cd7b63cf271d651ab7278aa63f51c78000f333ff7a75f0f8eedb5998
30 -DIST spl-0.7.8.tar.gz 559558 BLAKE2B 5aa68a8150cb0c922c1ad0df9d1260136cedd95c13df45cc4490d937746a2a0e76e964978128a6f4e553f7bad4adc72a0408ef89969a15ba3f43af26e412b61c SHA512 dcd38dd0971042603baa474460486ed2e7cb59468de7613fa713eb4bdd081026794af7780b5d8970dd17645b04b6dde1e2f43e89a782437a50afc679a8850001
31 -DIST spl-0.7.9-r1-patches.tar.xz 2428 BLAKE2B 5a8550be587c511975d579bdba889538ed574d51b75ff579d02da190a2f8f0c2ba79a5ab4247603f17d26d0ec4d3552dd066c276b99e152d3d95a420db62038c SHA512 829d16e9ab98d568174558fe850e6cb75a70c05de485054f1801f3896dc1fb56a1aaa7f4ba6c7e107558eef591456098291917ca071774c12f4191b0004b9b93
32 -DIST spl-0.7.9.tar.gz 551115 BLAKE2B 0ebb801ff60e5f8691c0b3386b5b1c326ea9d40decc20fb455ddb103d108923f28cd870e1c1dc465af5e24e8627973f2b60e7b9b88b3fdbd3ac45f3bd167def2 SHA512 89a42a65b3c09a654ffc3bcef84a0735eefe080c2d790400a3691cccf01e9f0a95cd40a4eed37542cfa7f4a94f20e06aae44886325473713407833d247751ec3
33
34 diff --git a/sys-kernel/spl/spl-0.7.11.ebuild b/sys-kernel/spl/spl-0.7.11.ebuild
35 deleted file mode 100644
36 index d9f8f54f0f1..00000000000
37 --- a/sys-kernel/spl/spl-0.7.11.ebuild
38 +++ /dev/null
39 @@ -1,112 +0,0 @@
40 -# Copyright 1999-2019 Gentoo Authors
41 -# Distributed under the terms of the GNU General Public License v2
42 -
43 -EAPI="5"
44 -
45 -if [[ ${PV} == "9999" ]] ; then
46 - AUTOTOOLS_AUTORECONF="1"
47 - EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git"
48 - inherit git-r3
49 -else
50 - SRC_URI="https://github.com/zfsonlinux/zfs/releases/download/zfs-${PV}/${P}.tar.gz"
51 - KEYWORDS="~amd64"
52 -fi
53 -
54 -inherit flag-o-matic linux-info linux-mod autotools-utils
55 -
56 -DESCRIPTION="The Solaris Porting Layer provides many of the Solaris kernel APIs"
57 -HOMEPAGE="https://zfsonlinux.org/"
58 -
59 -LICENSE="GPL-2"
60 -SLOT="0"
61 -IUSE="custom-cflags debug"
62 -RESTRICT="debug? ( strip ) test"
63 -
64 -COMMON_DEPEND="
65 - dev-lang/perl
66 - virtual/awk"
67 -
68 -DEPEND="${COMMON_DEPEND}"
69 -
70 -RDEPEND="${COMMON_DEPEND}
71 - !sys-devel/spl"
72 -
73 -AT_M4DIR="config"
74 -AUTOTOOLS_IN_SOURCE_BUILD="1"
75 -DOCS=( AUTHORS DISCLAIMER )
76 -
77 -pkg_setup() {
78 - linux-info_pkg_setup
79 - CONFIG_CHECK="
80 - !DEBUG_LOCK_ALLOC
81 - MODULES
82 - KALLSYMS
83 - !PAX_KERNEXEC_PLUGIN_METHOD_OR
84 - !PAX_SIZE_OVERFLOW
85 - !TRIM_UNUSED_KSYMS
86 - ZLIB_DEFLATE
87 - ZLIB_INFLATE
88 - "
89 -
90 - use debug && CONFIG_CHECK="${CONFIG_CHECK}
91 - FRAME_POINTER
92 - DEBUG_INFO
93 - !DEBUG_INFO_REDUCED
94 - "
95 -
96 - kernel_is ge 2 6 32 || die "Linux 2.6.32 or newer required"
97 -
98 - [ ${PV} != "9999" ] && \
99 - { kernel_is le 4 18 || die "Linux 4.18 is the latest supported version."; }
100 -
101 - check_extra_config
102 -}
103 -
104 -src_prepare() {
105 - # Workaround for hard coded path
106 - sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || \
107 - die "Cannot patch check.sh"
108 -
109 - # splat is unnecessary unless we are debugging
110 - use debug || { sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" || die ; }
111 -
112 - # Set module revision number
113 - [ ${PV} != "9999" ] && \
114 - { sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; }
115 -
116 - autotools-utils_src_prepare
117 -}
118 -
119 -src_configure() {
120 - use custom-cflags || strip-flags
121 - filter-ldflags -Wl,*
122 -
123 - set_arch_to_kernel
124 - local myeconfargs=(
125 - --bindir="${EPREFIX}/bin"
126 - --sbindir="${EPREFIX}/sbin"
127 - --with-config=all
128 - --with-linux="${KV_DIR}"
129 - --with-linux-obj="${KV_OUT_DIR}"
130 - $(use_enable debug)
131 - )
132 - autotools-utils_src_configure
133 -}
134 -
135 -src_install() {
136 - autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}"
137 -}
138 -
139 -pkg_postinst() {
140 - linux-mod_pkg_postinst
141 -
142 - # Remove old modules
143 - if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ]
144 - then
145 - ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl"
146 - ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl"
147 - ewarn "Automatically removing old modules to avoid problems."
148 - rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules"
149 - rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon"
150 - fi
151 -}
152
153 diff --git a/sys-kernel/spl/spl-0.7.12-r1.ebuild b/sys-kernel/spl/spl-0.7.12-r1.ebuild
154 deleted file mode 100644
155 index 3fc2610b1ca..00000000000
156 --- a/sys-kernel/spl/spl-0.7.12-r1.ebuild
157 +++ /dev/null
158 @@ -1,112 +0,0 @@
159 -# Copyright 1999-2019 Gentoo Authors
160 -# Distributed under the terms of the GNU General Public License v2
161 -
162 -EAPI="5"
163 -
164 -if [[ ${PV} == "9999" ]] ; then
165 - AUTOTOOLS_AUTORECONF="1"
166 - EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git"
167 - inherit git-r3
168 -else
169 - SRC_URI="https://github.com/zfsonlinux/zfs/releases/download/zfs-${PV}/${P}.tar.gz"
170 - KEYWORDS="~amd64"
171 -fi
172 -
173 -inherit flag-o-matic linux-info linux-mod autotools-utils
174 -
175 -DESCRIPTION="The Solaris Porting Layer provides many of the Solaris kernel APIs"
176 -HOMEPAGE="https://zfsonlinux.org/"
177 -
178 -LICENSE="GPL-2"
179 -SLOT="0"
180 -IUSE="custom-cflags debug"
181 -RESTRICT="debug? ( strip ) test"
182 -
183 -COMMON_DEPEND="
184 - dev-lang/perl
185 - virtual/awk"
186 -
187 -DEPEND="${COMMON_DEPEND}"
188 -
189 -RDEPEND="${COMMON_DEPEND}
190 - !sys-devel/spl"
191 -
192 -AT_M4DIR="config"
193 -AUTOTOOLS_IN_SOURCE_BUILD="1"
194 -DOCS=( AUTHORS DISCLAIMER )
195 -
196 -pkg_setup() {
197 - linux-info_pkg_setup
198 - CONFIG_CHECK="
199 - !DEBUG_LOCK_ALLOC
200 - MODULES
201 - KALLSYMS
202 - !PAX_KERNEXEC_PLUGIN_METHOD_OR
203 - !PAX_SIZE_OVERFLOW
204 - !TRIM_UNUSED_KSYMS
205 - ZLIB_DEFLATE
206 - ZLIB_INFLATE
207 - "
208 -
209 - use debug && CONFIG_CHECK="${CONFIG_CHECK}
210 - FRAME_POINTER
211 - DEBUG_INFO
212 - !DEBUG_INFO_REDUCED
213 - "
214 -
215 - kernel_is ge 2 6 32 || die "Linux 2.6.32 or newer required"
216 -
217 - [ ${PV} != "9999" ] && \
218 - { kernel_is le 4 20 || die "Linux 4.20 is the latest supported version."; }
219 -
220 - check_extra_config
221 -}
222 -
223 -src_prepare() {
224 - # Workaround for hard coded path
225 - sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || \
226 - die "Cannot patch check.sh"
227 -
228 - # splat is unnecessary unless we are debugging
229 - use debug || { sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" || die ; }
230 -
231 - # Set module revision number
232 - [ ${PV} != "9999" ] && \
233 - { sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; }
234 -
235 - autotools-utils_src_prepare
236 -}
237 -
238 -src_configure() {
239 - use custom-cflags || strip-flags
240 - filter-ldflags -Wl,*
241 -
242 - set_arch_to_kernel
243 - local myeconfargs=(
244 - --bindir="${EPREFIX}/bin"
245 - --sbindir="${EPREFIX}/sbin"
246 - --with-config=all
247 - --with-linux="${KV_DIR}"
248 - --with-linux-obj="${KV_OUT_DIR}"
249 - $(use_enable debug)
250 - )
251 - autotools-utils_src_configure
252 -}
253 -
254 -src_install() {
255 - autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}"
256 -}
257 -
258 -pkg_postinst() {
259 - linux-mod_pkg_postinst
260 -
261 - # Remove old modules
262 - if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ]
263 - then
264 - ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl"
265 - ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl"
266 - ewarn "Automatically removing old modules to avoid problems."
267 - rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules"
268 - rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon"
269 - fi
270 -}
271
272 diff --git a/sys-kernel/spl/spl-0.7.8.ebuild b/sys-kernel/spl/spl-0.7.8.ebuild
273 deleted file mode 100644
274 index b9eb732ac91..00000000000
275 --- a/sys-kernel/spl/spl-0.7.8.ebuild
276 +++ /dev/null
277 @@ -1,112 +0,0 @@
278 -# Copyright 1999-2019 Gentoo Authors
279 -# Distributed under the terms of the GNU General Public License v2
280 -
281 -EAPI="5"
282 -
283 -if [[ ${PV} == "9999" ]] ; then
284 - AUTOTOOLS_AUTORECONF="1"
285 - EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git"
286 - inherit git-r3
287 -else
288 - SRC_URI="https://github.com/zfsonlinux/zfs/releases/download/zfs-${PV}/${P}.tar.gz"
289 - KEYWORDS="amd64"
290 -fi
291 -
292 -inherit flag-o-matic linux-info linux-mod autotools-utils
293 -
294 -DESCRIPTION="The Solaris Porting Layer provides many of the Solaris kernel APIs"
295 -HOMEPAGE="https://zfsonlinux.org/"
296 -
297 -LICENSE="GPL-2"
298 -SLOT="0"
299 -IUSE="custom-cflags debug"
300 -RESTRICT="debug? ( strip ) test"
301 -
302 -COMMON_DEPEND="
303 - dev-lang/perl
304 - virtual/awk"
305 -
306 -DEPEND="${COMMON_DEPEND}"
307 -
308 -RDEPEND="${COMMON_DEPEND}
309 - !sys-devel/spl"
310 -
311 -AT_M4DIR="config"
312 -AUTOTOOLS_IN_SOURCE_BUILD="1"
313 -DOCS=( AUTHORS DISCLAIMER )
314 -
315 -pkg_setup() {
316 - linux-info_pkg_setup
317 - CONFIG_CHECK="
318 - !DEBUG_LOCK_ALLOC
319 - MODULES
320 - KALLSYMS
321 - !PAX_KERNEXEC_PLUGIN_METHOD_OR
322 - !PAX_SIZE_OVERFLOW
323 - !TRIM_UNUSED_KSYMS
324 - ZLIB_DEFLATE
325 - ZLIB_INFLATE
326 - "
327 -
328 - use debug && CONFIG_CHECK="${CONFIG_CHECK}
329 - FRAME_POINTER
330 - DEBUG_INFO
331 - !DEBUG_INFO_REDUCED
332 - "
333 -
334 - kernel_is ge 2 6 32 || die "Linux 2.6.32 or newer required"
335 -
336 - [ ${PV} != "9999" ] && \
337 - { kernel_is le 4 16 || die "Linux 4.16 is the latest supported version."; }
338 -
339 - check_extra_config
340 -}
341 -
342 -src_prepare() {
343 - # Workaround for hard coded path
344 - sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || \
345 - die "Cannot patch check.sh"
346 -
347 - # splat is unnecessary unless we are debugging
348 - use debug || { sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" || die ; }
349 -
350 - # Set module revision number
351 - [ ${PV} != "9999" ] && \
352 - { sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; }
353 -
354 - autotools-utils_src_prepare
355 -}
356 -
357 -src_configure() {
358 - use custom-cflags || strip-flags
359 - filter-ldflags -Wl,*
360 -
361 - set_arch_to_kernel
362 - local myeconfargs=(
363 - --bindir="${EPREFIX}/bin"
364 - --sbindir="${EPREFIX}/sbin"
365 - --with-config=all
366 - --with-linux="${KV_DIR}"
367 - --with-linux-obj="${KV_OUT_DIR}"
368 - $(use_enable debug)
369 - )
370 - autotools-utils_src_configure
371 -}
372 -
373 -src_install() {
374 - autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}"
375 -}
376 -
377 -pkg_postinst() {
378 - linux-mod_pkg_postinst
379 -
380 - # Remove old modules
381 - if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ]
382 - then
383 - ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl"
384 - ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl"
385 - ewarn "Automatically removing old modules to avoid problems."
386 - rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules"
387 - rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon"
388 - fi
389 -}
390
391 diff --git a/sys-kernel/spl/spl-0.7.9-r1.ebuild b/sys-kernel/spl/spl-0.7.9-r1.ebuild
392 deleted file mode 100644
393 index a7e641c1e61..00000000000
394 --- a/sys-kernel/spl/spl-0.7.9-r1.ebuild
395 +++ /dev/null
396 @@ -1,121 +0,0 @@
397 -# Copyright 1999-2019 Gentoo Authors
398 -# Distributed under the terms of the GNU General Public License v2
399 -
400 -EAPI="5"
401 -
402 -AUTOTOOLS_AUTORECONF="1"
403 -if [[ ${PV} == "9999" ]] ; then
404 - EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git"
405 - inherit git-r3
406 -else
407 - SRC_URI="https://github.com/zfsonlinux/zfs/releases/download/zfs-${PV}/${P}.tar.gz
408 - https://dev.gentoo.org/~ryao/dist/${PF}-patches.tar.xz"
409 - KEYWORDS="~amd64"
410 -fi
411 -
412 -inherit flag-o-matic linux-info linux-mod autotools-utils
413 -
414 -DESCRIPTION="The Solaris Porting Layer provides many of the Solaris kernel APIs"
415 -HOMEPAGE="https://zfsonlinux.org/"
416 -
417 -LICENSE="GPL-2"
418 -SLOT="0"
419 -IUSE="custom-cflags debug"
420 -RESTRICT="debug? ( strip ) test"
421 -
422 -COMMON_DEPEND="
423 - dev-lang/perl
424 - virtual/awk"
425 -
426 -DEPEND="${COMMON_DEPEND}"
427 -
428 -RDEPEND="${COMMON_DEPEND}
429 - !sys-devel/spl"
430 -
431 -AT_M4DIR="config"
432 -AUTOTOOLS_IN_SOURCE_BUILD="1"
433 -DOCS=( AUTHORS DISCLAIMER )
434 -
435 -pkg_setup() {
436 - linux-info_pkg_setup
437 - CONFIG_CHECK="
438 - !DEBUG_LOCK_ALLOC
439 - MODULES
440 - KALLSYMS
441 - !PAX_KERNEXEC_PLUGIN_METHOD_OR
442 - !PAX_SIZE_OVERFLOW
443 - !TRIM_UNUSED_KSYMS
444 - ZLIB_DEFLATE
445 - ZLIB_INFLATE
446 - "
447 -
448 - use debug && CONFIG_CHECK="${CONFIG_CHECK}
449 - FRAME_POINTER
450 - DEBUG_INFO
451 - !DEBUG_INFO_REDUCED
452 - "
453 -
454 - kernel_is ge 2 6 32 || die "Linux 2.6.32 or newer required"
455 -
456 - [ ${PV} != "9999" ] && \
457 - { kernel_is le 4 18 || die "Linux 4.18 is the latest supported version."; }
458 -
459 - check_extra_config
460 -}
461 -
462 -src_prepare() {
463 - if [ ${PV} != "9999" ]
464 - then
465 - # Apply patch set
466 - EPATCH_SUFFIX="patch" \
467 - EPATCH_FORCE="yes" \
468 - epatch "${WORKDIR}/${PF}-patches"
469 - fi
470 -
471 - # Workaround for hard coded path
472 - sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || \
473 - die "Cannot patch check.sh"
474 -
475 - # splat is unnecessary unless we are debugging
476 - use debug || { sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" || die ; }
477 -
478 - # Set module revision number
479 - [ ${PV} != "9999" ] && \
480 - { sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; }
481 -
482 - autotools-utils_src_prepare
483 -}
484 -
485 -src_configure() {
486 - use custom-cflags || strip-flags
487 - filter-ldflags -Wl,*
488 -
489 - set_arch_to_kernel
490 - local myeconfargs=(
491 - --bindir="${EPREFIX}/bin"
492 - --sbindir="${EPREFIX}/sbin"
493 - --with-config=all
494 - --with-linux="${KV_DIR}"
495 - --with-linux-obj="${KV_OUT_DIR}"
496 - $(use_enable debug)
497 - )
498 - autotools-utils_src_configure
499 -}
500 -
501 -src_install() {
502 - autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}"
503 -}
504 -
505 -pkg_postinst() {
506 - linux-mod_pkg_postinst
507 -
508 - # Remove old modules
509 - if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ]
510 - then
511 - ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl"
512 - ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl"
513 - ewarn "Automatically removing old modules to avoid problems."
514 - rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules"
515 - rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon"
516 - fi
517 -}
518
519 diff --git a/sys-kernel/spl/spl-0.7.9.ebuild b/sys-kernel/spl/spl-0.7.9.ebuild
520 deleted file mode 100644
521 index 7f42011c86d..00000000000
522 --- a/sys-kernel/spl/spl-0.7.9.ebuild
523 +++ /dev/null
524 @@ -1,112 +0,0 @@
525 -# Copyright 1999-2019 Gentoo Authors
526 -# Distributed under the terms of the GNU General Public License v2
527 -
528 -EAPI="5"
529 -
530 -if [[ ${PV} == "9999" ]] ; then
531 - AUTOTOOLS_AUTORECONF="1"
532 - EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git"
533 - inherit git-r3
534 -else
535 - SRC_URI="https://github.com/zfsonlinux/zfs/releases/download/zfs-${PV}/${P}.tar.gz"
536 - KEYWORDS="amd64"
537 -fi
538 -
539 -inherit flag-o-matic linux-info linux-mod autotools-utils
540 -
541 -DESCRIPTION="The Solaris Porting Layer provides many of the Solaris kernel APIs"
542 -HOMEPAGE="https://zfsonlinux.org/"
543 -
544 -LICENSE="GPL-2"
545 -SLOT="0"
546 -IUSE="custom-cflags debug"
547 -RESTRICT="debug? ( strip ) test"
548 -
549 -COMMON_DEPEND="
550 - dev-lang/perl
551 - virtual/awk"
552 -
553 -DEPEND="${COMMON_DEPEND}"
554 -
555 -RDEPEND="${COMMON_DEPEND}
556 - !sys-devel/spl"
557 -
558 -AT_M4DIR="config"
559 -AUTOTOOLS_IN_SOURCE_BUILD="1"
560 -DOCS=( AUTHORS DISCLAIMER )
561 -
562 -pkg_setup() {
563 - linux-info_pkg_setup
564 - CONFIG_CHECK="
565 - !DEBUG_LOCK_ALLOC
566 - MODULES
567 - KALLSYMS
568 - !PAX_KERNEXEC_PLUGIN_METHOD_OR
569 - !PAX_SIZE_OVERFLOW
570 - !TRIM_UNUSED_KSYMS
571 - ZLIB_DEFLATE
572 - ZLIB_INFLATE
573 - "
574 -
575 - use debug && CONFIG_CHECK="${CONFIG_CHECK}
576 - FRAME_POINTER
577 - DEBUG_INFO
578 - !DEBUG_INFO_REDUCED
579 - "
580 -
581 - kernel_is ge 2 6 32 || die "Linux 2.6.32 or newer required"
582 -
583 - [ ${PV} != "9999" ] && \
584 - { kernel_is le 4 17 || die "Linux 4.17 is the latest supported version."; }
585 -
586 - check_extra_config
587 -}
588 -
589 -src_prepare() {
590 - # Workaround for hard coded path
591 - sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || \
592 - die "Cannot patch check.sh"
593 -
594 - # splat is unnecessary unless we are debugging
595 - use debug || { sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" || die ; }
596 -
597 - # Set module revision number
598 - [ ${PV} != "9999" ] && \
599 - { sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; }
600 -
601 - autotools-utils_src_prepare
602 -}
603 -
604 -src_configure() {
605 - use custom-cflags || strip-flags
606 - filter-ldflags -Wl,*
607 -
608 - set_arch_to_kernel
609 - local myeconfargs=(
610 - --bindir="${EPREFIX}/bin"
611 - --sbindir="${EPREFIX}/sbin"
612 - --with-config=all
613 - --with-linux="${KV_DIR}"
614 - --with-linux-obj="${KV_OUT_DIR}"
615 - $(use_enable debug)
616 - )
617 - autotools-utils_src_configure
618 -}
619 -
620 -src_install() {
621 - autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}"
622 -}
623 -
624 -pkg_postinst() {
625 - linux-mod_pkg_postinst
626 -
627 - # Remove old modules
628 - if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ]
629 - then
630 - ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl"
631 - ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl"
632 - ewarn "Automatically removing old modules to avoid problems."
633 - rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules"
634 - rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon"
635 - fi
636 -}