--- rpms/smeserver-ezmlm-web/contribs8/smeserver-ezmlm-web-1.1.2-configurable.patch 2016/04/21 03:53:04 1.2 +++ rpms/smeserver-ezmlm-web/contribs8/smeserver-ezmlm-web-1.1.2-configurable.patch 2016/04/21 05:05:11 1.3 @@ -96,13 +96,13 @@ diff -Nur smeserver-ezmlm-web-1.1.2.old/ -# What is the title of this document? -# $HTML_TITLE = 'E Z Mailing List Manager'; -$HTML_TITLE = 'Mailing Lists'; -+my $options= ($ezmlm->{options} || 'aBDFGHiJkLMNOpQRSTUWx'; ++my $options= $ezmlm{options} || 'aBDFGHiJkLMNOpQRSTUWx'; +$OUT .= "\$DEFAULT_OPTIONS = '$options'"; -# --------------------------------------------------------------------------- -+my $title= ($ezmlm->{title} || 'Koozali SME Server Mailing List Manager'; -+$OUT .= "# What is the title of this document? -+\$HTML_TITLE = '$title';"; ++my $title= $ezmlm{title} || 'Koozali SME Server Mailing List Manager'; ++$OUT .= "# What is the title of this document?"; ++$OUT .= "\$HTML_TITLE = '$title';"; + + +$OUT .= <<'EOF'; @@ -329,8 +329,8 @@ diff -Nur smeserver-ezmlm-web-1.1.2.old/ +EOF -); -+my $interface=$ezmlm->{interface} || 'normal'; -+$OUT .= "\$DEFAULT_INTERFACE_TYPE = '$interface';" ++my $interface=$ezmlm{interface} || 'normal'; ++$OUT .= "\$DEFAULT_INTERFACE_TYPE = '$interface';"; -# === Configuration file ends === +$OUT .= <<'EOF'; @@ -366,8 +366,8 @@ diff -Nur smeserver-ezmlm-web-1.1.2.old/ +# This include keyring management and mailing list handling in general. EOF -+my $encryption= ($ezmlm->{encryption} eq 'enabled' )? 1 : 0; -+$OUT .="\$ENCRYPTION_SUPPORT = $encryption;"; ++my $encryption= ($ezmlm{encryption} eq 'enabled' )? 1 : 0; ++$OUT .="\$ENCRYPTION_SUPPORT = $encryption;\n"; + +$OUT .= <<'EOF'; +# Define the default location of gnupg keyrings used for mailing list @@ -384,7 +384,7 @@ diff -Nur smeserver-ezmlm-web-1.1.2.old/ +# defaults to 0 +EOF + -+my $debug= ($ezmlm->{debug} eq 'enabled' )? 1 : 0; ++my $debug= ($ezmlm{debug} eq 'enabled' )? 1 : 0; +$OUT .="\$DEBUG = $debug;"; + }