/[smecontribs]/rpms/smeserver-sendmail-wrapper/contribs10/smeserver-sendmail-wrapper-0.1-bz11739-sme10.patch
ViewVC logotype

Contents of /rpms/smeserver-sendmail-wrapper/contribs10/smeserver-sendmail-wrapper-0.1-bz11739-sme10.patch

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


Revision 1.1 - (show annotations) (download)
Sun Nov 7 02:58:16 2021 UTC (3 years ago) by jpp
Branch: MAIN
CVS Tags: smeserver-sendmail-wrapper-0_1-6_el7_sme, smeserver-sendmail-wrapper-0_1-5_el7_sme, HEAD
Error occurred while calculating annotation data.
* Sat Nov 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-5.sme
- import to SME10 [SME: 11739]

1 diff -Nur --no-dereference smeserver-sendmail-wrapper-0.1.old/createlinks smeserver-sendmail-wrapper-0.1/createlinks
2 --- smeserver-sendmail-wrapper-0.1.old/createlinks 1969-12-31 19:00:00.000000000 -0500
3 +++ smeserver-sendmail-wrapper-0.1/createlinks 2021-11-06 22:58:04.225000000 -0400
4 @@ -0,0 +1,6 @@
5 +#!/usr/bin/perl -w
6 +use esmith::Build::CreateLinks qw(:all);
7 +
8 +
9 +# create smeserver-sendmail-wrapper-ipdate event as link to
10 +safe_symlink("webapps-update", "root/etc/e-smith/events/smeserver-sendmail-wrapper-update")
11 diff -Nur --no-dereference smeserver-sendmail-wrapper-0.1.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings02mailfunctionX smeserver-sendmail-wrapper-0.1/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings02mailfunctionX
12 --- smeserver-sendmail-wrapper-0.1.old/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings02mailfunctionX 2021-11-06 22:46:10.647000000 -0400
13 +++ smeserver-sendmail-wrapper-0.1/root/etc/e-smith/templates/etc/php.ini/80ModuleSettings02mailfunctionX 2021-11-06 22:50:35.685000000 -0400
14 @@ -1,8 +1,11 @@
15 {
16
17 return ";sendmail-wrapper.pl disabled to enable do: config setprop php sendmail enabled" if ($php{sendmail} || 'enabled') eq "disabled" ;
18 +my $mailog = $phpcur->prop(MailLog) || $php{"MailLog"} || "disabled";
19
20 -$OUT= "mail.log= \"/var/log/sendmail/mail.log\"
21 -sendmail_path= \"/usr/bin/sendmail-wrapper.pl\"\n";
22 +$OUT= "# smeserver-sendmail-wrapper contrib\n";
23 +$OUT= "mail.log= \"/var/log/sendmail/mail.log\"\n" if $mailog eq "disabled";
24 +
25 +$OUT= "sendmail_path= \"/usr/bin/sendmail-wrapper.pl\"\n";
26
27 }

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