/[smecontribs]/rpms/smeserver-geoip/contribs9/smeserver-geoip.spec
ViewVC logotype

Diff of /rpms/smeserver-geoip/contribs9/smeserver-geoip.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.11 by jpp, Sat Jan 5 05:03:30 2019 UTC Revision 1.14 by jcrisp, Wed Jan 16 12:35:12 2019 UTC
# Line 1  Line 1 
1  %define name smeserver-geoip  %define name smeserver-geoip
2  %define version 1.2  %define version 1.2
3  %define release 4  %define release 7
4    
5  Summary: SME Server geoip plugin  Summary: SME Server geoip plugin
6  Name: %{name}  Name: %{name}
# Line 16  Requires: GeoIP >= 1.6.5 Line 16  Requires: GeoIP >= 1.6.5
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    Patch3: smeserver-geoip-1.2-check_badcountries-mailstats.patch
21    
22  %description  %description
23  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.
# Line 55  SIGNAL EVENT: signal-event email-update Line 57  SIGNAL EVENT: signal-event email-update
57  #----------------------------------------------------  #----------------------------------------------------
58    
59  %changelog  %changelog
60    * Tue Jan 15 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2-7.sme
61    - Update check_badcountries to work with mailstats
62    
63    * Sat Jan 05 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.2-6.sme
64    - remove crontab fragment for v1 [SME: 10691]
65    
66    * Sat Jan 05 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.2-5.sme
67    - fix wrong loglevel LOGINFO instead of LOGNOTICE needed [SME: 10679]
68    - try first db v2 and back on v1 if not available [SME: 10691]
69    - workaround FATAL PLUGIN ERROR when method name_by_addr not existing priori geo-ip 1.39 [SME: 10691]
70    
71  * 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
72  - 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]
73  - workaround to find for plugin compatibility  - TODO: workaround to find for plugin compatibility
74    
75  * 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
76  - Fix Use of uninitialized value $city in string eq  - Fix Use of uninitialized value $city in string eq
# Line 113  SIGNAL EVENT: signal-event email-update Line 126  SIGNAL EVENT: signal-event email-update
126  %setup  %setup
127  %patch0 -p1  %patch0 -p1
128  %patch1 -p1  %patch1 -p1
129    %patch2 -p1
130    %patch3 -p1
131    
132  %build  %build
133  %{__mkdir_p} root/var/lib/GeoIP  %{__mkdir_p} root/var/lib/GeoIP
# Line 130  cat %{name}-%{version}-filelist \ Line 145  cat %{name}-%{version}-filelist \
145  |grep -v 'usr/bin/geocountry.pl'\  |grep -v 'usr/bin/geocountry.pl'\
146  |grep -v 'smeserver-geopip-download-action' \  |grep -v 'smeserver-geopip-download-action' \
147  |grep -v 'templates2expand/etc/GeoIP.conf' \  |grep -v 'templates2expand/etc/GeoIP.conf' \
148    |grep -v '/etc/crontab/91_Update_Geoip_db' \
149   > %{name}-%{version}-filelist-v1   > %{name}-%{version}-filelist-v1
150    
151  %clean  %clean


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed