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

Contents 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


Revision 1.1 - (show annotations) (download)
Fri Jul 22 06:14:15 2022 UTC (21 months, 4 weeks ago) by jpp
Branch: MAIN
* Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.0-11.sme
- add to core backup [SME: 12124]

1 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
3 +++ smeserver-ezmlm-www-2.0.0/createlinks 2022-07-22 02:12:29.069000000 -0400
4 @@ -14,7 +14,7 @@
5 console-save
6 email-update
7 mailinglist-create
8 - mailinglist-update
9 + mailinglist-modify
10 mailinglist-assign
11 ));
12 templates2events("/opt/mailinglist/config.pm", qw(
13 @@ -22,7 +22,7 @@
14 console-save
15 email-update
16 mailinglist-create
17 - mailinglist-update
18 + mailinglist-modify
19 mailinglist-assign
20 ));
21 #foreach (qw(
22 @@ -33,3 +33,8 @@
23 # )) {
24 #event_link("ezw-search-create", $_, "50");
25 #}
26 +
27 +use esmith::Build::Backup qw(:all);
28 +backup_includes("smeserver-ezmlm-www", qw(
29 +/opt/mailinglist/search/indexes/
30 +));
31 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
32 --- 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
33 +++ 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
34 @@ -9,9 +9,14 @@
35 Deny from all
36 allow from all
37
38 - <Files ~ "^(.htaccess|.htpasswd)">
39 + <Files ~ "^(.htaccess|.htpasswd|config\.pm|ez_indexer\.pl)">
40 Order allow,deny
41 Deny from all
42 </Files>
43 </Directory>
44
45 +<Directory /opt/mailinglist/search/indexes>
46 + Order allow,deny
47 + Deny from all
48 +</Directory>
49 +
50 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
51 --- smeserver-ezmlm-www-2.0.0.old/root/etc/e-smith/templates/opt/mailinglist/config.pm 2022-03-20 03:19:22.780000000 -0400
52 +++ smeserver-ezmlm-www-2.0.0/root/etc/e-smith/templates/opt/mailinglist/config.pm 2022-07-22 02:09:54.645000000 -0400
53 @@ -23,6 +23,7 @@
54 my $show_inline_images = (( $list->prop('show_inline_images') || 'enabled') eq 'enabled')? 1 : 0;
55 my $subscription_info = (( $list->prop('subscription_info') || 'disabled') eq 'enabled') ? 1 : 0;
56 my $descending_by_default = (( $list->prop('descending_by_default') || 'enabled') eq 'enabled')? 1 : 0;
57 + my $search = (( $list->prop('search') || 'disabled') eq 'enabled') ? 1 : 0;
58
59 $OUT.=<<"END_TXT";
60 push \@\$lists, {
61 @@ -37,7 +38,10 @@
62 default_sorting => '$default_sorting', #may be 'thread', 'date' or 'subject'
63 show_html => $show_html,
64 highlight => $highlight,
65 - show_inline_images => $show_inline_images
66 + show_inline_images => $show_inline_images,
67 + search => $search,
68 + index_dir => '/opt/mailinglist/search/indexes/$key',
69 + search_dir => '/opt/mailinglist/search/indexes/$key'
70 };
71 END_TXT
72 }
73 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
74 --- 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
75 +++ 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
76 @@ -39,7 +39,7 @@
77 my @sortings=('thread' , 'date' , 'subject' );
78 foreach my $list ($adb->get_all_by_prop(type => 'mailinglist'))
79 {
80 - #next if (($list->prop('DisplayArchives') || 'disabled') ne 'enabled');
81 + next if (($list->prop('DisplayArchives') || 'disabled') ne 'enabled');
82 my $key= $list->key;
83 $OUT .= <<"END_TEXT";
84 push \@Lists, {

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