aboutsummaryrefslogtreecommitdiffstats
path: root/mail/p5-Mail-SpamAssassin
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2004-06-11 08:08:09 +0800
committerobrien <obrien@FreeBSD.org>2004-06-11 08:08:09 +0800
commite37de56cdb1fbb6035c52e354c8c50dd0aad15dd (patch)
tree2ac93a5d32398b0149d63e60d9240bc6b32aa38e /mail/p5-Mail-SpamAssassin
parent1158fac2e3007d8d2e158018eaa54769c1c0024a (diff)
downloadfreebsd-ports-gnome-e37de56cdb1fbb6035c52e354c8c50dd0aad15dd.tar.gz
freebsd-ports-gnome-e37de56cdb1fbb6035c52e354c8c50dd0aad15dd.tar.zst
freebsd-ports-gnome-e37de56cdb1fbb6035c52e354c8c50dd0aad15dd.zip
Add a -q[uiet] flag to 'sa-learn', stopping verbosity on stdout.
Diffstat (limited to 'mail/p5-Mail-SpamAssassin')
-rw-r--r--mail/p5-Mail-SpamAssassin/files/patch-CmdLearn.pm11
-rw-r--r--mail/p5-Mail-SpamAssassin/files/patch-sa-learn.raw6
2 files changed, 17 insertions, 0 deletions
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