/[smecontribs]/rpms/smeserver-ezmlm-www/contribs10/smeserver-ezmlm-www-2.0.0-bz12124-backup.patch
ViewVC logotype

Diff of /rpms/smeserver-ezmlm-www/contribs10/smeserver-ezmlm-www-2.0.0-bz12124-backup.patch

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

Revision 1.1 by jpp, Fri Jul 22 06:14:15 2022 UTC Revision 1.2 by jpp, Fri Jul 22 06:15:54 2022 UTC
# Line 1  Line 1 
1  diff -Nur --no-dereference smeserver-ezmlm-www-2.0.0.old/createlinks smeserver-ezmlm-www-2.0.0/createlinks  diff -Nur --no-dereference smeserver-ezmlm-www-2.0.0.old/createlinks smeserver-ezmlm-www-2.0.0/createlinks
2  --- smeserver-ezmlm-www-2.0.0.old/createlinks   2022-03-20 03:19:22.779000000 -0400  --- smeserver-ezmlm-www-2.0.0.old/createlinks   2022-03-20 03:19:22.779000000 -0400
3  +++ smeserver-ezmlm-www-2.0.0/createlinks       2022-07-22 02:12:29.069000000 -0400  +++ smeserver-ezmlm-www-2.0.0/createlinks       2022-07-22 02:12:29.069000000 -0400
 @@ -14,7 +14,7 @@  
      console-save  
      email-update  
      mailinglist-create  
 -    mailinglist-update  
 +    mailinglist-modify  
      mailinglist-assign  
      ));  
  templates2events("/opt/mailinglist/config.pm", qw(  
 @@ -22,7 +22,7 @@  
      console-save  
      email-update  
      mailinglist-create  
 -    mailinglist-update  
 +    mailinglist-modify  
      mailinglist-assign  
      ));  
  #foreach (qw(  
4  @@ -33,3 +33,8 @@  @@ -33,3 +33,8 @@
5   #    )) {   #    )) {
6   #event_link("ezw-search-create", $_, "50");   #event_link("ezw-search-create", $_, "50");
# Line 28  diff -Nur --no-dereference smeserver-ezm Line 10  diff -Nur --no-dereference smeserver-ezm
10  +backup_includes("smeserver-ezmlm-www", qw(  +backup_includes("smeserver-ezmlm-www", qw(
11  +/opt/mailinglist/search/indexes/  +/opt/mailinglist/search/indexes/
12  +));  +));
 diff -Nur --no-dereference smeserver-ezmlm-www-2.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/99mailinglist smeserver-ezmlm-www-2.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/99mailinglist  
 --- smeserver-ezmlm-www-2.0.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/99mailinglist    2007-12-03 13:07:01.000000000 -0500  
 +++ smeserver-ezmlm-www-2.0.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/99mailinglist        2022-07-22 02:09:54.644000000 -0400  
 @@ -9,9 +9,14 @@  
      Deny from all  
      allow from all  
   
 -    <Files ~ "^(.htaccess|.htpasswd)">  
 +    <Files ~ "^(.htaccess|.htpasswd|config\.pm|ez_indexer\.pl)">  
          Order allow,deny  
          Deny from all  
      </Files>  
  </Directory>  
   
 +<Directory /opt/mailinglist/search/indexes>  
 +        Order allow,deny  
 +        Deny from all  
 +</Directory>  
 +  
 diff -Nur --no-dereference smeserver-ezmlm-www-2.0.0.old/root/etc/e-smith/templates/opt/mailinglist/config.pm smeserver-ezmlm-www-2.0.0/root/etc/e-smith/templates/opt/mailinglist/config.pm  
 --- smeserver-ezmlm-www-2.0.0.old/root/etc/e-smith/templates/opt/mailinglist/config.pm  2022-03-20 03:19:22.780000000 -0400  
 +++ smeserver-ezmlm-www-2.0.0/root/etc/e-smith/templates/opt/mailinglist/config.pm      2022-07-22 02:09:54.645000000 -0400  
 @@ -23,6 +23,7 @@  
          my $show_inline_images = (( $list->prop('show_inline_images') || 'enabled') eq 'enabled')? 1 : 0;  
         my $subscription_info = (( $list->prop('subscription_info') || 'disabled') eq 'enabled') ? 1 :  0;  
         my $descending_by_default = (( $list->prop('descending_by_default') ||  'enabled') eq 'enabled')? 1 : 0;  
 +        my $search = (( $list->prop('search') ||  'disabled') eq 'enabled') ? 1 :  0;  
   
         $OUT.=<<"END_TXT";  
  push \@\$lists, {  
 @@ -37,7 +38,10 @@  
         default_sorting => '$default_sorting',   #may be 'thread', 'date' or 'subject'  
         show_html => $show_html,  
         highlight => $highlight,  
 -       show_inline_images => $show_inline_images  
 +       show_inline_images => $show_inline_images,  
 +       search => $search,  
 +       index_dir => '/opt/mailinglist/search/indexes/$key',  
 +       search_dir => '/opt/mailinglist/search/indexes/$key'  
  };  
  END_TXT  
     }  
 diff -Nur --no-dereference smeserver-ezmlm-www-2.0.0.old/root/etc/e-smith/templates/opt/mailinglist/search/ez_indexer.pl smeserver-ezmlm-www-2.0.0/root/etc/e-smith/templates/opt/mailinglist/search/ez_indexer.pl  
 --- smeserver-ezmlm-www-2.0.0.old/root/etc/e-smith/templates/opt/mailinglist/search/ez_indexer.pl       2022-03-20 03:19:22.780000000 -0400  
 +++ smeserver-ezmlm-www-2.0.0/root/etc/e-smith/templates/opt/mailinglist/search/ez_indexer.pl   2022-07-22 02:09:54.645000000 -0400  
 @@ -39,7 +39,7 @@  
      my @sortings=('thread' , 'date' , 'subject' );  
      foreach my $list ($adb->get_all_by_prop(type => 'mailinglist'))  
      {  
 -        #next if (($list->prop('DisplayArchives') || 'disabled') ne 'enabled');  
 +        next if (($list->prop('DisplayArchives') || 'disabled') ne 'enabled');  
          my $key= $list->key;  
         $OUT .= <<"END_TEXT";  
  push \@Lists, {  


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