1 |
commit: ff9c5ce36e6aeb6aa1984408501e264157bb469c |
2 |
Author: Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun May 2 11:25:43 2021 +0000 |
4 |
Commit: Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com> |
5 |
CommitDate: Sun May 2 11:25:43 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=ff9c5ce3 |
7 |
|
8 |
Remove deprecated spl |
9 |
|
10 |
Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com> |
11 |
|
12 |
sys-kernel/spl/Manifest | 3 -- |
13 |
sys-kernel/spl/metadata.xml | 11 ---- |
14 |
sys-kernel/spl/spl-0.7.4.ebuild | 110 ---------------------------------------- |
15 |
3 files changed, 124 deletions(-) |
16 |
|
17 |
diff --git a/sys-kernel/spl/Manifest b/sys-kernel/spl/Manifest |
18 |
deleted file mode 100644 |
19 |
index 8e20af2..0000000 |
20 |
--- a/sys-kernel/spl/Manifest |
21 |
+++ /dev/null |
22 |
@@ -1,3 +0,0 @@ |
23 |
-DIST spl-0.7.4.tar.gz 549297 SHA256 cae43c81838f90a444be25bdff5c6c3ee99ffe515a2f477d9758a6274a1a7dc4 SHA512 59d7f7af7550c09fe0bce1b8c619621631e3b8c4455b455ea711f6f84fb0e538fdc9efef402abb7f03f4ca600f28da31adc6a5377d5933adeef5fd184baf29c2 WHIRLPOOL 6ee22a88c4a401c995c1df6dc6d14179417bdd02873009241a6ac8f7a9a1b4bc722d422e67fda69fba541ad1a86ec2e6de803a82a378b0ced1a9f8af43a94b1a |
24 |
-EBUILD spl-0.7.4.ebuild 2686 SHA256 fd58c7504a17d097115c041fb6d2479d4d67a91318648f5c47c4fc5d1b42d205 SHA512 40efef0df61bafa6616601a089154322cf632e544682b6ec99c71c10469e0955cf59d5fead2086d034b2e876146cb10c43fed5cf5456be46ae71a992e4e51785 WHIRLPOOL d637bdc7df802668120fd45bea7390484aecc341fff8f9e6eb31ae4a335aae202136b6fab4f98d258b984e4dcefe37abe89217287d05571d493df63b45daa7ca |
25 |
-MISC metadata.xml 339 SHA256 239e75e812eba596023f53a9720bc9d6f7621c1b2402064dc6051ff6b34feb86 SHA512 dcb07bd65643f0264048bbf9eaa532929d7130ce90fbb9f4db43d9ba92b688df24551f0d5270a01f0dd24068e2f71be425ef5e2d2a42b98ea2bcfbae8294d751 WHIRLPOOL 262051d85386e58a5ed2c30102ff3886199cf13428749a91811efc2567578ac319efa5c16356442af21c68030e6aafbdf1b0f16f6a2c8105584af909cdb620e5 |
26 |
|
27 |
diff --git a/sys-kernel/spl/metadata.xml b/sys-kernel/spl/metadata.xml |
28 |
deleted file mode 100644 |
29 |
index 9d57ab7..0000000 |
30 |
--- a/sys-kernel/spl/metadata.xml |
31 |
+++ /dev/null |
32 |
@@ -1,11 +0,0 @@ |
33 |
-<?xml version="1.0" encoding="UTF-8"?> |
34 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
35 |
-<pkgmetadata> |
36 |
- <maintainer type="person"> |
37 |
- <email>samuelbernardo.mail@×××××.com</email> |
38 |
- <name>Samuel Bernardo</name> |
39 |
- </maintainer> |
40 |
- <upstream> |
41 |
- <remote-id type="github">zfsonlinux/spl</remote-id> |
42 |
- </upstream> |
43 |
-</pkgmetadata> |
44 |
|
45 |
diff --git a/sys-kernel/spl/spl-0.7.4.ebuild b/sys-kernel/spl/spl-0.7.4.ebuild |
46 |
deleted file mode 100644 |
47 |
index 2b74e28..0000000 |
48 |
--- a/sys-kernel/spl/spl-0.7.4.ebuild |
49 |
+++ /dev/null |
50 |
@@ -1,110 +0,0 @@ |
51 |
-# Copyright 1999-2017 Gentoo Foundation |
52 |
-# Distributed under the terms of the GNU General Public License v2 |
53 |
- |
54 |
-EAPI="5" |
55 |
- |
56 |
-if [[ ${PV} == "9999" ]] ; then |
57 |
- AUTOTOOLS_AUTORECONF="1" |
58 |
- EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git" |
59 |
- inherit git-r3 |
60 |
-else |
61 |
- SRC_URI="https://github.com/zfsonlinux/zfs/releases/download/zfs-${PV}/${P}.tar.gz" |
62 |
- KEYWORDS=" ~amd64" |
63 |
-fi |
64 |
- |
65 |
-inherit flag-o-matic linux-info linux-mod autotools-utils |
66 |
- |
67 |
-DESCRIPTION="The Solaris Porting Layer provides many of the Solaris kernel APIs" |
68 |
-HOMEPAGE="http://zfsonlinux.org/" |
69 |
- |
70 |
-LICENSE="GPL-2" |
71 |
-SLOT="0" |
72 |
-IUSE="custom-cflags debug" |
73 |
-RESTRICT="debug? ( strip ) test" |
74 |
- |
75 |
-COMMON_DEPEND="dev-lang/perl |
76 |
- virtual/awk" |
77 |
- |
78 |
-DEPEND="${COMMON_DEPEND}" |
79 |
- |
80 |
-RDEPEND="${COMMON_DEPEND} |
81 |
- !sys-devel/spl" |
82 |
- |
83 |
-AT_M4DIR="config" |
84 |
-AUTOTOOLS_IN_SOURCE_BUILD="1" |
85 |
-DOCS=( AUTHORS DISCLAIMER ) |
86 |
- |
87 |
-pkg_setup() { |
88 |
- linux-info_pkg_setup |
89 |
- CONFIG_CHECK=" |
90 |
- !DEBUG_LOCK_ALLOC |
91 |
- MODULES |
92 |
- KALLSYMS |
93 |
- !PAX_KERNEXEC_PLUGIN_METHOD_OR |
94 |
- !PAX_SIZE_OVERFLOW |
95 |
- ZLIB_DEFLATE |
96 |
- ZLIB_INFLATE |
97 |
- " |
98 |
- |
99 |
- use debug && CONFIG_CHECK="${CONFIG_CHECK} |
100 |
- FRAME_POINTER |
101 |
- DEBUG_INFO |
102 |
- !DEBUG_INFO_REDUCED |
103 |
- " |
104 |
- |
105 |
- kernel_is ge 2 6 32 || die "Linux 2.6.32 or newer required" |
106 |
- |
107 |
- [ ${PV} != "9999" ] && \ |
108 |
- { kernel_is le 4 13 || die "Linux 4.13 is the latest supported version."; } |
109 |
- |
110 |
- check_extra_config |
111 |
-} |
112 |
- |
113 |
-src_prepare() { |
114 |
- # Workaround for hard coded path |
115 |
- sed -i "s|/sbin/lsmod|/bin/lsmod|" "${S}/scripts/check.sh" || \ |
116 |
- die "Cannot patch check.sh" |
117 |
- |
118 |
- # splat is unnecessary unless we are debugging |
119 |
- use debug || { sed -e 's/^subdir-m += splat$//' -i "${S}/module/Makefile.in" || die ; } |
120 |
- |
121 |
- # Set module revision number |
122 |
- [ ${PV} != "9999" ] && \ |
123 |
- { sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" "${S}/META" || die "Could not set Gentoo release"; } |
124 |
- |
125 |
- autotools-utils_src_prepare |
126 |
-} |
127 |
- |
128 |
-src_configure() { |
129 |
- use custom-cflags || strip-flags |
130 |
- filter-ldflags -Wl,* |
131 |
- |
132 |
- set_arch_to_kernel |
133 |
- local myeconfargs=( |
134 |
- --bindir="${EPREFIX}/bin" |
135 |
- --sbindir="${EPREFIX}/sbin" |
136 |
- --with-config=all |
137 |
- --with-linux="${KV_DIR}" |
138 |
- --with-linux-obj="${KV_OUT_DIR}" |
139 |
- $(use_enable debug) |
140 |
- ) |
141 |
- autotools-utils_src_configure |
142 |
-} |
143 |
- |
144 |
-src_install() { |
145 |
- autotools-utils_src_install INSTALL_MOD_PATH="${INSTALL_MOD_PATH:-$EROOT}" |
146 |
-} |
147 |
- |
148 |
-pkg_postinst() { |
149 |
- linux-mod_pkg_postinst |
150 |
- |
151 |
- # Remove old modules |
152 |
- if [ -d "${EROOT}lib/modules/${KV_FULL}/addon/spl" ] |
153 |
- then |
154 |
- ewarn "${PN} now installs modules in ${EROOT}lib/modules/${KV_FULL}/extra/spl" |
155 |
- ewarn "Old modules were detected in ${EROOT}lib/modules/${KV_FULL}/addon/spl" |
156 |
- ewarn "Automatically removing old modules to avoid problems." |
157 |
- rm -r "${EROOT}lib/modules/${KV_FULL}/addon/spl" || die "Cannot remove modules" |
158 |
- rmdir --ignore-fail-on-non-empty "${EROOT}lib/modules/${KV_FULL}/addon" |
159 |
- fi |
160 |
-} |