From e37de56cdb1fbb6035c52e354c8c50dd0aad15dd Mon Sep 17 00:00:00 2001 From: obrien Date: Fri, 11 Jun 2004 00:08:09 +0000 Subject: Add a -q[uiet] flag to 'sa-learn', stopping verbosity on stdout. --- mail/p5-Mail-SpamAssassin/files/patch-CmdLearn.pm | 11 +++++++++++ mail/p5-Mail-SpamAssassin/files/patch-sa-learn.raw | 6 ++++++ 2 files changed, 17 insertions(+) create mode 100644 mail/p5-Mail-SpamAssassin/files/patch-CmdLearn.pm create mode 100644 mail/p5-Mail-SpamAssassin/files/patch-sa-learn.raw (limited to 'mail/p5-Mail-SpamAssassin') diff --git a/mail/p5-Mail-SpamAssassin/files/patch-CmdLearn.pm b/mail/p5-Mail-SpamAssassin/files/patch-CmdLearn.pm new file mode 100644 index 000000000000..fe7c534c831c --- /dev/null +++ b/mail/p5-Mail-SpamAssassin/files/patch-CmdLearn.pm @@ -0,0 +1,11 @@ +--- lib/Mail/SpamAssassin/CmdLearn.pm.orig Thu Sep 18 21:02:40 2003 ++++ lib/Mail/SpamAssassin/CmdLearn.pm Fri Jan 2 20:18:28 2004 +@@ -43,2 +43,3 @@ + 'showdots' => \$opt{'showdots'}, ++ 'quiet' => \$opt{'quiet'}, + 'no-rebuild|norebuild' => \$opt{'norebuild'}, +@@ -233,3 +234,3 @@ + print STDERR "\n" if ($opt{showdots}); +- print "Learned from $learnedcount message(s) ($messagecount message(s) examined).\n"; ++ print "Learned from $learnedcount message(s) ($messagecount message(s) examined).\n" if (!$opt{quiet}); + }; diff --git a/mail/p5-Mail-SpamAssassin/files/patch-sa-learn.raw b/mail/p5-Mail-SpamAssassin/files/patch-sa-learn.raw new file mode 100644 index 000000000000..8ecc8de3ac51 --- /dev/null +++ b/mail/p5-Mail-SpamAssassin/files/patch-sa-learn.raw @@ -0,0 +1,6 @@ +--- sa-learn.raw.orig Mon Sep 15 15:59:24 2003 ++++ sa-learn.raw Fri Jan 2 18:59:25 2004 +@@ -75,2 +75,3 @@ + --showdots Show progress using dots ++ --quiet Do not output status from command run + --no-rebuild Skip building databases after scan -- cgit