Hide Forgot
Description of problem: This bug is a proposal to modify the way clamav is packaged to split the test files into a separate RPM so that they can be installed and removed separately from the main clamav package. In particular, I've noticed that having the test files included with the clamav package resulted in several findings of "infected" files. This could make automated reporting more difficult as it would be necessary to parse the results to remove the test file results, rather than being able simply check the summary section. Note that while this is filed under EPEL6 as I am currently using this on a Scientific Linux 6 system, I have seen the same issue with EPEL5 on CentOS 5's ClamAV package, so this change is recommended for all EPEL ClamAV packages. Version-Release number of selected component (if applicable): clamav-0.97-13.el6.x86_64 How reproducible: Always Steps to Reproduce: 1. yum install clamav 2. Run a full system scan, or partial scan that includes the ClamAV doc directory. e.g.: clamscan -r /usr/share/doc/clamav-0.97/ Actual results: $ clamscan -r /usr/share/doc/clamav-0.97/ /usr/share/doc/clamav-0.97/AUTHORS: OK /usr/share/doc/clamav-0.97/BUGS: OK /usr/share/doc/clamav-0.97/phishsigs_howto.pdf: OK /usr/share/doc/clamav-0.97/FAQ: OK /usr/share/doc/clamav-0.97/ChangeLog: OK /usr/share/doc/clamav-0.97/clamdoc.pdf: OK /usr/share/doc/clamav-0.97/COPYING: OK /usr/share/doc/clamav-0.97/README: OK /usr/share/doc/clamav-0.97/freshclam.conf: OK /usr/share/doc/clamav-0.97/INSTALL: OK /usr/share/doc/clamav-0.97/test/clam.ea06.exe: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam.ea05.exe: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam_cache_emax.tgz: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam-nsis.exe: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam.exe.mbox.uu: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam-v3.rar: OK /usr/share/doc/clamav-0.97/test/clam-petite.exe: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam-upack.exe: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam.mail: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam.exe.binhex: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam.bz2.zip: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam.exe.mbox.base64: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam-fsg.exe: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam.exe.szdd: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam.exe.bz2: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/Makefile: OK /usr/share/doc/clamav-0.97/test/clam_ISmsi_int.exe: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam.impl.zip: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam.chm: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam_IScab_int.exe: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam.ole.doc: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam.exe.rtf: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam.arj: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam-wwpack.exe: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/README: OK /usr/share/doc/clamav-0.97/test/clam.pdf: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam.exe: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam-yc.exe: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam_ISmsi_ext.exe: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam-aspack.exe: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam-mew.exe: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam.newc.cpio: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam.bin-le.cpio: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam-pespin.exe: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam.cab: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam.tar.gz: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam.d64.zip: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam.bin-be.cpio: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam.tnef: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam.zip: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam.exe.html: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam.7z: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/Makefile.am: OK /usr/share/doc/clamav-0.97/test/clam-upx.exe: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam-v2.rar: OK /usr/share/doc/clamav-0.97/test/clam.odc.cpio: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam.ppt: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/.split/split.clam.bin-be.cpioaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.impl.zipaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.sisab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.bz2.zipaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.exe.mbox.uuab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam_ISmsi_ext.exeaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.pptab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.exeab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.exe.rtfaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.exe.bz2ab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam_IScab_ext.exeaa: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/.split/split.clam-v2.raraa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.bz2.zipab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.exe.binhexaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam-petite.exeab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.bin-le.cpioaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam-mew.exeaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam_ISmsi_int.exeaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.chmaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.exeaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam-fsg.exeaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam-v3.rarab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.ea06.exeaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam_ISmsi_ext.exeab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam-petite.exeaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.pdfab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.exe.szddaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.arjab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam_IScab_int.exeaa: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/.split/split.clam.chmab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam-nsis.exeaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.zipab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam-mew.exeab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.7zab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam-v2.rarab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.odc.cpioaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.newc.cpioab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam-nsis.exeab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.sisaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.ea05.exeaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.bin-be.cpioab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.exe.mbox.base64ab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam-upack.exeaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.newc.cpioaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.cabaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam-aspack.exeab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.mailab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam-v3.raraa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.pptaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.ea05.exeab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.cabab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.impl.zipab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.tar.gzab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.tar.gzaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam-upx.exeab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.exe.bz2aa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.bin-le.cpioab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam-yc.exeaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.exe.rtfab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam_cache_emax.tgzaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam-pespin.exeaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.pdfaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.7zaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam-pespin.exeab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.d64.zipaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam_IScab_int.exeab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam-upack.exeab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam-upx.exeaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.d64.zipab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam-aspack.exeaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.exe.htmlaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.exe.szddab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam-wwpack.exeab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.arjaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam_cache_emax.tgzab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam-yc.exeab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.exe.mbox.uuaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam-wwpack.exeaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.exe.htmlab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam-fsg.exeab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.zipaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.odc.cpioab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.exe.binhexab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.ea06.exeab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam_IScab_ext.exeab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.tnefab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam_ISmsi_int.exeab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.mailaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.tnefaa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.exe.mbox.base64aa: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.ole.docab: OK /usr/share/doc/clamav-0.97/test/.split/split.clam.ole.docaa: OK /usr/share/doc/clamav-0.97/test/clam.sis: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/clam_IScab_ext.exe: ClamAV-Test-File FOUND /usr/share/doc/clamav-0.97/test/Makefile.in: OK /usr/share/doc/clamav-0.97/NEWS: OK /usr/share/doc/clamav-0.97/signatures.pdf: OK /usr/share/doc/clamav-0.97/clamav-mirror-howto.pdf: OK ----------- SCAN SUMMARY ----------- Known viruses: 970280 Engine version: 0.97 Scanned directories: 3 Scanned files: 155 Infected files: 46 Data scanned: 24.01 MB Data read: 13.64 MB (ratio 1.76:1) Time: 8.822 sec (0 m 8 s) Expected results: Scan summary showing no infected files. Additional info:
Updates clamav-0.98-1.el6 and clamav-0.98-1.el5 do no longer ship any test files given the fact that these test files are not built from source code at build-time but shipped already by upstream, thus they somehow do not align with the Fedora Packaging policy (similar like the recent *.swf issue). We must be able to ship everything from source.