- Rename davfs2-1.7.0-neon-33.patch to

davfs2-1.7.0-newer-neon.patch and add compatibility to libneon
  0.34.

OBS-URL: https://build.opensuse.org/package/show/filesystems/davfs2?expand=0&rev=38
This commit is contained in:
Dirk Mueller 2025-02-24 08:48:54 +00:00 committed by Git OBS Bridge
commit f6417aa095
11 changed files with 503 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,13 @@
Index: davfs2-1.7.0/configure.ac
===================================================================
--- davfs2-1.7.0.orig/configure.ac
+++ davfs2-1.7.0/configure.ac
@@ -36,7 +36,7 @@ AC_PROG_LN_S
# Checks for libraries.
AM_GNU_GETTEXT_VERSION(0.19.8)
AM_GNU_GETTEXT([external])
-NE_REQUIRE_VERSIONS([0], [27 28 29 30 31 32])
+NE_REQUIRE_VERSIONS([0], [27 28 29 30 31 32 33])
DAV_CHECK_NEON
# Checks for header files.

View File

@ -0,0 +1,13 @@
Index: davfs2-1.7.0/configure.ac
===================================================================
--- davfs2-1.7.0.orig/configure.ac
+++ davfs2-1.7.0/configure.ac
@@ -36,7 +36,7 @@ AC_PROG_LN_S
# Checks for libraries.
AM_GNU_GETTEXT_VERSION(0.19.8)
AM_GNU_GETTEXT([external])
-NE_REQUIRE_VERSIONS([0], [27 28 29 30 31 32])
+NE_REQUIRE_VERSIONS([0], [27 28 29 30 31 32 33 34])
DAV_CHECK_NEON
# Checks for header files.

3
davfs2-1.7.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:251db75a27380cca1330b1b971700c5e5dcc0c90e5a47622285f0140edfe3a2f
size 476244

BIN
davfs2-1.7.0.tar.gz.sig Normal file

Binary file not shown.

1
davfs2-rpmlintrc Normal file
View File

@ -0,0 +1 @@
addFilter("files-duplicate .*/doc/.*")

232
davfs2.changes Normal file
View File

