1 |
commit: e15038ee28bc50c95a1c24c7b8d8be707ac3eadd |
2 |
Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 31 17:41:19 2012 +0000 |
4 |
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 31 17:41:19 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=e15038ee |
7 |
|
8 |
[zfs,spl] They are in tree already |
9 |
|
10 |
Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org> |
11 |
|
12 |
--- |
13 |
sys-devel/spl/files/spl-0.6.0-includedir.patch | 26 ------ |
14 |
sys-devel/spl/metadata.xml | 5 - |
15 |
sys-devel/spl/spl-0.6.0_rc4.ebuild | 44 ----------- |
16 |
sys-devel/spl/spl-9999.ebuild | 43 ---------- |
17 |
sys-fs/zfs/files/zfs-0.6.0-includedir.patch | 13 --- |
18 |
sys-fs/zfs/files/zfs.initd | 98 ------------------------ |
19 |
sys-fs/zfs/metadata.xml | 5 - |
20 |
sys-fs/zfs/zfs-0.6.0_rc4.ebuild | 67 ---------------- |
21 |
sys-fs/zfs/zfs-9999.ebuild | 66 ---------------- |
22 |
9 files changed, 0 insertions(+), 367 deletions(-) |
23 |
|
24 |
diff --git a/sys-devel/spl/files/spl-0.6.0-includedir.patch b/sys-devel/spl/files/spl-0.6.0-includedir.patch |
25 |
deleted file mode 100644 |
26 |
index 37cdbf6..0000000 |
27 |
--- a/sys-devel/spl/files/spl-0.6.0-includedir.patch |
28 |
+++ /dev/null |
29 |
@@ -1,26 +0,0 @@ |
30 |
-diff -urN spl-0.6.0-rc3.orig/include/Makefile.am spl-0.6.0-rc3/include/Makefile.am |
31 |
---- spl-0.6.0-rc3.orig/include/Makefile.am 2011-04-07 22:30:50.000000000 +0400 |
32 |
-+++ spl-0.6.0-rc3/include/Makefile.am 2011-04-12 03:12:40.000000000 +0400 |
33 |
-@@ -15,8 +15,7 @@ |
34 |
- noinst_HEADERS += $(top_srcdir)/include/vm/*.h |
35 |
- |
36 |
- install-data-local: |
37 |
-- destname=spl-$(SPL_META_VERSION)/$(LINUX_VERSION); \ |
38 |
-- instdest=$(DESTDIR)/usr/src/$$destname; \ |
39 |
-+ instdest=$(DESTDIR)/${includedir}/spl; \ |
40 |
- instfiles=`find . -name '*.h'`; \ |
41 |
- for instfile in $$instfiles; do \ |
42 |
- $(INSTALL) -D $$instfile $$instdest/$$instfile; \ |
43 |
-diff -urN spl-0.6.0-rc3.orig/Makefile.am spl-0.6.0-rc3/Makefile.am |
44 |
---- spl-0.6.0-rc3.orig/Makefile.am 2011-04-07 22:30:50.000000000 +0400 |
45 |
-+++ spl-0.6.0-rc3/Makefile.am 2011-04-12 03:12:22.000000000 +0400 |
46 |
-@@ -29,8 +29,7 @@ |
47 |
- |
48 |
- if CONFIG_KERNEL |
49 |
- install-data-local: |
50 |
-- destname=spl-$(SPL_META_VERSION)/$(LINUX_VERSION); \ |
51 |
-- instdest=$(DESTDIR)/usr/src/$$destname; \ |
52 |
-+ instdest=$(DESTDIR)/${includedir}/spl; \ |
53 |
- echo "$(SPL_META_VERSION)" >$$instdest/spl.release; \ |
54 |
- for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \ |
55 |
- $(INSTALL) -D $$instfile $$instdest/$$instfile; \ |
56 |
|
57 |
diff --git a/sys-devel/spl/metadata.xml b/sys-devel/spl/metadata.xml |
58 |
deleted file mode 100644 |
59 |
index 348e6c4..0000000 |
60 |
--- a/sys-devel/spl/metadata.xml |
61 |
+++ /dev/null |
62 |
@@ -1,5 +0,0 @@ |
63 |
-<?xml version="1.0" encoding="UTF-8"?> |
64 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
65 |
-<pkgmetadata> |
66 |
-<herd>cluster</herd> |
67 |
-</pkgmetadata> |
68 |
|
69 |
diff --git a/sys-devel/spl/spl-0.6.0_rc4.ebuild b/sys-devel/spl/spl-0.6.0_rc4.ebuild |
70 |
deleted file mode 100644 |
71 |
index e5df7e6..0000000 |
72 |
--- a/sys-devel/spl/spl-0.6.0_rc4.ebuild |
73 |
+++ /dev/null |
74 |
@@ -1,44 +0,0 @@ |
75 |
-# Copyright 1999-2011 Gentoo Foundation |
76 |
-# Distributed under the terms of the GNU General Public License v2 |
77 |
-# $Header: $ |
78 |
- |
79 |
-EAPI="2" |
80 |
- |
81 |
-WANT_AUTOMAKE="1.11" |
82 |
-AT_M4DIR=./config # for aclocal called by eautoreconf |
83 |
-inherit autotools eutils linux-info |
84 |
- |
85 |
-DESCRIPTION="Solaris Porting Layer - a Linux kernel module providing some Solaris kernel APIs" |
86 |
-HOMEPAGE="http://wiki.github.com/behlendorf/spl/" |
87 |
-SRC_URI="http://github.com/downloads/behlendorf/${PN}/${P/_/-}.tar.gz" |
88 |
- |
89 |
-LICENSE="|| ( GPL-2 GPL-3 )" |
90 |
-SLOT="0" |
91 |
-KEYWORDS="~amd64 -x86" |
92 |
-IUSE="" |
93 |
- |
94 |
-DEPEND=" |
95 |
- >=virtual/linux-sources-2.6 |
96 |
- " |
97 |
-RDEPEND="" |
98 |
- |
99 |
-S="${WORKDIR}/${P/_/-}" |
100 |
- |
101 |
-src_prepare() { |
102 |
- epatch "${FILESDIR}"/${PN}-0.6.0-includedir.patch |
103 |
- eautoreconf |
104 |
-} |
105 |
- |
106 |
-src_configure() { |
107 |
- set_arch_to_kernel |
108 |
- econf \ |
109 |
- --with-config=all \ |
110 |
- --with-linux="${KERNEL_DIR}" \ |
111 |
- --with-linux-obj="${KERNEL_DIR}" |
112 |
-} |
113 |
- |
114 |
-src_install() { |
115 |
- emake DESTDIR="${D}" install || die 'emake install failed' |
116 |
- dosym /usr/include/spl/spl_config.h /usr/include/spl/module/spl_config.h \ |
117 |
- || die |
118 |
-} |
119 |
|
120 |
diff --git a/sys-devel/spl/spl-9999.ebuild b/sys-devel/spl/spl-9999.ebuild |
121 |
deleted file mode 100644 |
122 |
index bb3c609..0000000 |
123 |
--- a/sys-devel/spl/spl-9999.ebuild |
124 |
+++ /dev/null |
125 |
@@ -1,43 +0,0 @@ |
126 |
-# Copyright 1999-2011 Gentoo Foundation |
127 |
-# Distributed under the terms of the GNU General Public License v2 |
128 |
-# $Header: $ |
129 |
- |
130 |
-EAPI="2" |
131 |
- |
132 |
-WANT_AUTOMAKE="1.11" |
133 |
-AT_M4DIR=./config # for aclocal called by eautoreconf |
134 |
-inherit autotools eutils git-2 linux-info |
135 |
- |
136 |
-DESCRIPTION="Solaris Porting Layer - a Linux kernel module providing some Solaris kernel APIs" |
137 |
-HOMEPAGE="http://wiki.github.com/behlendorf/spl/" |
138 |
-SRC_URI="" |
139 |
-EGIT_REPO_URI="git://github.com/behlendorf/spl.git" |
140 |
- |
141 |
-LICENSE="|| ( GPL-2 GPL-3 )" |
142 |
-SLOT="0" |
143 |
-KEYWORDS="" |
144 |
-IUSE="" |
145 |
- |
146 |
-DEPEND=" |
147 |
- >=virtual/linux-sources-2.6 |
148 |
- " |
149 |
-RDEPEND="" |
150 |
- |
151 |
-src_prepare() { |
152 |
- epatch "${FILESDIR}"/${PN}-0.6.0-includedir.patch |
153 |
- eautoreconf |
154 |
-} |
155 |
- |
156 |
-src_configure() { |
157 |
- set_arch_to_kernel |
158 |
- econf \ |
159 |
- --with-config=all \ |
160 |
- --with-linux="${KERNEL_DIR}" \ |
161 |
- --with-linux-obj="${KERNEL_DIR}" |
162 |
-} |
163 |
- |
164 |
-src_install() { |
165 |
- emake DESTDIR="${D}" install || die 'emake install failed' |
166 |
- dosym /usr/include/spl/spl_config.h /usr/include/spl/module/spl_config.h \ |
167 |
- || die |
168 |
-} |
169 |
|
170 |
diff --git a/sys-fs/zfs/files/zfs-0.6.0-includedir.patch b/sys-fs/zfs/files/zfs-0.6.0-includedir.patch |
171 |
deleted file mode 100644 |
172 |
index fd31ec3..0000000 |
173 |
--- a/sys-fs/zfs/files/zfs-0.6.0-includedir.patch |
174 |
+++ /dev/null |
175 |
@@ -1,13 +0,0 @@ |
176 |
-diff -urN zfs-0.6.0-rc3.orig/Makefile.am zfs-0.6.0-rc3/Makefile.am |
177 |
---- zfs-0.6.0-rc3.orig/Makefile.am 2011-04-07 22:31:01.000000000 +0400 |
178 |
-+++ zfs-0.6.0-rc3/Makefile.am 2011-04-12 03:25:36.000000000 +0400 |
179 |
-@@ -32,8 +32,7 @@ |
180 |
- |
181 |
- if CONFIG_KERNEL |
182 |
- install-data-local: |
183 |
-- destname=zfs-$(ZFS_META_VERSION)/$(LINUX_VERSION); \ |
184 |
-- instdest=$(DESTDIR)/usr/src/$$destname; \ |
185 |
-+ instdest=$(DESTDIR)/${includedir}/zfs-linux; \ |
186 |
- echo "$(ZFS_META_VERSION)" >$$instdest/zfs.release; \ |
187 |
- for instfile in $(noinst_HEADERS) module/$(LINUX_SYMBOLS); do \ |
188 |
- $(INSTALL) -D $$instfile $$instdest/$$instfile; \ |
189 |
|
190 |
diff --git a/sys-fs/zfs/files/zfs.initd b/sys-fs/zfs/files/zfs.initd |
191 |
deleted file mode 100644 |
192 |
index c9c5634..0000000 |
193 |
--- a/sys-fs/zfs/files/zfs.initd |
194 |
+++ /dev/null |
195 |
@@ -1,98 +0,0 @@ |
196 |
-#!/sbin/runscript |
197 |
-# Copyright 1999-2011 Gentoo Foundation |
198 |
-# Distributed under the terms of the GNU General Public License v2 |
199 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/zfs/files/zfs,v 0.9 2011/04/30 10:13:43 devsk Exp $ |
200 |
- |
201 |
-depend() |
202 |
-{ |
203 |
- before net |
204 |
- after udev |
205 |
- keyword -lxc -openvz -prefix -vserver |
206 |
-} |
207 |
- |
208 |
-CACHEFILE=/etc/zfs/zpool.cache |
209 |
-ZPOOL=/usr/sbin/zpool |
210 |
-ZFS=/usr/sbin/zfs |
211 |
-ZFS_MODULE=zfs |
212 |
- |
213 |
-checksystem() { |
214 |
- if [ -c /dev/zfs ]; then |
215 |
- einfo "ZFS modules already loaded" |
216 |
- return 0 |
217 |
- else |
218 |
- einfo "Checking if ZFS modules present" |
219 |
- if [ "x$(modprobe -l $ZFS_MODULE | grep $ZFS_MODULE)" == "x" ]; then |
220 |
- eerror "$ZFS_MODULE not found. Is the ZFS package installed?" |
221 |
- return 1 |
222 |
- fi |
223 |
- fi |
224 |
- einfo "Checking if zfs userspace tools present" |
225 |
- if [ ! -x $ZPOOL ]; then |
226 |
- eerror "$ZPOOL binary not found." |
227 |
- return 1 |
228 |
- fi |
229 |
- if [ ! -x $ZFS ]; then |
230 |
- eerror "$ZFS binary not found." |
231 |
- return 1 |
232 |
- fi |
233 |
- return 0 |
234 |
-} |
235 |
- |
236 |
-start() { |
237 |
- ebegin "Starting ZFS" |
238 |
- checksystem || return 1 |
239 |
- if [ ! -c /dev/zfs ]; then |
240 |
- modprobe $ZFS_MODULE |
241 |
- rv=$? |
242 |
- if [ $rv -ne 0 ]; then |
243 |
- eerror "Failed to load the $ZFS_MODULE module, check 'dmesg|tail'." |
244 |
- eend $rv |
245 |
- return $rv |
246 |
- fi |
247 |
- fi |
248 |
- |
249 |
- # Import all pools described by the cache file, and then mount |
250 |
- # all filesystem based on their properties. |
251 |
- if [ -f $CACHEFILE ]; then |
252 |
- einfo "Importing ZFS pools" |
253 |
- # as per fedora script, import can fail if all pools are already imported |
254 |
- # The check for $rv makes no sense...but someday, it will work right. |
255 |
- $ZPOOL import -c $CACHEFILE -aN 2>/dev/null || true |
256 |
- rv=$? |
257 |
- if [ $rv -ne 0 ]; then |
258 |
- eerror "Failed to import not-yet imported pools." |
259 |
- eend $rv |
260 |
- return $rv |
261 |
- fi |
262 |
- fi |
263 |
- |
264 |
- einfo "Mounting ZFS filesystems" |
265 |
- $ZFS mount -a |
266 |
- rv=$? |
267 |
- if [ $rv -ne 0 ]; then |
268 |
- eerror "Failed to mount ZFS filesystems." |
269 |
- eend $rv |
270 |
- return $rv |
271 |
- fi |
272 |
- |
273 |
- eend 0 |
274 |
- return 0 |
275 |
-} |
276 |
- |
277 |
-stop() |
278 |
-{ |
279 |
- ebegin "Unmounting ZFS filesystems" |
280 |
- $ZFS umount -a |
281 |
- rv=$? |
282 |
- if [ $rv -ne 0 ]; then |
283 |
- eerror "Failed to umount ZFS filesystems." |
284 |
- fi |
285 |
- |
286 |
- eend $rv |
287 |
-} |
288 |
- |
289 |
-status() |
290 |
-{ |
291 |
- # show pool status and list |
292 |
- $ZPOOL status && echo && $ZPOOL list |
293 |
-} |
294 |
|
295 |
diff --git a/sys-fs/zfs/metadata.xml b/sys-fs/zfs/metadata.xml |
296 |
deleted file mode 100644 |
297 |
index 348e6c4..0000000 |
298 |
--- a/sys-fs/zfs/metadata.xml |
299 |
+++ /dev/null |
300 |
@@ -1,5 +0,0 @@ |
301 |
-<?xml version="1.0" encoding="UTF-8"?> |
302 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
303 |
-<pkgmetadata> |
304 |
-<herd>cluster</herd> |
305 |
-</pkgmetadata> |
306 |
|
307 |
diff --git a/sys-fs/zfs/zfs-0.6.0_rc4.ebuild b/sys-fs/zfs/zfs-0.6.0_rc4.ebuild |
308 |
deleted file mode 100644 |
309 |
index efe78b2..0000000 |
310 |
--- a/sys-fs/zfs/zfs-0.6.0_rc4.ebuild |
311 |
+++ /dev/null |
312 |
@@ -1,67 +0,0 @@ |
313 |
-# Copyright 1999-2011 Gentoo Foundation |
314 |
-# Distributed under the terms of the GNU General Public License v2 |
315 |
-# $Header: $ |
316 |
- |
317 |
-EAPI="2" |
318 |
- |
319 |
-WANT_AUTOMAKE="1.11" |
320 |
-AT_M4DIR=./config # for aclocal called by eautoreconf |
321 |
-inherit autotools eutils linux-mod |
322 |
- |
323 |
-DESCRIPTION="Native ZFS for Linux" |
324 |
-HOMEPAGE="http://wiki.github.com/behlendorf/zfs/" |
325 |
-SRC_URI="http://github.com/downloads/behlendorf/${PN}/${P/_/-}.tar.gz" |
326 |
- |
327 |
-LICENSE="CDDL GPL-2" |
328 |
-SLOT="0" |
329 |
-KEYWORDS="~amd64 -x86" |
330 |
-IUSE="" |
331 |
- |
332 |
-DEPEND=" |
333 |
- >=sys-devel/spl-${PV} |
334 |
- >=virtual/linux-sources-2.6 |
335 |
- " |
336 |
-RDEPEND=" |
337 |
- !sys-fs/zfs-fuse |
338 |
- " |
339 |
- |
340 |
-S="${WORKDIR}/${P/_/-}" |
341 |
- |
342 |
-pkg_setup() { |
343 |
- linux-mod_pkg_setup |
344 |
- kernel_is gt 2 6 32 || die "Your kernel is too old. ${CATEGORY}/${PN} need 2.6.32 or newer." |
345 |
- linux_config_exists || die "Your kernel sources are unconfigured." |
346 |
- if linux_chkconfig_present PREEMPT; then |
347 |
- eerror "${CATEGORY}/${PN} doesn't currently work with PREEMPT kernel." |
348 |
- eerror "Please look at bug https://github.com/behlendorf/zfs/issues/83" |
349 |
- die "PREEMPT kernel" |
350 |
- fi |
351 |
-} |
352 |
- |
353 |
-src_prepare() { |
354 |
- epatch "${FILESDIR}/${PN}-0.6.0-includedir.patch" |
355 |
- eautoreconf |
356 |
-} |
357 |
- |
358 |
-src_configure() { |
359 |
- set_arch_to_kernel |
360 |
- econf \ |
361 |
- --with-config=all \ |
362 |
- --with-linux="${KERNEL_DIR}" \ |
363 |
- --with-linux-obj="${KERNEL_DIR}" \ |
364 |
- --with-spl=/usr/include/spl \ |
365 |
- --with-spl-obj=/usr/include/spl/module |
366 |
-} |
367 |
- |
368 |
-src_compile() { |
369 |
- set_arch_to_kernel |
370 |
- default # _not_ the one from linux-mod |
371 |
-} |
372 |
- |
373 |
-src_install() { |
374 |
- emake DESTDIR="${D}" install || die 'emake install failed' |
375 |
- newinitd "${FILESDIR}/zfs.initd" zfs |
376 |
- keepdir /var/lock/zfs |
377 |
- # Drop unwanted files |
378 |
- rm -rf "${D}/usr/src" || die "removing unwanted files die" |
379 |
-} |
380 |
|
381 |
diff --git a/sys-fs/zfs/zfs-9999.ebuild b/sys-fs/zfs/zfs-9999.ebuild |
382 |
deleted file mode 100644 |
383 |
index efb5f7c..0000000 |
384 |
--- a/sys-fs/zfs/zfs-9999.ebuild |
385 |
+++ /dev/null |
386 |
@@ -1,66 +0,0 @@ |
387 |
-# Copyright 1999-2011 Gentoo Foundation |
388 |
-# Distributed under the terms of the GNU General Public License v2 |
389 |
-# $Header: $ |
390 |
- |
391 |
-EAPI="2" |
392 |
- |
393 |
-WANT_AUTOMAKE="1.11" |
394 |
-AT_M4DIR=./config # for aclocal called by eautoreconf |
395 |
- |
396 |
-EGIT_REPO_URI="http://github.com/behlendorf/zfs.git" |
397 |
- |
398 |
-inherit autotools eutils git-2 linux-mod |
399 |
- |
400 |
-DESCRIPTION="Native ZFS for Linux" |
401 |
-HOMEPAGE="http://wiki.github.com/behlendorf/zfs/" |
402 |
-SRC_URI="" |
403 |
- |
404 |
-LICENSE="CDDL GPL-2" |
405 |
-SLOT="0" |
406 |
-KEYWORDS="" |
407 |
-IUSE="" |
408 |
- |
409 |
-DEPEND=" |
410 |
- >=sys-devel/spl-${PV} |
411 |
- >=virtual/linux-sources-2.6 |
412 |
- " |
413 |
-RDEPEND=" |
414 |
- !sys-fs/zfs-fuse |
415 |
- " |
416 |
- |
417 |
-pkg_setup() { |
418 |
- linux-mod_pkg_setup |
419 |
- kernel_is gt 2 6 32 || die "Your kernel is too old. ${CATEGORY}/${PN} need 2.6.32 or newer." |
420 |
- linux_config_exists || die "Your kernel sources are unconfigured." |
421 |
- if linux_chkconfig_present PREEMPT; then |
422 |
- eerror "${CATEGORY}/${PN} doesn't currently work with PREEMPT kernel." |
423 |
- eerror "Please look at bug https://github.com/behlendorf/zfs/issues/83" |
424 |
- die "PREEMPT kernel" |
425 |
- fi |
426 |
-} |
427 |
- |
428 |
-src_prepare() { |
429 |
- epatch "${FILESDIR}"/${PN}-0.6.0-includedir.patch |
430 |
- eautoreconf |
431 |
-} |
432 |
- |
433 |
-src_configure() { |
434 |
- set_arch_to_kernel |
435 |
- econf \ |
436 |
- --with-config=all \ |
437 |
- --with-linux="${KERNEL_DIR}" \ |
438 |
- --with-linux-obj="${KERNEL_DIR}" \ |
439 |
- --with-spl=/usr/include/spl \ |
440 |
- --with-spl-obj=/usr/include/spl/module |
441 |
-} |
442 |
- |
443 |
-src_compile() { |
444 |
- set_arch_to_kernel |
445 |
- default # _not_ the one from linux-mod |
446 |
-} |
447 |
- |
448 |
-src_install() { |
449 |
- emake DESTDIR="${D}" install || die 'emake install failed' |
450 |
- # Drop unwanted files |
451 |
- rm -rf "${D}/usr/src" || die "removing unwanted files die" |
452 |
-} |