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