1 |
%define name smeserver-geoip |
%define name smeserver-geoip |
2 |
%define version 1.1.2 |
%define version 1.2 |
3 |
%define release 6 |
%define release 2 |
4 |
|
|
5 |
Summary: SME Server geoip plugin |
Summary: SME Server geoip plugin |
6 |
Name: %{name} |
Name: %{name} |
12 |
Packager: Doug Kruhm <dakruhm@daknetworks.net> |
Packager: Doug Kruhm <dakruhm@daknetworks.net> |
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-GeoIP2 |
16 |
Requires: GeoIP |
Requires: GeoIP >= 1.6.5 |
|
Requires: geoipupdate |
|
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-conf-typo.patch |
|
Patch1: smeserver-geoip-1.1.2.geoip-update-event.patch |
|
|
Patch2: smeserver-geoip-whitelist_by_IP.patch |
|
|
Patch3: smeserver-geoip-use-newer-databases.patch |
|
19 |
|
|
20 |
%description |
%description |
21 |
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. |
24 |
SIGNAL EVENT: signal-event email-update |
SIGNAL EVENT: signal-event email-update |
25 |
|
|
26 |
%changelog |
%changelog |
27 |
|
* Sat Jun 23 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2-2.sme |
28 |
|
- Fix typo in createlinks |
29 |
|
|
30 |
|
* Tue Jun 12 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2-1.sme |
31 |
|
- Update to latest v2 DBs [SME: 9033] |
32 |
|
- add geocity.pl and geocountry.pl test files |
33 |
|
|
34 |
|
* Wed Feb 15 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.2-7.sme |
35 |
|
- update requirement for GeoIP 1.6.5 [SME: 9714] |
36 |
|
|
37 |
* Thu Dec 22 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 1.1.2-6 |
* Thu Dec 22 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 1.1.2-6 |
38 |
- Use newer versions of GeoIP databases |
- Use newer versions of GeoIP databases [SME: 9714] |
39 |
|
|
40 |
* Wed Sep 23 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 1.1.2-5 |
* Wed Sep 23 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 1.1.2-5 |
41 |
- Add ability to whitelist an IP [SME:8981] |
- Add ability to whitelist an IP [SME:8981] |
73 |
%prep |
%prep |
74 |
%setup |
%setup |
75 |
%patch0 -p1 |
%patch0 -p1 |
|
%patch1 -p1 |
|
|
%patch2 -p1 |
|
|
%patch3 -p1 |
|
76 |
|
|
77 |
%build |
%build |
78 |
%{__mkdir_p} root/var/lib/GeoIP |
%{__mkdir_p} root/var/lib/GeoIP |