/[smecontribs]/rpms/smeserver-ezmlm-www/contribs10/smeserver-ezmlm-www-2.0.0-bz11909-sme10.patch
ViewVC logotype

Diff of /rpms/smeserver-ezmlm-www/contribs10/smeserver-ezmlm-www-2.0.0-bz11909-sme10.patch

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

Revision 1.1 by jpp, Wed Mar 16 04:27:11 2022 UTC Revision 1.4 by jpp, Sat Mar 19 03:51:00 2022 UTC
# Line 25  diff -Nur --no-dereference smeserver-ezm Line 25  diff -Nur --no-dereference smeserver-ezm
25  +    mailinglist-update  +    mailinglist-update
26  +    mailinglist-assign  +    mailinglist-assign
27  +    ));  +    ));
28  +foreach (qw(  +#foreach (qw(
29  +    smeserver-ezmlm-www-update  +#    smeserver-ezmlm-www-update
30  +    mailinglist-create  +#    mailinglist-create
31  +    mailinglist-update  +#    mailinglist-update
32  +    mailinglist-assign  +#    mailinglist-assign
33  +    )) {  +#    )) {
34  +event_link("ezw-search-create", $_, "50");  +#event_link("ezw-search-create", $_, "50");
35  +}  +#}
36  diff -Nur --no-dereference smeserver-ezmlm-www-2.0.0.old/root/etc/cron.hourly/ezw-search smeserver-ezmlm-www-2.0.0/root/etc/cron.hourly/ezw-search  diff -Nur --no-dereference smeserver-ezmlm-www-2.0.0.old/root/etc/cron.hourly/ezw-search smeserver-ezmlm-www-2.0.0/root/etc/cron.hourly/ezw-search
37  --- smeserver-ezmlm-www-2.0.0.old/root/etc/cron.hourly/ezw-search       1969-12-31 19:00:00.000000000 -0500  --- smeserver-ezmlm-www-2.0.0.old/root/etc/cron.hourly/ezw-search       1969-12-31 19:00:00.000000000 -0500
38  +++ smeserver-ezmlm-www-2.0.0/root/etc/cron.hourly/ezw-search   2022-03-16 00:19:01.108000000 -0400  +++ smeserver-ezmlm-www-2.0.0/root/etc/cron.hourly/ezw-search   2022-03-16 00:19:01.108000000 -0400
# Line 245  diff -Nur --no-dereference smeserver-ezm Line 245  diff -Nur --no-dereference smeserver-ezm
245  +  +
246  +LIST: foreach my $list (@Lists) {  +LIST: foreach my $list (@Lists) {
247  +        +      
248  +       # load the right KinoSearch module (for backwards compatibility)  +       # load the right KinoSearch1 module (for backwards compatibility)
249  +       my $kinosearch_version = '';  +       my $kinosearch_version = '';
250  +       if ($Engine eq 'kinosearch') {  +       if ($Engine eq 'kinosearch') {
251  +               if ($opt{update} && -e "$list->{index_dir}/kinostats") {  +               if ($opt{update} && -e "$list->{index_dir}/kinostats") {
# Line 255  diff -Nur --no-dereference smeserver-ezm Line 255  diff -Nur --no-dereference smeserver-ezm
255  +                       $kinosearch_version = 'old';  +                       $kinosearch_version = 'old';
256  +               } else {  +               } else {
257  +                       eval q{  +                       eval q{
258  +                               use KinoSearch::InvIndexer;  +                               use KinoSearch1::InvIndexer;
259  +                               use KinoSearch::Analysis::PolyAnalyzer;  +                               use KinoSearch1::Analysis::PolyAnalyzer;
260  +                       };  +                       };
261  +                       $kinosearch_version = 'new';  +                       $kinosearch_version = 'new';
262  +               }  +               }
# Line 294  diff -Nur --no-dereference smeserver-ezm Line 294  diff -Nur --no-dereference smeserver-ezm
294  +                       );  +                       );
295  +               }  +               }
296  +       } elsif ($Engine eq 'kinosearch' && $kinosearch_version eq 'new') {  +       } elsif ($Engine eq 'kinosearch' && $kinosearch_version eq 'new') {
297  +               my $analyzer = KinoSearch::Analysis::PolyAnalyzer->new( language => 'en' );  +               my $analyzer = KinoSearch1::Analysis::PolyAnalyzer->new( language => 'en' );
298  +               $writer = KinoSearch::InvIndexer->new(  +               $writer = KinoSearch1::InvIndexer->new(
299  +                       invindex => $list->{index_dir},  +                       invindex => $list->{index_dir},
300  +                       create   => $opt{create} ? 1 : 0,  +                       create   => $opt{create} ? 1 : 0,
301  +                       analyzer => $analyzer,  +                       analyzer => $analyzer,
# Line 384  diff -Nur --no-dereference smeserver-ezm Line 384  diff -Nur --no-dereference smeserver-ezm
384  +END_TEXT  +END_TEXT
385  +}  +}
386  +1;  +1;
387    diff -Nur --no-dereference smeserver-ezmlm-www-2.0.0.old/root/etc/e-smith/templates.metadata/opt/mailinglist/search/ez_indexer.pl smeserver-ezmlm-www-2.0.0/root/etc/e-smith/templates.metadata/opt/mailinglist/search/ez_indexer.pl
388    --- smeserver-ezmlm-www-2.0.0.old/root/etc/e-smith/templates.metadata/opt/mailinglist/search/ez_indexer.pl      1969-12-31 19:00:00.000000000 -0500
389    +++ smeserver-ezmlm-www-2.0.0/root/etc/e-smith/templates.metadata/opt/mailinglist/search/ez_indexer.pl  2022-03-18 23:27:43.740000000 -0400
390    @@ -0,0 +1 @@
391    +PERMS=0755


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