File sshfs.spec of Package sshfs

# spec file for package sshfs (Version 2.2)
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           sshfs
BuildRequires:  fuse-devel glib2-devel licenses
Requires:       fuse licenses
Summary:        Filesystem client based on SSH file transfer protocol
Version:        2.2
Release:        1
License:        GPL v2 or later
Group:          System/Filesystems
Source:         %{name}-fuse-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

SSHFS 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
openssh (ssh).

    Miklos Szeredi <>

%setup -n %{name}-fuse-%{version}

%{?suse_update_config:%{suse_update_config -f}}
autoreconf -fi
%configure --disable-sshnodelay

make DESTDIR="$RPM_BUILD_ROOT" install
ln -sf ../../licenses/md5/$(md5sum COPYING | sed 's/ .*//') COPYING


%doc %{_mandir}/*/*

* Wed Oct 29 2008
- updated to version 2.2
  * Handle numerical IPv6 addresses enclosed in square brackets.
  * Fix error if username contains a comma character
* Fri Jul 25 2008
- updated to version 2.1
  * Support password authentication with pam_mount
  * Support atomic renames if server is OpenSSH 4.9 or later
  * Support getting disk usage if server is OpenSSH 5.1 or later
  * Add man page
  * Improved ssh option support
  * Improved support for specifying a special ssh command
  * Fix bug that could cause corruption with append mode writes
  * Allow specifying an ssh config file
* Mon Dec 17 2007
- updated to version 1.9
  * Fix crash when writing large files on SMP
  * Fill in st_ctime attribute
  * Add mount subtype support
  * Small optimizations
* Fri Aug 10 2007
- Add "Requires: fuse" to ensure that fuse is present (285101#c29)
* Thu May 17 2007
- updated to version 1.8
  * Fix rare crashes due to uninitialized threading in glib
  * Fix memory leak in open
  * Fix crash when sem_wait() is interrupted (e.g. by gdb)
  * Fix caching when renaming a directory
  * Work around crash of sftp-server when its input buffer is full
  * Add option to work around performance problem with old ssh
  * Fix bug in follow_symlinks option
- Don't build, which is not needed any more with
  current ssh clients
* Thu Oct 12 2006
- update to version 1.7:
  * Add option 'follow_symlinks' to resolve symlinks on the server
  * Fix for sftp with login shell printing a banner
  * Check remote directory for existence before mounting
* Wed May 17 2006
- Don't strip binaries.
* Tue May 16 2006
- updated to version 1.6
  * Fix segfault if remote host is down and reconnection is
  * Fix bug in symlink transformation
  * Add workaround for broken truncate on old sftp servers
  * Memory copy optimizations
* Mon Feb 20 2006
- update to version 1.5
  * Add workaround (enabled by default) for ssh clients not setting
  TCP_NODELAY on the network connection.  Currently this is all known
  versions of openssh.  This may improve download speed in some
  * Use TCP_NODELAY socket option for direct connection.  This may improve
  download speed in some circumstances
* Wed Jan 25 2006
- converted neededforbuild to BuildRequires
* Sun Jan 15 2006
- update to version 1.4
* Tue Nov 22 2005
- update to version 1.3
* Tue Sep 20 2005
- update to version 1.2
* Wed May 25 2005
- initial version: 1.1