1 |
%define name smeserver-geoip |
%define name smeserver-geoip |
2 |
%define version 1.1.2 |
%define version 1.1.2 |
3 |
%define release 1 |
%define release 7 |
4 |
|
|
5 |
Summary: SME Server geoip plugin |
Summary: SME Server geoip plugin |
6 |
Name: %{name} |
Name: %{name} |
13 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
14 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
15 |
Requires: perl-Geo-IP |
Requires: perl-Geo-IP |
16 |
|
Requires: GeoIP >= 1.6.5 |
17 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
18 |
Patch0 : smeserver-geoip-remove-createlink-add-geoip-download-actions.patch |
Patch0: smeserver-geoip-remove-createlink-add-geoip-download-actions.patch |
19 |
|
Patch1: smeserver-geoip-1.1.2.geoip-update-event.patch |
20 |
|
Patch2: smeserver-geoip-whitelist_by_IP.patch |
21 |
|
Patch3: smeserver-geoip-use-newer-databases.patch |
22 |
|
|
23 |
%description |
%description |
24 |
The GEOIP plugin lets us know which country our mail server is receiving mail from. If we're receiving too much spam from a particular country, this will help track it down and then use that info to reject connections from that country. This ends up taking the load off our servers. |
The GEOIP plugin lets us know which country our mail server is receiving mail from. If we're receiving too much spam from a particular country, this will help track it down and then use that info to reject connections from that country. This ends up taking the load off our servers. |
25 |
|
|
27 |
SIGNAL EVENT: signal-event email-update |
SIGNAL EVENT: signal-event email-update |
28 |
|
|
29 |
%changelog |
%changelog |
30 |
* Sun Jun 14 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1.2-1 |
* Wed Feb 15 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.2-7.sme |
31 |
|
- update requirement for GeoIP 1.6.5 [SME: 9714] |
32 |
|
|
33 |
|
* Thu Dec 22 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 1.1.2-6 |
34 |
|
- Use newer versions of GeoIP databases [SME: 9714] |
35 |
|
|
36 |
|
* Wed Sep 23 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 1.1.2-5 |
37 |
|
- Add ability to whitelist an IP [SME:8981] |
38 |
|
|
39 |
|
* Tue Sep 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1.2-4 |
40 |
|
- the event geoip-update download the geoip database |
41 |
|
- added smeserver-geoip-1.1.2.geoip-update-event.patch |
42 |
|
|
43 |
|
* Sun Jun 14 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1.2-2 |
44 |
- added createlinks |
- added createlinks |
45 |
- added actions and crontab to download geoip database |
- added actions and crontab to download geoip database |
46 |
|
|
69 |
%prep |
%prep |
70 |
%setup |
%setup |
71 |
%patch0 -p1 |
%patch0 -p1 |
72 |
|
%patch1 -p1 |
73 |
|
%patch2 -p1 |
74 |
|
%patch3 -p1 |
75 |
|
|
76 |
%build |
%build |
77 |
%{__mkdir_p} root/var/lib/GeoIP |
%{__mkdir_p} root/var/lib/GeoIP |