/[smecontribs]/rpms/smeserver-fail2ban/contribs10/smeserver-fail2ban-0.1.18-bz12011-backup.patch
ViewVC logotype

Annotation of /rpms/smeserver-fail2ban/contribs10/smeserver-fail2ban-0.1.18-bz12011-backup.patch

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


Revision 1.2 - (hide annotations) (download)
Mon Jul 25 07:16:54 2022 UTC (2 years, 4 months ago) by jpp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
* Mon Jul 25 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.18-28.sme
- revert previous patch, wrong package [SME: 12011]

1 jpp 1.1 diff -Nur --no-dereference smeserver-fail2ban-0.1.18.old/createlinks smeserver-fail2ban-0.1.18/createlinks
2     --- smeserver-fail2ban-0.1.18.old/createlinks 2022-07-22 03:18:59.246000000 -0400
3     +++ smeserver-fail2ban-0.1.18/createlinks 2022-07-22 03:20:24.333000000 -0400
4     @@ -19,7 +19,6 @@
5     event_link("systemd-reload", $event, "50");
6    
7     #action specific to this package
8     -#event_link("some event", $event, "30");
9     #services we need to restart
10     safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/masq");
11     safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/fail2ban");
12     @@ -48,9 +47,6 @@
13    
14     safe_touch("root/var/log/fail2ban/daemon.log");
15    
16     -#service_link_enhanced("fail2ban", "S99", "7");
17     -#service_link_enhanced("fail2ban", "K08", "6");
18     -#service_link_enhanced("fail2ban", "K08", "0");
19    
20     # for smeserver-manager
21     my $event = "smeserver-fail2ban-update";
22     @@ -58,3 +54,13 @@
23     event_link('navigation2-conf', "$event", '80');
24     event_link('routes2-conf', "$event", '80');
25     event_link('locales2-conf', "$event", '80');
26     +
27     +use esmith::Build::Backup qw(:all);
28     +backup_includes("smeserver-letsencrypt", qw(
29     +/etc/dehydrated/
30     +));
31     +
32     +backup_excludes("smeserver-letsencrypt", qw(
33     +/etc/dehydrated/config
34     +/etc/dehydrated/domains.txt
35     +));

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