/[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.10 - (show annotations) (download)
Thu Oct 28 18:30:44 2021 UTC (3 years ago) by michel
Branch: MAIN
CVS Tags: smeserver-xt_geoip-1_3_1-10_el7_sme
Changes since 1.9: +6 -1 lines
* Thu Oct 28 2021 Michel Begue <mab974@gmail.com> 1.3.1-10.sme
- apply locale 2021-10-28 patch

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

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