/[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.23 - (hide annotations) (download)
Mon Feb 24 19:28:34 2020 UTC (4 years, 3 months ago) by michel
Branch: MAIN
CVS Tags: smeserver-xt_geoip-1_0_1-26_el6_sme, HEAD
Changes since 1.22: +6 -1 lines
make: « clog » est à jour.

1 jpp 1.1 %define name smeserver-xt_geoip
2     %define version 1.0.1
3 michel 1.23 %define release 26
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.9 Patch6: smeserver-xt_geoip-1.0.1-per_serv.patch
19 jpp 1.10 Patch7: smeserver-xt_geoip-1.0.1-bz10760-safe-reload.patch
20 jpp 1.11 Patch8: smeserver-xt_geoip-1.0.1-bz10760-per_serv2.patch
21 jpp 1.14 Patch9: smeserver-xt_geoip-1.0.1-bz10794-masq-template.patch
22 jpp 1.15 Patch10: smeserver-xt_geoip-1.0.1-bz10789-more_services.patch
23     Patch11: smeserver-xt_geoip-1.0.1-bz10797-no_emails.patch
24 michel 1.16 Patch12: smeserver-xt_geoip-1.0.1-bz10791-country_panel_ssh.patch
25 michel 1.17 Patch13: smeserver-xt_geoip-1.0.1-bz10792-add_services.patch
26 jpp 1.18 Patch14: smeserver-xt_geoip-1.0.1-locale-2019-12-07.patch
27 michel 1.19 Patch15: smeserver-xt_geoip-1.0.1-bz10860-license_key.patch
28 michel 1.21 Patch16: smeserver-xt_geoip-1.0.1-bz10860-download_mmdblookup.patch
29 michel 1.23 Patch17: smeserver-xt_geoip-1.0.1-bz10881_whitelist_localhost.patch
30 jpp 1.11
31 jpp 1.1 BuildArchitectures: noarch
32     BuildRoot: /var/tmp/%{name}-%{version}
33     BuildRequires: e-smith-devtools
34     Requires: e-smith-release >= 9.0
35     Requires: xtables-addons = 1.47.1
36 michel 1.4 Requires: GeoIP = 1.6.5
37 michel 1.21 Requires: libmaxminddb >= 1.1.1
38     Requires: libmaxminddb-devel >= 1.1.1
39 jpp 1.22 Requires: geolite2-country
40     Requires: geolite2-city
41 jpp 1.1 AutoReqProv: no
42    
43     %description
44     smserver rpm to setup database, update and configuration for xt_geoip module with a panel.
45    
46     %changelog
47 michel 1.23 * Mon Feb 24 2020 Michel Begue <mab974@gmail.com> 1.0.1-26.sme
48     - add localhost to whitelist [SME: 10881]
49    
50 jpp 1.22 * Tue Jan 21 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-25.sme
51     - add requirement for mmdb provided by rpm to allow accounting [SME: 10860]
52    
53 michel 1.21 * Sat Jan 18 2020 Michel Begue <mab974@gmail.com> 1.0.1-24.sme
54     - new download script adapted to SME (from xtables-addons) [SME: 10860]
55     - change geoiplookup to mmdblookup
56    
57 michel 1.20 * Sat Jan 11 2020 Michel Begue <mab974@gmail.com> 1.0.1-23.sme
58 michel 1.21 - add license_key in config db and test in panel [SME: 10860]
59 michel 1.19
60 jpp 1.18 * Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 1.0.1-21.sme
61     - apply locale 2019-12-07 patch
62    
63 michel 1.17 * Wed Oct 16 2019 Michel Begue <mab974@gmail.com> 1.0.1-20.sme
64     - panel to add services [SME: 10792]
65     - french translation
66    
67 michel 1.16 * Mon Sep 30 2019 Michel Begue <mab974@gmail.com> 1.0.1-19.sme
68     - add country code list [SME: 10791]
69     - fix stats SSH errors [SME: 10807]
70     - improved panel [SME: 10788]
71    
72 jpp 1.15 * Sat Sep 21 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-18.sme
73     - add more service [SME: 10789]
74     - no email from log analysis by default [SME: 10797]
75    
76 jpp 1.14 * Sun Jul 28 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-17.sme
77     - fix empty global filter disable all geoip iptables rules [SME: 10794]
78     - tidy masq templates for xt geoip [SME: 10794]
79    
80 jpp 1.13 * Wed Jul 24 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-16.sme
81     - add missing file to patch [SME: 10760]
82     - workaround link issue in source [SME: 10790]
83    
84 jpp 1.12 * Tue Jul 23 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-15.sme
85 jpp 1.11 - improved per service filtering [SME: 10760]
86     - remove A1 forced as default and allow empty filter [SME: 10785]
87    
88 jpp 1.10 * Sun Jul 21 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-13.sme
89     - fix network lock out on adjust [SME: 10760]
90     this arised on initial install with a simple masq adjust
91     or if XT_geoip is disbaled on any masq restart or adjust
92    
93 michel 1.9 * Wed Apr 24 2019 Michel Begue <mab974@gmail.com> 1.0.1-12.sme
94 michel 1.7 - add per service management of GeoIP bans [SME: 10760]
95 jpp 1.11 - move panel to Security [SME: 10773]
96 michel 1.7
97 michel 1.6 * Wed Apr 17 2019 Michel Begue <mab974@gmail.com> 1.0.1-9.sme
98 michel 1.5 - add stats access in the panel [SME: 10745]
99     - add control of maximum number of countries [SME: 10749]
100    
101 michel 1.4 * Wed Mar 06 2019 Michel Begue <mab974@gmail.com> 1.0.1-7.sme
102     - add stats of geoip blocked countries [SME: 10745]
103     - add stats of ssh attacks not geoip blocked [SME: 10744]
104     - expand /etc/crontab on update
105    
106 jpp 1.3 * Mon Feb 18 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-6.sme
107     - fix unable to load iptables rules [SME: 10739]
108     fix warning localtime
109     fix warning "enabled" isn't numeric in numeric eq (==)
110    
111 jpp 1.2 * Wed Feb 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-5.sme
112     - first import to SME buildsys
113    
114 jpp 1.1 * Sun Oct 29 2017 Michel Begue <mab974@gmail.com>
115     - bug in crontab update job,
116     - [1.0.1-4]
117    
118     * Mon Oct 16 2017 Michel Begue <mab974@gmail.com>
119     - new message : inactive GeoIP,
120     - value of country code added in message "country not found",
121     - [1.0.1-3]
122    
123 jpp 1.15 * Sat Oct 07 2017 Michel Begue <mab974@gmail.com>
124 jpp 1.1 - test kernel module presence in "/lib/modules/weak-updates" directory
125     - [1.0.1-2]
126    
127     * Wed Sep 20 2017 Michel Begue <mab974@gmail.com>
128     - panel added in server manager
129     - [1.0.1-1]
130    
131     * Tue Sep 12 2017 Michel Begue <mab974@gmail.com>
132     - initial release
133     - [1.0.0-1]
134     - xtables-addons v1.47.1 (v1.x required for kernel 2.6.32)
135    
136     %prep
137    
138     %setup
139 jpp 1.13 # tmp fix before creating a new source archive 1.0.1-16
140     unlink root/etc/e-smith/web/panels/manager/cgi-bin/xt_geoip
141 jpp 1.1 %patch0 -p1
142     %patch1 -p1
143     %patch2 -p1
144 jpp 1.3 %patch3 -p1
145 michel 1.4 %patch4 -p1
146 michel 1.5 %patch5 -p1
147 michel 1.7 %patch6 -p1
148 jpp 1.10 %patch7 -p1
149 jpp 1.11 %patch8 -p1
150 jpp 1.14 %patch9 -p1
151 jpp 1.15 %patch10 -p1
152     %patch11 -p1
153 michel 1.16 %patch12 -p1
154 michel 1.17 %patch13 -p1
155 jpp 1.18 %patch14 -p1
156 michel 1.19 %patch15 -p1
157 michel 1.21 %patch16 -p1
158 michel 1.23 %patch17 -p1
159 jpp 1.1
160     %build
161     perl createlinks
162    
163    
164     %install
165     rm -rf $RPM_BUILD_ROOT
166    
167     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
168     rm -f %{name}-%{version}-filelist
169 michel 1.4 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT | egrep -v "usr/share/xt_geoip/geoip_" \
170 jpp 1.1 > %{name}-%{version}-filelist
171     echo "%doc COPYING" >> %{name}-%{version}-filelist
172    
173     %clean
174     cd ..
175     rm -rf %{name}-%{version}
176    
177     %pre
178     %preun
179    
180     %post
181    
182     %postun
183    
184     %files -f %{name}-%{version}-filelist
185     %defattr(-,root,root)
186    
187 michel 1.4 %files
188     %attr(0755, root, root) /usr/share/xt_geoip/geoip_*
189 michel 1.21 %attr(0750, root, root) /usr/share/xt_geoip/xt_geoip_dl
190     %attr(0750, root, root) /usr/share/xt_geoip/update_base

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