initial commit of file from CVS for ezmlm-web on Thu Oct 9 11:44:01 AEDT 2025

This commit is contained in:
Trevor Batley
2025-10-09 11:44:01 +11:00
parent 32d2c89d09
commit 49d5d121aa
11 changed files with 590 additions and 1 deletions

23
ezmlm-web-3.3.1-cgi.patch Normal file
View File

@@ -0,0 +1,23 @@
--- ezmlm-web-3.3.1/ezmlm-web.cgi.ori 2016-04-18 23:46:09.000000000 -0400
+++ ezmlm-web-3.3.1/ezmlm-web.cgi 2016-04-20 05:03:33.000000000 -0400
@@ -2064,7 +2064,10 @@
if (defined($q->param("setting_state_$i"))) {
$options .= " -$i '" . $q->param("setting_value_$i") . "'";
} else {
- if ($i != 5) {
+ if ($i == 3) {
+ unlink("$LIST_DIR/$listname/fromheader");
+ }
+ elsif ($i != 5) {
# everything except for the "owner" attribute:
# do not set the value to an empty string,
# as ezmlm-idx 5.0 does not work correctly for this case
@@ -2427,7 +2430,7 @@
if (defined($q->param('option_t'))) {
# TODO: the trailer _must_ be followed by a newline
#$list->set_text_content('trailer', $q->param('trailing_text'));
- $list->set_text_content('trailer', $list->get_text_default_content('trailer'))
+ $list->set_text_content('trailer', $list->get_text_content('trailer'))
unless (-e "$list->{'LIST_NAME'}/text/trailer");
} else {
# ezmlm-make automatically removes this file