@ -0,0 +1,232 @@
-------------------------------------------------------------------
Fri Feb 21 07:33:41 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- Rename davfs2-1.7.0-neon-33.patch to
davfs2-1.7.0-newer-neon.patch and add compatibility to libneon
0.34.
-------------------------------------------------------------------
Tue May 21 04:45:15 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- add davfs2-1.7.0-neon-33.patch to fix build with neon 33
-------------------------------------------------------------------
Mon Feb 5 08:13:44 UTC 2024 - Paolo Stivanin <info@paolostivanin.com>
- Adapt to RPM 4.19 on Tumbleweed.
-------------------------------------------------------------------
Tue Dec 27 10:31:14 UTC 2022 - Ludwig Nussel <lnussel@suse.com>
- Replace transitional %usrmerged macro with regular version check (boo#1206798)
-------------------------------------------------------------------
Wed Nov 2 11:19:48 UTC 2022 - Ali Abdallah <ali.abdallah@suse.com>
- update to 1.7.0:
* This release uses more portable code.
* Fix cached file not up to date attributes.
* Always check for valid prop etag.
- Update davfs2.keyring to match the new upstream one.
-------------------------------------------------------------------
Tue May 24 19:38:53 UTC 2022 - Dirk Müller <dmueller@suse.com>
- use release team keyring
- enable keyring validating
-------------------------------------------------------------------
Mon Dec 20 21:07:00 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 1.6.1:
* Add Neon version 0.32.
* mount.davfs.c, get_options: Ignore all unknown options.
* mount_davfs.c, write_mtab_entry: Add option _netdev to utab-entry.
-------------------------------------------------------------------
Tue Nov 17 13:53:05 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
- prepare usrmerge (boo#1029961)
-------------------------------------------------------------------
Wed Sep 16 12:24:56 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
- Update to 1.6.0
* Update documentation
* Remove Coda-support
* New parser for cookies (bug #58459).
* Add log message.
* Add option sharepoint_href_bug.
* Ignore option -n (sr #110191).
- Remove add-neon-031-support.patch
-------------------------------------------------------------------
Thu Jun 11 12:45:49 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
- Add add-neon-031-support.patch
- Add -fcommon to allow building against GCC10
-------------------------------------------------------------------
Tue May 5 11:11:15 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
- Update to 1.5.6
* Remove call to setuid and setgid.
* Ignore EEXIST when creating DAV_SYS_RUN (bug #57233).
* Replace GNU extension 'a' with option 'm' in fscanf
(bug #56286).
* Check for inconv.h and iconv (bug #56178).
* Warning about intermediary CAs (bug #54699).
* Don't remove cache-files because of inconsistent
metadata (sr #109587).
* Add query-string to path on redirect (bug #54943).
* Ignore option "nofail" (fixes bug #51521).
-------------------------------------------------------------------
Mon Feb 26 11:27:55 UTC 2018 - jengelh@inai.de
- Replace %__-type macro indirections. Do not ignore errors from
useradd. Remove Fedora definitions. Restore debug creation.
Compact grammar in description.
-------------------------------------------------------------------
Tue Feb 20 00:00:00 CET 2018 - dsterba@suse.cz
- spec: update rpmlint, fix build
-------------------------------------------------------------------
Mon Dec 4 16:07:50 UTC 2017 - chris@computersalat.de
- update to 1.5.4
* 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.
-------------------------------------------------------------------
Fri Sep 11 14:22:23 UTC 2015 - meissner@suse.com
- remove the setuid root permission files (bsc#907662)
-------------------------------------------------------------------
Fri Jul 17 10:07:06 UTC 2015 - jthumshirn@suse.com
- Import of davfs2 to SLE12-SP1 from SLE11-SP4 (FATE#318116)
-------------------------------------------------------------------
Tue Nov 25 16:13:25 CET 2014 - draht@schaltsekun.de
- 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
-------------------------------------------------------------------
Sun Dec 01 12:59:34 UTC 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 17:41:17 UTC 2013 - conrad@quisquis.de
- Specfile fixes for fedora + SLES
-------------------------------------------------------------------
Wed Feb 13 19:08:17 UTC 2013 - conrad@quisquis.de
- Added missing file
-------------------------------------------------------------------
Wed Feb 13 18:51:17 UTC 2013 - conrad@quisquis.de
- Added fix-formats patch to get rid of some warnings
- Added upstream patch for broken symlinks
-------------------------------------------------------------------
Wed Feb 13 18:33:17 UTC 2013 - conrad@quisquis.de
- Disabled OBS files service - apparently some savannah mirrors are broken
-------------------------------------------------------------------
Wed Feb 13 17:52:17 UTC 2013 - conrad@quisquis.de
- Upgrade to 1.4.7
- Added -pie/-fPIE compile flags
- Fixed (hopefully) permissions handling
-------------------------------------------------------------------
Sat May 26 18:05:17 UTC 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 22:20:37 UTC 2010 - pascal.bleser@opensuse.org
- fix location of mount/umount helpers, bnc#640967
- update to 1.4.6:
* bugfixes
-------------------------------------------------------------------
Mon Nov 30 00:00:00 UTC 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 00:00:00 UTC 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 00:00:00 UTC 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 00:00:00 UTC 2009 - leo@unstable.be
- Update to release
- Added permissions file (fixes rpmlint error)
-------------------------------------------------------------------
Wed Dec 5 00:00:00 UTC 2007 - leo@unstable.be
- Fixed Obsoletes and Provides to fix
https://bugzilla.novell.com/show_bug.cgi?id=332076
-------------------------------------------------------------------
Thu Jul 12 00:00:00 UTC 2007 - leo@unstable.be
- Initial package. (based on dag's spec)

91
davfs2.keyring Normal file
View File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czfxWg4RtENqmnrzGn90t998swL9Xf4K
DkkbE/PnLjDUzJd74ID/ArEqeKFewQYshTBkTF6NRmL1bH4m9B08rUetGY7OYJap
3fF3VSPmBkr7JMPGGAt4BL+OueoO6XW6GS5LHwW2qodbmcM+GdF/85zSqPBOJ16i
K6BFtYYtgp+WsbeYS3YvZ0DKqexe8Mv3wqikUiLHHYzO77v1brM3a6Y2GwQMlD3O
AlNaJRgk0JpUv45yHK6fFBCMLe5tPAL530C3Q+/zLmW0ZAaYvB5LFPbY3TArlI28
o9YTTAOQFNbcjzvQAg==
=jqZf
-----END PGP PUBLIC KEY BLOCK-----

124
davfs2.spec Normal file
View File

@ -0,0 +1,124 @@
#
# spec file for package davfs2
#
# Copyright (c) 2025 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: davfs2
Version: 1.7.0
Release: 0
Summary: FUSE-Filesystem to access WebDAV servers
License: GPL-3.0-only
Group: System/Filesystems
URL: https://savannah.nongnu.org/projects/%{name}
Source0: https://download.savannah.nongnu.org/releases/%{name}/%{name}-%{version}.tar.gz
Source1: https://download.savannah.nongnu.org/releases/%{name}/%{name}-%{version}.tar.gz.sig
Source2: %{name}-rpmlintrc
# Taken from https://savannah.nongnu.org/project/release-gpgkeys.php?group=davfs2&download=1
Source3: davfs2.keyring
Source4: davfs2.sysusers
Patch0: davfs2-1.7.0-newer-neon.patch
BuildRequires: automake >= 1.16
BuildRequires: fuse-devel >= 2.2
BuildRequires: neon-devel
BuildRequires: pwdutils
BuildRequires: sysuser-tools
Requires: fuse >= 2.2
Requires(pre): %{_sbindir}/groupadd
Requires(pre): %{_sbindir}/useradd
Obsoletes: fuse-%{name} < %{version}
Provides: fuse-%{name} = %{version}
%sysusers_requires
%description
davfs2 is a FUSE file system driver that allows mounting 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. To connect to the WebDAV server, it makes use of the neon library,
supporting TLS/SSL and access via proxy servers.
%prep
%autosetup -p1
%build
# for davfs2-1.7.0-neon-33.patch
autoreconf -fiv
dav_user="%{name}" \
dav_group="%{name}" \
%configure \
%if 0%{?suse_version} >= 1550
ssbindir="%{_sbindir}" \
%endif
--disable-static
%if 0%{?suse_version} >= 1000
PIE="-fPIE"
pie="-pie"
%endif
%make_build AM_CFLAGS="-Wall %{optflags} $PIE" AM_LDFLAGS="$pie"
%install
%make_install
rm -rf "%{buildroot}%{_datadir}/doc"
install -d "%{buildroot}%{_localstatedir}/cache/%{name}"
%find_lang %{name}
rm -rf "%{buildroot}/%{_docdir}"
install -p -D -m0644 %{SOURCE4} %{buildroot}%{_sysusersdir}/%{name}.conf
%sysusers_generate_pre %{buildroot}%{_sysusersdir}/%{name}.conf %{name} %{name}.conf
%pre -f %{name}.pre
%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 %{name}.lang
%defattr(-, root, root, 0755)
%license COPYING
%doc AUTHORS BUGS FAQ NEWS README* THANKS TODO etc/%{name}.conf etc/secrets
%{_mandir}/man5/%{name}.conf.5%{?ext_man}
%{_mandir}/man8/mount.davfs.8%{?ext_man}
%{_mandir}/man8/umount.davfs.8%{?ext_man}
%{_mandir}/*/man5/%{name}.conf.5%{?ext_man}
%{_mandir}/*/man8/mount.davfs.8%{?ext_man}
%{_mandir}/*/man8/umount.davfs.8%{?ext_man}
%{_sysusersdir}/%{name}.conf
%dir %{_sysconfdir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
%config %{_sysconfdir}/%{name}/secrets
%config %{_sysconfdir}/%{name}/certs/
%verify(not user group mode) %attr(0755,root,root) %{_sbindir}/mount.davfs
%{_sbindir}/umount.davfs
%{_datadir}/%{name}
%attr(0750, %{name}, %{name}) %{_localstatedir}/cache/%{name}
%if 0%{?suse_version} < 1550
/sbin/mount.davfs
/sbin/umount.davfs
%endif
%changelog

2
davfs2.sysusers Normal file
View File

@ -0,0 +1,2 @@
u davfs2 - "davfs2 user" /var/cache/davfs2 -
g davfs2 - - - -