/[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.7 - (hide annotations) (download)
Wed Feb 15 14:44:04 2017 UTC (7 years, 9 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-geoip-1_1_2-7_el6_sme
Changes since 1.6: +6 -4 lines
* Wed Feb 15 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.2-7.sme
- update requirement for GeoIP 1.6.5 [SME: 9714]

1 stephdl 1.1 %define name smeserver-geoip
2     %define version 1.1.2
3 unnilennium 1.7 %define release 7
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 unnilennium 1.7 Requires: GeoIP >= 1.6.5
17 stephdl 1.1 BuildRequires: e-smith-devtools >= 1.13.1-03
18 reetspetit 1.6 Patch0: smeserver-geoip-remove-createlink-add-geoip-download-actions.patch
19 stephdl 1.4 Patch1: smeserver-geoip-1.1.2.geoip-update-event.patch
20 reetspetit 1.5 Patch2: smeserver-geoip-whitelist_by_IP.patch
21 reetspetit 1.6 Patch3: smeserver-geoip-use-newer-databases.patch
22    
23 stephdl 1.1 %description
24     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.
25    
26     CHANGE THE CONFIG DB: config setprop qpsmtpd BadCountries <countrycode> (i.e. config setprop qpsmtpd BadCountries BR)
27     SIGNAL EVENT: signal-event email-update
28    
29     %changelog
30 unnilennium 1.7 * Wed Feb 15 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.2-7.sme
31     - update requirement for GeoIP 1.6.5 [SME: 9714]
32    
33 reetspetit 1.6 * Thu Dec 22 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 1.1.2-6
34 unnilennium 1.7 - Use newer versions of GeoIP databases [SME: 9714]
35 reetspetit 1.6
36 reetspetit 1.5 * Wed Sep 23 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 1.1.2-5
37     - Add ability to whitelist an IP [SME:8981]
38    
39 stephdl 1.4 * Tue Sep 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1.2-4
40     - the event geoip-update download the geoip database
41     - added smeserver-geoip-1.1.2.geoip-update-event.patch
42 stephdl 1.3
43 stephdl 1.2 * Sun Jun 14 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1.2-2
44 stephdl 1.1 - added createlinks
45     - added actions and crontab to download geoip database
46    
47     * Mon Sep 03 2012 Doug Kruhm <dakruhm@daknetworks.net> 1.0.5
48     - defining $country to reduce noise if not found [SME: 5011]
49     - fixed misspelling in response if country is blocked [SME: 7058]
50     - cleaning up versioning to MAJOR-MINOR-PATCH
51    
52     * Fri May 01 2009 Doug Kruhm <dakruhm@daknetworks.net> 1.0.0-04
53     - added response to connecting server if blocked [SME: 5011]
54    
55     * Fri May 01 2009 Doug Kruhm <dakruhm@daknetworks.net> 1.0.0-03
56     - added line to reduce log noise [SME: 5011]
57    
58     * Fri May 01 2009 Doug Kruhm <dakruhm@daknetworks.net> 1.0.0-02
59     - db defaults migrated from SPEC file to rpm files [SME: 5193]
60     - removed %post and %postun macros [SME: 5194]
61     - added Requires perl-Geo-IP [SME: 1866]
62     - added e-smith-devtools as a requirement [SME: 1866]
63    
64     * Thu Jun 16 2007 Doug Kruhm <dakruhm@daknetworks.net>
65     - 1.0.0-01
66     - Original version
67    
68    
69     %prep
70     %setup
71     %patch0 -p1
72 stephdl 1.3 %patch1 -p1
73 reetspetit 1.5 %patch2 -p1
74 reetspetit 1.6 %patch3 -p1
75 stephdl 1.1
76     %build
77     %{__mkdir_p} root/var/lib/GeoIP
78     perl createlinks
79    
80     %install
81     rm -rf $RPM_BUILD_ROOT
82     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
83     rm -f %{name}-%{version}-filelist
84     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
85    
86     %clean
87     rm -rf $RPM_BUILD_ROOT
88    
89     %post
90    
91     %postun
92    
93     %files -f %{name}-%{version}-filelist
94     %defattr(-,root,root)

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