diff options
author | Doug Barton <dougb@FreeBSD.org> | 2003-02-21 09:02:09 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2003-02-21 09:02:09 +0000 |
commit | 57b474249a2a12fa4fdd080863f5e40829fc44a2 (patch) | |
tree | 49f9b6735890093ed55e56ef58393ffbfa7d17a6 /mail/p5-Mail-SpamAssassin | |
parent | 0dd4768fc5790d7ac31dd33a46f67120e37f97f7 (diff) | |
download | ports-57b474249a2a12fa4fdd080863f5e40829fc44a2.tar.gz ports-57b474249a2a12fa4fdd080863f5e40829fc44a2.zip |
Notes
Diffstat (limited to 'mail/p5-Mail-SpamAssassin')
-rw-r--r-- | mail/p5-Mail-SpamAssassin/files/patch-use_dcc-option | 93 |
1 files changed, 0 insertions, 93 deletions
diff --git a/mail/p5-Mail-SpamAssassin/files/patch-use_dcc-option b/mail/p5-Mail-SpamAssassin/files/patch-use_dcc-option deleted file mode 100644 index e806dcd0567c..000000000000 --- a/mail/p5-Mail-SpamAssassin/files/patch-use_dcc-option +++ /dev/null @@ -1,93 +0,0 @@ -diff -ur ../Mail-SpamAssassin-2.43/lib/Mail/SpamAssassin/Conf.pm ./lib/Mail/SpamAssassin/Conf.pm ---- ../Mail-SpamAssassin-2.43/lib/Mail/SpamAssassin/Conf.pm Fri Oct 4 05:54:15 2002 -+++ ./lib/Mail/SpamAssassin/Conf.pm Thu Oct 17 22:12:05 2002 -@@ -144,6 +144,9 @@ - $self->{user_rules_to_compile} = 0; - $self->{fold_headers} = 1; - -+ # Added by FreeBSD ports -+ $self->{use_dcc} = 1; -+ - $self->{dcc_path} = undef; # Browse PATH - $self->{dcc_body_max} = 999999; - $self->{dcc_fuz1_max} = 999999; -@@ -763,6 +766,16 @@ - - if (/^rbl[-_]timeout\s+(\d+)$/) { - $self->{rbl_timeout} = $1+0; next; -+ } -+ -+=item use_dcc { 0 | 1 } (default: 1) -+ -+Should we use dccproc, or not. -+ -+=cut -+ -+ if (/^use[-_]dcc\s+(\d+)$/) { -+ $self->{use_dcc} = $1+0; next; - } - - =item ok_locales xx [ yy zz ... ] (default: all) -diff -ur ../Mail-SpamAssassin-2.43/lib/Mail/SpamAssassin/Dns.pm ./lib/Mail/SpamAssassin/Dns.pm ---- ../Mail-SpamAssassin-2.43/lib/Mail/SpamAssassin/Dns.pm Fri Oct 4 05:54:16 2002 -+++ ./lib/Mail/SpamAssassin/Dns.pm Thu Oct 17 22:12:51 2002 -@@ -449,6 +449,9 @@ - sub is_dcc_available { - my ($self) = @_; - -+ # Added by FreeBSD ports -+ return 0 unless $self->{conf}->{use_dcc}; -+ - if ($self->{main}->{local_tests_only}) { - dbg ("local tests only, ignoring DCC"); - return 0; -@@ -476,6 +479,10 @@ - - sub dcc_lookup { - my ($self, $fulltext) = @_; -+ -+ # Added by FreeBSD ports -+ return 0 unless $self->{conf}->{use_dcc}; -+ - my $response = undef; - my %count; - my $left; -diff -ur ../Mail-SpamAssassin-2.43/lib/Mail/SpamAssassin/EvalTests.pm ./lib/Mail/SpamAssassin/EvalTests.pm ---- ../Mail-SpamAssassin-2.43/lib/Mail/SpamAssassin/EvalTests.pm Fri Oct 4 05:54:16 2002 -+++ ./lib/Mail/SpamAssassin/EvalTests.pm Thu Oct 17 22:10:46 2002 -@@ -2026,6 +2026,9 @@ - sub check_dcc { - my ($self, $fulltext) = @_; - -+ # Added by FreeBSD ports -+ return 0 unless $self->{conf}->{use_dcc}; -+ - return 0 unless ($self->is_dcc_available()); - return 0 if ($self->{already_checked_dcc}); - -diff -ur ../Mail-SpamAssassin-2.43/lib/Mail/SpamAssassin/Reporter.pm ./lib/Mail/SpamAssassin/Reporter.pm ---- ../Mail-SpamAssassin-2.43/lib/Mail/SpamAssassin/Reporter.pm Mon Oct 14 09:44:35 2002 -+++ ./lib/Mail/SpamAssassin/Reporter.pm Thu Oct 17 22:13:19 2002 -@@ -238,6 +238,9 @@ - sub is_dcc_available { - my ($self) = @_; - -+ # Added by FreeBSD ports -+ return 0 unless $self->{conf}->{use_dcc}; -+ - if ($self->{main}->{local_tests_only}) { - dbg ("local tests only, ignoring DCC"); - return 0; -diff -ur ../Mail-SpamAssassin-2.43/rules/10_misc.cf ./rules/10_misc.cf ---- ../Mail-SpamAssassin-2.43/rules/10_misc.cf Thu Sep 26 03:50:25 2002 -+++ ./rules/10_misc.cf Thu Oct 17 22:10:46 2002 -@@ -107,6 +107,9 @@ - # test, so it is set to "all" so the test will not be used by default. - ok_languages all - -+# Added by FreeBSD ports -+use_dcc 0 -+ - # Some common prefs settings can be set here, to take effect site-wide - # unless the user override them. See the .prefs file for explanations. - |