Skip Menu |

This queue is for tickets about the Clamd CPAN distribution.

Report information
The Basics
Id: 27606
Status: new
Priority: 0/
Queue: Clamd

People
Owner: Nobody in particular
Requestors: hjp [...] hjp.at
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.04
Fixed in: (no value)



Subject: "make test" cannot start current versions of clamd
In current versions of clamd (I have tried only 0.90.3), boolean options need an explicit "true" or "false" argument. t/mkconf.pl creates a config file with the options Foreground and ScanArchive without an argument, which causes clamd to fail. The attached patch fixes the problem.
Subject: clamd-mkconf.patch
Only in Clamd-1.04: Makefile Only in Clamd-1.04: blib Only in Clamd-1.04: clamav.conf Only in Clamd-1.04: pm_to_blib diff -ur orig/Clamd-1.04/t/mkconf.pl Clamd-1.04/t/mkconf.pl --- orig/Clamd-1.04/t/mkconf.pl 2002-11-21 15:35:13.000000000 +0100 +++ Clamd-1.04/t/mkconf.pl 2007-06-17 12:24:55.000000000 +0200 @@ -8,9 +8,9 @@ print CONF <<"EOCONF"; LocalSocket $dir/clamsock -Foreground +Foreground true MaxThreads 1 -ScanArchive +ScanArchive true ArchiveMaxFileSize 1M ArchiveMaxRecursion 1 ArchiveMaxFiles 2