summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorChristian Parpart <trapni@gentoo.org>2007-06-25 15:24:17 +0000
committerChristian Parpart <trapni@gentoo.org>2007-06-25 15:24:17 +0000
commitbe35520695c60b6c147819d691c460a2ae6a2058 (patch)
treea9f99f785481d3edb0a7957b59dde604ae8b65f1 /sys-fs
parentMarking amd64 stable (diff)
downloadgentoo-2-be35520695c60b6c147819d691c460a2ae6a2058.tar.gz
gentoo-2-be35520695c60b6c147819d691c460a2ae6a2058.tar.bz2
gentoo-2-be35520695c60b6c147819d691c460a2ae6a2058.zip
initial import
(Portage version: 2.1.2.9)
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/zfs-fuse/ChangeLog7
-rw-r--r--sys-fs/zfs-fuse/Manifest28
-rw-r--r--sys-fs/zfs-fuse/files/digest-zfs-fuse-0.4.0_beta13
-rw-r--r--sys-fs/zfs-fuse/files/zfs-fuse-0.4.0_beta1-fix_zdb_path.patch11
-rw-r--r--sys-fs/zfs-fuse/files/zfs-fuse-0.4.0_beta1-fix_zfs-fuse_path.patch13
-rw-r--r--sys-fs/zfs-fuse/files/zfs-fuse-0.4.0_beta1-fix_ztest_path.patch9
-rw-r--r--sys-fs/zfs-fuse/metadata.xml7
-rw-r--r--sys-fs/zfs-fuse/zfs-fuse-0.4.0_beta1.ebuild85
8 files changed, 163 insertions, 0 deletions
diff --git a/sys-fs/zfs-fuse/ChangeLog b/sys-fs/zfs-fuse/ChangeLog
new file mode 100644
index 000000000000..45b9ea619373
--- /dev/null
+++ b/sys-fs/zfs-fuse/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for sys-fs/zfs-fuse
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/zfs-fuse/ChangeLog,v 1.1 2007/06/25 15:24:17 trapni Exp $
+
+ 25 Jun 2007; <trapni@gentoo.org> ChangeLog:
+ initial import. Thanks to Alex Elsayed for the ebuild. Closes #177010
+
diff --git a/sys-fs/zfs-fuse/Manifest b/sys-fs/zfs-fuse/Manifest
new file mode 100644
index 000000000000..e427cdf3542a
--- /dev/null
+++ b/sys-fs/zfs-fuse/Manifest
@@ -0,0 +1,28 @@
+AUX zfs-fuse-0.4.0_beta1-fix_zdb_path.patch 510 RMD160 7a20f11836d11dc131a1e5227c8b8e66cdfa8f2d SHA1 39645ff69b525d1b177bd890d58730f23c5774fa SHA256 9764181601d95d58d857d99754d28bdaa919bd46ad4e8381d72a3c96414d967d
+MD5 66f15650234be964a562e8f2bbff5528 files/zfs-fuse-0.4.0_beta1-fix_zdb_path.patch 510
+RMD160 7a20f11836d11dc131a1e5227c8b8e66cdfa8f2d files/zfs-fuse-0.4.0_beta1-fix_zdb_path.patch 510
+SHA256 9764181601d95d58d857d99754d28bdaa919bd46ad4e8381d72a3c96414d967d files/zfs-fuse-0.4.0_beta1-fix_zdb_path.patch 510
+AUX zfs-fuse-0.4.0_beta1-fix_zfs-fuse_path.patch 366 RMD160 c9a877d85a9baf48cd46ca6e48bd88ef693275f6 SHA1 27d1589c18b28dfc53c4d2297248e6389413fb57 SHA256 f9917fffcbfb75cda3adcb51d08779fa6e59ad174007fd5069b65d2976935917
+MD5 6553a0ce3b2ab60a208d373348db9260 files/zfs-fuse-0.4.0_beta1-fix_zfs-fuse_path.patch 366
+RMD160 c9a877d85a9baf48cd46ca6e48bd88ef693275f6 files/zfs-fuse-0.4.0_beta1-fix_zfs-fuse_path.patch 366
+SHA256 f9917fffcbfb75cda3adcb51d08779fa6e59ad174007fd5069b65d2976935917 files/zfs-fuse-0.4.0_beta1-fix_zfs-fuse_path.patch 366
+AUX zfs-fuse-0.4.0_beta1-fix_ztest_path.patch 458 RMD160 085918e132c4103b3ac2c4208d4d915b8b423622 SHA1 9fb7685ed350b8aac86484d51d6bb8ccf8473a92 SHA256 d6b69995ea21ef2f556ff330f0bf25734445341b8f2b6f51ae68ce19e22ec9c8
+MD5 fabfba0cc5e379cc32ee0f9cc3d9b55a files/zfs-fuse-0.4.0_beta1-fix_ztest_path.patch 458
+RMD160 085918e132c4103b3ac2c4208d4d915b8b423622 files/zfs-fuse-0.4.0_beta1-fix_ztest_path.patch 458
+SHA256 d6b69995ea21ef2f556ff330f0bf25734445341b8f2b6f51ae68ce19e22ec9c8 files/zfs-fuse-0.4.0_beta1-fix_ztest_path.patch 458
+DIST zfs-fuse-0.4.0_beta1.tar.bz2 606593 RMD160 93c4aea550f3b55d39c2657f90e863abf89b5f79 SHA1 8df16da89f541bccb06f60d620def2783c3ee9c9 SHA256 0904b7a031ad0b8ae591d3aefa9a62b83d973392c6a8f8426d17d9b37d9974bb
+EBUILD zfs-fuse-0.4.0_beta1.ebuild 2379 RMD160 4fd0f122208db07ee4b5e11af5f20a3233c57e36 SHA1 6bfa22c74e8adfc77b74c23a461871f4c1cdead4 SHA256 eceb84e8707fab41c43743635366d194f529cfda84887444d86e679b75c6ca50
+MD5 ed7185b241ee7b07c904f4fc7ff08d0c zfs-fuse-0.4.0_beta1.ebuild 2379
+RMD160 4fd0f122208db07ee4b5e11af5f20a3233c57e36 zfs-fuse-0.4.0_beta1.ebuild 2379
+SHA256 eceb84e8707fab41c43743635366d194f529cfda84887444d86e679b75c6ca50 zfs-fuse-0.4.0_beta1.ebuild 2379
+MISC ChangeLog 235 RMD160 03a5d1706424aa47ec9d7ee56e048a3b656e2184 SHA1 09b0424e4d74c1d36f9887a9388771767650cc18 SHA256 572c64d6da01936cd34258036db8a374694c1d36d13084d03474e0d70bcb07d9
+MD5 8a340b43fa7befeefb89499f6e5153d9 ChangeLog 235
+RMD160 03a5d1706424aa47ec9d7ee56e048a3b656e2184 ChangeLog 235
+SHA256 572c64d6da01936cd34258036db8a374694c1d36d13084d03474e0d70bcb07d9 ChangeLog 235
+MISC metadata.xml 199 RMD160 852e94c35804ed3cf83a7149b577cd41a38e2ea1 SHA1 fda1928420c1ef71f25d78ac4a34e6236d9740fc SHA256 3137765885d09c96954a5018ae5627d0276f743c3d7a1f9cf7f1be517855ac5d
+MD5 bff27c36ac89297d86169d3fc2d2ad46 metadata.xml 199
+RMD160 852e94c35804ed3cf83a7149b577cd41a38e2ea1 metadata.xml 199
+SHA256 3137765885d09c96954a5018ae5627d0276f743c3d7a1f9cf7f1be517855ac5d metadata.xml 199
+MD5 ece7d7250244690c66b0969008a499c1 files/digest-zfs-fuse-0.4.0_beta1 265
+RMD160 44a79480be576976dcdb86fc2632005b212da767 files/digest-zfs-fuse-0.4.0_beta1 265
+SHA256 c37c4bf97b3bb4df6b322e7921e11a6ef8827903ed2810850cb037200aa1ebf9 files/digest-zfs-fuse-0.4.0_beta1 265
diff --git a/sys-fs/zfs-fuse/files/digest-zfs-fuse-0.4.0_beta1 b/sys-fs/zfs-fuse/files/digest-zfs-fuse-0.4.0_beta1
new file mode 100644
index 000000000000..b459b7a8a37e
--- /dev/null
+++ b/sys-fs/zfs-fuse/files/digest-zfs-fuse-0.4.0_beta1
@@ -0,0 +1,3 @@
+MD5 994329d660aa5dce7429eaee86426010 zfs-fuse-0.4.0_beta1.tar.bz2 606593
+RMD160 93c4aea550f3b55d39c2657f90e863abf89b5f79 zfs-fuse-0.4.0_beta1.tar.bz2 606593
+SHA256 0904b7a031ad0b8ae591d3aefa9a62b83d973392c6a8f8426d17d9b37d9974bb zfs-fuse-0.4.0_beta1.tar.bz2 606593
diff --git a/sys-fs/zfs-fuse/files/zfs-fuse-0.4.0_beta1-fix_zdb_path.patch b/sys-fs/zfs-fuse/files/zfs-fuse-0.4.0_beta1-fix_zdb_path.patch
new file mode 100644
index 000000000000..ac1f94d89598
--- /dev/null
+++ b/sys-fs/zfs-fuse/files/zfs-fuse-0.4.0_beta1-fix_zdb_path.patch
@@ -0,0 +1,11 @@
+--- a/src/cmd/ztest/ztest.c 2007-01-08 17:17:51.000000000 +0000
++++ b/src/cmd/ztest/ztest.c 2007-01-09 10:39:43.000000000 +0000
+@@ -2758,7 +2758,7 @@ ztest_verify_blocks(char *pool)
+
+ /* LINTED */
+ /* zfs-fuse: ztest is never installed, so zdb should be in ../zdb/ */
+- (void) sprintf(zdb, "../zdb/zdb -bc%s%s -U -O %s %s",
++ (void) sprintf(zdb, "/usr/sbin/zdb -bc%s%s -U -O %s %s",
+ zopt_verbose >= 3 ? "s" : "",
+ zopt_verbose >= 4 ? "v" : "",
+ ztest_random(2) == 0 ? "pre" : "post", pool);
diff --git a/sys-fs/zfs-fuse/files/zfs-fuse-0.4.0_beta1-fix_zfs-fuse_path.patch b/sys-fs/zfs-fuse/files/zfs-fuse-0.4.0_beta1-fix_zfs-fuse_path.patch
new file mode 100644
index 000000000000..3947e7c31199
--- /dev/null
+++ b/sys-fs/zfs-fuse/files/zfs-fuse-0.4.0_beta1-fix_zfs-fuse_path.patch
@@ -0,0 +1,13 @@
+--- a/src/zfs-fuse/run.sh 2007-01-09 11:07:35.000000000 +0000
++++ b/src/zfs-fuse/run.sh 2007-01-09 11:45:05.000000000 +0000
+@@ -1,5 +1,7 @@
+ #!/bin/sh
+-
++echo ""
++echo "On Gentoo ZFS-FUSE runs in debugging mode by default."
++echo "To run ZFS-FUSE without debugging please run /usr/bin/run-zfs-fuse"
+ ulimit -c unlimited
+-
+-./zfs-fuse
++echo ""
++/usr/bin/run-zfs-fuse
diff --git a/sys-fs/zfs-fuse/files/zfs-fuse-0.4.0_beta1-fix_ztest_path.patch b/sys-fs/zfs-fuse/files/zfs-fuse-0.4.0_beta1-fix_ztest_path.patch
new file mode 100644
index 000000000000..d87979d4391c
--- /dev/null
+++ b/sys-fs/zfs-fuse/files/zfs-fuse-0.4.0_beta1-fix_ztest_path.patch
@@ -0,0 +1,9 @@
+--- a/src/cmd/ztest/runtest.sh 2007-01-09 11:07:35.000000000 +0000
++++ b/src/cmd/ztest/runtest.sh 2007-01-09 11:08:51.000000000 +0000
+@@ -3,5 +3,5 @@ ulimit -c unlimited
+ echo "Start date: `date`"
+ #ZFS_DEBUG=on /usr/bin/time -v nice -n 20 ./ztest -V -T 86400 &> log.txt
+ #/usr/bin/time -v nice -n 20 ./ztest -V -T 86400
+-nice -n 20 ./ztest -V $* && echo Test successful
++nice -n 20 /usr/sbin/run-ztest -V $* && echo Test successful
+ echo "End date: `date`"
diff --git a/sys-fs/zfs-fuse/metadata.xml b/sys-fs/zfs-fuse/metadata.xml
new file mode 100644
index 000000000000..7f177456d4ef
--- /dev/null
+++ b/sys-fs/zfs-fuse/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>trapni@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/sys-fs/zfs-fuse/zfs-fuse-0.4.0_beta1.ebuild b/sys-fs/zfs-fuse/zfs-fuse-0.4.0_beta1.ebuild
new file mode 100644
index 000000000000..9633ad3e7e00
--- /dev/null
+++ b/sys-fs/zfs-fuse/zfs-fuse-0.4.0_beta1.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/zfs-fuse/zfs-fuse-0.4.0_beta1.ebuild,v 1.1 2007/06/25 15:24:17 trapni Exp $
+
+IUSE="doc"
+
+inherit eutils
+
+DESCRIPTION="An implementation of the ZFS filesystem for FUSE/Linux"
+HOMEPAGE="http://www.wizy.org/wiki/ZFS_on_FUSE"
+SRC_URI="http://download.berlios.de/zfs-fuse/zfs-fuse-${PV}.tar.bz2"
+
+LICENSE="CDDL"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+
+DEPEND=">=sys-libs/glibc-2.3.3
+ >=dev-util/scons-0.96.1
+ >=sys-fs/fuse-2.6.1"
+
+RDEPEND=">=sys-fs/fuse-2.6.1"
+
+S=${WORKDIR}/${P}/src
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch "${FILESDIR}/${P}-fix_zdb_path.patch"
+ epatch "${FILESDIR}/${P}-fix_zfs-fuse_path.patch"
+ epatch "${FILESDIR}/${P}-fix_ztest_path.patch"
+}
+
+src_compile() {
+ scons || die "Make failed"
+}
+
+src_install() {
+ mv cmd/ztest/ztest cmd/ztest/run-ztest || die "Error renaming"
+ mv cmd/ztest/runtest.sh cmd/ztest/ztest || die "Error renaming"
+
+ dosbin cmd/ztest/run-ztest || die "Error installing"
+ dosbin cmd/ztest/ztest || die "Error installing"
+
+ mv zfs-fuse/zfs-fuse zfs-fuse/run-zfs-fuse || die "Error renaming"
+ mv zfs-fuse/run.sh zfs-fuse/zfs-fuse || die "Error renaming"
+
+ dobin zfs-fuse/run-zfs-fuse || die "Error installing"
+ dobin zfs-fuse/zfs-fuse || die "Error installing"
+
+ dosbin cmd/zfs/zfs || die "Error installing"
+ dosbin cmd/zpool/zpool || die "Error installing"
+ dosbin cmd/zdb/zdb || die "Error installing"
+
+ cd ${WORKDIR}/${P} || die "Error installing"
+
+ dodoc CHANGES || die "Error installing"
+
+ if use doc; then
+ dodoc {INSTALL,TODO,STATUS,TESTING,HACKING,BUGS} || die "Error installing"
+ fi
+}
+
+pkg_postinst() {
+ echo
+ einfo "To debug and play with ZFS-FUSE make sure you have a recent 2.6.xx"
+ einfo "series kernel with the FUSE module compiled in OR built as a"
+ einfo "kernel module."
+ einfo
+ einfo "You can start the ZFS-FUSE daemon by running"
+ einfo
+ einfo " /usr/bin/run-zfs-fuse"
+ einfo
+ einfo "as root from the command line. "
+ einfo
+ einfo "For additional ZFS related commands I recommend the ZFS admin"
+ einfo "guide. http://opensolaris.org/os/community/zfs/docs/zfsadmin.pdf"
+ einfo
+ einfo "Don't forget this is an beta-quality release. Testing has been"
+ einfo "very limited so please make sure you backup any important data."
+ einfo
+ einfo "If you have any problems with zfs-fuse please visit the ZFS-FUSE."
+ einfo "website at http://developer.berlios.de/projects/zfs-fuse/"
+ echo
+}