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

Contents of /rpms/smeserver-xt_geoip/contribs10/smeserver-xt_geoip.spec

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


Revision 1.19 - (show annotations) (download)
Wed Jan 11 19:07:58 2023 UTC (16 months, 3 weeks ago) by michel
Branch: MAIN
CVS Tags: smeserver-xt_geoip-1_3_1-18_el7_sme
Changes since 1.18: +7 -1 lines
make: « clog » est à jour.

1 %define name smeserver-xt_geoip
2 %define version 1.3.1
3 %define release 18
4
5 Summary: smserver rpm to setup database, update and configuration for xt_geoip module with a panel.
6 Name: %{name}
7 Version: %{version}
8 Release: %{release}%{?dist}
9 License: GNU GPL version 2
10 URL: http://wiki.contribs.org/Main_Page
11 Group: SMEserver/addon
12 Source: %{name}-%{version}.tar.xz
13 Patch0: %{name}-%{version}-comp_e-smith-manager.patch
14 Patch1: %{name}-%{version}-update_base.patch
15 Patch2: smeserver-xt_geoip-1.3.1-update-event-oldManager.patch
16 Patch3: %{name}-%{version}-logfiles_changes.patch
17 Patch4: smeserver-xt_geoip-1.3.1-locale-2021-08-25.patch
18 Patch5: smeserver-xt_geoip-1.3.1-locale-2021-09-23.patch
19 Patch6: smeserver-xt_geoip-1.3.1-locale-2021-10-28.patch
20 Patch7: smeserver-xt_geoip-1.3.1-SME_11676.patch
21 Patch8: smeserver-xt_geoip-1.3.1-Add-class-to-div-for-AdminLTE.patch
22 Patch9: smeserver-xt_geoip-1.3.1-SME_11887.patch
23 Patch10: smeserver-xt_geoip-1.3.1-bz12029_backup-bz10863_bases.patch
24 Patch11: smeserver-xt_geoip-1.3.1-bz12097_fix_logs_date_test.patch
25 Patch12: smeserver-xt_geoip-1.3.1-bz12098_add_fail2ban_stats.patch
26 Patch13: smeserver-xt_geoip-1.3.1-locale-2022-11-11.patch
27 Patch14: smeserver-xt_geoip-1.3.1-bz12291_module_state.patch
28
29 BuildArchitectures: noarch
30 BuildRoot: /var/tmp/%{name}-%{version}
31 BuildRequires: e-smith-devtools
32 Requires: e-smith-release >= 10.0
33 Requires: server-manager >= 0.1.0-23
34 Requires: xtables-addons = 2.14
35 Requires: GeoIP >= 1.5.0
36 Requires: libmaxminddb >= 1.1.1
37 Requires: libmaxminddb-devel >= 1.1.1
38 Requires: geolite2-country
39 Requires: geolite2-city
40 AutoReqProv: no
41
42 %description
43 smserver rpm to setup database, update and configuration for xt_geoip module with a panel.
44
45
46 %prep
47 %setup
48 %patch0 -p1
49 %patch1 -p1
50 %patch2 -p1
51 %patch3 -p1
52 %patch4 -p1
53 %patch5 -p1
54 %patch6 -p1
55 # tmp fix before new source archive
56 rm -rf root/etc/e-smith/events/bootstrap-console-save/templates2expand
57 rm -rf root/etc/e-smith/events/console-save/templates2expand
58 rm -rf root/etc/e-smith/events/xt_geoip-modify/templates2expand/usr
59 rm -rf root/etc/e-smith/events/xt_geoip-update/templates2expand/usr
60 %patch7 -p1
61 %patch8 -p1
62 %patch9 -p1
63 %patch10 -p1
64 %patch11 -p1
65 %patch12 -p1
66 %patch13 -p1
67 %patch14 -p1
68
69 %build
70 perl createlinks
71
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75
76 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
77 rm -f %{name}-%{version}-filelist
78 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
79 --file /usr/share/xt_geoip/geoip_countries_list.txt 'attr(0755, root, root)'\
80 --file /usr/share/xt_geoip/geoip_exstat 'attr(0755, root, root)'\
81 --file /usr/share/xt_geoip/geoip_listat 'attr(0755, root, root)'\
82 --file /usr/share/xt_geoip/geoip_look 'attr(0755, root, root)'\
83 --file /usr/share/xt_geoip/geoip_stats 'attr(0755, root, root)'\
84 --file /usr/share/xt_geoip/xt_geoip_dl 'attr(0750, root, root)'\
85 --file /usr/share/xt_geoip/update_base 'attr(0750, root, root)'\
86 > %{name}-%{version}-filelist
87 echo "%doc COPYING" >> %{name}-%{version}-filelist
88
89 %clean
90 cd ..
91 rm -rf %{name}-%{version}
92
93 %pre
94 %preun
95
96 %post
97
98 %postun
99
100 %files -f %{name}-%{version}-filelist
101 %defattr(-,root,root)
102
103
104
105 %changelog
106 * Wed Jan 11 2023 Michel Begue <mab974@misouk.com> 1.3.1-18.sme
107 - add a message if module xt_geoip is missing or not loaded [SME: 12291]
108 - add a message if chain XTGeoIP is missing (iptables) [SME: 12291]
109
110 * Fri Nov 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.3.1-17.sme
111 - apply locale 2022-11-11 patch
112
113 * Wed Jul 13 2022 Michel Begue <mab974@misouk.com> 1.3.1-16.sme
114 - add fail2ban stats [SME: 12098]
115
116 * Mon Jul 11 2022 Michel Begue <mab974@misouk.com> 1.3.1-15.sme
117 - fix logs date test [SME: 12097]
118
119 * Thu Jul 07 2022 Michel Begue <mab974@misouk.com> 1.3.1-14.sme
120 - add xt_geoip to backup list [SME: 12029]
121 - archive and clean up Ip & Country bases [SME: 10863]
122
123 * Wed Mar 09 2022 Michel Begue <mab974@misouk.com> 1.3.1-13.sme
124 - fix Other and Reverse parameters for SM2 [SME: 11887]
125
126 * Fri Jan 07 2022 Brian Read <brianr@bjsystems.co.uk> 1.3.1-12.sme
127 - Add-class-to-div-for-AdminLTE [SME: 11839]
128
129 * Fri Oct 29 2021 Michel Begue <mab974@misouk.com> 1.3.1-11.sme
130 - fix multiple_rpm_owners [SME: 11676]
131 - add event for smeserver-manager
132 - delete expand-template for update_base
133
134 * Thu Oct 28 2021 Michel Begue <mab974@gmail.com> 1.3.1-10.sme
135 - apply locale 2021-10-28 patch
136
137 * Fri Sep 24 2021 Terry Fage <tfage@yahoo.com.au> 1.3.1-09.sme
138 - apply locale 2021-09-23 patch
139
140 * Wed Aug 25 2021 Terry Fage <tfage@yahoo.com.au> 1.3.1-08.sme
141 - apply locale 2021-08-25 patch
142
143 * Tue Mar 16 2021 Michel Begue <mab974@gmail.com> 1.3.1-07.sme
144 - Fix script as logfiles change (sshd - iptables)
145
146 * Sun Mar 14 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.3.1-06.sme
147 - change Geoip requirement to >= 1.5
148
149 * Sat Mar 13 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.3.1-05.sme
150 - readded changelog from contribs9
151 - moved changelog to the end of spec
152 - TODO review the two section of %files
153 - added link to wrapper for e-smith-manager
154
155 * Wed Jan 06 2021 Michel Begue <mab974@gmail.com> 1.3.1-03.sme
156 - Back to compatibility with e-smith-manager
157 - (s)qpsmtpd replace (s)smtpd (services)
158 - remove 'update_base' script template
159
160 * Fri Jul 31 2020 Michel Begue <mab974@gmail.com> 1.3.1-01.sme
161 - initial release for smeserver-manager (sme10)
162 - [1.0.1-26 sme9]
163 - xtables-addons v2.14
164
165 * Mon Feb 24 2020 Michel Begue <mab974@gmail.com> 1.0.1-26.sme
166 - add localhost to whitelist [SME: 10881]
167
168 * Tue Jan 21 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-25.sme
169 - add requirement for mmdb provided by rpm to allow accounting [SME: 10860]
170
171 * Sat Jan 18 2020 Michel Begue <mab974@gmail.com> 1.0.1-24.sme
172 - new download script adapted to SME (from xtables-addons) [SME: 10860]
173 - change geoiplookup to mmdblookup
174
175 * Sat Jan 11 2020 Michel Begue <mab974@gmail.com> 1.0.1-23.sme
176 - add license_key in config db and test in panel [SME: 10860]
177
178 * Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 1.0.1-21.sme
179 - apply locale 2019-12-07 patch
180
181 * Wed Oct 16 2019 Michel Begue <mab974@gmail.com> 1.0.1-20.sme
182 - panel to add services [SME: 10792]
183 - french translation
184
185 * Mon Sep 30 2019 Michel Begue <mab974@gmail.com> 1.0.1-19.sme
186 - add country code list [SME: 10791]
187 - fix stats SSH errors [SME: 10807]
188 - improved panel [SME: 10788]
189
190 * Sat Sep 21 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-18.sme
191 - add more service [SME: 10789]
192 - no email from log analysis by default [SME: 10797]
193
194 * Sun Jul 28 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-17.sme
195 - fix empty global filter disable all geoip iptables rules [SME: 10794]
196 - tidy masq templates for xt geoip [SME: 10794]
197
198 * Wed Jul 24 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-16.sme
199 - add missing file to patch [SME: 10760]
200 - workaround link issue in source [SME: 10790]
201
202 * Tue Jul 23 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-15.sme
203 - improved per service filtering [SME: 10760]
204 - remove A1 forced as default and allow empty filter [SME: 10785]
205
206 * Sun Jul 21 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-13.sme
207 - fix network lock out on adjust [SME: 10760]
208 this arised on initial install with a simple masq adjust
209 or if XT_geoip is disbaled on any masq restart or adjust
210
211 * Wed Apr 24 2019 Michel Begue <mab974@gmail.com> 1.0.1-12.sme
212 - add per service management of GeoIP bans [SME: 10760]
213 - move panel to Security [SME: 10773]
214
215 * Wed Apr 17 2019 Michel Begue <mab974@gmail.com> 1.0.1-9.sme
216 - add stats access in the panel [SME: 10745]
217 - add control of maximum number of countries [SME: 10749]
218
219 * Wed Mar 06 2019 Michel Begue <mab974@gmail.com> 1.0.1-7.sme
220 - add stats of geoip blocked countries [SME: 10745]
221 - add stats of ssh attacks not geoip blocked [SME: 10744]
222 - expand /etc/crontab on update
223
224 * Mon Feb 18 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-6.sme
225 - fix unable to load iptables rules [SME: 10739]
226 fix warning localtime
227 fix warning "enabled" isn't numeric in numeric eq (==)
228
229 * Wed Feb 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-5.sme
230 - first import to SME buildsys
231
232 * Sun Oct 29 2017 Michel Begue <mab974@gmail.com>
233 - bug in crontab update job,
234 - [1.0.1-4]
235
236 * Mon Oct 16 2017 Michel Begue <mab974@gmail.com>
237 - new message : inactive GeoIP,
238 - value of country code added in message "country not found",
239 - [1.0.1-3]
240
241 * Sat Oct 07 2017 Michel Begue <mab974@gmail.com>
242 - test kernel module presence in "/lib/modules/weak-updates" directory
243 - [1.0.1-2]
244
245 * Wed Sep 20 2017 Michel Begue <mab974@gmail.com>
246 - panel added in server manager
247 - [1.0.1-1]
248
249 * Tue Sep 12 2017 Michel Begue <mab974@gmail.com>
250 - initial release
251 - [1.0.0-1]

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