diff -Nur --no-dereference smeserver-ezmlm-www-2.0.0.old/createlinks smeserver-ezmlm-www-2.0.0/createlinks --- smeserver-ezmlm-www-2.0.0.old/createlinks 2022-03-20 03:19:22.779000000 -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( @@ -33,3 +33,8 @@ # )) { #event_link("ezw-search-create", $_, "50"); #} + +use esmith::Build::Backup qw(:all); +backup_includes("smeserver-ezmlm-www", qw( +/opt/mailinglist/search/indexes/ +)); 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 - + Order allow,deny Deny from all + + Order allow,deny + Deny from all + + 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, {