/[smecontribs]/rpms/smeserver-fail2ban/contribs9/smeserver-fail2ban-0.1.18.bz10767-adminpanel.patch
ViewVC logotype

Diff of /rpms/smeserver-fail2ban/contribs9/smeserver-fail2ban-0.1.18.bz10767-adminpanel.patch

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

Revision 1.2 by jpp, Wed Apr 10 03:26:12 2019 UTC Revision 1.3 by jpp, Wed Apr 10 03:40:59 2019 UTC
# Line 361  diff -Nur smeserver-fail2ban-0.1.18.old/ Line 361  diff -Nur smeserver-fail2ban-0.1.18.old/
361  +  +
362  +our @EXPORT = qw(get_value get_prop change_settings RemoveIP);  +our @EXPORT = qw(get_value get_prop change_settings RemoveIP);
363  +  +
364  +our $VERSION = sprintf '%d.%03d', q$Revision: 1.1 $ =~ /: (\d+).(\d+)/;  +our $VERSION = sprintf '%d.%03d', q$Revision: 1.2 $ =~ /: (\d+).(\d+)/;
365  +our $db = esmith::ConfigDB->open  +our $db = esmith::ConfigDB->open
366  +    || warn "Couldn't open configuration database (permissions problems?)";  +    || warn "Couldn't open configuration database (permissions problems?)";
367  +my $scriptname = basename($0);  +my $scriptname = basename($0);
# Line 781  diff -Nur smeserver-fail2ban-0.1.18.old/ Line 781  diff -Nur smeserver-fail2ban-0.1.18.old/
781  +fail2ban-client status $SERVI |grep -E 'IP list|Status for the jail' |sed 'N;s/\n/:/'|cut -d: -f2,4  +fail2ban-client status $SERVI |grep -E 'IP list|Status for the jail' |sed 'N;s/\n/:/'|cut -d: -f2,4
782  +done  +done
783  +  +
784    diff -Nur smeserver-fail2ban-0.1.18.old/createlinks smeserver-fail2ban-0.1.18/createlinks
785    --- smeserver-fail2ban-0.1.18.old/createlinks   2017-10-27 08:34:58.000000000 -0400
786    +++ smeserver-fail2ban-0.1.18/createlinks       2019-04-09 23:39:11.772000000 -0400
787    @@ -2,6 +2,8 @@
788    
789     use esmith::Build::CreateLinks qw(:all);
790    
791    +panel_link("fail2ban", "manager");
792    +
793     templates2events("/etc/rc.d/init.d/masq", "fail2ban-update");
794    
795     foreach my $event qw(fail2ban-conf bootstrap-console-save){


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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