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 07 |
%define release 21 |
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} |
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 |
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 |
|
Patch7: smeserver-xt_geoip-1.3.1-SME_11676.patch |
21 |
|
Patch8: smeserver-xt_geoip-1.3.1-Add-class-to-div-for-AdminLTE.patch |
22 |
|
Patch9: smeserver-xt_geoip-1.3.1-SME_11887.patch |
23 |
|
Patch10: smeserver-xt_geoip-1.3.1-bz12029_backup-bz10863_bases.patch |
24 |
|
Patch11: smeserver-xt_geoip-1.3.1-bz12097_fix_logs_date_test.patch |
25 |
|
Patch12: smeserver-xt_geoip-1.3.1-bz12098_add_fail2ban_stats.patch |
26 |
|
Patch13: smeserver-xt_geoip-1.3.1-locale-2022-11-11.patch |
27 |
|
Patch14: smeserver-xt_geoip-1.3.1-bz12291_module_state.patch |
28 |
|
Patch15: smeserver-xt_geoip-1.3.1-bz10793_module_load.patch |
29 |
|
Patch16: smeserver-xt_geoip-1.3.1-Alter-menu-category-for-new-arrangement.patch |
30 |
|
Patch17: smeserver-xt_geoip-1.3.1-locale-2024-09-06.patch |
31 |
|
|
32 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
33 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
52 |
%patch1 -p1 |
%patch1 -p1 |
53 |
%patch2 -p1 |
%patch2 -p1 |
54 |
%patch3 -p1 |
%patch3 -p1 |
55 |
|
%patch4 -p1 |
56 |
|
%patch5 -p1 |
57 |
|
%patch6 -p1 |
58 |
|
# tmp fix before new source archive |
59 |
|
rm -rf root/etc/e-smith/events/bootstrap-console-save/templates2expand |
60 |
|
rm -rf root/etc/e-smith/events/console-save/templates2expand |
61 |
|
rm -rf root/etc/e-smith/events/xt_geoip-modify/templates2expand/usr |
62 |
|
rm -rf root/etc/e-smith/events/xt_geoip-update/templates2expand/usr |
63 |
|
%patch7 -p1 |
64 |
|
%patch8 -p1 |
65 |
|
%patch9 -p1 |
66 |
|
%patch10 -p1 |
67 |
|
%patch11 -p1 |
68 |
|
%patch12 -p1 |
69 |
|
%patch13 -p1 |
70 |
|
%patch14 -p1 |
71 |
|
%patch15 -p1 |
72 |
|
%patch16 -p1 |
73 |
|
%patch17 -p1 |
74 |
|
|
75 |
%build |
%build |
76 |
perl createlinks |
perl createlinks |
101 |
|
|
102 |
%post |
%post |
103 |
|
|
104 |
|
if (systemctl list-unit-files |grep smanager) then |
105 |
|
echo "Smanager restart in spec file" |
106 |
|
/sbin/e-smith/signal-event smanager-refresh; |
107 |
|
fi |
108 |
|
|
109 |
%postun |
%postun |
110 |
|
|
111 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
114 |
|
|
115 |
|
|
116 |
%changelog |
%changelog |
117 |
|
* Fri Sep 06 2024 Terry Fage <terry@fage.id.au> 1.3.1-21.sme |
118 |
|
- apply locale 2024-09-06 patch |
119 |
|
|
120 |
|
* Sat Mar 02 2024 Brian Read <brianr@koozali.org> 1.3.1-20.sme |
121 |
|
- Edit SM2 Menu entry to conform to new arrangements [SME: 12493] |
122 |
|
|
123 |
|
* Wed Feb 15 2023 Michel Begue <mab974@misouk.com> 1.3.1-19.sme |
124 |
|
- fix module not loaded after update [SME: 10793] |
125 |
|
|
126 |
|
* Wed Jan 11 2023 Michel Begue <mab974@misouk.com> 1.3.1-18.sme |
127 |
|
- add a message if module xt_geoip is missing or not loaded [SME: 12291] |
128 |
|
- add a message if chain XTGeoIP is missing (iptables) [SME: 12291] |
129 |
|
|
130 |
|
* Fri Nov 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.3.1-17.sme |
131 |
|
- apply locale 2022-11-11 patch |
132 |
|
|
133 |
|
* Wed Jul 13 2022 Michel Begue <mab974@misouk.com> 1.3.1-16.sme |
134 |
|
- add fail2ban stats [SME: 12098] |
135 |
|
|
136 |
|
* Mon Jul 11 2022 Michel Begue <mab974@misouk.com> 1.3.1-15.sme |
137 |
|
- fix logs date test [SME: 12097] |
138 |
|
|
139 |
|
* Thu Jul 07 2022 Michel Begue <mab974@misouk.com> 1.3.1-14.sme |
140 |
|
- add xt_geoip to backup list [SME: 12029] |
141 |
|
- archive and clean up Ip & Country bases [SME: 10863] |
142 |
|
|
143 |
|
* Wed Mar 09 2022 Michel Begue <mab974@misouk.com> 1.3.1-13.sme |
144 |
|
- fix Other and Reverse parameters for SM2 [SME: 11887] |
145 |
|
|
146 |
|
* Fri Jan 07 2022 Brian Read <brianr@bjsystems.co.uk> 1.3.1-12.sme |
147 |
|
- Add-class-to-div-for-AdminLTE [SME: 11839] |
148 |
|
|
149 |
|
* Fri Oct 29 2021 Michel Begue <mab974@misouk.com> 1.3.1-11.sme |
150 |
|
- fix multiple_rpm_owners [SME: 11676] |
151 |
|
- add event for smeserver-manager |
152 |
|
- delete expand-template for update_base |
153 |
|
|
154 |
|
* Thu Oct 28 2021 Michel Begue <mab974@gmail.com> 1.3.1-10.sme |
155 |
|
- apply locale 2021-10-28 patch |
156 |
|
|
157 |
|
* Fri Sep 24 2021 Terry Fage <tfage@yahoo.com.au> 1.3.1-09.sme |
158 |
|
- apply locale 2021-09-23 patch |
159 |
|
|
160 |
|
* Wed Aug 25 2021 Terry Fage <tfage@yahoo.com.au> 1.3.1-08.sme |
161 |
|
- apply locale 2021-08-25 patch |
162 |
|
|
163 |
* Tue Mar 16 2021 Michel Begue <mab974@gmail.com> 1.3.1-07.sme |
* Tue Mar 16 2021 Michel Begue <mab974@gmail.com> 1.3.1-07.sme |
164 |
- Fix script as logfiles change (sshd - iptables) |
- Fix script as logfiles change (sshd - iptables) |
165 |
|
|
269 |
* Tue Sep 12 2017 Michel Begue <mab974@gmail.com> |
* Tue Sep 12 2017 Michel Begue <mab974@gmail.com> |
270 |
- initial release |
- initial release |
271 |
- [1.0.0-1] |
- [1.0.0-1] |
|
|
|