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 21 |
%define release 26 |
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} |
24 |
Patch12: smeserver-xt_geoip-1.0.1-bz10791-country_panel_ssh.patch |
Patch12: smeserver-xt_geoip-1.0.1-bz10791-country_panel_ssh.patch |
25 |
Patch13: smeserver-xt_geoip-1.0.1-bz10792-add_services.patch |
Patch13: smeserver-xt_geoip-1.0.1-bz10792-add_services.patch |
26 |
Patch14: smeserver-xt_geoip-1.0.1-locale-2019-12-07.patch |
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 |
|
Patch17: smeserver-xt_geoip-1.0.1-bz10881_whitelist_localhost.patch |
30 |
|
|
31 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
32 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
34 |
Requires: e-smith-release >= 9.0 |
Requires: e-smith-release >= 9.0 |
35 |
Requires: xtables-addons = 1.47.1 |
Requires: xtables-addons = 1.47.1 |
36 |
Requires: GeoIP = 1.6.5 |
Requires: GeoIP = 1.6.5 |
37 |
|
Requires: libmaxminddb >= 1.1.1 |
38 |
|
Requires: libmaxminddb-devel >= 1.1.1 |
39 |
|
Requires: geolite2-country |
40 |
|
Requires: geolite2-city |
41 |
AutoReqProv: no |
AutoReqProv: no |
42 |
|
|
43 |
%description |
%description |
44 |
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. |
45 |
|
|
46 |
%changelog |
%changelog |
47 |
|
* Mon Feb 24 2020 Michel Begue <mab974@gmail.com> 1.0.1-26.sme |
48 |
|
- add localhost to whitelist [SME: 10881] |
49 |
|
|
50 |
|
* Tue Jan 21 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-25.sme |
51 |
|
- add requirement for mmdb provided by rpm to allow accounting [SME: 10860] |
52 |
|
|
53 |
|
* Sat Jan 18 2020 Michel Begue <mab974@gmail.com> 1.0.1-24.sme |
54 |
|
- new download script adapted to SME (from xtables-addons) [SME: 10860] |
55 |
|
- change geoiplookup to mmdblookup |
56 |
|
|
57 |
|
* Sat Jan 11 2020 Michel Begue <mab974@gmail.com> 1.0.1-23.sme |
58 |
|
- add license_key in config db and test in panel [SME: 10860] |
59 |
|
|
60 |
* Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 1.0.1-21.sme |
* Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 1.0.1-21.sme |
61 |
- apply locale 2019-12-07 patch |
- apply locale 2019-12-07 patch |
62 |
|
|
153 |
%patch12 -p1 |
%patch12 -p1 |
154 |
%patch13 -p1 |
%patch13 -p1 |
155 |
%patch14 -p1 |
%patch14 -p1 |
156 |
|
%patch15 -p1 |
157 |
|
%patch16 -p1 |
158 |
|
%patch17 -p1 |
159 |
|
|
160 |
%build |
%build |
161 |
perl createlinks |
perl createlinks |
186 |
|
|
187 |
%files |
%files |
188 |
%attr(0755, root, root) /usr/share/xt_geoip/geoip_* |
%attr(0755, root, root) /usr/share/xt_geoip/geoip_* |
189 |
|
%attr(0750, root, root) /usr/share/xt_geoip/xt_geoip_dl |
190 |
|
%attr(0750, root, root) /usr/share/xt_geoip/update_base |