1 |
# $Id: smeserver-mod_dav.spec,v 1.6 2021/06/21 01:39:42 terryfage Exp $ |
2 |
# Authority: snetram |
3 |
# Name: Jonathan Martens |
4 |
|
5 |
%define name smeserver-mod_dav |
6 |
%define version 1.1 |
7 |
%define release 8 |
8 |
|
9 |
Summary: SME Server mod_dav implementation |
10 |
Name: %{name} |
11 |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
13 |
License: GPL |
14 |
Group: Applications/Internet |
15 |
Source: %{name}-%{version}.tar.xz |
16 |
Patch0: smeserver-mod_dav-1.1_add_AuthBasicProvider_external.patch |
17 |
Patch1: smeserver-mod_dav-1.1-bz11070.patch |
18 |
Patch2: smeserver-mod_dav-1.1-bz10347-bz4564-bz5337.patch |
19 |
Patch3: smeserver-mod_dav-1.1-bz11630.patch |
20 |
Patch4: smeserver-mod_dav-1.1-bz12051-24syntax.patch |
21 |
|
22 |
BuildArchitectures: noarch |
23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
24 |
Requires: e-smith-apache >= 2.6.0-19 |
25 |
Requires: smeserver-release >= 10 |
26 |
Requires: httpd >= 2.4.6 |
27 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
28 |
|
29 |
%description |
30 |
Implementation of mod_dav for SME Server 7. |
31 |
|
32 |
%changelog |
33 |
* Thu Jul 28 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.1-8.sme |
34 |
- update to apache 2.4 access syntax [SME: 12051] |
35 |
|
36 |
* Mon Jun 21 2021 Terry Fage <terryf@ozemail.com.au> 1.1-7.sme |
37 |
- Ensure persistence of/var/run/davlocks on reboot/reconfig [SME: 11630] |
38 |
|
39 |
* Mon Mar 01 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-6.sme |
40 |
- fix security issues [SME: 11077] |
41 |
where user could access ibay he was not member of group |
42 |
- improve ibay dav template [SME 4564] |
43 |
force ssl, secure php file, disable cgi and php |
44 |
when DAV enabled on ibay, and respect rmeote access settings |
45 |
- descriptive login box [SME: 5337] |
46 |
- fix some typos and propertie names |
47 |
|
48 |
* Sun Feb 28 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-4.sme |
49 |
- add createlinks and add -update event [SME: 11070] |
50 |
|
51 |
* Thu Oct 29 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-3.sme |
52 |
- Initial import into SME10 tree [SME: 11070] |
53 |
|
54 |
* Tue Jun 10 2014 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.1-2.sme |
55 |
- added new way to authenticate to apache [sme:8340] |
56 |
|
57 |
* Wed Nov 13 2013 Daniel Berteaud <daniel@firewall-services.com> 1.1-1.sme |
58 |
- Rebuild for SME9 |
59 |
|
60 |
* Mon May 28 2012 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-1.sme |
61 |
- Initial version |
62 |
|
63 |
%prep |
64 |
%setup |
65 |
%patch0 -p1 |
66 |
%patch1 -p1 |
67 |
%patch2 -p1 |
68 |
%patch3 -p1 |
69 |
%patch4 -p1 |
70 |
|
71 |
|
72 |
%build |
73 |
perl createlinks |
74 |
|
75 |
%install |
76 |
rm -rf %buildroot |
77 |
(cd root ; find . -depth -print | cpio -dump %buildroot) |
78 |
rm -f %{name}-%{version}-filelist |
79 |
/sbin/e-smith/genfilelist %buildroot \ |
80 |
--dir /var/run/davLocks 'attr(0755,www,www)' \ |
81 |
> %{name}-%{version}-filelist |
82 |
|
83 |
%clean |
84 |
rm -rf %buildroot |
85 |
|
86 |
%files -f %{name}-%{version}-filelist |
87 |
%defattr(-,root,root) |