1 |
commit: 92c80eec4c58b1cff2a4bdb5869b52b3ff30fcc2 |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 23 07:58:42 2019 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 23 08:00:28 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92c80eec |
7 |
|
8 |
sys-kernel/spl: drop 0.7.12 |
9 |
|
10 |
Package-Manager: Portage-2.3.67, Repoman-2.3.15 |
11 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
12 |
|
13 |
sys-kernel/spl/Manifest | 1 - |
14 |
sys-kernel/spl/spl-0.7.12.ebuild | 112 --------------------------------------- |
15 |
2 files changed, 113 deletions(-) |
16 |
|
17 |
diff --git a/sys-kernel/spl/Manifest b/sys-kernel/spl/Manifest |
18 |
index 9283a507091..afdeeb795aa 100644 |
19 |
--- a/sys-kernel/spl/Manifest |
20 |
+++ b/sys-kernel/spl/Manifest |
21 |
@@ -1,3 +1,2 @@ |
22 |
DIST spl-0.6.5.11.tar.gz 531710 BLAKE2B e89cb5a023d3f4b3949a385100b56e01c5fd0ff4448bc175f8463a84b74d1d8f1fcf669c2e4b73f2ec3326653594106ebfa3e66987e49a9cd029355bbb317990 SHA512 eae1641a0d528cb9182deccd309625e13abf3db88ba1cbb54947055b23d1f94b62c045f939d5e952784f19719eea5fdf85d65c5abd22b9db167ea7780bc55722 |
23 |
-DIST spl-0.7.12.tar.gz 551880 BLAKE2B 751909a5dba7060b6eb88acdf2e9a64010a802eef98f967d61bb4463b5e80d86c325d027d8092beab4f72b1bac90b1c5fa20a2d1448bd331e0bf214b4b5acbb6 SHA512 4dcada8ccde3fc0320eafbd8b3592baf3f5970babbb2c0b8d2c2c5f254bd940e52565fa86c176f455f819da2a192077df8183640fb7c6279410d628e446335f9 |
24 |
DIST spl-0.7.13.tar.gz 554211 BLAKE2B 7c1c95beb23b9725b3552a5bdb2260743c72fbc96cbdda8353893b9b13299b8a30c64d22400bc37d35ee21389eec809ee6d7b85a181ce44f0065dff81cb2e2a4 SHA512 31b67dc2f88f5028b5994aef886e05aeb9e65661895bffa29c5a1ac84df5f1c8e9c715f8cd7b63cf271d651ab7278aa63f51c78000f333ff7a75f0f8eedb5998 |
25 |
|
26 |
diff --git a/sys-kernel/spl/spl-0.7.12.ebuild b/sys-kernel/spl/spl-0.7.12.ebuild |
27 |
deleted file mode 100644 |
28 |
index 308d3ea67a9..00000000000 |
29 |
--- a/sys-kernel/spl/spl-0.7.12.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,112 +0,0 @@ |
32 |
-# Copyright 1999-2019 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI="5" |
36 |
- |
37 |
-if [[ ${PV} == "9999" ]] ; then |
38 |
- AUTOTOOLS_AUTORECONF="1" |
39 |
- EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git" |
40 |
- inherit git-r3 |
41 |
-else |
42 |
- SRC_URI="https://github.com/zfsonlinux/zfs/releases/download/zfs-${PV}/${P}.tar.gz" |
43 |
- KEYWORDS="amd64" |
44 |
-fi |
45 |
- |
46 |
-inherit flag-o-matic linux-info linux-mod autotools-utils |
47 |
- |
48 |
-DESCRIPTION="The Solaris Porting Layer provides many of the Solaris kernel APIs" |
49 |
-HOMEPAGE="https://zfsonlinux.org/" |
50 |
- |
51 |
-LICENSE="GPL-2" |
52 |
-SLOT="0" |
53 |
-IUSE="custom-cflags debug" |
54 |
-RESTRICT="debug? ( strip ) test" |
55 |
- |
56 |
-COMMON_DEPEND=" |
57 |
- dev-lang/perl |
58 |
- virtual/awk" |
59 |
- |
60 |
-DEPEND="${COMMON_DEPEND}" |
61 |
- |
62 |
-RDEPEND="${COMMON_DEPEND} |
63 |
- !sys-devel/spl" |
64 |
- |
65 |
-AT_M4DIR="config" |
66 |
-AUTOTOOLS_IN_SOURCE_BUILD="1" |
67 |
-DOCS=( AUTHORS DISCLAIMER ) |
68 |
- |
69 |
-pkg_setup() { |
70 |
- linux-info_pkg_setup |
71 |
- CONFIG_CHECK=" |
72 |
- !DEBUG_LOCK_ALLOC |
73 |
- MODULES |
74 |
- KALLSYMS |
75 |
- !PAX_KERNEXEC_PLUGIN_METHOD_OR |
76 |
- !PAX_SIZE_OVERFLOW |
77 |
- !TRIM_UNUSED_KSYMS |
78 |
- ZLIB_DEFLATE |
79 |
- ZLIB_INFLATE |
80 |
- " |
81 |
- |
82 |
- use debug && CONFIG_CHECK="${CONFIG_CHECK} |
83 |
- FRAME_POINTER |
84 |
- DEBUG_INFO |
85 |
- !DEBUG_INFO_REDUCED |
86 |
- " |
87 |
- |
88 |
- kernel_is ge 2 6 32 || die "Linux 2.6.32 or newer required" |
89 |
- |
90 |
- [ ${PV} != "9999" ] && \ |
91 |
- { kernel_is le 4 19 || die "Linux 4.19 is the latest supported version."; } |
92 |
- |
93 |
- check_extra_config |
94 |
-} |
95 |
- |
96 |
-src_prepare() { |
97 |
- # Workaround for hard coded path |
98 |
- sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || \ |
99 |
- die "Cannot patch check.sh" |
100 |
- |
101 |
- # splat is unnecessary unless we are debugging |
102 |
- use debug || { sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" || die ; } |
103 |
- |
104 |
- # Set module revision number |
105 |
- [ ${PV} != "9999" ] && \ |
106 |
- { sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; } |
107 |
- |
108 |
- autotools-utils_src_prepare |
109 |
-} |
110 |
- |
111 |
-src_configure() { |
112 |
- use custom-cflags || strip-flags |
113 |
- filter-ldflags -Wl,* |
114 |
- |
115 |
- set_arch_to_kernel |
116 |
- local myeconfargs=( |
117 |
- --bindir="${EPREFIX}/bin" |
118 |
- --sbindir="${EPREFIX}/sbin" |
119 |
- --with-config=all |
120 |
- --with-linux="${KV_DIR}" |
121 |
- --with-linux-obj="${KV_OUT_DIR}" |
122 |
- $(use_enable debug) |
123 |
- ) |
124 |
- autotools-utils_src_configure |
125 |
-} |
126 |
- |
127 |
-src_install() { |
128 |
- autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}" |
129 |
-} |
130 |
- |
131 |
-pkg_postinst() { |
132 |
- linux-mod_pkg_postinst |
133 |
- |
134 |
- # Remove old modules |
135 |
- if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ] |
136 |
- then |
137 |
- ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl" |
138 |
- ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl" |
139 |
- ewarn "Automatically removing old modules to avoid problems." |
140 |
- rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules" |
141 |
- rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon" |
142 |
- fi |
143 |
-} |