From 51055836dde9e75eb3018945c702526cfedc4c2e Mon Sep 17 00:00:00 2001 From: Jean-Philippe Pialasse Date: Thu, 28 Aug 2025 13:56:21 -0400 Subject: [PATCH] * Thu Aug 28 2025 Jean-Philippe Pialasse 1.1-12.sme - fix path of /var/run/davLocks to /run/davLocks [SME: 13107] --- .../e-smith/templates/etc/httpd/conf/httpd.conf/35DavLock | 2 +- root/usr/lib/tmpfiles.d/mod_dav.conf | 2 +- smeserver-mod_dav.spec | 7 +++++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35DavLock b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35DavLock index c9ac097..c1375d4 100644 --- a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35DavLock +++ b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/35DavLock @@ -2,6 +2,6 @@ my $status = $modDAV{status} || 'disabled'; if ( $status eq "enabled" ) { - $OUT .= "\nDAVLockDB /var/run/davLocks/DAVLock\n"; + $OUT .= "\nDAVLockDB /run/davLocks/DAVLock\n"; } } diff --git a/root/usr/lib/tmpfiles.d/mod_dav.conf b/root/usr/lib/tmpfiles.d/mod_dav.conf index 1f535f5..9a32beb 100644 --- a/root/usr/lib/tmpfiles.d/mod_dav.conf +++ b/root/usr/lib/tmpfiles.d/mod_dav.conf @@ -1 +1 @@ -d /var/run/davLocks 0755 www www +d /run/davLocks 0755 www www diff --git a/smeserver-mod_dav.spec b/smeserver-mod_dav.spec index 0b88461..2d61f6a 100644 --- a/smeserver-mod_dav.spec +++ b/smeserver-mod_dav.spec @@ -4,7 +4,7 @@ %define name smeserver-mod_dav %define version 1.1 -%define release 11 +%define release 12 Summary: SME Server mod_dav implementation Name: %{name} @@ -25,6 +25,9 @@ BuildRequires: smeserver-devtools >= 1.13.1-03 Implementation of mod_dav for SME Server 7. %changelog +* Thu Aug 28 2025 Jean-Philippe Pialasse 1.1-12.sme +- fix path of /var/run/davLocks to /run/davLocks [SME: 13107] + * Thu Feb 20 2025 Jean-Philippe Pialasse 1.1-11.sme - mod dav now loaded in core [SME: 2269] @@ -80,7 +83,7 @@ rm -rf %buildroot (cd root ; find . -depth -print | cpio -dump %buildroot) rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist %buildroot \ - --dir /var/run/davLocks 'attr(0755,www,www)' \ + --dir /run/davLocks 'attr(0755,www,www)' \ > %{name}-%{version}-filelist %clean