Summary: FUSE-Filesystem to access WebDAV servers Name: davfs2 Version: 1.5.4 Release: 5.3 License: GPL-3.0 Group: System/Filesystems URL: http://savannah.nongnu.org/projects/davfs2 #Source: http://download.savannah.gnu.org/releases/davfs2/davfs2-%%{version}.tar.gz Source: davfs2-%{version}.tar.gz Source1: davfs.easy Source2: davfs.secure Source99: davfs2-rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: fuse-devel >= 2.2, neon-devel BuildRequires: pwdutils Requires: fuse >= 2.2 Obsoletes: fuse-davfs2 < %{version} Provides: fuse-davfs2 = %{version} PreReq: /usr/sbin/groupadd PreReq: /usr/sbin/useradd %if 0%{?fedora} == 0 Requires(pre): pwdutils Requires(pre): permissions %else Requires(pre): shadow-utils %endif %description davfs2 is a FUSE file system driver that allows you to mount a WebDAV server as a local file system, like a disk drive. This way applications can access resources on a Web server without knowing anything about HTTP or WebDAV. davfs2 runs as a daemon in userspace. It uses the kernel file system coda or fuse. Most propably your Linux kernel includes at least one of this file systems. To connect to the WebDAV server it makes use of the neon library. Neon supports TLS/SSL (using OpenSSL or GnuTLS) and access via proxy server. %prep %setup -q -n "davfs2-%{version}" %build ssbindir="%{_sbindir}" \ dav_user="davfs2" \ dav_group="davfs2" \ %configure \ --disable-static %if 0%{?suse_version} >= 1000 PIE="-fPIE" pie="-pie" %endif make AM_CFLAGS="-Wall $PIE" AM_LDFLAGS="$pie" %{?_smp_mflags} %install %{?make_install} %{!?make_install:%__make DESTDIR=%{?buildroot} install} %__rm -rf "%{buildroot}%{_datadir}/doc" %__install -d "%{buildroot}/%{_sysconfdir}/permissions.d" %__install -m0644 "%{SOURCE1}" "%{SOURCE2}" "%{buildroot}/%{_sysconfdir}/permissions.d/" %__install -d "%{buildroot}/var/cache/davfs2" %find_lang davfs2 %__rm -rf "%{buildroot}%{_docdir}" %__debug_install_post %pre /usr/bin/getent group davfs2 >/dev/null 2>&1 || /usr/sbin/groupadd -r davfs2 || : /usr/bin/getent passwd davfs2 >/dev/null 2>&1 || /usr/sbin/useradd -r -g davfs2 -d /var/cache/davfs2 davfs2 || : %post %if 0%{?set_permissions:1} > 0 %set_permissions "%{_sbindir}/mount.davfs" %else %if 0%{?run_permissions:1} > 0 %run_permissions %endif %endif %if 0%{?suse_version} >= 1120 %verifyscript %verify_permissions -e %{_sbindir}/mount.davfs %endif %files -f davfs2.lang %defattr(-, root, root, 0755) %doc AUTHORS BUGS COPYING FAQ NEWS README* THANKS TODO etc/davfs2.conf etc/secrets %dir %{_sysconfdir}/davfs2 %doc %{_mandir}/man5/davfs2.conf.5%{ext_man} %doc %{_mandir}/man8/mount.davfs.8%{ext_man} %doc %{_mandir}/man8/umount.davfs.8%{ext_man} %doc %{_mandir}/*/man5/davfs2.conf.5%{ext_man} %doc %{_mandir}/*/man8/mount.davfs.8%{ext_man} %doc %{_mandir}/*/man8/umount.davfs.8%{ext_man} %config(noreplace) %{_sysconfdir}/permissions.d/davfs.easy %config(noreplace) %{_sysconfdir}/permissions.d/davfs.secure %config(noreplace) %{_sysconfdir}/davfs2/davfs2.conf %config %{_sysconfdir}/davfs2/secrets %config %{_sysconfdir}/davfs2/certs/ %verify(not user group mode) %attr(4755,root,root) %{_sbindir}/mount.davfs %{_sbindir}/umount.davfs %{_datadir}/davfs2 %attr(0750, davfs2, davfs2) /var/cache/davfs2 /sbin/mount.davfs /sbin/umount.davfs # /usr/src/debug/davfs2-1.5.2/src/ %changelog * Sun Apr 17 2016 wbaumann - Release 1.5.4 Just after releasing 1.5.3 two important bugs showed up that needed fixing. - mount.davfs frequently reads /proc/mounts. This is necessary with coda but not with fuse. When running two instances of mount.davfs using fuse these reads may trigger a kernel bug and create a deadlock. - when mount.davfs receives SIGTERM it stops reading from the fuse device. In this case kernel fuse will make umount(8) hang forever. * Tue Apr 05 2016 wbaumann - Release 1.5.3 This release fixes a stack smashing error that only showed on 32-bit systems and when compiled with -fstack-protector-all. * Sat Aug 23 2014 wbauman - A backward incompatible change in util-linux caused umount to fail. This release fixes the problem. * Sun Aug 10 2014 wbauman - Release 1.5.1 adds some minor bug fixes and improvements. Please see ChangeLog for details. * Mon Apr 21 2014 wbauman - Release 1.5.0 fixes most of the known bugs and adds many of the suggested features and submitted patches. - Please note that some new configuration options have been added and some configuration options have been changed. After installation you have to copy your configuration of the system wide configuration file from the backup file into the newly created file. Users should rename their ~.davfs2/davfs2.conf and ~.davfs2/secrets files and let davfs2 create new templetes when it is started the first time. After this they should copy their configuration from the backup files into the new templates. * Sun Dec 1 2013 juergen@spitzmueller.org - Accept Neon 0.30 (davfs2-ne_v30.patch -- backported from davfs2 cvs: http://cvs.savannah.gnu.org/viewvc/davfs2/configure.ac?root=davfs2&r1=1.11.4.1&r2=1.11.4.2) * Fri Feb 15 2013 conrad@quisquis.de - Specfile fixes for fedora + SLES * Wed Feb 13 2013 conrad@quisquis.de - Added missing file * Wed Feb 13 2013 conrad@quisquis.de - Added fix-formats patch to get rid of some warnings - Added upstream patch for broken symlinks * Wed Feb 13 2013 conrad@quisquis.de - Disabled OBS files service - apparently some savannah mirrors are broken * Wed Feb 13 2013 conrad@quisquis.de - Upgrade to 1.4.7 - Added -pie/-fPIE compile flags - Fixed (hopefully) permissions handling * Sat May 26 2012 jengelh@inai.de - Remove redundant tags/sections from specfile - Parallel build with %%_smp_mflags - User/group addition ought not to be fatal * Mon Nov 29 2010 pascal.bleser@opensuse.org - fix location of mount/umount helpers, bnc#640967 - update to 1.4.6: * bugfixes * Mon Nov 30 2009 pascal.bleser@opensuse.org - update to 1.4.5: * option was added to silently refuse to connect when encountering suspicious server certificates * several minor bugs were fixed - changes from 1.4.3: * support for Neon 0.29 was added, which also allows for support for NTLM authentication * an option was added to silently refuse connections with untrusted server certificates * experimental support for the command line option "username" was added for use with pam_mount * Mon Jun 22 2009 pascal.bleser@opensuse.org - update to 1.4.1: * experimental support was added for the non-standard method USERINFO, which allows this release to get information about available and used Web space from the server * failed file upload attempts are now repeated at increasing time intervals * if a davfs filesystem is unmounted at disconnect, local changes are cached and submitted at the next mount * many other minor improvements and bugfixes were made * Fri May 29 2009 pascal.bleser@opensuse.org - copied into filesystems repository in openSUSE Build Service, original in home:leo_eraly - fix license tag - added %%%%post script to create davfs2 group and user - moved to Savannah - some spec file tidying - update to 1.4.0 * Wed Jan 14 2009 leo@unstable.be - Update to release - Added permissions file (fixes rpmlint error) * Wed Dec 5 2007 leo@unstable.be - Fixed Obsoletes and Provides to fix https://bugzilla.novell.com/show_bug.cgi?id=332076 * Thu Jul 12 2007 leo@unstable.be - Initial package. (based on dag's spec)