/[smeserver]/rpms/qpsmtpd/sme9/qpsmtpd-0.96-find_karma_db_dir.patch
ViewVC logotype

Contents of /rpms/qpsmtpd/sme9/qpsmtpd-0.96-find_karma_db_dir.patch

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


Revision 1.1 - (show annotations) (download)
Sun May 8 08:15:16 2016 UTC (8 years, 5 months ago) by vip-ire
Branch: MAIN
CVS Tags: qpsmtpd-0_96-5_el6_sme, qpsmtpd-0_96-6_el6_sme, qpsmtpd-0_96-8_el6_sme, qpsmtpd-0_96-7_el6_sme, qpsmtpd-0_96-2_el6_sme, qpsmtpd-0_96-4_el6_sme, qpsmtpd-0_96-3_el6_sme, qpsmtpd-0_96-10_el6_sme, qpsmtpd-0_96-11_el6_sme, qpsmtpd-0_96-9_el6_sme, HEAD
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 0.96-2.sme
- Backport a fix for karma_tool so it can find its database [SME: 9502]

1 diff -Nur qpsmtpd-0.96/plugins/karma_tool qpsmtpd-0.96_bz9502/plugins/karma_tool
2 --- qpsmtpd-0.96/plugins/karma_tool 2016-02-16 23:52:02.000000000 +0100
3 +++ qpsmtpd-0.96_bz9502/plugins/karma_tool 2016-05-08 10:13:23.538857286 +0200
4 @@ -63,7 +63,7 @@
5 my ( $self ) = @_;
6 return $self->{db} if $self->{db};
7 $self->{db} = Qpsmtpd::DB->new( name => 'karma' );
8 - $self->{db}->dir(
9 + $self->{db}->candidate_dirs(
10 $self->{args}{db_dir},
11 qw( /var/lib/qpsmtpd/karma ./var/db ./config . ) );
12 my $path = $self->{db}->path;

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