/[smeserver]/rpms/smeserver-qpsmtpd/sme7/smeserver-qpsmtpd-1.2.1-qplogsummStatus.patch
ViewVC logotype

Contents of /rpms/smeserver-qpsmtpd/sme7/smeserver-qpsmtpd-1.2.1-qplogsummStatus.patch

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


Revision 1.1 - (show annotations) (download)
Tue Jan 8 20:30:13 2008 UTC (16 years, 10 months ago) by bytegw
Branch: MAIN
CVS Tags: smeserver-qpsmtpd-1_2_1-55_el4_sme, smeserver-qpsmtpd-1_2_1-50_el4_sme, smeserver-qpsmtpd-1_2_1-56_el4_sme, smeserver-qpsmtpd-1_2_1-51_el4_sme, smeserver-qpsmtpd-1_2_1-57_el4_sme, smeserver-qpsmtpd-1_2_1-52_el4_sme, smeserver-qpsmtpd-1_2_1-54_el4_sme, smeserver-qpsmtpd-1_2_1-53_el4_sme
Updates

1 diff -Nur -x '*.orig' -x '*.rej' smeserver-qpsmtpd-1.2.1/root/etc/e-smith/db/configuration/defaults/qpsmtpd/qplogsumm mezzanine_patched_smeserver-qpsmtpd-1.2.1/root/etc/e-smith/db/configuration/defaults/qpsmtpd/qplogsumm
2 --- smeserver-qpsmtpd-1.2.1/root/etc/e-smith/db/configuration/defaults/qpsmtpd/qplogsumm 1969-12-31 17:00:00.000000000 -0700
3 +++ mezzanine_patched_smeserver-qpsmtpd-1.2.1/root/etc/e-smith/db/configuration/defaults/qpsmtpd/qplogsumm 2008-01-08 01:41:03.000000000 -0700
4 @@ -0,0 +1 @@
5 +disabled
6 diff -Nur -x '*.orig' -x '*.rej' smeserver-qpsmtpd-1.2.1/root/var/service/qpsmtpd/log/run mezzanine_patched_smeserver-qpsmtpd-1.2.1/root/var/service/qpsmtpd/log/run
7 --- smeserver-qpsmtpd-1.2.1/root/var/service/qpsmtpd/log/run 2008-01-08 01:42:21.000000000 -0700
8 +++ mezzanine_patched_smeserver-qpsmtpd-1.2.1/root/var/service/qpsmtpd/log/run 2008-01-08 01:37:04.000000000 -0700
9 @@ -21,7 +21,21 @@
10 # Please visit our web site www.e-smith.com for details.
11 #----------------------------------------------------------------------
12
13 -exec \
14 - /usr/local/bin/setuidgid smelog \
15 - /usr/local/bin/multilog t s5000000 \
16 +status=`/sbin/e-smith/config getprop qpsmtpd qplogsumm`
17 +
18 +if [ -z $status ]; then
19 + status="disabled"
20 +fi
21 +
22 +if [ $status = "enabled" ]; then
23 + exec \
24 + /usr/local/bin/setuidgid smelog \
25 + /usr/local/bin/multilog t s5000000 \
26 !/usr/local/bin/qplogsumm.pl /var/log/qpsmtpd
27 +else
28 + exec \
29 + /usr/local/bin/setuidgid smelog \
30 + /usr/local/bin/multilog t s5000000 \
31 + /var/log/qpsmtpd
32 +fi
33 +

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