[CentOS] FUSE/SSHFS RPM Packages.

Thu Nov 24 03:31:29 UTC 2005
Rodrigo Barbosa <rodrigob at suespammers.org>

On Wed, Nov 23, 2005 at 04:23:36PM -1000, Camron W. Fox wrote:
> Alle,
> 
> 	Does anyone know if there are any reputable repositories out there 
> 	that contain packages for fuse/sshfs?

I just built rpms for both, for my own use.
I'm attaching the specfiles. They are less than perfect, since I
didn't trouble myself with all the BuildRequires and Requires. Apart
from that, they should work without any problems.

-- 
Rodrigo Barbosa <rodrigob at suespammers.org>
"Quid quid Latine dictum sit, altum viditur"
"Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)

-------------- next part --------------
Name: fuse
Version: 2.4.2
Release: 1.pax
Summary: Filesystem in Userspace
Group: Networking
Group(pt_BR): Rede
Group(es): Red
License: GPL
Source: http://internap.dl.sourceforge.net/sourceforge/fuse/fuse-2.4.2.tar.gz

BuildRoot: %{_tmppath}/%{name}-%{version}-root

%description
FUSE (Filesystem in Userspace) is a simple interface for userspace
programs to export a virtual filesystem to the Linux kernel.  FUSE
also aims to provide a secure method for non privileged users to
create and mount their own filesystem implementations.

%prep
%setup -q 
 
%build
%configure --enable-kernel-module \
	   --enable-lib \
	   --enable-util \
           --enable-example
make 

%install
rm -rf %{buildroot}

make DESTDIR=%{buildroot} install

%post
/sbin/depmod -a
/sbin/ldconfig

%postun
/sbin/depmod -a
/sbin/ldconfig

%clean
rm -rf %{buildroot}

%files
%defattr(0644,root,root,0755)
%dir /lib/modules/*/kernel/fs/fuse
/lib/modules/2.6.9-22.EL/kernel/fs/fuse/fuse.ko
%{_sysconfdir}/udev/rules.d/40-fuse.rules
%attr(0755,root,root) /sbin/mount.fuse
%attr(4755,root,root) %{_bindir}/fusermount
%dir %{_includedir}/%{name}
%{_includedir}/fuse.h
%{_includedir}/fuse/fuse.h
%{_includedir}/fuse/fuse_common.h
%{_includedir}/fuse/fuse_compat.h
%{_includedir}/fuse/fuse_lowlevel.h
%{_libdir}/libfuse.a
%{_libdir}/libfuse.la
%{_libdir}/libfuse.so.2.4.2
%{_libdir}/pkgconfig/fuse.pc

%changelog
* Thu Nov 24 2005 Rodrigo Barbosa <rodrigob at paxconsultoria.com>
+ 2.4.2-1.pax
- First packaging

-------------- next part --------------
Name: sshfs
Version: 1.3
Release: 1.pax
Summary: SSH Filesystem
Group: Networking
Group(pt_BR): Rede
Group(es): Red
License: GPL
Source: http://internap.dl.sourceforge.net/sourceforge/fuse/sshfs-fuse-1.3.tar.gz
BuildRequires: fuse
Requires: fuse

BuildRoot: %{_tmppath}/%{name}-%{version}-root

%description
This is a filesystem client based on the SSH File Transfer Protocol.
Since most SSH servers already support this protocol it is very easy
to set up: i.e. on the server side there's nothing to do.  On the
client side mounting the filesystem is as easy as logging into the
server with ssh.

%prep
%setup -q -n %{name}-fuse-%{version}
 
%build
%configure 
make 

%install
rm -rf %{buildroot}

make DESTDIR=%{buildroot} install

%clean
rm -rf %{buildroot}

%files
%defattr(0644,root,root,0755)
%attr(0755,root,root) %{_bindir}/sshfs

%changelog
* Thu Nov 24 2005 Rodrigo Barbosa <rodrigob at paxconsultoria.com>
+ 1.3-1.pax
- First packaging

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20051124/6f7fdaf0/attachment-0005.sig>