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

Contents of /rpms/smeserver-ezmlm-web/contribs8/smeserver-ezmlm-web-1.1.2-api.patch3

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


Revision 1.1 - (show annotations) (download)
Tue Feb 26 03:11:48 2013 UTC (11 years, 9 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-ezmlm-web-1_1_2-18_el5_sme, smeserver-ezmlm-web-1_1_2-17_el5_sme, smeserver-ezmlm-web-1_1_2-14_el5_sme, smeserver-ezmlm-web-1_1_2-13_el5_sme, smeserver-ezmlm-web-1_1_2-16_el5_sme, smeserver-ezmlm-web-1_1_2-15_el5_sme, smeserver-ezmlm-web-1_1_2-19_el5_sme, smeserver-ezmlm-web-1_1_2-12_el5_sme, smeserver-ezmlm-web-1_1_2-20_el5_sme, smeserver-ezmlm-web-1_1_2-11_el5_sme, HEAD
Initial import

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