/[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.17 by jpp, Mon Oct 21 01:48:39 2019 UTC Revision 1.18 by jpp, Tue Jan 21 20:13:18 2020 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 10  %define release 11
4    
5  Summary: SME Server geoip plugin  Summary: SME Server geoip plugin
6  Name: %{name}  Name: %{name}
# Line 20  Patch2: smeserver-geoip-1.2-check_badcou Line 20  Patch2: smeserver-geoip-1.2-check_badcou
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  Patch4: smeserver-geoip-1.2-bz10820-geoipv1-blockvountries-qpsmtpd.patch
22  Patch5: smeserver-geoip-1.2-bz10815-display-country.patch  Patch5: smeserver-geoip-1.2-bz10815-display-country.patch
23    Patch6: smeserver-geoip-1.2-bz10859-bz10740.patch
24    
25  %description  %description
26  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 49  Group:          Email Line 50  Group:          Email
50  Requires:       smeserver-geoip  Requires:       smeserver-geoip
51  Requires:       perl-GeoIP2  Requires:       perl-GeoIP2
52  Requires:       GeoIP >= 1.6.5  Requires:       GeoIP >= 1.6.5
53    Requires: libmaxminddb >= 1.1.1
54    Requires: libmaxminddb-devel >= 1.1.1
55    Requires: geolite2-country
56    Requires: geolite2-city
57  BuildRequires:  e-smith-devtools >= 1.13.1-03  BuildRequires:  e-smith-devtools >= 1.13.1-03
58    
59    
# Line 60  SIGNAL EVENT: signal-event email-update Line 65  SIGNAL EVENT: signal-event email-update
65  #----------------------------------------------------  #----------------------------------------------------
66    
67  %changelog  %changelog
68    * Tue Jan 21 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.2-11.sme
69    - add support for mmdblookup  [SME: 10740]
70    - add support for download with AccountID and LicenseKey [SME: 10859]
71    
72  * Sun Oct 20 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.2-10.sme  * Sun Oct 20 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.2-10.sme
73  - fix country not logged if no badcountries defined [SME: 10815]  - fix country not logged if no badcountries defined [SME: 10815]
74    
# Line 143  SIGNAL EVENT: signal-event email-update Line 152  SIGNAL EVENT: signal-event email-update
152  %patch3 -p1  %patch3 -p1
153  %patch4 -p1  %patch4 -p1
154  %patch5 -p1  %patch5 -p1
155    %patch6 -p1
156    
157  %build  %build
158  %{__mkdir_p} root/var/lib/GeoIP  %{__mkdir_p} root/var/lib/GeoIP
# Line 161  cat %{name}-%{version}-filelist \ Line 171  cat %{name}-%{version}-filelist \
171  |grep -v 'smeserver-geopip-download-action' \  |grep -v 'smeserver-geopip-download-action' \
172  |grep -v 'templates2expand/etc/GeoIP.conf' \  |grep -v 'templates2expand/etc/GeoIP.conf' \
173  |grep -v '/etc/crontab/91_Update_Geoip_db' \  |grep -v '/etc/crontab/91_Update_Geoip_db' \
174    |grep -v '/usr/bin/geoiplook' \
175   > %{name}-%{version}-filelist-v1   > %{name}-%{version}-filelist-v1
176  diff -u %{name}-%{version}-filelist %{name}-%{version}-filelist-v1 | grep -E "^\-"| sed -E 's/^\-//'|grep -v filelist > %{name}-%{version}-filelist-v2  diff -u %{name}-%{version}-filelist %{name}-%{version}-filelist-v1 | grep -E "^\-"| sed -E 's/^\-//'|grep -v filelist > %{name}-%{version}-filelist-v2
177    


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