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

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

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


Revision 1.8 - (hide annotations) (download)
Mon Apr 29 16:44:07 2019 UTC (5 years, 7 months ago) by michel
Branch: MAIN
CVS Tags: smeserver-xt_geoip-1_0_1-11_el6_sme
Changes since 1.7: +4 -2 lines
* Wed Apr 24 2019 Michel Begue <mab974@gmail.com> 1.0.1-11.sme
- add per service management of GeoIP bans [SME: 10760]

1 jpp 1.1 %define name smeserver-xt_geoip
2     %define version 1.0.1
3 michel 1.8 %define release 11
4 jpp 1.1 Summary: smserver rpm to setup database, update and configuration for xt_geoip module with a panel.
5     Name: %{name}
6     Version: %{version}
7     Release: %{release}%{?dist}
8     License: GNU GPL version 2
9     URL: http://wiki.contribs.org/Main_Page
10     Group: SMEserver/addon
11     Source: %{name}-%{version}.tar.gz
12     Patch0: smeserver-xt_geoip-1.0.1-2-weakupd.patch
13     Patch1: smeserver-xt_geoip-1.0.1-3-messag.patch
14     Patch2: smeserver-xt_geoip-1.0.1-4-crontab.patch
15 jpp 1.3 Patch3: smeserver-xt_geoip-1.0.1-bz10739.patch
16 michel 1.4 Patch4: smeserver-xt_geoip-1.0.1-stats.patch
17 michel 1.5 Patch5: smeserver-xt_geoip-1.0.1-stats_panel.patch
18 michel 1.7 Patch6: smeserver-xt_geoip-1.0.1-per_service.patch
19 michel 1.8 Patch7: smeserver-xt_geoip-1.0.1-per_service2.patch
20 jpp 1.1 BuildArchitectures: noarch
21     BuildRoot: /var/tmp/%{name}-%{version}
22     BuildRequires: e-smith-devtools
23     Requires: e-smith-release >= 9.0
24     Requires: xtables-addons = 1.47.1
25 michel 1.4 Requires: GeoIP = 1.6.5
26 jpp 1.1 AutoReqProv: no
27    
28     %description
29     smserver rpm to setup database, update and configuration for xt_geoip module with a panel.
30    
31     %changelog
32 michel 1.8 * Wed Apr 24 2019 Michel Begue <mab974@gmail.com> 1.0.1-11.sme
33 michel 1.7 - add per service management of GeoIP bans [SME: 10760]
34    
35 michel 1.6 * Wed Apr 17 2019 Michel Begue <mab974@gmail.com> 1.0.1-9.sme
36 michel 1.5 - add stats access in the panel [SME: 10745]
37     - add control of maximum number of countries [SME: 10749]
38    
39 michel 1.4 * Wed Mar 06 2019 Michel Begue <mab974@gmail.com> 1.0.1-7.sme
40     - add stats of geoip blocked countries [SME: 10745]
41     - add stats of ssh attacks not geoip blocked [SME: 10744]
42     - expand /etc/crontab on update
43    
44 jpp 1.3 * Mon Feb 18 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-6.sme
45     - fix unable to load iptables rules [SME: 10739]
46     fix warning localtime
47     fix warning "enabled" isn't numeric in numeric eq (==)
48    
49 jpp 1.2 * Wed Feb 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-5.sme
50     - first import to SME buildsys
51    
52 jpp 1.1 * Sun Oct 29 2017 Michel Begue <mab974@gmail.com>
53     - bug in crontab update job,
54     - [1.0.1-4]
55    
56     * Mon Oct 16 2017 Michel Begue <mab974@gmail.com>
57     - new message : inactive GeoIP,
58     - value of country code added in message "country not found",
59     - [1.0.1-3]
60    
61     * Sat Oct 08 2017 Michel Begue <mab974@gmail.com>
62     - test kernel module presence in "/lib/modules/weak-updates" directory
63     - [1.0.1-2]
64    
65     * Wed Sep 20 2017 Michel Begue <mab974@gmail.com>
66     - panel added in server manager
67     - [1.0.1-1]
68    
69     * Tue Sep 12 2017 Michel Begue <mab974@gmail.com>
70     - initial release
71     - [1.0.0-1]
72     - xtables-addons v1.47.1 (v1.x required for kernel 2.6.32)
73    
74     %prep
75    
76     %setup
77     %patch0 -p1
78     %patch1 -p1
79     %patch2 -p1
80 jpp 1.3 %patch3 -p1
81 michel 1.4 %patch4 -p1
82 michel 1.5 %patch5 -p1
83 michel 1.7 %patch6 -p1
84 michel 1.8 %patch7 -p1
85 jpp 1.1
86     %build
87     perl createlinks
88    
89    
90     %install
91     rm -rf $RPM_BUILD_ROOT
92    
93     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
94     rm -f %{name}-%{version}-filelist
95 michel 1.4 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT | egrep -v "usr/share/xt_geoip/geoip_" \
96 jpp 1.1 > %{name}-%{version}-filelist
97     echo "%doc COPYING" >> %{name}-%{version}-filelist
98    
99     %clean
100     cd ..
101     rm -rf %{name}-%{version}
102    
103     %pre
104     %preun
105    
106     %post
107    
108     %postun
109    
110     %files -f %{name}-%{version}-filelist
111     %defattr(-,root,root)
112    
113 michel 1.4 %files
114     %attr(0755, root, root) /usr/share/xt_geoip/geoip_*

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