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