/[smeserver]/rpms/spamassassin/sme10/spamassassin-4.0.1-add-logfile-homedir-options.patch
ViewVC logotype

Annotation of /rpms/spamassassin/sme10/spamassassin-4.0.1-add-logfile-homedir-options.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Mon Apr 1 11:42:47 2024 UTC (7 months ago) by jcrisp
Branch: MAIN
CVS Tags: spamassassin-4_0_1-2_el7_sme, spamassassin-4_0_1-1_el7_sme, spamassassin-4_0_1-3_el7_sme, spamassassin-4_0_1-5_el7_sme, HEAD
Update to spamassassin 4.0.1 with updated patches

1 jcrisp 1.1 diff -ruN Mail-SpamAssassin-4.0.1.orig/lib/Mail/SpamAssassin/Plugin/Razor2.pm Mail-SpamAssassin-4.0.1/lib/Mail/SpamAssassin/Plugin/Razor2.pm
2     --- Mail-SpamAssassin-4.0.1.orig/lib/Mail/SpamAssassin/Plugin/Razor2.pm 2024-04-01 11:43:32.612026290 +0100
3     +++ Mail-SpamAssassin-4.0.1/lib/Mail/SpamAssassin/Plugin/Razor2.pm 2024-04-01 11:48:30.511707190 +0100
4     @@ -212,7 +212,9 @@
5     $rc->{opt} = {
6     debug => (would_log('dbg', $debug) > 1),
7     foreground => 1,
8     - config => $self->{main}->{conf}->{razor_config}
9     + config => $self->{main}->{conf}->{razor_config},
10     + logfile => $self->{main}->{razor_log_file},
11     + razorhome => $self->{main}->{razor_home_dir}
12     };
13     # no facility prefix on this die
14     $rc->do_conf() or die "$debug: " . $rc->errstr;
15     diff -ruN Mail-SpamAssassin-4.0.1.orig/spamd/spamd.raw Mail-SpamAssassin-4.0.1/spamd/spamd.raw
16     --- Mail-SpamAssassin-4.0.1.orig/spamd/spamd.raw 2024-04-01 11:43:32.593026119 +0100
17     +++ Mail-SpamAssassin-4.0.1/spamd/spamd.raw 2024-04-01 11:49:56.871484371 +0100
18     @@ -378,6 +378,8 @@
19     # Parse the command line
20     Getopt::Long::Configure("bundling");
21     GetOptions(
22     + 'razor-home-dir=s' => \$opt{'razor_home_dir'},
23     + 'razor-log-file=s' => \$opt{'razor_log_file'},
24     'allow-tell' => \$opt{'tell'},
25     'allowed-ips|A=s' => \@{ $opt{'allowed-ip'} },
26     'configpath|C=s' => \$opt{'configpath'},
27     @@ -1195,6 +1197,8 @@
28    
29     my $spamtest = Mail::SpamAssassin->new(
30     {
31     + razor_home_dir => $opt{'razor_home_dir'},
32     + razor_log_file => $opt{'razor_log_file'},
33     dont_copy_prefs => $dontcopy,
34     rules_filename => ( $opt{'configpath'} || 0 ),
35     site_rules_filename => ( $opt{'siteconfigpath'} || 0 ),

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed