1 |
%define name smeserver-geoip |
%define name smeserver-geoip |
2 |
%define version 1.2 |
%define version 1.2 |
3 |
%define release 4 |
%define release 5 |
4 |
|
|
5 |
Summary: SME Server geoip plugin |
Summary: SME Server geoip plugin |
6 |
Name: %{name} |
Name: %{name} |
16 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
17 |
Patch0: smeserver-geoip-conf-typo.patch |
Patch0: smeserver-geoip-conf-typo.patch |
18 |
Patch1: smeserver-geoip-fix-city-createlinks.patch |
Patch1: smeserver-geoip-fix-city-createlinks.patch |
19 |
|
Patch2: smeserver-geoip-1.2-check_badcountries.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. |
56 |
#---------------------------------------------------- |
#---------------------------------------------------- |
57 |
|
|
58 |
%changelog |
%changelog |
59 |
|
* Sat Jan 05 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.2-5.sme |
60 |
|
- fix wrong loglevel LOGINFO instead of LOGNOTICE needed [SME: 10679] |
61 |
|
- try first db v2 and back on v1 if not available [SME: 10691] |
62 |
|
- workaround FATAL PLUGIN ERROR when method name_by_addr not existing priori geo-ip 1.39 [SME: 10691] |
63 |
|
|
64 |
* Fri Jan 04 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.2-4.sme |
* Fri Jan 04 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.2-4.sme |
65 |
- split smeserver-geoip into smeservergeoip and smeserver-geoip2 for compatibility [SME: 10691] |
- split smeserver-geoip into smeserver-geoip and smeserver-geoip2 for compatibility [SME: 10691] |
66 |
- workaround to find for plugin compatibility |
- TODO: workaround to find for plugin compatibility |
67 |
|
|
68 |
* Mon Oct 29 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2-3.sme |
* Mon Oct 29 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2-3.sme |
69 |
- Fix Use of uninitialized value $city in string eq |
- Fix Use of uninitialized value $city in string eq |
119 |
%setup |
%setup |
120 |
%patch0 -p1 |
%patch0 -p1 |
121 |
%patch1 -p1 |
%patch1 -p1 |
122 |
|
%patch2 -p1 |
123 |
|
|
124 |
%build |
%build |
125 |
%{__mkdir_p} root/var/lib/GeoIP |
%{__mkdir_p} root/var/lib/GeoIP |