/[smecontribs]/rpms/smeserver-ezmlm-web/contribs10/smeserver-ezmlm-web-1.1.3-bz11288-sme10.patch
ViewVC logotype

Diff of /rpms/smeserver-ezmlm-web/contribs10/smeserver-ezmlm-web-1.1.3-bz11288-sme10.patch

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

Revision 1.1 by jpp, Tue Mar 15 18:54:26 2022 UTC Revision 1.3 by jpp, Sat Mar 19 05:07:17 2022 UTC
# Line 1  Line 1 
1  diff -Nur --no-dereference smeserver-ezmlm-web-1.1.3.old/createlinks smeserver-ezmlm-web-1.1.3/createlinks  diff -Nur --no-dereference smeserver-ezmlm-web-1.1.3.old/createlinks smeserver-ezmlm-web-1.1.3/createlinks
2  --- smeserver-ezmlm-web-1.1.3.old/createlinks   2022-03-15 14:33:10.330000000 -0400  --- smeserver-ezmlm-web-1.1.3.old/createlinks   2022-03-15 14:33:10.330000000 -0400
3  +++ smeserver-ezmlm-web-1.1.3/createlinks       2022-03-15 14:46:14.664000000 -0400  +++ smeserver-ezmlm-web-1.1.3/createlinks       2022-03-15 14:56:23.404000000 -0400
4  @@ -19,13 +19,14 @@  @@ -45,5 +45,20 @@
         "root/etc/e-smith/events/$event/S55email-assign");  
   
      templates2events("/var/service/qpsmtpd/config/goodrcptto", $event);  
 +}  
   
 -    for my $daemon ( qw(qpsmtpd sqpsmtpd) )  
 +for my $daemon ( qw(qpsmtpd sqpsmtpd) )  
      {  
          safe_symlink("sighup",  
             "root/etc/e-smith/events/$event/services2adjust/$daemon");  
      }  
 -}  
 +  
   
  templates2events("/etc/ezmlm/ezmlmwebrc",  
      qw(  
 @@ -45,5 +46,20 @@  
5           mailinglist-update           mailinglist-update
6           mailinglist-assign           mailinglist-assign
7           ));           ));
# Line 40  diff -Nur --no-dereference smeserver-ezm Line 23  diff -Nur --no-dereference smeserver-ezm
23  +templates2events("/var/qmail/users/assign", $event);  +templates2events("/var/qmail/users/assign", $event);
24  +safe_symlink("/var/qmail/bin/qmail-newu","root/etc/e-smith/events/$event/S55email-assign");  +safe_symlink("/var/qmail/bin/qmail-newu","root/etc/e-smith/events/$event/S55email-assign");
25    
26    diff -Nur --no-dereference smeserver-ezmlm-web-1.1.3.old/createlinks smeserver-ezmlm-web-1.1.3/createlinks
27    --- smeserver-ezmlm-web-1.1.3.old/createlinks   2022-03-19 01:02:18.606000000 -0400
28    +++ smeserver-ezmlm-web-1.1.3/createlinks       2022-03-19 01:03:34.418000000 -0400
29    @@ -45,7 +45,7 @@
30             mailinglist-update
31             mailinglist-assign
32             ));
33    -my $event="smeserver-ezmlm-www-update";
34    +my $event="smeserver-ezmlm-web-update";
35     templates2events("/etc/ezmlm/ezmlmwebrc",$event);
36     templates2events("/home/e-smith/files/ezmlm/lists/webusers",$event);
37     templates2events("/etc/ezmlm/ezmlmwebrc", $event);
38    diff -Nur --no-dereference smeserver-ezmlm-web-1.1.3.old/root/etc/e-smith/web/functions/mailinglists smeserver-ezmlm-web-1.1.3/root/etc/e-smith/web/functions/mailinglists
39    --- smeserver-ezmlm-web-1.1.3.old/root/etc/e-smith/web/functions/mailinglists   2022-03-19 01:02:18.602000000 -0400
40    +++ smeserver-ezmlm-web-1.1.3/root/etc/e-smith/web/functions/mailinglists       2022-03-19 01:04:52.303000000 -0400
41    @@ -280,7 +280,7 @@
42         foreach my $member ( split ( /,/, $members ) ) {
43             $members{$member} = 1;
44         }
45    -    my @users = sort { $a->key() cmp $b->key() } $accounts->users();
46    +    my @users = sort { $a->key() cmp $b->key() } ( $accounts->users() , $accounts->get('admin') );
47    
48    
49         my $out = "<tr>\n        <td class=\"sme-noborders-label\">"
50    @@ -474,6 +474,7 @@
51    
52         my $listOwner = $q->param ('listOwner');
53         $listOwner = "admin" if ($listOwner eq "Administrator");
54    +    my @users = sort { $a->key() cmp $b->key() } ( $accounts->users() , $accounts->get('admin') );
55    
56         #------------------------------------------------------------
57         # Looks good. Find out if this account has been taken
58    @@ -498,6 +499,7 @@
59                      Domain => $listDomain,
60                       Description => $listDescription,
61                      Owner => $listOwner,
62    +                  webusers => $webusers,
63                    } );
64    
65         system ('/sbin/e-smith/signal-event', 'mailinglist-create', $listName) == 0


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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