/[smecontribs]/rpms/smeserver-ezmlm-web/contribs8/smeserver-ezmlm-web-1.1.2-configurable.patch
ViewVC logotype

Diff of /rpms/smeserver-ezmlm-web/contribs8/smeserver-ezmlm-web-1.1.2-configurable.patch

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

Revision 1.2 by unnilennium, Thu Apr 21 03:53:04 2016 UTC Revision 1.4 by unnilennium, Thu Apr 21 05:13:17 2016 UTC
# Line 96  diff -Nur smeserver-ezmlm-web-1.1.2.old/ Line 96  diff -Nur smeserver-ezmlm-web-1.1.2.old/
96  -# What is the title of this document?  -# What is the title of this document?
97  -# $HTML_TITLE = 'E Z Mailing List Manager';  -# $HTML_TITLE = 'E Z Mailing List Manager';
98  -$HTML_TITLE = 'Mailing Lists';  -$HTML_TITLE = 'Mailing Lists';
99  +my $options= ($ezmlm->{options} || 'aBDFGHiJkLMNOpQRSTUWx';  +my $options= $ezmlm{options} || 'aBDFGHiJkLMNOpQRSTUWx';
100  +$OUT .= "\$DEFAULT_OPTIONS = '$options'";  +$OUT .= "\$DEFAULT_OPTIONS = '$options';\n";
101    
102  -# ---------------------------------------------------------------------------  -# ---------------------------------------------------------------------------
103  +my $title= ($ezmlm->{title} || 'Koozali SME Server Mailing List Manager';  +my $title= $ezmlm{title} || 'Koozali SME Server Mailing List Manager';
104  +$OUT .= "# What is the title of this document?  +$OUT .= "# What is the title of this document?\n";
105  +\$HTML_TITLE = '$title';";  +$OUT .= "\$HTML_TITLE = '$title';\n";
106  +  +
107  +  +
108  +$OUT .= <<'EOF';  +$OUT .= <<'EOF';
# Line 329  diff -Nur smeserver-ezmlm-web-1.1.2.old/ Line 329  diff -Nur smeserver-ezmlm-web-1.1.2.old/
329  +EOF  +EOF
330    
331  -);  -);
332  +my $interface=$ezmlm->{interface} || 'normal';  +my $interface=$ezmlm{interface} || 'normal';
333  +$OUT .= "\$DEFAULT_INTERFACE_TYPE = '$interface';"  +$OUT .= "\$DEFAULT_INTERFACE_TYPE = '$interface';";
334    
335  -#                      === Configuration file ends ===  -#                      === Configuration file ends ===
336  +$OUT .= <<'EOF';  +$OUT .= <<'EOF';
# Line 366  diff -Nur smeserver-ezmlm-web-1.1.2.old/ Line 366  diff -Nur smeserver-ezmlm-web-1.1.2.old/
366  +# This include keyring management and mailing list handling in general.  +# This include keyring management and mailing list handling in general.
367   EOF   EOF
368    
369  +my $encryption= ($ezmlm->{encryption} eq 'enabled' )? 1 : 0;  +my $encryption= ($ezmlm{encryption} eq 'enabled' )? 1 : 0;
370  +$OUT .="\$ENCRYPTION_SUPPORT = $encryption;";  +$OUT .="\$ENCRYPTION_SUPPORT = $encryption;\n";
371  +  +
372  +$OUT .= <<'EOF';  +$OUT .= <<'EOF';
373  +# Define the default location of gnupg keyrings used for mailing list  +# Define the default location of gnupg keyrings used for mailing list
# Line 384  diff -Nur smeserver-ezmlm-web-1.1.2.old/ Line 384  diff -Nur smeserver-ezmlm-web-1.1.2.old/
384  +# defaults to 0  +# defaults to 0
385  +EOF  +EOF
386  +  +
387  +my $debug= ($ezmlm->{debug} eq 'enabled' )? 1 : 0;  +my $debug= ($ezmlm{debug} eq 'enabled' )? 1 : 0;
388  +$OUT .="\$DEBUG = $debug;";  +$OUT .="\$DEBUG = $debug;";
389  +  +
390   }   }


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