1 |
%define name smeserver-geoip |
%define name smeserver-geoip |
2 |
%define version 1.2 |
%define version 1.2 |
3 |
%define release 8 |
%define release 9 |
4 |
|
|
5 |
Summary: SME Server geoip plugin |
Summary: SME Server geoip plugin |
6 |
Name: %{name} |
Name: %{name} |
18 |
Patch1: smeserver-geoip-fix-city-createlinks.patch |
Patch1: smeserver-geoip-fix-city-createlinks.patch |
19 |
Patch2: smeserver-geoip-1.2-check_badcountries.patch |
Patch2: smeserver-geoip-1.2-check_badcountries.patch |
20 |
Patch3: smeserver-geoip-1.2-check_badcountries-mailstats.patch |
Patch3: smeserver-geoip-1.2-check_badcountries-mailstats.patch |
21 |
|
Patch4: smeserver-geoip-1.2-bz10820-geoipv1-blockvountries-qpsmtpd.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. |
59 |
#---------------------------------------------------- |
#---------------------------------------------------- |
60 |
|
|
61 |
%changelog |
%changelog |
62 |
|
* Fri Oct 18 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.2-9.sme |
63 |
|
- revert blocking country for geoipv1 qpsmtpd plugin [SME: 10820] |
64 |
|
|
65 |
* Thu Jan 24 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.2-8.sme |
* Thu Jan 24 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.2-8.sme |
66 |
- make smeserver-geoip2 requires smeserver-geoip [SME: 10691] |
- make smeserver-geoip2 requires smeserver-geoip [SME: 10691] |
67 |
this will avoid having both packages sharing few files. |
this will avoid having both packages sharing few files. |
137 |
%patch1 -p1 |
%patch1 -p1 |
138 |
%patch2 -p1 |
%patch2 -p1 |
139 |
%patch3 -p1 |
%patch3 -p1 |
140 |
|
%patch4 -p1 |
141 |
|
|
142 |
%build |
%build |
143 |
%{__mkdir_p} root/var/lib/GeoIP |
%{__mkdir_p} root/var/lib/GeoIP |