/[smecontribs]/rpms/smeserver-xt_geoip/contribs9/smeserver-xt_geoip-1.0.1-bz10797-no_emails.patch
ViewVC logotype

Annotation of /rpms/smeserver-xt_geoip/contribs9/smeserver-xt_geoip-1.0.1-bz10797-no_emails.patch

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


Revision 1.1 - (hide annotations) (download)
Sat Sep 21 19:37:59 2019 UTC (5 years, 2 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-xt_geoip-1_0_1-18_el6_sme, smeserver-xt_geoip-1_0_1-20_el6_sme, smeserver-xt_geoip-1_0_1-24_el6_sme, smeserver-xt_geoip-1_0_1-23_el6_sme, smeserver-xt_geoip-1_0_1-26_el6_sme, smeserver-xt_geoip-1_0_1-25_el6_sme, smeserver-xt_geoip-1_0_1-22_el6_sme, smeserver-xt_geoip-1_0_1-21_el6_sme, smeserver-xt_geoip-1_0_1-19_el6_sme, HEAD
* Sat Sep 21 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.1-18.sme
- add more service [SME: 10789]
- no email from log analysis by default [SME: 10797]

1 jpp 1.1 diff -Nur smeserver-xt_geoip-1.0.1.old/root/etc/e-smith/templates/etc/crontab/xt_geoip smeserver-xt_geoip-1.0.1/root/etc/e-smith/templates/etc/crontab/xt_geoip
2     --- smeserver-xt_geoip-1.0.1.old/root/etc/e-smith/templates/etc/crontab/xt_geoip 2019-09-21 12:18:51.807000000 -0400
3     +++ smeserver-xt_geoip-1.0.1/root/etc/e-smith/templates/etc/crontab/xt_geoip 2019-09-21 12:27:13.046000000 -0400
4     @@ -1,6 +1,13 @@
5     -# saturday at 06:00 update xtables geoip base
6     -00 06 * * 6 root /usr/share/xt_geoip/update_base
7     -50 1 * * * root /usr/share/xt_geoip/geoip_stats ssh
8     -55 1 * * * root /usr/share/xt_geoip/geoip_stats ipt
9     -05 2 * * * root /usr/share/xt_geoip/geoip_listat
10     -#
11     \ Pas de fin de ligne à la fin du fichier
12     +{
13     +my $output = ( ($masq{'XTlogmail'} || "disabled") eq "disabled" )? ">/dev/null" : "";
14     +
15     +$OUT .= "
16     +# saturday at 06:00 update xtables geoip base
17     +00 06 * * 6 root /usr/share/xt_geoip/update_base $output
18     +50 1 * * * root /usr/share/xt_geoip/geoip_stats ssh $output
19     +55 1 * * * root /usr/share/xt_geoip/geoip_stats ipt $output
20     +05 2 * * * root /usr/share/xt_geoip/geoip_listat $output
21     +#
22     +";
23     +}
24     +

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