1 |
jpp |
1.4 |
# $Id: smeserver-mod_dav.spec,v 1.3 2021/03/01 04:14:17 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.4 |
%define release 5 |
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.4 |
* Mon Mar 01 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-5.sme |
31 |
|
|
- 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 |
|
|
|
38 |
jpp |
1.3 |
* Sun Feb 28 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.1-4.sme |
39 |
|
|
- add createlinks and add -update event [SME: 11070] |
40 |
|
|
|
41 |
brianr |
1.2 |
* Thu Oct 29 2020 Brian Read <brianr@bjsystems.co.uk> 1.1-3.sme |
42 |
jpp |
1.3 |
- Initial import into SME10 tree [SME: 11070] |
43 |
brianr |
1.2 |
|
44 |
brianr |
1.1 |
* Tue Jun 10 2014 stephane de Labrusse <stephdl@de-labrusse.fr> - 1.1-2.sme |
45 |
|
|
- added new way to authenticate to apache [sme:8340] |
46 |
|
|
|
47 |
|
|
* Wed Nov 13 2013 Daniel Berteaud <daniel@firewall-services.com> 1.1-1.sme |
48 |
|
|
- Rebuild for SME9 |
49 |
|
|
|
50 |
|
|
* Mon May 28 2012 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-1.sme |
51 |
|
|
- Initial version |
52 |
|
|
|
53 |
|
|
%prep |
54 |
|
|
%setup |
55 |
|
|
%patch0 -p1 |
56 |
jpp |
1.3 |
%patch1 -p1 |
57 |
jpp |
1.4 |
%patch2 -p1 |
58 |
brianr |
1.1 |
%build |
59 |
jpp |
1.3 |
perl createlinks |
60 |
brianr |
1.1 |
|
61 |
|
|
%install |
62 |
|
|
rm -rf %buildroot |
63 |
|
|
(cd root ; find . -depth -print | cpio -dump %buildroot) |
64 |
|
|
rm -f %{name}-%{version}-filelist |
65 |
|
|
/sbin/e-smith/genfilelist %buildroot \ |
66 |
|
|
--dir /var/run/davLocks 'attr(0755,www,www)' \ |
67 |
|
|
> %{name}-%{version}-filelist |
68 |
|
|
|
69 |
|
|
%clean |
70 |
|
|
rm -rf %buildroot |
71 |
|
|
|
72 |
|
|
%files -f %{name}-%{version}-filelist |
73 |
|
|
%defattr(-,root,root) |