--- rpms/smeserver-geoip/contribs9/smeserver-geoip.spec 2019/01/05 05:03:30 1.11 +++ rpms/smeserver-geoip/contribs9/smeserver-geoip.spec 2019/01/05 19:53:29 1.12 @@ -1,6 +1,6 @@ %define name smeserver-geoip %define version 1.2 -%define release 4 +%define release 5 Summary: SME Server geoip plugin Name: %{name} @@ -16,6 +16,7 @@ Requires: GeoIP >= 1.6.5 BuildRequires: e-smith-devtools >= 1.13.1-03 Patch0: smeserver-geoip-conf-typo.patch Patch1: smeserver-geoip-fix-city-createlinks.patch +Patch2: smeserver-geoip-1.2-check_badcountries.patch %description 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. @@ -55,9 +56,14 @@ SIGNAL EVENT: signal-event email-update #---------------------------------------------------- %changelog +* Sat Jan 05 2019 Jean-Philipe Pialasse 1.2-5.sme +- fix wrong loglevel LOGINFO instead of LOGNOTICE needed [SME: 10679] +- try first db v2 and back on v1 if not available [SME: 10691] +- workaround FATAL PLUGIN ERROR when method name_by_addr not existing priori geo-ip 1.39 [SME: 10691] + * Fri Jan 04 2019 Jean-Philipe Pialasse 1.2-4.sme -- split smeserver-geoip into smeservergeoip and smeserver-geoip2 for compatibility [SME: 10691] -- workaround to find for plugin compatibility +- split smeserver-geoip into smeserver-geoip and smeserver-geoip2 for compatibility [SME: 10691] +- TODO: workaround to find for plugin compatibility * Mon Oct 29 2018 John Crisp 1.2-3.sme - Fix Use of uninitialized value $city in string eq @@ -113,6 +119,7 @@ SIGNAL EVENT: signal-event email-update %setup %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build %{__mkdir_p} root/var/lib/GeoIP