Thanks so much for the patch. Considering this was sent on Dec 26, I can't understand why the distribution on the qmt website hasn't been fixed.
________________________________ From: Martin Waschbüsch IT-Dienstleistungen <serv...@waschbuesch.it> To: qmailtoaster-list@qmailtoaster.com Sent: Monday, December 26, 2011 6:40 AM Subject: Re: [qmailtoaster] Problem with Clamav-toaster on Centos6 Hi Amir, Am 26.12.2011 um 11:55 schrieb Amir Abbasi: + echo 'Patch #0 (clamav-0.9x-qmailtoaster.patch.bz2):' >Patch #0 (clamav-0.9x-qmailtoaster.patch.bz2): >+ /usr/bin/bzip2 -dc /root/rpmbuild/SOURCES/clamav-0.9x-qmailtoaster.patch.bz2 >+ /usr/bin/patch -s -p1 --fuzz=0 >1 out of 7 hunks FAILED -- saving rejects to file etc/clamd.conf.rej >error: Bad exit status from /var/tmp/rpm-tmp.nI9zZQ (%prep) > >RPM build errors: > Bad exit status from /var/tmp/rpm-tmp.nI9zZQ (%prep) > >Have you ever faced this error message? >Thank you for your assistance. The problem is that the included patch is not 100% rediffed against version 0.97.3 of clamav… e.g. some lines are off. This causes the patch utility to fail, as the allowed amount of 'fuzz' (e.g. allow patches to apply to be a couple lines off the expected place) on CentOS 6 is zero. Anyway, use the attached patch instead of the old one (replace the clamav patch file in the SOURCES folder within your rpm build directory) and try again… Martin -- Martin Waschbüsch IT-Dienstleistungen Schumacherring 29 81737 München Telefon: +49 89 57005708 Fax: +49 89 57868023 Mobil: +49 170 2189794 serv...@waschbuesch.it http://www.waschbuesch.it