/[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.9 - (show annotations) (download)
Thu Sep 23 19:29:03 2021 UTC (2 years, 8 months ago) by terryfage
Branch: MAIN
CVS Tags: smeserver-xt_geoip-1_3_1-09_el7_sme
Changes since 1.8: +6 -2 lines
* Fri Sep 24 2021 Terry Fage <tfage@yahoo.com.au> 1.3.1-09.sme
- apply locale 2021-09-23 patch

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

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