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

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

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


Revision 1.8 - (hide annotations) (download)
Wed Sep 23 20:14:10 2015 UTC (8 years, 7 months ago) by reetspetit
Branch: MAIN
CVS Tags: smeserver-geoip-1_1_2-5_el5_sme
Changes since 1.7: +6 -1 lines
* Wed Sep 23 2015 John Crisp <jcrisp@safeandsoundit.co.uk> 1.1.2-5 - Add ability to whitelist an IP

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

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