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

Annotation of /rpms/qpsmtpd/sme10/qpsmtpd-0.96-find_karma_db_dir.patch

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


Revision 1.1 - (hide annotations) (download)
Sun May 8 08:19:33 2016 UTC (8 years, 6 months ago) by vip-ire
Branch: MAIN
CVS Tags: qpsmtpd-0_96-21_el7_sme, qpsmtpd-0_96-19_el7_sme, qpsmtpd-0_96-23_el7_sme, qpsmtpd-0_96-10_el7_sme, qpsmtpd-0_96-20_el7_sme, qpsmtpd-0_96-12_el7_sme, qpsmtpd-0_96-22_el7_sme, qpsmtpd-0_96-14_el7_sme, qpsmtpd-0_96-11_el7_sme, qpsmtpd-0_96-16_el7_sme, qpsmtpd-0_96-13_el7_sme, qpsmtpd-0_96-15_el7_sme, qpsmtpd-0_96-17_el7_sme, qpsmtpd-0_96-9_el7_sme, qpsmtpd-0_96-18_el7_sme, HEAD
* Sun May 8 2016 Daniel Berteaud <daniel@firewall-services.com> 0.96-9.sme
- Backport a fix for karma_tool so it can find its database [SME: 9462]

1 vip-ire 1.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