Accepting request 263024 from home:draht:branches:filesystems

- upgrade to 1.5.2; changes include:
  * fix for insecure use of system(). This is related to CVE-2014-4362.
  * fixes for usage of symlinks for mountpoints and mtab
  * improved cookie support
  * neon 0.30 support
  * memory leak fixes
  * compiler options for hardened build.
  * load the fuse kernel module automatically.
  * new mount option grpid, trust_ca_cert and trust_server_cert.
  * This list is not exhaustive. Please have a look at the ChangeLog
    for a complete list.
- obsoleted and removed from package:
  * davfs2-fix-formats.patch
  * davfs2-ne_v30.patch
  * davfs2-DESTDIR.patch
  * davfs2-fix_missing_exit_failure.patch

OBS-URL: https://build.opensuse.org/request/show/263024
OBS-URL: https://build.opensuse.org/package/show/filesystems/davfs2?expand=0&rev=12
This commit is contained in:
David Sterba
2014-11-25 22:12:48 +00:00
committed by Git OBS Bridge
parent 61bd273086
commit f2b6b82fc4
10 changed files with 53 additions and 311 deletions

View File

@@ -1,24 +1,38 @@
#
# spec file for package davfs2
#
# Copyright (c) 2014 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 http://bugs.opensuse.org/
#
Summary: FUSE-Filesystem to access WebDAV servers
Name: davfs2
Version: 1.4.7
Release: 0
License: GPL-3.0
Group: System/Filesystems
URL: http://savannah.nongnu.org/projects/davfs2
Name: davfs2
Version: 1.5.2
Release: 0
Url: http://savannah.nongnu.org/projects/davfs2
#Source: http://download.savannah.gnu.org/releases/davfs2/davfs2-%%{version}.tar.gz
Source: davfs2-%{version}.tar.bz2
Source: davfs2-%{version}.tar.gz
Source1: davfs.easy
Source2: davfs.secure
Source3: davfs2-%{version}.tar.gz.sig
Source98: memberlist-gpgkeys.gpg
Source99: %{name}-rpmlintrc
Patch1: davfs2-fix_missing_exit_failure.patch
# PATCH-FIX-UPSTREAM conrad@quisquis.de
Patch2: davfs2-fix-formats.patch
# See http://cvs.savannah.gnu.org/viewvc/davfs2/src/Makefile.am?root=davfs2&r1=1.7&r2=1.8&view=patch
Patch3: davfs2-DESTDIR.patch
# See http://cvs.savannah.gnu.org/viewvc/davfs2/configure.ac?root=davfs2&r1=1.11.4.1&r2=1.11.4.2&view=patch
Patch4: davfs2-ne_v30.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: fuse-devel >= 2.2, neon-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: fuse-devel >= 2.2
BuildRequires: neon-devel
BuildRequires: pwdutils
Requires: fuse >= 2.2
Obsoletes: fuse-davfs2 < %{version}
@@ -44,12 +58,7 @@ Neon supports TLS/SSL (using OpenSSL or GnuTLS) and access via proxy server.
%prep
%setup -q -n "davfs2-%{version}"
%patch1
%patch2 -p 1
%patch4 -p 0
cd src
%patch3 -p 0
%__patch Makefile.in <%{P:3}
%build
ssbindir="%{_sbindir}" \
@@ -119,3 +128,5 @@ make AM_CFLAGS="-Wall $PIE" AM_LDFLAGS="$pie" %{?_smp_mflags}
%attr(0750, davfs2, davfs2) /var/cache/davfs2
/sbin/mount.davfs
/sbin/umount.davfs
%changelog