[Pkg-clamav-devel] Bug#578306: /usr/share/doc/clamav-base/copyright: slightly outdated

Török Edwin edwintorok at gmail.com
Sun Apr 18 19:14:12 UTC 2010


Package: clamav-base
Version: 0.96+dfsg-1
Severity: minor
Tags: patch

The debian/copyright file in the package is slightly outdated (even though it
was updated for 0.96).
All these changes didn't happen in 0.96, most of them happened in much earlier
versions.
Some files got added, moved around, and are not mentioned in debian/copyright.
One could assume they are GPLv2, when in fact they are not.

First the wrong information:
 - sha256.c moved from shared to libclamav, and is not Copyright by Niels Moller,
but by Allan Saddi. It is 2-clause BSD license, and not LGPL
 - libclamav/unzip.c is GPLv2 and Copyright (C) 2007-2008 Sourcefire, Inc.,
 instead of LGPL and Copyright Tomasz and Sensory
 - there is no code under Common Public License, remove that
 - the LZMA SDK is in public domain now, instead of CPL + exception

Next, some more files are under LGPL2.1: libltdl/*, clamd/dazukofs.[ch]

Again, some more files are 2-clause BSD licensed: textdet.c,
bcfeatures.h, bytecode_api_decl.c, bytecode_api.h, bytecode_api_impl.h,
bytecode_hooks.h.

One more 3-clause BSD licensed: libclamav/qsort.c

Public domain files:
libclamav/is_tar.c
libclamav/bignum.c, libclamav/bignum.h
libclamav/md5.c, libclamav/md5.h
libclamav/getopt.c, libclamav/getopt.h

Some under zlib license:
libclamav/inffixed64.c, inflate64.c, inflate64.h, inflate64_priv.h

Nonexistent file: snprintf.c, remove its license.

Also the debian/copyright had duplicate entries for the LGPL files (wrong
merge?).

Attached is a patch which makes all these changes.

Disclaimer: IANAL, and I don't claim the attached patch makes debian/copyright
100% accurate : the actual copyright in the source file always overrules
anything debian/copyright specifies anyway.

-- Package-specific info:
--- configuration ---
Checking configuration files in /usr/local/etc

Config file: clamd.conf
-----------------------
LogFile = "/dev/stderr"
LogFileUnlock disabled
LogFileMaxSize = "1048576"
LogTime = "yes"
LogClean disabled
LogSyslog disabled
LogFacility = "LOG_LOCAL6"
LogVerbose disabled
PidFile = "/tmp/clamd.pid"
TemporaryDirectory disabled
DatabaseDirectory = "/usr/local/share/clamav"
OfficialDatabaseOnly disabled
LocalSocket = "/tmp/clamd.socket"
LocalSocketGroup disabled
LocalSocketMode disabled
FixStaleSocket = "yes"
TCPSocket disabled
TCPAddr disabled
MaxConnectionQueueLength = "15"
StreamMaxLength = "26214400"
StreamMinPort = "1024"
StreamMaxPort = "2048"
MaxThreads = "8"
ReadTimeout = "120"
CommandReadTimeout = "5"
SendBufTimeout = "500"
MaxQueue = "100"
IdleTimeout = "30"
ExcludePath disabled
MaxDirectoryRecursion = "15"
FollowDirectorySymlinks disabled
FollowFileSymlinks disabled
CrossFilesystems = "yes"
SelfCheck = "600"
VirusEvent disabled
ExitOnOOM disabled
Foreground = "yes"
Debug disabled
LeaveTemporaryFiles disabled
User = "clamav"
AllowSupplementaryGroups disabled
Bytecode = "yes"
BytecodeSecurity = "TrustSigned"
BytecodeTimeout = "60000"
DetectPUA disabled
ExcludePUA disabled
IncludePUA disabled
AlgorithmicDetection = "yes"
ScanPE = "yes"
ScanELF = "yes"
DetectBrokenExecutables disabled
ScanMail = "yes"
ScanPartialMessages disabled
PhishingSignatures = "yes"
PhishingScanURLs = "yes"
PhishingAlwaysBlockCloak disabled
PhishingAlwaysBlockSSLMismatch disabled
HeuristicScanPrecedence disabled
StructuredDataDetection disabled
StructuredMinCreditCardCount = "3"
StructuredMinSSNCount = "3"
StructuredSSNFormatNormal = "yes"
StructuredSSNFormatStripped disabled
ScanHTML = "yes"
ScanOLE2 = "yes"
ScanPDF = "yes"
ScanArchive = "yes"
ArchiveBlockEncrypted disabled
MaxScanSize = "104857600"
MaxFileSize = "26214400"
MaxRecursion = "16"
MaxFiles = "10000"
ClamukoScanOnAccess disabled
ClamukoScannerCount = "3"
ClamukoScanOnOpen disabled
ClamukoScanOnClose disabled
ClamukoScanOnExec disabled
ClamukoIncludePath disabled
ClamukoExcludePath disabled
ClamukoMaxFileSize = "5242880"
DevACOnly disabled
DevACDepth disabled

Config file: freshclam.conf
---------------------------
LogFileMaxSize = "2097152"
LogTime = "yes"
LogSyslog disabled
LogFacility = "LOG_LOCAL6"
LogVerbose = "yes"
PidFile disabled
DatabaseDirectory = "/usr/local/share/clamav"
Foreground disabled
Debug disabled
AllowSupplementaryGroups disabled
UpdateLogFile = "/tmp/freshclam.log"
DatabaseOwner = "clamav"
Checks = "12"
DNSDatabaseInfo = "current.cvd.clamav.net"
DatabaseMirror = "db.ro.clamav.net", "database.clamav.net"
MaxAttempts = "3"
ScriptedUpdates = "yes"
CompressLocalDatabase = "yes"
ExtraDatabase disabled
HTTPProxyServer disabled
HTTPProxyPort disabled
HTTPProxyUsername disabled
HTTPProxyPassword disabled
HTTPUserAgent disabled
NotifyClamd = "/usr/local/etc/clamd.conf"
OnUpdateExecute disabled
OnErrorExecute disabled
OnOutdatedExecute disabled
LocalIPAddress disabled
ConnectTimeout = "30"
ReceiveTimeout = "30"
SubmitDetectionStats = "/usr/local/etc/clamd.conf"
DetectionStatsCountry disabled
DetectionStatsHostID = "1834CA1A60ABEAD9B92E52FC0A7A1430"
SafeBrowsing disabled
Bytecode = "yes"

Config file: clamav-milter.conf
-------------------------------
LogFile = "/tmp/clamav-milter.log"
LogFileUnlock disabled
LogFileMaxSize = "1048576"
LogTime = "yes"
LogSyslog disabled
LogFacility = "LOG_LOCAL6"
LogVerbose = "yes"
PidFile disabled
TemporaryDirectory disabled
FixStaleSocket = "yes"
MaxThreads = "10"
ReadTimeout = "120"
Foreground disabled
User disabled
AllowSupplementaryGroups disabled
MaxFileSize = "26214400"
ClamdSocket = "tcp:127.0.0.1:3310"
MilterSocket = "local:/var/spool/postfix/clamav/clamav-milter.socket"
MilterSocketGroup disabled
MilterSocketMode disabled
LocalNet disabled
OnClean = "Accept"
OnInfected = "Quarantine"
OnFail = "Defer"
RejectMsg disabled
AddHeader = "Yes"
ReportHostname disabled
Chroot disabled
Whitelist disabled
SkipAuthenticated disabled
LogInfected = "Full"

Software settings
-----------------
Version: 0.96
Optional features supported: MEMPOOL IPv6 CLAMUKO AUTOIT_EA06 BZIP2 RAR JIT
Database directory: /usr/local/share/clamav
main.cvd: version 52, sigs: 704727, built on Mon Feb 15 16:54:51 2010
daily.cld: version 10756, sigs: 52433, built on Sun Apr 18 06:07:27 2010

--- data dir ---
total 58460
-rw-r--r-- 1 clamav clamav  3185664 Apr 18 09:54 daily.cld
-rw-r--r-- 1 clamav clamav 56671744 Apr 15 11:22 main.cld
-rw------- 1 clamav clamav      364 Apr 18 21:56 mirrors.dat

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.34-rc3-00138-gecb385a (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages clamav-base depends on:
ii  adduser                       3.112      add and remove users and groups
ii  debconf [debconf-2.0]         1.5.32     Debian configuration management sy
ii  logrotate                     3.7.8-6    Log rotation utility
ii  ucf                           3.0025     Update Configuration File: preserv

Versions of packages clamav-base recommends:
ii  clamav                       0.96+dfsg-1 anti-virus utility for Unix - comm

clamav-base suggests no packages.

-- debconf information excluded
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: text/x-diff
Size: 38440 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-clamav-devel/attachments/20100418/9dbde36b/attachment-0001.diff>


More information about the Pkg-clamav-devel mailing list