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

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

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

Revision 1.2 by unnilennium, Wed Jun 26 23:33:33 2013 UTC Revision 1.7 by stephdl, Wed Sep 23 10:14:28 2015 UTC
# Line 1  Line 1 
1  %define name smeserver-geoip  %define name smeserver-geoip
2  %define version 1.0.5  %define version 1.1.2
3  %define release 1  %define release 4
4    
5  Summary: SME Server geoip plugin  Summary: SME Server geoip plugin
6  Name: %{name}  Name: %{name}
7  Version: %{version}  Version: %{version}
8  Release: %{release}  Release: %{release}%{?dist}
9  License: GPL  License: GPL
10  Group: Email  Group: Email
11  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
# Line 14  BuildRoot: /var/tmp/%{name}-%{version}-% Line 14  BuildRoot: /var/tmp/%{name}-%{version}-%
14  BuildArchitectures: noarch  BuildArchitectures: noarch
15  Requires: perl-Geo-IP  Requires: perl-Geo-IP
16  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
17    Patch0 : smeserver-geoip-remove-createlink-add-geoip-download-actions.patch
18    Patch1: smeserver-geoip-1.1.2.geoip-update-event.patch
19  %description  %description
20  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.
21    
# Line 22  CHANGE THE CONFIG DB: config setprop qps Line 23  CHANGE THE CONFIG DB: config setprop qps
23  SIGNAL EVENT: signal-event email-update  SIGNAL EVENT: signal-event email-update
24    
25  %changelog  %changelog
26    * Tue Sep 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1.2-4
27    - the event geoip-update download the geoip database
28    - added smeserver-geoip-1.1.2.geoip-update-event.patch
29    
30    * Sun Jun 14 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1.2-2
31    - added createlinks
32    - added actions and crontab to download geoip database
33    
34  * Mon Sep 03 2012 Doug Kruhm <dakruhm@daknetworks.net> 1.0.5  * Mon Sep 03 2012 Doug Kruhm <dakruhm@daknetworks.net> 1.0.5
35  - defining $country to reduce noise if not found [SME: 5011]  - defining $country to reduce noise if not found [SME: 5011]
36  - fixed misspelling in response if country is blocked [SME: 7058]  - fixed misspelling in response if country is blocked [SME: 7058]
# Line 46  SIGNAL EVENT: signal-event email-update Line 55  SIGNAL EVENT: signal-event email-update
55    
56  %prep  %prep
57  %setup  %setup
58    %patch0 -p1
59    %patch1 -p1
60    
61  %build  %build
62    %{__mkdir_p} root/var/lib/GeoIP
63    perl createlinks
64    
65  %install  %install
66  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT


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