/[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.11 - (show annotations) (download)
Thu Oct 28 20:11:53 2021 UTC (2 years, 7 months ago) by michel
Branch: MAIN
CVS Tags: smeserver-xt_geoip-1_3_1-11_el7_sme
Changes since 1.10: +16 -1 lines
make: « clog » est à jour.

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

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