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 13 |
%define release 20 |
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} |
20 |
Patch7: smeserver-xt_geoip-1.3.1-SME_11676.patch |
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 |
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 |
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 |
|
|
31 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
32 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
62 |
%patch7 -p1 |
%patch7 -p1 |
63 |
%patch8 -p1 |
%patch8 -p1 |
64 |
%patch9 -p1 |
%patch9 -p1 |
65 |
|
%patch10 -p1 |
66 |
|
%patch11 -p1 |
67 |
|
%patch12 -p1 |
68 |
|
%patch13 -p1 |
69 |
|
%patch14 -p1 |
70 |
|
%patch15 -p1 |
71 |
|
%patch16 -p1 |
72 |
|
|
73 |
%build |
%build |
74 |
perl createlinks |
perl createlinks |
99 |
|
|
100 |
%post |
%post |
101 |
|
|
102 |
|
if (systemctl list-unit-files |grep smanager) then |
103 |
|
echo "Smanager restart in spec file" |
104 |
|
/sbin/e-smith/signal-event smanager-refresh; |
105 |
|
fi |
106 |
|
|
107 |
%postun |
%postun |
108 |
|
|
109 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
112 |
|
|
113 |
|
|
114 |
%changelog |
%changelog |
115 |
|
* Sat Mar 02 2024 Brian Read <brianr@koozali.org> 1.3.1-20.sme |
116 |
|
- Edit SM2 Menu entry to conform to new arrangements [SME: 12493] |
117 |
|
|
118 |
|
* Wed Feb 15 2023 Michel Begue <mab974@misouk.com> 1.3.1-19.sme |
119 |
|
- fix module not loaded after update [SME: 10793] |
120 |
|
|
121 |
|
* Wed Jan 11 2023 Michel Begue <mab974@misouk.com> 1.3.1-18.sme |
122 |
|
- add a message if module xt_geoip is missing or not loaded [SME: 12291] |
123 |
|
- add a message if chain XTGeoIP is missing (iptables) [SME: 12291] |
124 |
|
|
125 |
|
* Fri Nov 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.3.1-17.sme |
126 |
|
- apply locale 2022-11-11 patch |
127 |
|
|
128 |
|
* Wed Jul 13 2022 Michel Begue <mab974@misouk.com> 1.3.1-16.sme |
129 |
|
- add fail2ban stats [SME: 12098] |
130 |
|
|
131 |
|
* Mon Jul 11 2022 Michel Begue <mab974@misouk.com> 1.3.1-15.sme |
132 |
|
- fix logs date test [SME: 12097] |
133 |
|
|
134 |
|
* Thu Jul 07 2022 Michel Begue <mab974@misouk.com> 1.3.1-14.sme |
135 |
|
- add xt_geoip to backup list [SME: 12029] |
136 |
|
- archive and clean up Ip & Country bases [SME: 10863] |
137 |
|
|
138 |
* Wed Mar 09 2022 Michel Begue <mab974@misouk.com> 1.3.1-13.sme |
* Wed Mar 09 2022 Michel Begue <mab974@misouk.com> 1.3.1-13.sme |
139 |
- fix Other and Reverse parameters for SM2 [SME: 11887] |
- fix Other and Reverse parameters for SM2 [SME: 11887] |
140 |
|
|