Package: clamav-base Version: 0.97+dfsg-2 Severity: wishlist 26 MB out of clamav-base's installed size of 27 MB go into the examples directory:
$ du -sh /usr/share/doc/clamav-base/examples 26M /usr/share/doc/clamav-base/examples $ ls -lhS /usr/share/doc/clamav-base/examples total 26M -rw-r--r-- 1 root root 26M Mar 11 01:15 main.cvd -rw-r--r-- 1 root root 856K Mar 11 01:15 daily.cvd -rw-r--r-- 1 root root 14K Mar 11 00:51 clamd.conf $ file /usr/share/doc/clamav-base/examples/* /usr/share/doc/clamav-base/examples/clamd.conf: ASCII English text /usr/share/doc/clamav-base/examples/daily.cvd: Clam AntiVirus database 07 Feb 2011 01-30 -0500, version 1263, gzipped /usr/share/doc/clamav-base/examples/main.cvd: Clam AntiVirus database 14 Nov 2010 09-58 -0500, version 53, gzipped With the exception of the example configuration file, those files are probably not needed by the vast majority of the clamav users, yet all of them have to waste those 26 MB of disk space and download time when installing e.g. freshclam which has a hard dependency. Please package at least those huge but seldomly needed CVD example files separately, maybe with clamav-base or clamav-docs suggesting them. Or put them into the clamav-docs package instead. -- Package-specific info:
--- configuration --- #Automatically Generated by clamav-base postinst #To reconfigure clamd run #dpkg-reconfigure clamav-base #Please read /usr/share/doc/clamav-base/README.Debian.gz for details LocalSocket /var/run/clamav/clamd.ctl FixStaleSocket true LocalSocketGroup 20 LocalSocketMode 20 # TemporaryDirectory is not set to its default /tmp here to make overriding # the default with environment variables TMPDIR/TMP/TEMP possible User clamav AllowSupplementaryGroups true ScanMail true ScanArchive true ArchiveBlockEncrypted false MaxDirectoryRecursion 15 FollowDirectorySymlinks false FollowFileSymlinks false ReadTimeout 180 MaxThreads 12 MaxConnectionQueueLength 15 LogSyslog false LogFacility LOG_LOCAL6 LogClean false LogVerbose false PidFile /var/run/clamav/clamd.pid DatabaseDirectory /var/lib/clamav SelfCheck 3600 Foreground false Debug false ScanPE true ScanOLE2 true ScanHTML true DetectBrokenExecutables false ExitOnOOM false LeaveTemporaryFiles false AlgorithmicDetection true ScanELF true IdleTimeout 30 PhishingSignatures true PhishingScanURLs true PhishingAlwaysBlockSSLMismatch false PhishingAlwaysBlockCloak false DetectPUA false ScanPartialMessages false HeuristicScanPrecedence false StructuredDataDetection false CommandReadTimeout 5 SendBufTimeout 200 MaxQueue 100 ExtendedDetectionInfo true OLE2BlockMacros false StreamMaxLength 10M LogFile /var/log/clamav/clamav.log LogTime true LogFileUnlock false LogFileMaxSize 0 Bytecode true BytecodeSecurity TrustSigned BytecodeTimeout 60000 OfficialDatabaseOnly false CrossFilesystems true # Automatically created by the clamav-freshclam postinst # Comments will get lost when you reconfigure the clamav-freshclam package DatabaseOwner clamav UpdateLogFile /var/log/clamav/freshclam.log LogVerbose false LogSyslog false LogFacility LOG_LOCAL6 LogFileMaxSize 0 LogTime no Foreground false Debug false MaxAttempts 5 DatabaseDirectory /var/lib/clamav/ DNSDatabaseInfo current.cvd.clamav.net AllowSupplementaryGroups false PidFile /var/run/clamav/freshclam.pid ConnectTimeout 30 ReceiveTimeout 30 TestDatabases yes ScriptedUpdates yes CompressLocalDatabase no Bytecode true DatabaseMirror db.local.clamav.net DatabaseMirror database.clamav.net DatabaseMirror db.ch.clamav.net --- data dir --- total 27756 -rw-r--r-- 1 clamav clamav 460288 Mar 11 18:28 bytecode.cld -rw-r--r-- 1 clamav clamav 1686700 Mar 11 18:27 daily.cvd -rw-r--r-- 1 clamav clamav 26224310 Dec 5 20:21 main.cvd -rw------- 1 clamav clamav 676 Mar 11 18:28 mirrors.dat
-- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (990, 'unstable'), (600, 'stable'), (500, 'testing'), (400, 'oldstable'), (110, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.38-2-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages clamav-base depends on: ii adduser 3.112+nmu2 add and remove users and groups ii debconf [debconf-2.0] 1.5.38 Debian configuration management sy ii logrotate 3.7.8-6 Log rotation utility ii ucf 3.0025+nmu2 Update Configuration File: preserv Versions of packages clamav-base recommends: ii clamav 0.97+dfsg-2 anti-virus utility for Unix - comm clamav-base suggests no packages. -- debconf information: clamav-base/ScanMail: true clamav-base/AddGroups: clamav-base/Bytecode: true clamav-base/FollowDirectorySymlinks: false clamav-base/debconf: true clamav-base/BytecodeSecurity: TrustSigned clamav-base/BytecodeTimeout: 60000 clamav-base/numinfo: clamav-base/TCPAddr: any clamav-base/ReadTimeout: 180 clamav-base/TcpOrLocal: UNIX clamav-base/FollowFileSymlinks: false clamav-base/MaxThreads: 12 clamav-base/MaxDirectoryRecursion: 15 clamav-base/StreamMaxLength: 10 clamav-base/User: clamav clamav-base/TCPSocket: 3310 clamav-base/LocalSocketGroup: 20 clamav-base/LogSyslog: false clamav-base/FixStaleSocket: true clamav-base/SelfCheck: 3600 clamav-base/LocalSocketMode: 20 clamav-base/ScanArchive: true clamav-base/MaxConnectionQueueLength: 15 clamav-base/LogFile: /var/log/clamav/clamav.log clamav-base/LogTime: true clamav-base/LocalSocket: /var/run/clamav/clamd.ctl