/[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.1 by unnilennium, Sat May 25 05:26:28 2013 UTC Revision 1.2 by unnilennium, Wed Jun 26 23:33:33 2013 UTC
# Line 1  Line 1 
 # $Id: smeserver-geoip.spec,v 1.4 2010/03/04 16:11:51 slords Exp $  
 # Authority: nocvs  
 # Name: Thouvenin Romain  
   
1  %define name smeserver-geoip  %define name smeserver-geoip
2  %define version 1.0.0  %define version 1.0.5
3  %define release b2  %define release 1
4    
5  Summary: SME Server geoip plugin  Summary: SME Server geoip plugin
6  Name: %{name}  Name: %{name}
# Line 13  Release: %{release} Line 9  Release: %{release}
9  License: GPL  License: GPL
10  Group: Email  Group: Email
11  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
12    Packager: Doug Kruhm <dakruhm@daknetworks.net>
13  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
14  BuildArchitectures: noarch  BuildArchitectures: noarch
15  BuildRequires: e-smith-devtools  Requires: perl-Geo-IP
16    BuildRequires: e-smith-devtools >= 1.13.1-03
17    
18  %description  %description
19  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 24  CHANGE THE CONFIG DB: config setprop qps Line 22  CHANGE THE CONFIG DB: config setprop qps
22  SIGNAL EVENT: signal-event email-update  SIGNAL EVENT: signal-event email-update
23    
24  %changelog  %changelog
25  * Fri Apr 24 2009 Jonathan Martens <smeserver-bugzilla@contribs.org> 1.0.0-b2  * Mon Sep 03 2012 Doug Kruhm <dakruhm@daknetworks.net> 1.0.5
26  - Add e-smith-devtools as a requirement [SME: 1866]  - defining $country to reduce noise if not found [SME: 5011]
27    - fixed misspelling in response if country is blocked [SME: 7058]
28    - cleaning up versioning to MAJOR-MINOR-PATCH
29    
30    * Fri May 01 2009 Doug Kruhm <dakruhm@daknetworks.net> 1.0.0-04
31    - added response to connecting server if blocked [SME: 5011]
32    
33    * Fri May 01 2009 Doug Kruhm <dakruhm@daknetworks.net> 1.0.0-03
34    - added line to reduce log noise [SME: 5011]
35    
36    * Fri May 01 2009 Doug Kruhm <dakruhm@daknetworks.net> 1.0.0-02
37    - db defaults migrated from SPEC file to rpm files [SME: 5193]
38    - removed %post and %postun macros [SME: 5194]
39    - added Requires perl-Geo-IP [SME: 1866]
40    - added e-smith-devtools as a requirement [SME: 1866]
41    
42  * Thu Jun 16 2007 Doug Kruhm <dakruhm@daknetworks.net>  * Thu Jun 16 2007 Doug Kruhm <dakruhm@daknetworks.net>
43  - 1.0.0-01  - 1.0.0-01
44  - Original version  - Original version
45    
46    
47  %prep  %prep
48  %setup  %setup
49    
50  %build  %build
51    
 DEFAULTS=root/etc/e-smith/db/configuration/defaults/qpsmtpd  
 mkdir -p $DEFAULTS  
   
 echo "enabled"  > $DEFAULTS/GeoIP  
 echo ""  > $DEFAULTS/BadCountries  
   
52    
53  %install  %install
54  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
# Line 53  rm -f %{name}-%{version}-filelist Line 60  rm -f %{name}-%{version}-filelist
60  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
61    
62  %post  %post
 /etc/e-smith/events/actions/initialize-default-databases  
 /sbin/e-smith/expand-template /var/service/qpsmtpd/config/badcountries  
 /sbin/e-smith/expand-template /var/service/qpsmtpd/config/peers/0  
 true  
63    
64  %postun  %postun
 /sbin/e-smith/expand-template /var/service/qpsmtpd/config/peers/0  
 true  
65    
66  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
67  %defattr(-,root,root)  %defattr(-,root,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