1 |
jpp |
1.1 |
|
2 |
|
|
%define name smeserver-mod_maxminddb |
3 |
|
|
%define version 1.1.0 |
4 |
jpp |
1.5 |
%define release 11 |
5 |
jpp |
1.1 |
|
6 |
|
|
Summary: SME Server mod_dav implementation |
7 |
|
|
Name: %{name} |
8 |
|
|
Version: %{version} |
9 |
|
|
Release: %{release}%{?dist} |
10 |
|
|
License: GPL |
11 |
|
|
Group: Applications/Internet |
12 |
|
|
Source: %{name}-%{version}.tar.gz |
13 |
|
|
Patch0: smeserver-mod_maxminddb-1.1.0-bz10759-typo.patch |
14 |
|
|
Patch1: smeserver-mod_maxminddb-1.1.0-bz10759-rename.patch |
15 |
|
|
Patch2: smeserver-mod_maxminddb-1.1.0-bz10759-newVariables.patch |
16 |
jpp |
1.2 |
Patch3: smeserver-mod_maxminddb-1.1.0-bz11521-sme10.patch |
17 |
jpp |
1.5 |
Patch4: smeserver-mod_maxminddb-1.1.0-allowexternalSSLAccessByCountry.patch |
18 |
jpp |
1.2 |
|
19 |
jpp |
1.1 |
BuildArchitectures: noarch |
20 |
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
21 |
|
|
Requires: smeserver-release >= 9 |
22 |
|
|
Requires: httpd >= 2 |
23 |
|
|
Requires: mod_maxminddb |
24 |
|
|
Requires: libmaxminddb-devel |
25 |
|
|
Requires: geolite2-city |
26 |
|
|
Requires: geolite2-country |
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 |
jpp |
1.5 |
* Fri Apr 02 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.1.0-11.sme |
34 |
|
|
- add option to allow countries to external access to manager [SME: 10768] |
35 |
|
|
ValidFromGeoIP will add access to listed countries to managers and all |
36 |
|
|
ressources using the usual list from httpd-admin Validfrom (local ibays, contribs...) |
37 |
|
|
|
38 |
jpp |
1.4 |
* Fri Apr 02 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.1.0-10.sme |
39 |
jpp |
1.2 |
- initial import to SME 10 [SME: 11521] |
40 |
jpp |
1.3 |
- update event created |
41 |
jpp |
1.2 |
|
42 |
jpp |
1.1 |
* Thu Apr 11 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-7.sme |
43 |
|
|
- fix missing db on installation [SME: 10770] |
44 |
|
|
|
45 |
|
|
* Thu Mar 14 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-6.sme |
46 |
|
|
- configure necessary variables [SME: 10759] |
47 |
|
|
|
48 |
|
|
* Wed Mar 13 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-4.sme |
49 |
|
|
- fix typo [SME: 10759] |
50 |
|
|
- add requires mod_maxminddb |
51 |
|
|
- rename template |
52 |
|
|
|
53 |
|
|
* Tue Mar 12 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.0-1.sme |
54 |
|
|
- Initial version [SME: 10759] |
55 |
|
|
|
56 |
|
|
%prep |
57 |
|
|
%setup |
58 |
|
|
%patch0 -p1 |
59 |
|
|
%patch1 -p1 |
60 |
|
|
%patch2 -p1 |
61 |
jpp |
1.2 |
%patch3 -p1 |
62 |
jpp |
1.5 |
%patch4 -p1 |
63 |
jpp |
1.1 |
|
64 |
|
|
%build |
65 |
jpp |
1.4 |
perl createlinks |
66 |
jpp |
1.1 |
|
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) |