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 18 |
%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} |
25 |
Patch12: smeserver-xt_geoip-1.3.1-bz12098_add_fail2ban_stats.patch |
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 |
Patch13: smeserver-xt_geoip-1.3.1-locale-2022-11-11.patch |
27 |
Patch14: smeserver-xt_geoip-1.3.1-bz12291_module_state.patch |
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} |
68 |
%patch12 -p1 |
%patch12 -p1 |
69 |
%patch13 -p1 |
%patch13 -p1 |
70 |
%patch14 -p1 |
%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 |
* 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] |
- 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] |
- add a message if chain XTGeoIP is missing (iptables) [SME: 12291] |