1 |
%define name smeserver-geoip |
%define name smeserver-geoip |
2 |
%define version 1.2 |
%define version 1.2 |
3 |
%define release 2 |
%define release 3 |
4 |
|
|
5 |
Summary: SME Server geoip plugin |
Summary: SME Server geoip plugin |
6 |
Name: %{name} |
Name: %{name} |
16 |
Requires: GeoIP >= 1.6.5 |
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-conf-typo.patch |
Patch0: smeserver-geoip-conf-typo.patch |
19 |
|
Patch1: smeserver-geoip-fix-city-createlinks.patch |
20 |
|
|
21 |
%description |
%description |
22 |
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 |
SIGNAL EVENT: signal-event email-update |
SIGNAL EVENT: signal-event email-update |
26 |
|
|
27 |
%changelog |
%changelog |
28 |
|
* Mon Oct 29 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2-3.sme |
29 |
|
- Fix Use of uninitialized value $city in string eq |
30 |
|
- Fix createlinks geoip-update action |
31 |
|
|
32 |
* Sat Jun 23 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2-2.sme |
* Sat Jun 23 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2-2.sme |
33 |
- Fix typo in createlinks |
- Fix typo in createlinks |
34 |
|
|
78 |
%prep |
%prep |
79 |
%setup |
%setup |
80 |
%patch0 -p1 |
%patch0 -p1 |
81 |
|
%patch1 -p1 |
82 |
|
|
83 |
%build |
%build |
84 |
%{__mkdir_p} root/var/lib/GeoIP |
%{__mkdir_p} root/var/lib/GeoIP |