/[smeserver]/rpms/smeserver-qpsmtpd/sme10/smeserver-qpsmtpd-2.6.0-set_karma_negative.patch
ViewVC logotype

Contents of /rpms/smeserver-qpsmtpd/sme10/smeserver-qpsmtpd-2.6.0-set_karma_negative.patch

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


Revision 1.1 - (show annotations) (download)
Sun Apr 17 21:19:13 2016 UTC (8 years, 6 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-qpsmtpd-2_6_0-39_el7_sme, smeserver-qpsmtpd-2_6_0-25_el7_sme, smeserver-qpsmtpd-2_6_0-33_el7_sme, smeserver-qpsmtpd-2_6_0-30_el7_sme, smeserver-qpsmtpd-2_6_0-29_el7_sme, smeserver-qpsmtpd-2_6_0-24_el7_sme, smeserver-qpsmtpd-2_6_0-34_el7_sme, smeserver-qpsmtpd-2_6_0-31_el7_sme, smeserver-qpsmtpd-2_6_0-32_el7_sme, smeserver-qpsmtpd-2_6_0-15_el7_sme, smeserver-qpsmtpd-2_6_0-28_el7_sme, smeserver-qpsmtpd-2_6_0-38_el7_sme, smeserver-qpsmtpd-2_6_0-35_el7_sme, smeserver-qpsmtpd-2_6_0-17_el7_sme, smeserver-qpsmtpd-2_6_0-14_el7_sme, smeserver-qpsmtpd-2_6_0-16_el7_sme, smeserver-qpsmtpd-2_6_0-13_el7_sme, smeserver-qpsmtpd-2_6_0-19_el7_sme, smeserver-qpsmtpd-2_6_0-40_el7_sme, smeserver-qpsmtpd-2_6_0-36_el7_sme, smeserver-qpsmtpd-2_6_0-20_el7_sme, smeserver-qpsmtpd-2_6_0-23_el7_sme, smeserver-qpsmtpd-2_6_0-37_el7_sme, smeserver-qpsmtpd-2_6_0-27_el7_sme, smeserver-qpsmtpd-2_6_0-22_el7_sme, smeserver-qpsmtpd-2_6_0-11_el7_sme, smeserver-qpsmtpd-2_6_0-12_el7_sme, smeserver-qpsmtpd-2_6_0-21_el7_sme, smeserver-qpsmtpd-2_6_0-26_el7_sme
Forgot to add set_karma_negative patch in CVS

1 diff -Nur -x '*.orig' -x '*.rej' smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/18karma mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/18karma
2 --- smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/18karma 2016-04-17 12:16:29.808621709 +0200
3 +++ mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/18karma 2016-04-17 12:16:27.876620984 +0200
4 @@ -1,4 +1,5 @@
5 {
6 return "# Karma plugin is disabled" unless (($qpsmtpd{Karma} || 'disabled') =~ m/^1|on|yes|enabled$/i);
7 - $OUT .= 'karma negative 2 reject connect db_dir /var/lib/qpsmtpd/karma';
8 + my $negative = $qpsmtpd{KarmaNegative} || '2';
9 + $OUT .= "karma negative $negative reject connect db_dir /var/lib/qpsmtpd/karma";
10 }

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