diff options
author | Christian Parpart <trapni@gentoo.org> | 2008-09-25 17:03:20 +0000 |
---|---|---|
committer | Christian Parpart <trapni@gentoo.org> | 2008-09-25 17:03:20 +0000 |
commit | dc45dab382a8dd827a87b7b890e8c56ca7ee20d6 (patch) | |
tree | 6a98ab96fbcc7ba6046ee2c89267f4df6d326ce7 /sys-fs | |
parent | Stable for HPPA (bug #236971). (diff) | |
download | historical-dc45dab382a8dd827a87b7b890e8c56ca7ee20d6.tar.gz historical-dc45dab382a8dd827a87b7b890e8c56ca7ee20d6.tar.bz2 historical-dc45dab382a8dd827a87b7b890e8c56ca7ee20d6.zip |
added 0.5.0 release
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.26-gentoo x86_64
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/zfs-fuse/ChangeLog | 10 | ||||
-rw-r--r-- | sys-fs/zfs-fuse/Manifest | 8 | ||||
-rw-r--r-- | sys-fs/zfs-fuse/files/0.5.0/fix_zdb_path.patch | 11 | ||||
-rw-r--r-- | sys-fs/zfs-fuse/files/0.5.0/fix_zfs-fuse_path.patch | 13 | ||||
-rw-r--r-- | sys-fs/zfs-fuse/files/0.5.0/fix_ztest_path.patch | 9 | ||||
-rw-r--r-- | sys-fs/zfs-fuse/files/0.5.0/zfs-fuse.rc | 43 | ||||
-rw-r--r-- | sys-fs/zfs-fuse/zfs-fuse-0.5.0.ebuild | 101 |
7 files changed, 193 insertions, 2 deletions
diff --git a/sys-fs/zfs-fuse/ChangeLog b/sys-fs/zfs-fuse/ChangeLog index 0410ead42209..1ffcd58abb08 100644 --- a/sys-fs/zfs-fuse/ChangeLog +++ b/sys-fs/zfs-fuse/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sys-fs/zfs-fuse # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/zfs-fuse/ChangeLog,v 1.6 2008/09/25 16:29:02 trapni Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/zfs-fuse/ChangeLog,v 1.7 2008/09/25 17:03:20 trapni Exp $ + +*zfs-fuse-0.5.0 (25 Sep 2008) + + 25 Sep 2008; Christian Parpart <trapni@gentoo.org> + +files/0.5.0/fix_zdb_path.patch, +files/0.5.0/fix_zfs-fuse_path.patch, + +files/0.5.0/fix_ztest_path.patch, +files/0.5.0/zfs-fuse.rc, + +zfs-fuse-0.5.0.ebuild: + added 0.5.0 release 25 Sep 2008; Christian Parpart <trapni@gentoo.org> files/9999/zfs-fuse.rc, zfs-fuse-9999.ebuild: diff --git a/sys-fs/zfs-fuse/Manifest b/sys-fs/zfs-fuse/Manifest index 2f4ffc669411..f92fabfffbd3 100644 --- a/sys-fs/zfs-fuse/Manifest +++ b/sys-fs/zfs-fuse/Manifest @@ -1,3 +1,7 @@ +AUX 0.5.0/fix_zdb_path.patch 483 RMD160 e212d2a3b69e75a3fe7ee8085763d681b9058270 SHA1 1e78f4f8b4286626642d8393d3f75d0689f47f50 SHA256 d4cef9ffd277c699360a7f8a1b25503a89d661ecc8285f80ca1e8cc30172ee84 +AUX 0.5.0/fix_zfs-fuse_path.patch 378 RMD160 9f1f1692e5fbbc6ea29c7a5d7284bc75593bc3a4 SHA1 f49abfca781065a21259cae422bcf7149e169040 SHA256 42df1294e8801330f848261024d29b2e8f51b860527629a010b00b1ea89f7dd4 +AUX 0.5.0/fix_ztest_path.patch 458 RMD160 085918e132c4103b3ac2c4208d4d915b8b423622 SHA1 9fb7685ed350b8aac86484d51d6bb8ccf8473a92 SHA256 d6b69995ea21ef2f556ff330f0bf25734445341b8f2b6f51ae68ce19e22ec9c8 +AUX 0.5.0/zfs-fuse.rc 915 RMD160 6d8f05590e6e4fd9bdb11ac4ca2937729816f2c2 SHA1 42fa42f93acd3c713a0098e0d9bce04cec966e88 SHA256 a5ce5642ba7da82245ed9d9c388d11833fa1d4d27b8b0cf1e529c0a3cbb78107 AUX 9999/fix_zdb_path.patch 483 RMD160 e212d2a3b69e75a3fe7ee8085763d681b9058270 SHA1 1e78f4f8b4286626642d8393d3f75d0689f47f50 SHA256 d4cef9ffd277c699360a7f8a1b25503a89d661ecc8285f80ca1e8cc30172ee84 AUX 9999/fix_zfs-fuse_path.patch 378 RMD160 9f1f1692e5fbbc6ea29c7a5d7284bc75593bc3a4 SHA1 f49abfca781065a21259cae422bcf7149e169040 SHA256 42df1294e8801330f848261024d29b2e8f51b860527629a010b00b1ea89f7dd4 AUX 9999/fix_ztest_path.patch 458 RMD160 085918e132c4103b3ac2c4208d4d915b8b423622 SHA1 9fb7685ed350b8aac86484d51d6bb8ccf8473a92 SHA256 d6b69995ea21ef2f556ff330f0bf25734445341b8f2b6f51ae68ce19e22ec9c8 @@ -8,9 +12,11 @@ AUX zfs-fuse-0.4.0_beta1-fix_ztest_path.patch 458 RMD160 085918e132c4103b3ac2c42 AUX zfs-fuse.rc 789 RMD160 5502125094b6744602f1e6f6775e46d0a9ea5ebb SHA1 0ce5064bf44d35c24caa95ce6ddd765774b67918 SHA256 f7d5d03a33d65cb273eadb95e2c74ddc19c28d6dceac2c7b289ca4486460c03c AUX zfs-fuse.rc-r1 861 RMD160 899115bdacc991c1828e8827519e04fe8b62429b SHA1 0158221ddbdfc6b2ddc487e42be3d982c7b37f8c SHA256 cf835c4232997385e645af8447a70c784df9587ea6a656c9ee79e5dfe7bc7252 DIST zfs-fuse-0.4.0_beta1.tar.bz2 606593 RMD160 93c4aea550f3b55d39c2657f90e863abf89b5f79 SHA1 8df16da89f541bccb06f60d620def2783c3ee9c9 SHA256 0904b7a031ad0b8ae591d3aefa9a62b83d973392c6a8f8426d17d9b37d9974bb +DIST zfs-fuse-0.5.0.tar.bz2 875791 RMD160 9990c5800a7deff487381d01f90fb58619ea0b19 SHA1 28d7e58f53b1424b9279b7068f3cee9fda0a13f6 SHA256 d4e082f05005b8bd9167e7f61a6753bf219666dd6dcac581b6dadb01db7594f1 EBUILD zfs-fuse-0.4.0_beta1-r1.ebuild 2465 RMD160 9bcbc1a35c5b0bee59c5c4895e404653b9138552 SHA1 5be260042cf1f1389a809a31bfa848dc96d227cc SHA256 fa69522e8556ce68354aba5293922ca9c7919f6f83d2e57c80adfab596e82719 EBUILD zfs-fuse-0.4.0_beta1-r2.ebuild 2487 RMD160 5a431138933213e45dfa8e93ee77877f7df204c7 SHA1 80d12ec5e7ce99d641ffcf2351c5f392fef9fbbf SHA256 cbf4130e75520b5ee892f49f93bbb960a7b1e39f801982fd300301c30268ea79 EBUILD zfs-fuse-0.4.0_beta1.ebuild 2484 RMD160 0b0bc4f109f8851ef57b4bb053178e97e5789308 SHA1 7b2c7e529dd723ab070a04f6a6b382f44f308119 SHA256 913835c0843117413f1ca41abd384ef4828c83d32010b86ba35e11cd4c5f4111 +EBUILD zfs-fuse-0.5.0.ebuild 2719 RMD160 6030715430c72e895f88603f6da59cd5f93c528d SHA1 792bae053b1e8549e84f6109c4096efce95b6c50 SHA256 6e163004ad153842ee822051ddba66a3dafcc55587249578a87e0ce05fdf7ee7 EBUILD zfs-fuse-9999.ebuild 2640 RMD160 40ccace931739b361c4a22665207833c8c89b2c3 SHA1 d0bc064274381334a0de152c9eecadcc8d1d1709 SHA256 ddc2b7d8b9822afcdc167964f13952dda1cd25bc365e512c605b1f691cb1eb0b -MISC ChangeLog 1164 RMD160 da6e7e50ba468e423ee91e17fc2c51a012d2c8c2 SHA1 1e1deb026276ac47d154d709da70bd81455afca3 SHA256 cd329da04ab33cadb50c5beeec835977fc54a7c422fdea2f301feaafd1afff44 +MISC ChangeLog 1433 RMD160 09c7a3730a957d5968144ec73c8b35672a741cc2 SHA1 6e3e4b74d3baa5025e15182d5c4d5c48289aab19 SHA256 9be510a87e91dd8a9aa11d30ac6079ec1682dfd34a2847f454071c03ad4d9f95 MISC metadata.xml 220 RMD160 ba793b36fde5acec86d8150ceddf4f3cfb5c2ae9 SHA1 6eb5af4c500c3736062744a87af40484a47e6951 SHA256 9375701257b18e240ba4baf120f7ee473798d867728c9c3fdc50b3b305df7ded diff --git a/sys-fs/zfs-fuse/files/0.5.0/fix_zdb_path.patch b/sys-fs/zfs-fuse/files/0.5.0/fix_zdb_path.patch new file mode 100644 index 000000000000..770c1ae9dcf3 --- /dev/null +++ b/sys-fs/zfs-fuse/files/0.5.0/fix_zdb_path.patch @@ -0,0 +1,11 @@ +--- a/src/cmd/ztest/ztest.c 2008-06-24 13:52:22.000000000 -0400 ++++ b/src/cmd/ztest/ztest.c 2008-06-24 14:59:06.000000000 -0400 +@@ -2844,7 +2844,7 @@ + /* zfs-fuse: ztest is never installed, so zdb should be in ../zdb/ */ + /* LINTED */ + (void) sprintf(zdb, +- "../zdb/zdb -bc%s%s -U /tmp/zpool.cache -O %s %s", ++ "/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/0.5.0/fix_zfs-fuse_path.patch b/sys-fs/zfs-fuse/files/0.5.0/fix_zfs-fuse_path.patch new file mode 100644 index 000000000000..3b5d656f5744 --- /dev/null +++ b/sys-fs/zfs-fuse/files/0.5.0/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 --no-daemon ++echo "" ++/usr/bin/run-zfs-fuse diff --git a/sys-fs/zfs-fuse/files/0.5.0/fix_ztest_path.patch b/sys-fs/zfs-fuse/files/0.5.0/fix_ztest_path.patch new file mode 100644 index 000000000000..d87979d4391c --- /dev/null +++ b/sys-fs/zfs-fuse/files/0.5.0/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/files/0.5.0/zfs-fuse.rc b/sys-fs/zfs-fuse/files/0.5.0/zfs-fuse.rc new file mode 100644 index 000000000000..94648c91fa49 --- /dev/null +++ b/sys-fs/zfs-fuse/files/0.5.0/zfs-fuse.rc @@ -0,0 +1,43 @@ +#!/sbin/runscript +# 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/files/0.5.0/zfs-fuse.rc,v 1.1 2008/09/25 17:03:20 trapni Exp $ + +depend() { + need localmount + before net +} + +PIDFILE="/var/run/zfs/zfs-fuse.pid" +EXEFILE="/usr/sbin/zfs-fuse" + +checksystem() { + return 0 # TODO +} + +start() { + ebegin "Starting ZFS-FUSE" + checksystem || return 1 + start-stop-daemon --start --exec ${EXEFILE} \ + --user daemon --group disk -- --pidfile ${PIDFILE} + rv=$? + eend $rv + + if [[ $rv -eq 0 ]]; then + ebegin "Mounting ZFS filesystems" + zfs mount -a + eend $? + fi +} + +stop() { + ebegin "Unmounting ZFS filesystems" + zfs umount -f -a + eend $? + + ebegin "Stopping ZFS-FUSE" + checksystem || return 2 + start-stop-daemon --stop --pidfile ${PIDFILE} \ + --exec ${EXEFILE} --retry TERM/1/TERM/2/TERM/4/TERM/8/KILL + eend $? +} diff --git a/sys-fs/zfs-fuse/zfs-fuse-0.5.0.ebuild b/sys-fs/zfs-fuse/zfs-fuse-0.5.0.ebuild new file mode 100644 index 000000000000..6cbba152850e --- /dev/null +++ b/sys-fs/zfs-fuse/zfs-fuse-0.5.0.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2008 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.5.0.ebuild,v 1.1 2008/09/25 17:03:20 trapni Exp $ + +IUSE="doc debug" + +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" +SRC_URI="mirror://berlios/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 + >=dev-libs/libaio-0.3 + >=sys-fs/fuse-2.6.1" + +RDEPEND=">=sys-fs/fuse-2.6.1" + +S="${WORKDIR}/${P}/src" + +src_unpack() { + unpack ${A} || die + cd "${S}" + + epatch "${FILESDIR}/${PV}/fix_zdb_path.patch" + epatch "${FILESDIR}/${PV}/fix_zfs-fuse_path.patch" + epatch "${FILESDIR}/${PV}/fix_ztest_path.patch" +} + +src_compile() { + scons || die "Make failed" +} + +src_install() { + if useq debug; then + mv cmd/ztest/ztest cmd/ztest/run-ztest || die + mv cmd/ztest/runtest.sh cmd/ztest/ztest || die + dosbin cmd/ztest/run-ztest || die + fi + dosbin cmd/ztest/ztest || die + + if useq debug; then + mv zfs-fuse/zfs-fuse zfs-fuse/run-zfs-fuse || die + mv zfs-fuse/run.sh zfs-fuse/zfs-fuse || die + dobin zfs-fuse/run-zfs-fuse || die + fi + dosbin "zfs-fuse/zfs-fuse" || die + + dosbin "cmd/zfs/zfs" || die + dosbin "cmd/zpool/zpool" || die + dosbin "cmd/zdb/zdb" || die + + newinitd "${FILESDIR}/${PV}/${PN}.rc" "zfs-fuse" || die + + keepdir /var/lock/zfs || die + fowners daemon.disk /var/lock/zfs || die + + keepdir /var/run/zfs || die + fowners daemon.disk /var/run/zfs || die + + cd "${WORKDIR}/trunk" || die + + dodoc CHANGES || die + + if use doc; then + dodoc {INSTALL,TODO,STATUS,TESTING,HACKING,BUGS} || die + 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 " /etc/init.d/zfs-fuse start" + einfo + einfo "as root from the command line. " + einfo + einfo "And don't forget to add it permanently, if you want to:" + einfo + einfo " rc-update add zfs-fuse boot" + 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 +} |