--- rpms/smeserver-xt_geoip/contribs10/smeserver-xt_geoip.spec 2021/10/28 18:30:44 1.10 +++ rpms/smeserver-xt_geoip/contribs10/smeserver-xt_geoip.spec 2024/03/02 10:01:28 1.21 @@ -1,6 +1,6 @@ %define name smeserver-xt_geoip %define version 1.3.1 -%define release 10 +%define release 20 Summary: smserver rpm to setup database, update and configuration for xt_geoip module with a panel. Name: %{name} @@ -17,6 +17,16 @@ Patch3: %{name}-%{version}-logfiles_chan Patch4: smeserver-xt_geoip-1.3.1-locale-2021-08-25.patch Patch5: smeserver-xt_geoip-1.3.1-locale-2021-09-23.patch Patch6: smeserver-xt_geoip-1.3.1-locale-2021-10-28.patch +Patch7: smeserver-xt_geoip-1.3.1-SME_11676.patch +Patch8: smeserver-xt_geoip-1.3.1-Add-class-to-div-for-AdminLTE.patch +Patch9: smeserver-xt_geoip-1.3.1-SME_11887.patch +Patch10: smeserver-xt_geoip-1.3.1-bz12029_backup-bz10863_bases.patch +Patch11: smeserver-xt_geoip-1.3.1-bz12097_fix_logs_date_test.patch +Patch12: smeserver-xt_geoip-1.3.1-bz12098_add_fail2ban_stats.patch +Patch13: smeserver-xt_geoip-1.3.1-locale-2022-11-11.patch +Patch14: smeserver-xt_geoip-1.3.1-bz12291_module_state.patch +Patch15: smeserver-xt_geoip-1.3.1-bz10793_module_load.patch +Patch16: smeserver-xt_geoip-1.3.1-Alter-menu-category-for-new-arrangement.patch BuildArchitectures: noarch BuildRoot: /var/tmp/%{name}-%{version} @@ -44,6 +54,21 @@ smserver rpm to setup database, update a %patch4 -p1 %patch5 -p1 %patch6 -p1 +# tmp fix before new source archive +rm -rf root/etc/e-smith/events/bootstrap-console-save/templates2expand +rm -rf root/etc/e-smith/events/console-save/templates2expand +rm -rf root/etc/e-smith/events/xt_geoip-modify/templates2expand/usr +rm -rf root/etc/e-smith/events/xt_geoip-update/templates2expand/usr +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 +%patch10 -p1 +%patch11 -p1 +%patch12 -p1 +%patch13 -p1 +%patch14 -p1 +%patch15 -p1 +%patch16 -p1 %build perl createlinks @@ -74,6 +99,11 @@ rm -rf %{name}-%{version} %post +if (systemctl list-unit-files |grep smanager) then + echo "Smanager restart in spec file" + /sbin/e-smith/signal-event smanager-refresh; +fi + %postun %files -f %{name}-%{version}-filelist @@ -82,6 +112,40 @@ rm -rf %{name}-%{version} %changelog +* Sat Mar 02 2024 Brian Read 1.3.1-20.sme +- Edit SM2 Menu entry to conform to new arrangements [SME: 12493] + +* Wed Feb 15 2023 Michel Begue 1.3.1-19.sme +- fix module not loaded after update [SME: 10793] + +* Wed Jan 11 2023 Michel Begue 1.3.1-18.sme +- add a message if module xt_geoip is missing or not loaded [SME: 12291] +- add a message if chain XTGeoIP is missing (iptables) [SME: 12291] + +* Fri Nov 11 2022 Jean-Philippe Pialasse 1.3.1-17.sme +- apply locale 2022-11-11 patch + +* Wed Jul 13 2022 Michel Begue 1.3.1-16.sme +- add fail2ban stats [SME: 12098] + +* Mon Jul 11 2022 Michel Begue 1.3.1-15.sme +- fix logs date test [SME: 12097] + +* Thu Jul 07 2022 Michel Begue 1.3.1-14.sme +- add xt_geoip to backup list [SME: 12029] +- archive and clean up Ip & Country bases [SME: 10863] + +* Wed Mar 09 2022 Michel Begue 1.3.1-13.sme +- fix Other and Reverse parameters for SM2 [SME: 11887] + +* Fri Jan 07 2022 Brian Read 1.3.1-12.sme +- Add-class-to-div-for-AdminLTE [SME: 11839] + +* Fri Oct 29 2021 Michel Begue 1.3.1-11.sme +- fix multiple_rpm_owners [SME: 11676] +- add event for smeserver-manager +- delete expand-template for update_base + * Thu Oct 28 2021 Michel Begue 1.3.1-10.sme - apply locale 2021-10-28 patch