/[smecontribs]/rpms/smeserver-xt_geoip/contribs10/smeserver-xt_geoip-1.3.1-bz10793_module_load.patch
ViewVC logotype

Annotation of /rpms/smeserver-xt_geoip/contribs10/smeserver-xt_geoip-1.3.1-bz10793_module_load.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Feb 21 08:37:58 2023 UTC (21 months ago) by michel
Branch: MAIN
CVS Tags: smeserver-xt_geoip-1_3_1-20_el7_sme, smeserver-xt_geoip-1_3_1-21_el7_sme, smeserver-xt_geoip-1_3_1-19_el7_sme, HEAD
* Wed Feb 15 2023 Michel Begue <mab974@misouk.com> 1.3.1-19.sme
- fix module not loaded after update [SME: 10793]

1 michel 1.1 diff -urN smeserver-xt_geoip-1.3.1.old/createlinks smeserver-xt_geoip-1.3.1/createlinks
2     --- smeserver-xt_geoip-1.3.1.old/createlinks 2023-01-11 20:36:20.000000000 +0400
3     +++ smeserver-xt_geoip-1.3.1/createlinks 2023-02-15 22:25:40.844000000 +0400
4     @@ -32,12 +32,16 @@
5     }
6    
7     # actions to perform
8     -
9     for my $event (qw(xt_geoip-update bootstrap-console-save
10     console-save smeserver-xt_geoip-update))
11     {
12     event_link("smeserver-xt_geoip-download-action", $event, "10");
13     }
14     +for my $event (qw(bootstrap-console-save e-smith-packetfilter-update
15     + smeserver-xt_geoip-update remote-access-update))
16     +{
17     + event_link("xt_geoip_kmod", $event, "15");
18     +}
19    
20     # for smeserver-manager
21     my $event= "smeserver-xt_geoip-update";
22     @@ -46,6 +50,7 @@
23     event_link('routes2-conf', "$event", '80');
24     event_link('locales2-conf', "$event", '80');
25    
26     +# backup
27     use esmith::Build::Backup qw(:all);
28     backup_includes("smeserver-xt_geoip", qw(
29     /usr/share/xt_geoip/BE/
30     diff -urN smeserver-xt_geoip-1.3.1.old/root/etc/e-smith/events/actions/xt_geoip_kmod smeserver-xt_geoip-1.3.1/root/etc/e-smith/events/actions/xt_geoip_kmod
31     --- smeserver-xt_geoip-1.3.1.old/root/etc/e-smith/events/actions/xt_geoip_kmod 1970-01-01 04:00:00.000000000 +0400
32     +++ smeserver-xt_geoip-1.3.1/root/etc/e-smith/events/actions/xt_geoip_kmod 2023-02-15 22:15:47.263000000 +0400
33     @@ -0,0 +1,6 @@
34     +#!/bin/bash
35     +
36     +modprobe -r xt_geoip
37     +weak-modules --add-kernel
38     +modprobe xt_geoip
39     +
40     diff -urN smeserver-xt_geoip-1.3.1.old/root/etc/yum/post-actions/xt_geoip.action smeserver-xt_geoip-1.3.1/root/etc/yum/post-actions/xt_geoip.action
41     --- smeserver-xt_geoip-1.3.1.old/root/etc/yum/post-actions/xt_geoip.action 1970-01-01 04:00:00.000000000 +0400
42     +++ smeserver-xt_geoip-1.3.1/root/etc/yum/post-actions/xt_geoip.action 2023-02-15 22:17:25.855000000 +0400
43     @@ -0,0 +1,4 @@
44     +kernel*:any:/etc/e-smith/events/actions/xt_geoip_kmod
45     +kmod*:any:/etc/e-smith/events/actions/xt_geoip_kmod
46     +xtables-addons*:any:/etc/e-smith/events/actions/xt_geoip_kmod
47     +

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed