Gentoo Archives: gentoo-commits

From: "Christian Parpart (trapni)" <trapni@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-fs/zfs-fuse: ChangeLog zfs-fuse-9999.ebuild
Date: Thu, 25 Sep 2008 14:32:20
Message-Id: E1KirtB-0007E1-5b@stork.gentoo.org
1 trapni 08/09/25 14:32:17
2
3 Modified: ChangeLog
4 Added: zfs-fuse-9999.ebuild
5 Log:
6 added live ebuild to zfs-fuse
7 (Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo x86_64)
8
9 Revision Changes Path
10 1.5 sys-fs/zfs-fuse/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/zfs-fuse/ChangeLog?rev=1.5&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/zfs-fuse/ChangeLog?rev=1.5&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/zfs-fuse/ChangeLog?r1=1.4&r2=1.5
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-fs/zfs-fuse/ChangeLog,v
19 retrieving revision 1.4
20 retrieving revision 1.5
21 diff -u -r1.4 -r1.5
22 --- ChangeLog 13 Feb 2008 07:51:17 -0000 1.4
23 +++ ChangeLog 25 Sep 2008 14:32:16 -0000 1.5
24 @@ -1,6 +1,14 @@
25 # ChangeLog for sys-fs/zfs-fuse
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/zfs-fuse/ChangeLog,v 1.4 2008/02/13 07:51:17 opfer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/zfs-fuse/ChangeLog,v 1.5 2008/09/25 14:32:16 trapni Exp $
29 +
30 +*zfs-fuse-9999 (25 Sep 2008)
31 +
32 + 25 Sep 2008; Christian Parpart <trapni@g.o>
33 + +files/9999/fix_zdb_path.patch, +files/9999/fix_zfs-fuse_path.patch,
34 + +files/9999/fix_ztest_path.patch, +files/9999/zfs-fuse.rc,
35 + +zfs-fuse-9999.ebuild:
36 + added live ebuild to zfs-fuse
37
38 13 Feb 2008; Christian Faulhammer <opfer@g.o> metadata.xml:
39 add no-herd
40
41
42
43 1.1 sys-fs/zfs-fuse/zfs-fuse-9999.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/zfs-fuse/zfs-fuse-9999.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/zfs-fuse/zfs-fuse-9999.ebuild?rev=1.1&content-type=text/plain
47
48 Index: zfs-fuse-9999.ebuild
49 ===================================================================
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sys-fs/zfs-fuse/zfs-fuse-9999.ebuild,v 1.1 2008/09/25 14:32:16 trapni Exp $
53
54 IUSE="doc debug"
55
56 inherit eutils mercurial
57
58 DESCRIPTION="An implementation of the ZFS filesystem for FUSE/Linux"
59 HOMEPAGE="http://www.wizy.org/wiki/ZFS_on_FUSE"
60
61 LICENSE="CDDL"
62 SLOT="0"
63 KEYWORDS="~x86 ~amd64"
64
65 DEPEND=">=sys-libs/glibc-2.3.3
66 >=dev-util/scons-0.96.1
67 >=dev-libs/libaio-0.3
68 >=sys-fs/fuse-2.6.1"
69
70 RDEPEND=">=sys-fs/fuse-2.6.1"
71
72 S=${WORKDIR}/trunk/src
73
74 src_unpack() {
75 mercurial_fetch http://www.wizy.org/mercurial/zfs-fuse/trunk
76 cd "${S}"
77
78 epatch "${FILESDIR}/${PV}/fix_zdb_path.patch"
79 epatch "${FILESDIR}/${PV}/fix_zfs-fuse_path.patch"
80 epatch "${FILESDIR}/${PV}/fix_ztest_path.patch"
81 }
82
83 src_compile() {
84 scons || die "Make failed"
85 }
86
87 src_install() {
88 if useq debug; then
89 mv cmd/ztest/ztest cmd/ztest/run-ztest || die
90 mv cmd/ztest/runtest.sh cmd/ztest/ztest || die
91 dosbin cmd/ztest/run-ztest || die
92 fi
93 dosbin cmd/ztest/ztest || die
94
95 if useq debug; then
96 mv zfs-fuse/zfs-fuse zfs-fuse/run-zfs-fuse || die
97 mv zfs-fuse/run.sh zfs-fuse/zfs-fuse || die
98 dobin zfs-fuse/run-zfs-fuse || die
99 fi
100 dosbin "zfs-fuse/zfs-fuse" || die
101
102 dosbin "cmd/zfs/zfs" || die
103 dosbin "cmd/zpool/zpool" || die
104 dosbin "cmd/zdb/zdb" || die
105
106 newinitd "${FILESDIR}/${PV}/${PN}.rc" "zfs-fuse" || die
107
108 cd "${WORKDIR}/trunk" || die
109
110 dodoc CHANGES || die
111
112 if use doc; then
113 dodoc {INSTALL,TODO,STATUS,TESTING,HACKING,BUGS} || die
114 fi
115 }
116
117 pkg_postinst() {
118 echo
119 einfo "To debug and play with ZFS-FUSE make sure you have a recent 2.6.xx"
120 einfo "series kernel with the FUSE module compiled in OR built as a"
121 einfo "kernel module."
122 einfo
123 einfo "You can start the ZFS-FUSE daemon by running"
124 einfo
125 einfo " /etc/init.d/zfs-fuse start"
126 einfo
127 einfo "as root from the command line. "
128 einfo
129 einfo "And don't forget to add it permanently, if you want to:"
130 einfo
131 einfo " rc-update add zfs-fuse boot"
132 einfo
133 einfo "For additional ZFS related commands I recommend the ZFS admin"
134 einfo "guide. http://opensolaris.org/os/community/zfs/docs/zfsadmin.pdf"
135 einfo
136 einfo "Don't forget this is an beta-quality release. Testing has been"
137 einfo "very limited so please make sure you backup any important data."
138 einfo
139 einfo "If you have any problems with zfs-fuse please visit the ZFS-FUSE."
140 einfo "website at http://developer.berlios.de/projects/zfs-fuse/"
141 echo
142 }