Name: davfs2 Version: 1.7.1 Release: 1%{?dist} Summary: A filesystem driver for WebDAV # Automatically converted from old format: GPLv3+ - review is highly recommended. License: GPL-3.0-or-later URL: https://savannah.nongnu.org/projects/davfs2 Source0: https://download.savannah.gnu.org/releases/davfs2/%{name}-%{version}.tar.gz Source1: https://download.savannah.gnu.org/releases/davfs2/%{name}-%{version}.tar.gz.sig # key retrieved via # wget -O davfs2-memberlist-gpgkeys.asc 'https://savannah.nongnu.org/project/memberlist-gpgkeys.php?group=davfs2&download=1' # Using the URL above directly as "Source2" does not work as spectool/mock do # no not like the query string. Source2: davfs2-memberlist-gpgkeys.asc Patch0: davfs2-neon-34.patch Conflicts: filesystem < 3 BuildRequires: automake BuildRequires: gcc BuildRequires: gettext BuildRequires: gnupg2 BuildRequires: neon-devel BuildRequires: make Requires(pre): shadow-utils %define cachedir /var/cache/davfs2 %define piddir /var/run/mount.davfs %define username davfs2 %define groupname %{username} %description davfs2 is a Linux file system driver that allows you to mount a WebDAV server as a disk drive. %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup -p1 %build export CFLAGS="%{optflags} -fno-strict-aliasing" %configure ssbindir=%{_sbindir} %make_build %install %make_install %find_lang %{name} # Create directories used by mount.davfs install -d $RPM_BUILD_ROOT%{cachedir} $RPM_BUILD_ROOT%{piddir} # Don't need this - we'll do our own doc install, thanks rm -rf $RPM_BUILD_ROOT/usr/share/doc/davfs2 # Remove suid bit, to work around a problem with brp-strip on suid binaries chmod 0755 $RPM_BUILD_ROOT/%{_sbindir}/mount.davfs # UTF8ify translated man pages find $RPM_BUILD_ROOT/%{_mandir}/{de,es} -name "*.[58].gz" | while read m; do gzip -dc $m | iconv -f "ISO8859-15" -t "UTF-8" - -o - | gzip -c9 > $m.utf8 mv -f $m.utf8 $m done %pre getent group %{groupname} >/dev/null || groupadd -r %{groupname} getent passwd %{username} >/dev/null || \ useradd -r -g %{groupname} -d %{cachedir} -s /sbin/nologin \ -c "User account for %{name}" %{username} exit 0 %files -f %{name}.lang # Docs %doc AUTHORS BUGS ChangeLog FAQ INSTALL NEWS README.md README.translators THANKS TODO %license COPYING %{_mandir}/man5/*.gz %{_mandir}/man8/*.gz # localized man pages %{_mandir}/*/man5/*.gz %{_mandir}/*/man8/*.gz # Configfiles etc. %config(noreplace) %{_sysconfdir}/davfs2/davfs2.conf %config(noreplace) %{_sysconfdir}/davfs2/secrets %dir %{_sysconfdir}/davfs2/certs/private/ %dir %{_sysconfdir}/davfs2/certs/ %dir %{_sysconfdir}/davfs2/ %dir %{_datarootdir}/davfs2/ %{_datarootdir}/davfs2/* # Binaries %{_sbindir}/umount.davfs # re-apply suid bit to mount.davfs %attr (4755,root,root) %{_sbindir}/mount.davfs # Extra dirs needed by mount.davfs %ghost %dir %attr(00775,root,%{groupname}) %{cachedir} %ghost %dir %attr(01775,root,%{groupname}) %{piddir} %changelog * Fri Dec 06 2024 Felix Schwarz - 1.7.1-1 - update to 1.7.1 * Thu Jul 25 2024 Miroslav Suchý - 1.7.0-7 - convert license to SPDX * Wed Jul 17 2024 Fedora Release Engineering - 1.7.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jan 24 2024 Fedora Release Engineering - 1.7.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 1.7.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 1.7.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 1.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Nov 05 2022 Felix Schwarz - 1.7.0-1 - update to 1.7.0 * Thu Jul 21 2022 Fedora Release Engineering - 1.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jan 22 2022 Felix Schwarz - 1.6.1-1 - update to 1.6.1 * Thu Jan 20 2022 Fedora Release Engineering - 1.6.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 1.6.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Aug 07 2020 Felix Schwarz - 1.6.0-1 - update to 1.6.0 * Sat Aug 01 2020 Fedora Release Engineering - 1.5.6-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1.5.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Felix Schwarz - 1.5.6-3 - fix build with GCC 10 * Tue Jan 28 2020 Fedora Release Engineering - 1.5.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Dec 28 2019 Felix Schwarz - 1.5.6-1 - Update to 1.5.6 * Thu Nov 28 2019 Felix Schwarz - 1.5.5-2 - enable GPG source file verification - fix license declaration (GPLv3+) * Mon Aug 05 2019 Filipe Rosset - 1.5.5-1 - Update to 1.5.5 * Mon Aug 05 2019 Filipe Rosset - 1.5.4-11 - spec cleanup and modernization * Wed Jul 24 2019 Fedora Release Engineering - 1.5.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 1.5.4-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jul 12 2018 Fedora Release Engineering - 1.5.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.5.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 1.5.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.5.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.5.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri May 27 2016 moez.roy@gmail.com - 1.5.4-3 - update to latest upstream * Fri May 27 2016 moez.roy@gmail.com - 1.5.4-2 - rebuilt * Wed Feb 03 2016 Fedora Release Engineering - 1.4.7-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.4.7-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Aug 16 2014 Fedora Release Engineering - 1.4.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.4.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu Sep 19 2013 Will Woods - 1.4.7-3 - CVE-2013-4362: Fix possibly insecure use of system() * Fri Sep 13 2013 Paul Howarth - 1.4.7-2 - Add support for building with neon 0.30.0 (#992110) - Use -fno-strict-aliasing * Tue Feb 26 2013 Erik Logtenberg - 1.4.7-1 - New upstream release - The check for somebody else's home directory is gone. So you should be able to mount in /media/foo even if / is the home of some daemon. * Wed Feb 13 2013 Fedora Release Engineering - 1.4.6-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Jul 18 2012 Fedora Release Engineering - 1.4.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jun 2 2012 Will Woods 1.4.6-4 - Mark /var/cache/davfs2 and /var/run/mount.davfs %%ghost (#656570) - Fix 'cannot stat `/usr/share/davfs2/davfs2.conf'' warning (#783788) * Wed Jan 25 2012 Harald Hoyer 1.4.6-3 - install everything in /usr https://fedoraproject.org/wiki/Features/UsrMove * Fri Jan 13 2012 Fedora Release Engineering - 1.4.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Nov 09 2011 Will Woods - 1.4.6-1 - New upstream release. From the upstream changelog: - Fix assignment of password from pam_mount (bug #28706) - Fix log messages in dav_create * Tue Feb 08 2011 Fedora Release Engineering - 1.4.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Feb 15 2010 Will Woods - 1.4.5-2 - Add davfs2-1.4.5-sys_stat_h.patch to fix building on F13 * Wed Jan 13 2010 Will Woods - 1.4.5-1 - New upstream release (fixes rebuild failure, see bug 538913) - NOTE: 1.4.x has different config file syntax. Read the NEWS file! * Thu Sep 17 2009 Peter Lemenkov - 1.3.3-5 - bump * Thu Sep 17 2009 Peter Lemenkov - 1.3.3-4 - Rebuilt with new fuse * Fri Jul 24 2009 Fedora Release Engineering - 1.3.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Mar 11 2009 Will Woods - 1.3.3-2 - Passed package review (#488858) - Ensure that package owns /etc/davfs2 and /etc/davfs2/certs * Mon Mar 02 2009 Will Woods - 1.3.3-1 - Initial packaging - Fix open() with O_CREAT and no mode