aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2005-12-05 08:47:16 +0800
committerobrien <obrien@FreeBSD.org>2005-12-05 08:47:16 +0800
commit19feb22e85f40be1352d2a7ce122f6f28b4d40fc (patch)
tree450bfd90f3f03acd642e53155cfb1cc0f2a5b204
parent8c16e0ac605cffe28f9bd72aa8a0f277b2af92a5 (diff)
downloadfreebsd-ports-graphics-19feb22e85f40be1352d2a7ce122f6f28b4d40fc.tar.gz
freebsd-ports-graphics-19feb22e85f40be1352d2a7ce122f6f28b4d40fc.tar.zst
freebsd-ports-graphics-19feb22e85f40be1352d2a7ce122f6f28b4d40fc.zip
Restore the -q[uiet] flag to 'sa-learn' that was lost in the 3.0.0 update.
-rw-r--r--mail/p5-Mail-SpamAssassin/files/patch-sa-learn.raw19
1 files changed, 19 insertions, 0 deletions
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 00000000000..0b2a3ae49ff
--- /dev/null
+++ b/mail/p5-Mail-SpamAssassin/files/patch-sa-learn.raw
@@ -0,0 +1,19 @@
+--- sa-learn.raw.org Tue Sep 13 19:07:32 2005
++++ sa-learn.raw Sun Dec 4 16:43:52 2005
+@@ -109,6 +109,7 @@ GetOptions(
+ 'local|L' => \$opt{'local'},
+ 'no-sync|nosync' => \$opt{'nosync'},
+ 'showdots' => \$opt{'showdots'},
++ 'quiet' => \$opt{'quiet'},
+ 'progress' => \$opt{'progress'},
+ 'use-ignores' => \$opt{'use-ignores'},
+ 'no-rebuild|norebuild' => sub { $opt{'nosync'} = 1; warn "The --no-rebuild option has been deprecated. Please use --no-sync instead.\n" },
+@@ -409,7 +410,7 @@ eval {
+ $progress->final() if ($opt{progress} && $progress);
+
+ my $phrase = defined $forget ? "Forgot" : "Learned";
+- print "$phrase tokens from $learnedcount message(s) ($messagecount message(s) examined)\n";
++ print "$phrase tokens from $learnedcount message(s) ($messagecount message(s) examined)\n" if (!$opt{quiet});
+
+ # If we needed to make a tempfile, go delete it.
+ if ( defined $tempfile ) {