/[smecontribs]/rpms/smeserver-ezmlm-web/contribs7/smeserver-ezmlm-web-1.1.2-api.patch3
ViewVC logotype

Annotation of /rpms/smeserver-ezmlm-web/contribs7/smeserver-ezmlm-web-1.1.2-api.patch3

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


Revision 1.1 - (hide annotations) (download)
Wed Apr 23 19:00:22 2008 UTC (16 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-ezmlm-web-1_1_2-11_el4_sme
Initial import of smeserver-ezmlm-web-1.1.2-11.src.rpm

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' smeserver-ezmlm-web-1.1.2/root/etc/e-smith/events/actions/ezmlm-update mezzanine_patched_smeserver-ezmlm-web-1.1.2/root/etc/e-smith/events/actions/ezmlm-update
2     --- smeserver-ezmlm-web-1.1.2/root/etc/e-smith/events/actions/ezmlm-update 2006-03-08 12:30:00.616124755 +1100
3     +++ mezzanine_patched_smeserver-ezmlm-web-1.1.2/root/etc/e-smith/events/actions/ezmlm-update 2006-03-08 12:29:41.228469581 +1100
4     @@ -51,7 +51,7 @@
5     -s /bin/false ezmlm)) == 0
6     or warn("Could not create user 'ezmlm'\n");
7    
8     - $accounts->new_record("ezmlm", { type => "system", Uid => "80", Gid => "80" } );
9     + $accounts->new_record("ezmlm", { type => "system", Uid => "80", Gid => "80" } )
10     unless ($accounts->get("ezmlm"));
11     }
12    
13     @@ -84,22 +84,22 @@
14    
15     if ( $event eq "mailinglist-create" )
16     {
17     - my $list = new Mail::Ezmlm;
18     + my $ezmlm = new Mail::Ezmlm;
19    
20     - my $thislist = $list->make(
21     + my $thislist = $ezmlm->make(
22     -dir => $listHome,
23     -qmail => $listAlias,
24     -name => $listName,
25     -host => $listHost,
26     -user => '',
27     - -switches => 'aBdfgHiJklMnOpQrStuWx'
28     + -switches => 'aBdfgHiJklMnOpQrStuWx',
29     );
30    
31     die "List creation failed\n" unless $thislist;
32    
33     my $listOwner = $list->prop("Owner");
34    
35     - $list->update("5 $listOwner");
36     + $ezmlm->update("5 $listOwner");
37     }
38     elsif ( $event eq "mailinglist-delete" )
39     {

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