1 |
%define name smeserver-xt_geoip |
%define name smeserver-xt_geoip |
2 |
%define version 1.3.1 |
%define version 1.3.1 |
3 |
%define release 05 |
%define release 12 |
4 |
|
|
5 |
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. |
6 |
Name: %{name} |
Name: %{name} |
13 |
Patch0: %{name}-%{version}-comp_e-smith-manager.patch |
Patch0: %{name}-%{version}-comp_e-smith-manager.patch |
14 |
Patch1: %{name}-%{version}-update_base.patch |
Patch1: %{name}-%{version}-update_base.patch |
15 |
Patch2: smeserver-xt_geoip-1.3.1-update-event-oldManager.patch |
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 |
|
#Note this one is not applied!! |
21 |
|
Patch7: smeserver-xt_geoip-1.3.1-SME_11676.patch |
22 |
|
Patch8: smeserver-xt_geoip-1.3.1-Add-class-to-div-for-AdminLTE.patch |
23 |
|
|
24 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
25 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
27 |
Requires: e-smith-release >= 10.0 |
Requires: e-smith-release >= 10.0 |
28 |
Requires: server-manager >= 0.1.0-23 |
Requires: server-manager >= 0.1.0-23 |
29 |
Requires: xtables-addons = 2.14 |
Requires: xtables-addons = 2.14 |
30 |
Requires: GeoIP = 1.5.0 |
Requires: GeoIP >= 1.5.0 |
31 |
Requires: libmaxminddb >= 1.1.1 |
Requires: libmaxminddb >= 1.1.1 |
32 |
Requires: libmaxminddb-devel >= 1.1.1 |
Requires: libmaxminddb-devel >= 1.1.1 |
33 |
Requires: geolite2-country |
Requires: geolite2-country |
43 |
%patch0 -p1 |
%patch0 -p1 |
44 |
%patch1 -p1 |
%patch1 -p1 |
45 |
%patch2 -p1 |
%patch2 -p1 |
46 |
|
%patch3 -p1 |
47 |
|
%patch4 -p1 |
48 |
|
%patch5 -p1 |
49 |
|
%patch6 -p1 |
50 |
|
%patch8 -p1 |
51 |
|
|
52 |
|
# tmp fix before new source archive |
53 |
|
rm -rf root/etc/e-smith/events/bootstrap-console-save/templates2expand |
54 |
|
rm -rf root/etc/e-smith/events/console-save/templates2expand |
55 |
|
rm -rf root/etc/e-smith/events/xt_geoip-modify/templates2expand/usr |
56 |
|
rm -rf root/etc/e-smith/events/xt_geoip-update/templates2expand/usr |
57 |
|
|
58 |
|
%patch7 -p1 |
59 |
|
|
60 |
|
|
61 |
%build |
%build |
62 |
perl createlinks |
perl createlinks |
95 |
|
|
96 |
|
|
97 |
%changelog |
%changelog |
98 |
* Sat Mar 13 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.3.1-05.sme |
* Fri Jan 07 2022 Brian Read <brianr@bjsystems.co.uk> 1.3.1-12.sme |
99 |
|
- Add-class-to-div-for-AdminLTE [SME: 11839] |
100 |
|
|
101 |
|
* Fri Oct 29 2021 Michel Begue <mab974@misouk.com> 1.3.1-11.sme |
102 |
|
- fix multiple_rpm_owners [SME: 11676] |
103 |
|
- add event for smeserver-manager |
104 |
|
- delete expand-template for update_base |
105 |
|
|
106 |
|
* Thu Oct 28 2021 Michel Begue <mab974@gmail.com> 1.3.1-10.sme |
107 |
|
- apply locale 2021-10-28 patch |
108 |
|
|
109 |
|
* Fri Sep 24 2021 Terry Fage <tfage@yahoo.com.au> 1.3.1-09.sme |
110 |
|
- apply locale 2021-09-23 patch |
111 |
|
|
112 |
|
* Wed Aug 25 2021 Terry Fage <tfage@yahoo.com.au> 1.3.1-08.sme |
113 |
|
- apply locale 2021-08-25 patch |
114 |
|
|
115 |
|
* Tue Mar 16 2021 Michel Begue <mab974@gmail.com> 1.3.1-07.sme |
116 |
|
- Fix script as logfiles change (sshd - iptables) |
117 |
|
|
118 |
|
* Sun Mar 14 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.3.1-06.sme |
119 |
|
- change Geoip requirement to >= 1.5 |
120 |
|
|
121 |
|
* Sat Mar 13 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.3.1-05.sme |
122 |
- readded changelog from contribs9 |
- readded changelog from contribs9 |
123 |
- moved changelog to the end of spec |
- moved changelog to the end of spec |
124 |
- TODO review the two section of %files |
- TODO review the two section of %files |
221 |
* Tue Sep 12 2017 Michel Begue <mab974@gmail.com> |
* Tue Sep 12 2017 Michel Begue <mab974@gmail.com> |
222 |
- initial release |
- initial release |
223 |
- [1.0.0-1] |
- [1.0.0-1] |
|
|
|