/[smecontribs]/rpms/smeserver-zarafa/contribs7/smeserver-zarafa-0.9.0-services2.patch
ViewVC logotype

Annotation of /rpms/smeserver-zarafa/contribs7/smeserver-zarafa-0.9.0-services2.patch

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


Revision 1.1 - (hide annotations) (download)
Sat Dec 20 09:11:11 2008 UTC (15 years, 11 months ago) by dungog
Branch: MAIN
CVS Tags: smeserver-zarafa-0_9_0-40_el4_sme, smeserver-zarafa-0_9_0-51_el4_sme, smeserver-zarafa-0_9_0-43_el4_sme, smeserver-zarafa-0_9_0-53_el4_sme, smeserver-zarafa-0_9_0-47_el4_sme, smeserver-zarafa-0_9_0-26_el4_sme, smeserver-zarafa-0_9_0-38_el4_sme, smeserver-zarafa-0_9_0-33_el4_sme, smeserver-zarafa-0_9_0-25_el4_sme, smeserver-zarafa-0_9_0-22_el4_sme, smeserver-zarafa-0_9_0-32_el4_sme, smeserver-zarafa-0_9_0-45_el4_sme, smeserver-zarafa-0_9_0-39_el4_sme, smeserver-zarafa-0_9_0-19_el4_sme, smeserver-zarafa-0_9_0-23_el4_sme, smeserver-zarafa-0_9_0-49_el4_sme, smeserver-zarafa-0_9_0-42_el4_sme, smeserver-zarafa-0_9_0-34_el4_sme, smeserver-zarafa-0_9_0-37_el4_sme, smeserver-zarafa-0_9_0-29_el4_sme, smeserver-zarafa-0_9_0-46_el4_sme, smeserver-zarafa-0_9_0-54_el4_sme, smeserver-zarafa-0_9_0-50_el4_sme, smeserver-zarafa-0_9_0-48_el4_sme, smeserver-zarafa-0_9_0-35_el4_sme, smeserver-zarafa-0_9_0-20_el4_sme, smeserver-zarafa-0_9_0-36_el4_sme, smeserver-zarafa-0_9_0-31_el4_sme, smeserver-zarafa-0_9_0-21_el4_sme, smeserver-zarafa-0_9_0-52_el4_sme, smeserver-zarafa-0_9_0-18_el4_sme, smeserver-zarafa-0_9_0-56_el4_sme, smeserver-zarafa-0_9_0-30_el4_sme, smeserver-zarafa-0_9_0-15_el4_sme, smeserver-zarafa-0_9_0-27_el4_sme, smeserver-zarafa-0_9_0-16_el4_sme, smeserver-zarafa-0_9_0-17_el4_sme, smeserver-zarafa-0_9_0-28_el4_sme, smeserver-zarafa-0_9_0-24_el4_sme, HEAD
See Changelog

1 dungog 1.1 --- smeserver-zarafa-0.9.0/root/etc/e-smith/events/actions/zarafa-services.services2 2008-12-20 20:02:07.000000000 +1100
2     +++ smeserver-zarafa-0.9.0/root/etc/e-smith/events/actions/zarafa-services 2008-12-20 20:02:34.000000000 +1100
3     @@ -4,6 +4,6 @@
4     /etc/rc.d/init.d/zarafa-ical $1
5     /etc/rc.d/init.d/zarafa-licensed $1
6     /etc/rc.d/init.d/zarafa-monitor $1
7     -/etc/rc.d/init.d/zarafa-spooler $1
8     /etc/rc.d/init.d/zarafa-server $1
9     +/etc/rc.d/init.d/zarafa-spooler $1
10    
11     --- smeserver-zarafa-0.9.0/root/etc/e-smith/events/actions/zarafa-install.services2 2008-12-20 20:05:13.000000000 +1100
12     +++ smeserver-zarafa-0.9.0/root/etc/e-smith/events/actions/zarafa-install 2008-12-20 20:07:17.000000000 +1100
13     @@ -3,6 +3,9 @@
14     /bin/echo "initialize-default-databases"
15     /etc/e-smith/events/actions/initialize-default-databases
16    
17     +/bin/echo "set users to use zarafa"
18     +/etc/e-smith/events/actions/qmail-update-user
19     +
20     /bin/echo "reassign and disable sme gateway ports"
21     /sbin/e-smith/config setprop pop3 TCPPort 8110
22     /sbin/e-smith/config setprop pop3s TCPPort 8995
23     --- smeserver-zarafa-0.9.0/root/etc/e-smith/events/actions/zarafa-services-stop.services 2008-12-20 18:24:21.000000000 +1100
24     +++ smeserver-zarafa-0.9.0/root/etc/e-smith/events/actions/zarafa-services-stop 2008-12-20 18:31:41.000000000 +1100
25     @@ -0,0 +1,8 @@
26     +#!/bin/sh
27     +
28     +/etc/rc.d/init.d/zarafa-gateway stop
29     +/etc/rc.d/init.d/zarafa-ical stop
30     +/etc/rc.d/init.d/zarafa-licensed stop
31     +/etc/rc.d/init.d/zarafa-monitor stop
32     +/etc/rc.d/init.d/zarafa-spooler stop
33     +/etc/rc.d/init.d/zarafa-server stop
34     --- smeserver-zarafa-0.9.0/root/etc/e-smith/templates-user/.qmail-junkmail/00DeliverToZarafa.services 2008-12-20 19:12:26.000000000 +1100
35     +++ smeserver-zarafa-0.9.0/root/etc/e-smith/templates-user/.qmail-junkmail/00DeliverToZarafa 2008-12-20 19:13:43.000000000 +1100
36     @@ -1,6 +1,13 @@
37     {
38     - my $zarafa = $user->prop('zarafa') || 'enabled';
39     - return "| /usr/bin/zarafa-dagent -qj $USERNAME ; if [ $? -ne 0 ] ; then exit -1; else exit 99; fi;"
40     + # vim: ft=perl:
41     + die "USERNAME not set." unless defined ($USERNAME);
42     +
43     + use esmith::AccountsDB;
44     + $adb = esmith::AccountsDB->open_ro or die "Couldn't open AccountsDB";
45     +
46     + $user = $adb->get($USERNAME) or die "No user $USERNAME in AccountsDB";
47     +
48     + my $zarafa = $user->prop('zarafa') || 'enabled';
49     + return "| /usr/bin/zarafa-dagent -qj $USERNAME ; if [ $? -ne 0 ] ; then exit -1; else exit 99; fi;"
50     if ($zarafa eq 'enabled');
51     }
52     -

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