1 |
jpp |
1.5 |
# $Id: smeserver-mod_dav.spec,v 1.4 2021/03/02 17:09:12 jpp Exp $ |
2 |
brianr |
1.1 |
# Authority: snetram |
3 |
|
|
# Name: Jonathan Martens |
4 |
|
|
|
5 |
|
|
%define name smeserver-mod_dav |
6 |
|
|
%define version 1.1 |
7 |
jpp |
1.5 |
%define release 6 |
8 |
brianr |
1.1 |
|
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 |
jpp |
1.4 |
Patch1: smeserver-mod_dav-1.1-bz11070.patch |
18 |
|
|
Patch2: smeserver-mod_dav-1.1-bz10347-bz4564-bz5337.patch |
19 |
jpp |
1.3 |
|
20 |
brianr |
1.1 |
BuildArchitectures: noarch |
21 |
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
22 |
|
|
Requires: smeserver-release >= 9 |
23 |
|
|
Requires: httpd >= 2 |
24 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
25 |
|
|
|
26 |
|
|
%description |
27 |
|
|
Implementation of mod_dav for SME Server 7. |
28 |
|
|
|
29 |
|
|
%changelog |
30 |
jpp |
1.5 |
* Mon Mar 01 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-6.sme |
31 |
jpp |
1.4 |
- fix security issues [SME: 11077] |
32 |
|
|
where user could access ibay he was not member of group |
33 |
|
|
- improve ibay dav template [SME 4564] |
34 |
|
|
force ssl, secure php file, disable cgi and php |
35 |
|
|
when DAV enabled on ibay, and respect rmeote access settings |
36 |
|
|
- descriptive login box [SME: 5337] |
37 |
jpp |
1.5 |
- fix some typos and propertie names |
38 |
jpp |
1.4 |
|
39 |
jpp |
1.3 |
* Sun Feb 28 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-4.sme |
40 |
|
|
- add createlinks and add -update event [SME: 11070] |
41 |
|
|
|
42 |
brianr |
1.2 |
* Thu Oct 29 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-3.sme |
43 |
jpp |
1.3 |
- Initial import into SME10 tree [SME: 11070] |
44 |
brianr |
1.2 |
|
45 |
brianr |
1.1 |
* Tue Jun 10 2014 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.1-2.sme |
46 |
|
|
- added new way to authenticate to apache [sme:8340] |
47 |
|
|
|
48 |
|
|
* Wed Nov 13 2013 Daniel Berteaud <daniel@firewall-services.com> 1.1-1.sme |
49 |
|
|
- Rebuild for SME9 |
50 |
|
|
|
51 |
|
|
* Mon May 28 2012 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-1.sme |
52 |
|
|
- Initial version |
53 |
|
|
|
54 |
|
|
%prep |
55 |
|
|
%setup |
56 |
|
|
%patch0 -p1 |
57 |
jpp |
1.3 |
%patch1 -p1 |
58 |
jpp |
1.4 |
%patch2 -p1 |
59 |
brianr |
1.1 |
%build |
60 |
jpp |
1.3 |
perl createlinks |
61 |
brianr |
1.1 |
|
62 |
|
|
%install |
63 |
|
|
rm -rf %buildroot |
64 |
|
|
(cd root ; find . -depth -print | cpio -dump %buildroot) |
65 |
|
|
rm -f %{name}-%{version}-filelist |
66 |
|
|
/sbin/e-smith/genfilelist %buildroot \ |
67 |
|
|
--dir /var/run/davLocks 'attr(0755,www,www)' \ |
68 |
|
|
> %{name}-%{version}-filelist |
69 |
|
|
|
70 |
|
|
%clean |
71 |
|
|
rm -rf %buildroot |
72 |
|
|
|
73 |
|
|
%files -f %{name}-%{version}-filelist |
74 |
|
|
%defattr(-,root,root) |