/[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.21 by jcrisp, Wed Jan 22 12:32:48 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 14
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    Patch7: smeserver-geoip-1.2-fix-product-id.patch
25    
26  %description  %description
27  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 51  Group:          Email
51  Requires:       smeserver-geoip  Requires:       smeserver-geoip
52  Requires:       perl-GeoIP2  Requires:       perl-GeoIP2
53  Requires:       GeoIP >= 1.6.5  Requires:       GeoIP >= 1.6.5
54    Requires: libmaxminddb >= 1.1.1
55    Requires: libmaxminddb-devel >= 1.1.1
56    Requires: geolite2-country
57    Requires: geolite2-city
58  BuildRequires:  e-smith-devtools >= 1.13.1-03  BuildRequires:  e-smith-devtools >= 1.13.1-03
59    
60    
# Line 60  SIGNAL EVENT: signal-event email-update Line 66  SIGNAL EVENT: signal-event email-update
66  #----------------------------------------------------  #----------------------------------------------------
67    
68  %changelog  %changelog
69    * Wed Jan 22 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2-14.sme
70    - Change template from EditionID to ProductID
71    - fix 20databasestore has a trailing tilde
72    
73    * Tue Jan 21 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.2-13.sme
74    - add support for mmdblookup  [SME: 10740]
75    - add support for download with AccountID and LicenseKey [SME: 10859]
76    
77  * 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
78  - fix country not logged if no badcountries defined [SME: 10815]  - fix country not logged if no badcountries defined [SME: 10815]
79    
# Line 143  SIGNAL EVENT: signal-event email-update Line 157  SIGNAL EVENT: signal-event email-update
157  %patch3 -p1  %patch3 -p1
158  %patch4 -p1  %patch4 -p1
159  %patch5 -p1  %patch5 -p1
160    %patch6 -p1
161    %patch7 -p1
162    
163  %build  %build
164  %{__mkdir_p} root/var/lib/GeoIP  %{__mkdir_p} root/var/lib/GeoIP
# Line 161  cat %{name}-%{version}-filelist \ Line 177  cat %{name}-%{version}-filelist \
177  |grep -v 'smeserver-geopip-download-action' \  |grep -v 'smeserver-geopip-download-action' \
178  |grep -v 'templates2expand/etc/GeoIP.conf' \  |grep -v 'templates2expand/etc/GeoIP.conf' \
179  |grep -v '/etc/crontab/91_Update_Geoip_db' \  |grep -v '/etc/crontab/91_Update_Geoip_db' \
180    |grep -v '/usr/bin/geoiplook' \
181    |grep -v '/etc/e-smith/db/configuration/defaults/geoip' \
182   > %{name}-%{version}-filelist-v1   > %{name}-%{version}-filelist-v1
183  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
184    


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