1 |
%define name smeserver-xt_geoip |
%define name smeserver-xt_geoip |
2 |
%define version 1.0.1 |
%define version 1.0.1 |
3 |
%define release 16 |
%define release 25 |
4 |
Summary: smserver rpm to setup database, update and configuration for xt_geoip module with a panel. |
Summary: smserver rpm to setup database, update and configuration for xt_geoip module with a panel. |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
18 |
Patch6: smeserver-xt_geoip-1.0.1-per_serv.patch |
Patch6: smeserver-xt_geoip-1.0.1-per_serv.patch |
19 |
Patch7: smeserver-xt_geoip-1.0.1-bz10760-safe-reload.patch |
Patch7: smeserver-xt_geoip-1.0.1-bz10760-safe-reload.patch |
20 |
Patch8: smeserver-xt_geoip-1.0.1-bz10760-per_serv2.patch |
Patch8: smeserver-xt_geoip-1.0.1-bz10760-per_serv2.patch |
21 |
|
Patch9: smeserver-xt_geoip-1.0.1-bz10794-masq-template.patch |
22 |
|
Patch10: smeserver-xt_geoip-1.0.1-bz10789-more_services.patch |
23 |
|
Patch11: smeserver-xt_geoip-1.0.1-bz10797-no_emails.patch |
24 |
|
Patch12: smeserver-xt_geoip-1.0.1-bz10791-country_panel_ssh.patch |
25 |
|
Patch13: smeserver-xt_geoip-1.0.1-bz10792-add_services.patch |
26 |
|
Patch14: smeserver-xt_geoip-1.0.1-locale-2019-12-07.patch |
27 |
|
Patch15: smeserver-xt_geoip-1.0.1-bz10860-license_key.patch |
28 |
|
Patch16: smeserver-xt_geoip-1.0.1-bz10860-download_mmdblookup.patch |
29 |
|
|
30 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
31 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
33 |
Requires: e-smith-release >= 9.0 |
Requires: e-smith-release >= 9.0 |
34 |
Requires: xtables-addons = 1.47.1 |
Requires: xtables-addons = 1.47.1 |
35 |
Requires: GeoIP = 1.6.5 |
Requires: GeoIP = 1.6.5 |
36 |
|
Requires: libmaxminddb >= 1.1.1 |
37 |
|
Requires: libmaxminddb-devel >= 1.1.1 |
38 |
|
Requires: geolite2-country |
39 |
|
Requires: geolite2-city |
40 |
AutoReqProv: no |
AutoReqProv: no |
41 |
|
|
42 |
%description |
%description |
43 |
smserver rpm to setup database, update and configuration for xt_geoip module with a panel. |
smserver rpm to setup database, update and configuration for xt_geoip module with a panel. |
44 |
|
|
45 |
%changelog |
%changelog |
46 |
|
* Tue Jan 21 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-25.sme |
47 |
|
- add requirement for mmdb provided by rpm to allow accounting [SME: 10860] |
48 |
|
|
49 |
|
* Sat Jan 18 2020 Michel Begue <mab974@gmail.com> 1.0.1-24.sme |
50 |
|
- new download script adapted to SME (from xtables-addons) [SME: 10860] |
51 |
|
- change geoiplookup to mmdblookup |
52 |
|
|
53 |
|
* Sat Jan 11 2020 Michel Begue <mab974@gmail.com> 1.0.1-23.sme |
54 |
|
- add license_key in config db and test in panel [SME: 10860] |
55 |
|
|
56 |
|
* Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 1.0.1-21.sme |
57 |
|
- apply locale 2019-12-07 patch |
58 |
|
|
59 |
|
* Wed Oct 16 2019 Michel Begue <mab974@gmail.com> 1.0.1-20.sme |
60 |
|
- panel to add services [SME: 10792] |
61 |
|
- french translation |
62 |
|
|
63 |
|
* Mon Sep 30 2019 Michel Begue <mab974@gmail.com> 1.0.1-19.sme |
64 |
|
- add country code list [SME: 10791] |
65 |
|
- fix stats SSH errors [SME: 10807] |
66 |
|
- improved panel [SME: 10788] |
67 |
|
|
68 |
|
* Sat Sep 21 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-18.sme |
69 |
|
- add more service [SME: 10789] |
70 |
|
- no email from log analysis by default [SME: 10797] |
71 |
|
|
72 |
|
* Sun Jul 28 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-17.sme |
73 |
|
- fix empty global filter disable all geoip iptables rules [SME: 10794] |
74 |
|
- tidy masq templates for xt geoip [SME: 10794] |
75 |
|
|
76 |
* Wed Jul 24 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-16.sme |
* Wed Jul 24 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-16.sme |
77 |
- add missing file to patch [SME: 10760] |
- add missing file to patch [SME: 10760] |
78 |
- workaround link issue in source [SME: 10790] |
- workaround link issue in source [SME: 10790] |
116 |
- value of country code added in message "country not found", |
- value of country code added in message "country not found", |
117 |
- [1.0.1-3] |
- [1.0.1-3] |
118 |
|
|
119 |
* Sat Oct 08 2017 Michel Begue <mab974@gmail.com> |
* Sat Oct 07 2017 Michel Begue <mab974@gmail.com> |
120 |
- test kernel module presence in "/lib/modules/weak-updates" directory |
- test kernel module presence in "/lib/modules/weak-updates" directory |
121 |
- [1.0.1-2] |
- [1.0.1-2] |
122 |
|
|
143 |
%patch6 -p1 |
%patch6 -p1 |
144 |
%patch7 -p1 |
%patch7 -p1 |
145 |
%patch8 -p1 |
%patch8 -p1 |
146 |
|
%patch9 -p1 |
147 |
|
%patch10 -p1 |
148 |
|
%patch11 -p1 |
149 |
|
%patch12 -p1 |
150 |
|
%patch13 -p1 |
151 |
|
%patch14 -p1 |
152 |
|
%patch15 -p1 |
153 |
|
%patch16 -p1 |
154 |
|
|
155 |
%build |
%build |
156 |
perl createlinks |
perl createlinks |
181 |
|
|
182 |
%files |
%files |
183 |
%attr(0755, root, root) /usr/share/xt_geoip/geoip_* |
%attr(0755, root, root) /usr/share/xt_geoip/geoip_* |
184 |
|
%attr(0750, root, root) /usr/share/xt_geoip/xt_geoip_dl |
185 |
|
%attr(0750, root, root) /usr/share/xt_geoip/update_base |