/[smecontribs]/rpms/smeserver-zarafa/contribs7/smeserver-zarafa-0.9-4a.patch
ViewVC logotype

Annotation of /rpms/smeserver-zarafa/contribs7/smeserver-zarafa-0.9-4a.patch

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


Revision 1.1 - (hide annotations) (download)
Wed Dec 17 08:30:24 2008 UTC (15 years, 10 months ago) by dungog
Branch: MAIN
see spec

1 dungog 1.1 diff -Nur -x '*.orig' -x '*.rej' smeserver-zarafa-0.9/root/etc/e-smith/templates-user/.qmail-junkmail/00deliver_to_Zarafa mezzanine_patched_smeserver-zarafa-0.9/root/etc/e-smith/templates-user/.qmail-junkmail/00deliver_to_Zarafa
2     --- smeserver-zarafa-0.9/root/etc/e-smith/templates-user/.qmail-junkmail/00deliver_to_Zarafa 1969-12-31 18:00:00.000000000 -0600
3     +++ mezzanine_patched_smeserver-zarafa-0.9/root/etc/e-smith/templates-user/.qmail-junkmail/00deliver_to_Zarafa 2008-10-22 11:22:21.000000000 -0500
4     @@ -0,0 +1,13 @@
5     +{
6     + # vim: ft=perl:
7     + die "USERNAME not set." unless defined ($USERNAME);
8     +
9     + use esmith::AccountsDB;
10     + $adb = esmith::AccountsDB->open_ro or die "Couldn't open AccountsDB";
11     +
12     + $user = $adb->get($USERNAME) or die "No user $USERNAME in AccountsDB";
13     +
14     + my $zarafa = $user->prop('zarafa') || 'disabled';
15     + return "| /usr/bin/zarafa-dagent -qj $USERNAME ; if [ $? -ne 0 ] ; then exit -1; else exit 99; fi;"
16     + if ($zarafa eq 'enabled');
17     +}

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