Control: tags -1 + patch Here is a proposal for a patch that removes the warning.
Best, -- Baptiste BEAUPLAT - lyknode
commit 651714ed1d0a2529c236b7d0e08bb88a00215e9a Author: Baptiste BEAUPLAT <lykn...@cilg.org> Date: Sun Jun 23 12:39:46 2019 +0200 Remove warning message when replying instead of sending a new mail. Closes: #930948. diff --git a/debian/changelog b/debian/changelog index 4600426..07e6c6d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +smartlist (3.15-26) unstable; urgency=medium + + [ Baptiste BEAUPLAT ] + * Remove warning message when replying instead of sending a new mail. + Closes: #930948. + + -- Baptiste BEAUPLAT <lykn...@cilg.org> Sun, 23 Jun 2019 12:39:53 +0200 + smartlist (3.15-25) unstable; urgency=medium * debian/fakeroot-workaround: Move to debian/rules. diff --git a/debian/patches/series b/debian/patches/series index d9d2113..aa7e438 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -31,3 +31,4 @@ smartlist-19 smartlist-20 smartlist-21 smartlist-22 +smartlist-23 diff --git a/debian/patches/smartlist-23 b/debian/patches/smartlist-23 new file mode 100644 index 0000000..0038f4c --- /dev/null +++ b/debian/patches/smartlist-23 @@ -0,0 +1,115 @@ +From: Baptiste BEAUPLAT <lykn...@cilg.org> +Date: Sun, 23 Jun 2019 12:35:54 +0200 +Subject: Remove warning message when replying instead of sending a new mail. + +--- + SmartList/bin/confirm | 6 ------ + SmartList/bin/confirm_add | 6 ------ + SmartList/bin/confirm_del | 6 ------ + SmartList/bin/confirm_sub | 6 ------ + SmartList/bin/subscribe | 6 ------ + SmartList/bin/unsubscribe | 6 ------ + 6 files changed, 36 deletions(-) + +diff --git a/SmartList/bin/confirm b/SmartList/bin/confirm +index e1d2398..55c1c47 100644 +--- a/SmartList/bin/confirm ++++ b/SmartList/bin/confirm +@@ -155,12 +155,6 @@ fi + # to be subscribed + $echo $subscraddr > cookies/$COOKIE + +-$grep '^Subject: Re:' <$tmprequest >/dev/null && +- wrongaddress="${wrongaddress}WARNING: +- Send in a new mail, INSTEAD OF REPLYING +- the next time when issuing (un)subscribe requests. +-" +- + if [ "$US" = "sv" ]; then + + authaddr=`$echo $maintainer|sed 's/,/ /g'` +diff --git a/SmartList/bin/confirm_add b/SmartList/bin/confirm_add +index 374ecf3..f19b7fd 100644 +--- a/SmartList/bin/confirm_add ++++ b/SmartList/bin/confirm_add +@@ -74,12 +74,6 @@ $echo "`cat $tmpfrom` - assigned cookie $COOKIE" >> log + # to be subscribed + $echo $subscraddr > cookies/$COOKIE + +-$grep '^Subject: Re:' <$tmprequest >/dev/null && +- wrongaddress="${wrongaddress}WARNING: +- Send in a new mail, INSTEAD OF REPLYING +- the next time when issuing (un)subscribe requests. +-" +- + if [ "$US" = "sv" ]; then + + authaddr=`$echo $maintainer|sed 's/,/ /g'` +diff --git a/SmartList/bin/confirm_del b/SmartList/bin/confirm_del +index 4399547..27ab7df 100644 +--- a/SmartList/bin/confirm_del ++++ b/SmartList/bin/confirm_del +@@ -161,12 +161,6 @@ $echo "$subscraddr - assigned cookie $COOKIE" >> $LOGFILE + # to be unsubscribed + $echo $subscraddr > cookies/$COOKIE + +-$grep '^Subject: Re:' <$tmprequest >/dev/null && +- wrongaddress="${wrongaddress}WARNING: +- Send in a new mail, INSTEAD OF REPLYING +- the next time when issuing unsubscribe requests. +-" +- + ( $formail -i"From: SmartList <$listreq>" -rtA"X-Loop: $listaddr" \ + -I"Subject: CONFIRM $COOKIE" <$tmprequest + +diff --git a/SmartList/bin/confirm_sub b/SmartList/bin/confirm_sub +index a08422e..e1e4430 100644 +--- a/SmartList/bin/confirm_sub ++++ b/SmartList/bin/confirm_sub +@@ -45,12 +45,6 @@ then + ./subscreen "$subscraddr" || exit 1 + fi + +-$grep '^Subject: Re:' <$tmprequest >/dev/null && +- wrongaddress="${wrongaddress}WARNING: +- Send in a new mail, INSTEAD OF REPLYING +- the next time when issuing (un)subscribe requests. +-" +- + $multigram -a "$subscraddr" dist >/dev/null + + sender=`$formail -rtzcxTo: <$tmprequest` +diff --git a/SmartList/bin/subscribe b/SmartList/bin/subscribe +index 14c4582..beaf931 100755 +--- a/SmartList/bin/subscribe ++++ b/SmartList/bin/subscribe +@@ -81,12 +81,6 @@ then + ./subscreen "$subscraddr" || exit 1 + fi + +-$grep '^Subject: Re:' <$tmprequest >/dev/null && +- wrongaddress="${wrongaddress}WARNING: +- Send in a new mail, INSTEAD OF REPLYING +- the next time when issuing (un)subscribe requests. +-" +- + NOT_METOO="" + + #$formail -k -xSubject: <$tmprequest | +diff --git a/SmartList/bin/unsubscribe b/SmartList/bin/unsubscribe +index d8bd659..397c5f8 100755 +--- a/SmartList/bin/unsubscribe ++++ b/SmartList/bin/unsubscribe +@@ -32,12 +32,6 @@ esac + remov=-d + $test "X$1" = "X-D" && remov=-D + +-$grep '^Subject: Re:' <$tmprequest >/dev/null && +- wrongaddress="${wrongaddress}WARNING: +- Send in a new mail, INSTEAD OF REPLYING +- the next time when issuing (un)subscribe requests. +-" +- + $formail -i"From: SmartList <$listreq>" -rtA"X-Loop: $listaddr" -I"Precedence: junk" \ + <$tmprequest +
signature.asc
Description: OpenPGP digital signature