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

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

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


Revision 1.4 - (hide annotations) (download)
Tue Sep 22 21:56:31 2015 UTC (9 years, 1 month ago) by stephdl
Branch: MAIN
CVS Tags: smeserver-geoip-1_1_2-4_el6_sme
Changes since 1.3: +5 -8 lines
* Tue Sep 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1.2-4
- the event geoip-update download the geoip database
- added smeserver-geoip-1.1.2.geoip-update-event.patch

1 stephdl 1.1 %define name smeserver-geoip
2     %define version 1.1.2
3 stephdl 1.4 %define release 4
4 stephdl 1.1
5     Summary: SME Server geoip plugin
6     Name: %{name}
7     Version: %{version}
8     Release: %{release}%{?dist}
9     License: GPL
10     Group: Email
11     Source: %{name}-%{version}.tar.gz
12     Packager: Doug Kruhm <dakruhm@daknetworks.net>
13     BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
14     BuildArchitectures: noarch
15     Requires: perl-Geo-IP
16     BuildRequires: e-smith-devtools >= 1.13.1-03
17     Patch0 : smeserver-geoip-remove-createlink-add-geoip-download-actions.patch
18 stephdl 1.4 Patch1: smeserver-geoip-1.1.2.geoip-update-event.patch
19 stephdl 1.1 %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.
21    
22     CHANGE THE CONFIG DB: config setprop qpsmtpd BadCountries <countrycode> (i.e. config setprop qpsmtpd BadCountries BR)
23     SIGNAL EVENT: signal-event email-update
24    
25     %changelog
26 stephdl 1.4 * 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 stephdl 1.3
30 stephdl 1.2 * Sun Jun 14 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1.2-2
31 stephdl 1.1 - 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
35     - defining $country to reduce noise if not found [SME: 5011]
36     - fixed misspelling in response if country is blocked [SME: 7058]
37     - cleaning up versioning to MAJOR-MINOR-PATCH
38    
39     * Fri May 01 2009 Doug Kruhm <dakruhm@daknetworks.net> 1.0.0-04
40     - added response to connecting server if blocked [SME: 5011]
41    
42     * Fri May 01 2009 Doug Kruhm <dakruhm@daknetworks.net> 1.0.0-03
43     - added line to reduce log noise [SME: 5011]
44    
45     * Fri May 01 2009 Doug Kruhm <dakruhm@daknetworks.net> 1.0.0-02
46     - db defaults migrated from SPEC file to rpm files [SME: 5193]
47     - removed %post and %postun macros [SME: 5194]
48     - added Requires perl-Geo-IP [SME: 1866]
49     - added e-smith-devtools as a requirement [SME: 1866]
50    
51     * Thu Jun 16 2007 Doug Kruhm <dakruhm@daknetworks.net>
52     - 1.0.0-01
53     - Original version
54    
55    
56     %prep
57     %setup
58     %patch0 -p1
59 stephdl 1.3 %patch1 -p1
60 stephdl 1.1
61     %build
62     %{__mkdir_p} root/var/lib/GeoIP
63     perl createlinks
64    
65     %install
66     rm -rf $RPM_BUILD_ROOT
67     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
68     rm -f %{name}-%{version}-filelist
69     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
70    
71     %clean
72     rm -rf $RPM_BUILD_ROOT
73    
74     %post
75    
76     %postun
77    
78     %files -f %{name}-%{version}-filelist
79     %defattr(-,root,root)

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