|
Uwe Kubosch |
078d8be |
Name: zfs-fuse
|
|
Uwe Kubosch |
0a57133 |
Version: 0.6.9_beta3
|
|
Uwe Kubosch |
0a57133 |
Release: 6%{?dist}
|
|
Uwe Kubosch |
ce2b57e |
Summary: ZFS ported to Linux FUSE
|
|
Uwe Kubosch |
078d8be |
Group: System Environment/Base
|
|
Uwe Kubosch |
078d8be |
License: CDDL
|
|
Uwe Kubosch |
f3723fc |
URL: http://zfs-fuse.net/
|
|
Uwe Kubosch |
078d8be |
# The source for this package was pulled from upstream's vcs. Use the
|
|
Uwe Kubosch |
078d8be |
# following command to generate the tarball:
|
|
Uwe Kubosch |
0a57133 |
# wget -c 'http://zfs-fuse.net/releases/0.6.9/official-beta-release-source-package' -O zfs-fuse-0.6.9_beta3.tar.bz2
|
|
Uwe Kubosch |
0a57133 |
# Add as new source with:
|
|
Uwe Kubosch |
0a57133 |
# make new-sources FILES="zfs-fuse-0.6.9_beta3.tar.bz2"
|
|
Uwe Kubosch |
0a57133 |
Source00: %{name}/%{name}-%{version}.tar.bz2
|
|
Uwe Kubosch |
078d8be |
Source01: zfs-fuse.init
|
|
Uwe Kubosch |
944904a |
Source02: zfs-fuse.scrub
|
|
Uwe Kubosch |
944904a |
Source03: zfs-fuse.sysconfig
|
|
Uwe Kubosch |
ce2b57e |
BuildRequires: fuse-devel libaio-devel scons zlib-devel openssl-devel libattr-devel
|
|
Uwe Kubosch |
d34561b |
Requires: fuse >= 2.7.4-1
|
|
Uwe Kubosch |
078d8be |
Requires(post): chkconfig
|
|
Uwe Kubosch |
078d8be |
Requires(preun): chkconfig initscripts
|
|
Uwe Kubosch |
078d8be |
Requires(postun): initscripts
|
|
Uwe Kubosch |
0a57133 |
# (2010 karsten@redhat.com) zfs-fuse doesn't have s390(x) implementations for atomic instructions
|
|
|
a3ee127 |
ExcludeArch: s390
|
|
|
a3ee127 |
ExcludeArch: s390x
|
|
Uwe Kubosch |
078d8be |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
Uwe Kubosch |
078d8be |
|
|
Uwe Kubosch |
078d8be |
%description
|
|
Uwe Kubosch |
078d8be |
ZFS is an advanced modern general-purpose filesystem from Sun
|
|
Uwe Kubosch |
078d8be |
Microsystems, originally designed for Solaris/OpenSolaris.
|
|
Uwe Kubosch |
078d8be |
|
|
Uwe Kubosch |
078d8be |
This project is a port of ZFS to the FUSE framework for the Linux
|
|
Uwe Kubosch |
078d8be |
operating system.
|
|
Uwe Kubosch |
078d8be |
|
|
Uwe Kubosch |
944904a |
Project home page is at http://zfs-fuse.net/
|
|
Uwe Kubosch |
944904a |
|
|
Uwe Kubosch |
078d8be |
%prep
|
|
Uwe Kubosch |
0a57133 |
%setup -q
|
|
Uwe Kubosch |
bcebaaf |
|
|
Uwe Kubosch |
078d8be |
f=LICENSE
|
|
Uwe Kubosch |
078d8be |
%{__mv} $f $f.iso88591
|
|
Uwe Kubosch |
078d8be |
iconv -o $f -f iso88591 -t utf8 $f.iso88591
|
|
Uwe Kubosch |
078d8be |
%{__rm} -f $f.iso88591
|
|
Uwe Kubosch |
078d8be |
|
|
Uwe Kubosch |
078d8be |
%build
|
|
Uwe Kubosch |
078d8be |
pushd src
|
|
Uwe Kubosch |
078d8be |
%{__sed} -i -e 's/-pipe -Wall -Werror/%{optflags}/' SConstruct
|
|
Uwe Kubosch |
0a57133 |
|
|
Uwe Kubosch |
0a57133 |
pushd lib/libzfs
|
|
Uwe Kubosch |
0a57133 |
%{__sed} -i -e 's/cpppath.$/cpppath, LIBS = \["crypto"\])/' SConscript
|
|
Uwe Kubosch |
0a57133 |
%{__sed} -i -e "s/^\#include <sys\\/vtoc.h>$/\#include <sys\\/vtoc.h>\\n\#include <sys\\/stat.h>\\n/" libzfs_pool.c
|
|
Uwe Kubosch |
0a57133 |
popd
|
|
Uwe Kubosch |
0a57133 |
|
|
Uwe Kubosch |
0a57133 |
pushd cmd/zdb
|
|
Uwe Kubosch |
0a57133 |
%{__sed} -i -e "s/ssl'/ssl crypto'/" SConscript
|
|
Uwe Kubosch |
0a57133 |
popd
|
|
Uwe Kubosch |
0a57133 |
|
|
Uwe Kubosch |
0a57133 |
pushd cmd/zfs
|
|
Uwe Kubosch |
0a57133 |
%{__sed} -i -e "s/ssl'/ssl crypto'/" SConscript
|
|
Uwe Kubosch |
0a57133 |
popd
|
|
Uwe Kubosch |
0a57133 |
|
|
Uwe Kubosch |
0a57133 |
pushd cmd/zpool
|
|
Uwe Kubosch |
0a57133 |
%{__sed} -i -e "s/ssl'/ssl crypto'/" SConscript
|
|
Uwe Kubosch |
0a57133 |
popd
|
|
Uwe Kubosch |
0a57133 |
|
|
Uwe Kubosch |
078d8be |
scons
|
|
Uwe Kubosch |
078d8be |
|
|
Uwe Kubosch |
078d8be |
%install
|
|
Uwe Kubosch |
078d8be |
%{__rm} -rf %{buildroot}
|
|
Uwe Kubosch |
078d8be |
pushd src
|
|
Uwe Kubosch |
ce2b57e |
scons install install_dir=%{buildroot}%{_bindir} man_dir=%{buildroot}%{_mandir}/man8/ cfg_dir=%{buildroot}/%{_sysconfdir}/%{name}
|
|
Uwe Kubosch |
078d8be |
%{__install} -Dp -m 0755 %{SOURCE1} %{buildroot}%{_initrddir}/%{name}
|
|
Uwe Kubosch |
944904a |
%{__install} -Dp -m 0755 %{SOURCE2} %{buildroot}%{_sysconfdir}/cron.weekly/98-%{name}-scrub
|
|
Uwe Kubosch |
944904a |
%{__install} -Dp -m 0755 %{SOURCE3} %{buildroot}%{_sysconfdir}/sysconfig/%{name}
|
|
Uwe Kubosch |
078d8be |
|
|
Uwe Kubosch |
078d8be |
%clean
|
|
Uwe Kubosch |
078d8be |
%{__rm} -rf %{buildroot}
|
|
Uwe Kubosch |
078d8be |
|
|
Uwe Kubosch |
078d8be |
%post
|
|
Uwe Kubosch |
078d8be |
if [ $1 = 1 ] ; then
|
|
Uwe Kubosch |
078d8be |
/sbin/chkconfig --add %{name}
|
|
Uwe Kubosch |
078d8be |
fi
|
|
Uwe Kubosch |
078d8be |
|
|
Uwe Kubosch |
078d8be |
%preun
|
|
Uwe Kubosch |
078d8be |
if [ $1 = 0 ] ; then
|
|
Uwe Kubosch |
078d8be |
/sbin/service %{name} stop >/dev/null 2>&1 || :
|
|
Uwe Kubosch |
078d8be |
/sbin/chkconfig --del %{name}
|
|
Uwe Kubosch |
078d8be |
fi
|
|
Uwe Kubosch |
078d8be |
|
|
Uwe Kubosch |
078d8be |
%postun
|
|
Uwe Kubosch |
078d8be |
if [ $1 -ge 1 ] ; then
|
|
Uwe Kubosch |
078d8be |
/sbin/service %{name} condrestart >/dev/null 2>&1 || :
|
|
Uwe Kubosch |
6829d45 |
rm -rf /var/run/zfs
|
|
Uwe Kubosch |
6829d45 |
rm -rf /var/lock/zfs
|
|
Uwe Kubosch |
078d8be |
fi
|
|
Uwe Kubosch |
078d8be |
|
|
Uwe Kubosch |
078d8be |
%files
|
|
Uwe Kubosch |
078d8be |
%defattr(-, root, root, -)
|
|
Uwe Kubosch |
078d8be |
%doc BUGS CHANGES contrib HACKING LICENSE README
|
|
Uwe Kubosch |
078d8be |
%doc README.NFS STATUS TESTING TODO
|
|
Uwe Kubosch |
078d8be |
%{_bindir}/zdb
|
|
Uwe Kubosch |
078d8be |
%{_bindir}/zfs
|
|
Uwe Kubosch |
078d8be |
%{_bindir}/zfs-fuse
|
|
Uwe Kubosch |
078d8be |
%{_bindir}/zpool
|
|
Uwe Kubosch |
ce2b57e |
%{_bindir}/zstreamdump
|
|
Uwe Kubosch |
078d8be |
%{_bindir}/ztest
|
|
Uwe Kubosch |
078d8be |
%{_initrddir}/%{name}
|
|
Uwe Kubosch |
944904a |
%{_sysconfdir}/cron.weekly/98-%{name}-scrub
|
|
Uwe Kubosch |
a462d82 |
%{_sysconfdir}/sysconfig/%{name}
|
|
Uwe Kubosch |
ce2b57e |
%{_sysconfdir}/%{name}/zfs_pool_alert
|
|
Uwe Kubosch |
ce2b57e |
%{_mandir}/man8/zdb.8.gz
|
|
Uwe Kubosch |
ce2b57e |
%{_mandir}/man8/zfs.8.gz
|
|
Uwe Kubosch |
ce2b57e |
%{_mandir}/man8/zpool.8.gz
|
|
Uwe Kubosch |
ce2b57e |
%{_mandir}/man8/zstreamdump.8.gz
|
|
Uwe Kubosch |
078d8be |
|
|
Uwe Kubosch |
078d8be |
%changelog
|
|
Uwe Kubosch |
0a57133 |
* Sat May 22 2010 Uwe Kubosch <uwe@kubosch.no> - 0.6.9-6
|
|
Uwe Kubosch |
0a57133 |
- Updated to upstream version 0.6.9_beta3
|
|
Uwe Kubosch |
0a57133 |
- Add more build requires to build on F13 BUG 565076
|
|
Uwe Kubosch |
0a57133 |
- Add patches for missing libraries and includes to build on F13 BUG 565076
|
|
Uwe Kubosch |
0a57133 |
|
|
Uwe Kubosch |
0a57133 |
* Sat May 22 2010 Uwe Kubosch <uwe@kubosch.no> - 0.6.9-0
|
|
Uwe Kubosch |
0a57133 |
- Added packages for ppc and ppc64
|
|
Uwe Kubosch |
0a57133 |
- Build on F13 BUG 565076
|
|
Uwe Kubosch |
ce2b57e |
- Updated to upstream version 0.6.9-BETA
|
|
Uwe Kubosch |
0a57133 |
- Fixes BUG 558172
|
|
Uwe Kubosch |
ce2b57e |
- Added man files
|
|
Uwe Kubosch |
ce2b57e |
- Added zfs_pool_alert
|
|
Uwe Kubosch |
ce2b57e |
- Added zstreamdump
|
|
Uwe Kubosch |
ce2b57e |
|
|
Uwe Kubosch |
86626cf |
* Wed Jan 20 2010 Uwe Kubosch <uwe@kubosch.no> - 0.6.0-7
|
|
Uwe Kubosch |
a754924 |
- Fixed bug in automatic scrub script BUG 559518
|
|
Uwe Kubosch |
86626cf |
|
|
Uwe Kubosch |
944904a |
* Mon Jan 04 2010 Uwe Kubosch <uwe@kubosch.no> - 0.6.0-6
|
|
Uwe Kubosch |
944904a |
- Added option for automatic weekly scrubbing.
|
|
Uwe Kubosch |
944904a |
Set ZFS_WEEKLY_SCRUB=yes in /etc/sysconfig/zfs-fuse to enable
|
|
Uwe Kubosch |
c586903 |
- Changed ZFS_AUTOMOUNT option value from "1" to "yes" for better readability.
|
|
Uwe Kubosch |
944904a |
ZFS_AUTOMOUNT=1 deprecated and will be removed in version 0.7.0.
|
|
Uwe Kubosch |
c586903 |
- Added option for killing processes with unknown working directory at zfs-fuse startup.
|
|
Uwe Kubosch |
c586903 |
This would be the case if zfs-fuse crashed. Use with care. It may kill unrelated processes.
|
|
Uwe Kubosch |
c586903 |
Set ZFS_KILL_ORPHANS=yes_really in /etc/sysconfig/zfs-fuse to enable.
|
|
Uwe Kubosch |
d34561b |
- Relaxed dependency on fuse from 2.8.0 to 2.7.4 to allow installation on RHEL/Centos 5
|
|
Uwe Kubosch |
d34561b |
|
|
Uwe Kubosch |
da17ea4 |
* Sat Dec 26 2009 Uwe Kubosch <uwe@kubosch.no> - 0.6.0-5
|
|
Uwe Kubosch |
696996d |
- Removed chckconfig on and service start commands from install script
|
|
Uwe Kubosch |
696996d |
See https://fedoraproject.org/wiki/Packaging:SysVInitScript#Why_don.27t_we
|
|
Uwe Kubosch |
696996d |
|
|
Uwe Kubosch |
da17ea4 |
* Sat Dec 26 2009 Uwe Kubosch <uwe@kubosch.no> - 0.6.0-4
|
|
Uwe Kubosch |
b70f714 |
- Updated to upstream version 0.6.0 STABLE
|
|
Uwe Kubosch |
b70f714 |
|
|
Uwe Kubosch |
da17ea4 |
* Mon Nov 30 2009 Uwe Kubosch <uwe@kubosch.no> - 0.6.0-3
|
|
Uwe Kubosch |
f3723fc |
- Updated the home page URL to http://zfs-fuse.net/
|
|
Uwe Kubosch |
f3723fc |
|
|
Uwe Kubosch |
da17ea4 |
* Sat Nov 28 2009 Uwe Kubosch <uwe@kubosch.no> - 0.6.0-2
|
|
Uwe Kubosch |
c7edb44 |
- Corrected some KOJI build errors.
|
|
Uwe Kubosch |
c7edb44 |
|
|
Uwe Kubosch |
da17ea4 |
* Fri Nov 27 2009 Uwe Kubosch <uwe@kubosch.no> - 0.6.0-1
|
|
Uwe Kubosch |
bcebaaf |
- Updated to upstream version 0.6.0 BETA
|
|
Uwe Kubosch |
bcebaaf |
- Updated dependency to Fuse 2.8.0
|
|
Uwe Kubosch |
bcebaaf |
- Minor change in spec: Source0 to Source00 for consistency
|
|
Uwe Kubosch |
bcebaaf |
|
|
|
cd50ae3 |
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-9.20081221.1
|
|
|
cd50ae3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
cd50ae3 |
|
|
|
a3ee127 |
* Wed Jun 10 2009 Karsten Hopp <karsten@redhat.com> 0.5.0-8.20081221.1
|
|
|
a3ee127 |
- excludearch s390, s390x as there is no implementation for atomic instructions
|
|
|
a3ee127 |
|
|
|
dbf78fd |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-8.20081221
|
|
|
dbf78fd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
dbf78fd |
|
|
Uwe Kubosch |
da17ea4 |
* Sat Jan 24 2009 Uwe Kubosch <uwe@kubosch.no> - 0.5.0-7.20081221
|
|
Uwe Kubosch |
edbb135 |
- Updated etc/init.d/zfs-fuse init script after feedback from Rudd-O
|
|
Uwe Kubosch |
edbb135 |
Removed limits for the fuse process which could lead to a hung system
|
|
Uwe Kubosch |
edbb135 |
or use lots of memory.
|
|
Uwe Kubosch |
edbb135 |
|
|
Uwe Kubosch |
da17ea4 |
* Sun Dec 28 2008 Uwe Kubosch <uwe@kubosch.no> - 0.5.0-6.20081221
|
|
Uwe Kubosch |
ef15e74 |
- Updated etc/init.d/zfs-fuse init script after feedback from Rudd-O at
|
|
Uwe Kubosch |
7764e40 |
http://groups.google.com/group/zfs-fuse/browse_thread/thread/da94aa803bceef52
|
|
Uwe Kubosch |
7764e40 |
- Adds better wait at startup before mounting filesystems.
|
|
Uwe Kubosch |
7764e40 |
- Add OOM kill protection.
|
|
Uwe Kubosch |
7764e40 |
- Adds syncing of disks at shutdown.
|
|
Uwe Kubosch |
7764e40 |
- Adds pool status when asking for service status.
|
|
Uwe Kubosch |
a48bf8e |
- Changed to start zfs-fuse at boot as default.
|
|
Uwe Kubosch |
532a62c |
- Changed to start zfs-fuse right after installation.
|
|
Uwe Kubosch |
6829d45 |
- Cleanup of /var/run/zfs and /var/lock/zfs after uninstall.
|
|
Uwe Kubosch |
7764e40 |
|
|
Uwe Kubosch |
da17ea4 |
* Sun Dec 24 2008 Uwe Kubosch <uwe@kubosch.no> - 0.5.0-5.20081221
|
|
Uwe Kubosch |
2a259e7 |
- Development tag.
|
|
Uwe Kubosch |
2a259e7 |
|
|
Uwe Kubosch |
da17ea4 |
* Sun Dec 21 2008 Uwe Kubosch <uwe@kubosch.no> - 0.5.0-4.20081221
|
|
Uwe Kubosch |
a462d82 |
- Updated to upstream trunk of 2008-12-21
|
|
Uwe Kubosch |
a462d82 |
- Added config file in /etc/sysconfig/zfs
|
|
Uwe Kubosch |
a462d82 |
- Added config option ZFS_AUTOMOUNT=0|1 to mount filesystems at boot
|
|
Uwe Kubosch |
a462d82 |
|
|
Uwe Kubosch |
da17ea4 |
* Tue Nov 11 2008 Uwe Kubosch <uwe@kubosch.no> - 0.5.0-3.20081009
|
|
Uwe Kubosch |
490c7ae |
- Rebuild after import into Fedora build system.
|
|
Uwe Kubosch |
490c7ae |
|
|
Uwe Kubosch |
da17ea4 |
* Thu Oct 09 2008 Uwe Kubosch <uwe@kubosch.no> - 0.5.0-2.20081009
|
|
Uwe Kubosch |
078d8be |
- Updated to upstream trunk of 2008-10-09
|
|
Uwe Kubosch |
a462d82 |
- Adds changes to make zfs-fuse build out-of-the-box on Fedora 9,
|
|
Uwe Kubosch |
a462d82 |
and removes the need for patches.
|
|
Uwe Kubosch |
078d8be |
|
|
Uwe Kubosch |
078d8be |
* Sat Oct 4 2008 Terje Rosten <terje.rosten@ntnu.no> - 0.5.0-1
|
|
Uwe Kubosch |
078d8be |
- initial build
|