From: Grupa za izradu paketa Date: Tue, 18 Sep 2007 14:30:59 +0000 (+0000) Subject: r1: [svn-inject] Installing original source of clamav-cn X-Git-Tag: debian/0.97-1~31 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=clamav-cn.git;a=commitdiff_plain;h=a64c1751113dc6bdeb38820c0831241e20a50520 r1: [svn-inject] Installing original source of clamav-cn --- a64c1751113dc6bdeb38820c0831241e20a50520 diff --git a/README.CARNet b/README.CARNet new file mode 100644 index 0000000..cb1d1c0 --- /dev/null +++ b/README.CARNet @@ -0,0 +1,7 @@ +Zabiljeske CARNetovog paketa 'clamav-cn' +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Ovaj paket je 'CARNetizirao' Zeljko Boros + +Zeljko Boros Tue, 24 Feb 2004 19:11:23 +0100 + diff --git a/changelog.CARNet b/changelog.CARNet new file mode 100644 index 0000000..db5f30e --- /dev/null +++ b/changelog.CARNet @@ -0,0 +1,271 @@ +clamav-cn (3:0.90.1-1) carnet-etch; urgency=medium + + * izdanje paketa za Etch + * prva verzija sa source paketom + + -- Ivan Rako Tue, 18 Sep 2007 16:28:42 +0200 + +clamav-cn (2:0.91.1-1) carnet-sarge; urgency=high + + * Ovisnost o novoj upstream verziji: + - ispravlja CVE-2007-3725 (DoS in unrarvm.c). + * Obnovljen predlozak clamd.conf datoteke, takodjer forsirana i + zamjena freshclam.conf jer Debianov paket iskljuci NotifyClamd. + + -- Zoran Dzelajlija Fri, 27 Jul 2007 14:29:02 +0200 + +clamav-cn (2:0.90.3-3) carnet-sarge; urgency=medium + + * Ispravljena opcija AllowSupplementaryGroups + + -- Ivan Rako Tue, 3 Jul 2007 13:15:02 +0200 + +clamav-cn (2:0.90.3-2) carnet-sarge; urgency=medium + + * Ispravljena opcija NotifyClamd + + -- Ivan Rako Fri, 15 Jun 2007 00:52:13 +0200 + +clamav-cn (2:0.90.3-1) carnet-sarge; urgency=high + + * Nova upstream verzija + * Sigurnosne ispravke + + -- Ivan Rako Sun, 10 Jun 2007 12:52:26 +0200 + +clamav-cn (2:0.90.2-1) carnet-sarge; urgency=high + + * Nova upstream verzija + * Majorne izmjene + + -- Ivan 'ico' Rako Tue, 17 Apr 2007 18:17:04 +0200 + +clamav-cn (2:0.88.7-1) carnet-sarge; urgency=medium + + * Nova upstream verzija, razne ispravke: + - libclamav/message.c: handle consecutive errors in base64 decoding + - libclamav/mbox.c: honour recursion limit when scanning email messages + - clamscan: new option --mail-max-recursion + - clamd/clamav-milter: new option MailMaxRecursion + - libclamav/untar.c: honour archive limits + + -- Ivan Rako Fri, 15 Dec 2006 23:56:40 +0100 + +clamav-cn (2:0.88.6-1) carnet-sarge; urgency=medium + + * Nova upstream verzija, razne ispravke: + - freshclam: apply timeout patch from Everton da Silva Marques + (new options: ConnectTimeout and + ReceiveTimeout) + - clamd: change stack size at the right place (closes bug#103) + Patch from Jonathan Chen + - libclamav/petite.c: sanity check the number of rebuilt sections (speeds + up handling of malformed files) + + -- Ivan Rako Sun, 26 Nov 2006 21:24:12 +0100 + +clamav-cn (2:0.88.5-1) sarge; urgency=high + + * Nova upstream verzija, sigurnosne ispravke: + - libclamav/rebuildpe.c: fix possible heap overflow [IDEF1597] + - libclamav/chmunpack.c: fix possible crash [IDEF1736] + + -- Ivan 'ico' Rako Thu, 19 Oct 2006 13:03:56 +0200 + +clamav-cn (2:0.88.4-1) sarge; urgency=high + + * Nova upstream verzija, sigurnosna ispravka: + - libclamav/upx.c: fix possible heap overflow + See http://www.clamav.net/security/0.88.4.html for details. + + -- Zoran Dzelajlija Mon, 14 Aug 2006 10:50:39 +0200 + +clamav-cn (2:0.88.3-1) sarge; urgency=high + + * Nova upstream verzija + * Bugfixes: + - libclamav/matcher-ac.c: fix possible false matches of alternatives + Problem reported by Nicolas Riendeau + - libclamav: Large binhex files were not being handled gracefully. Tidied + the handling code. Note that large binhex are not currently decoded. + Bug reported by Luca + - libclamav/scanners.c: fix zero allocation warning reported by Sergey + Svishchev + + -- Ivan 'ico' Rako Thu, 20 Jul 2006 22:46:35 +0200 + +clamav-cn (2:0.88.2-1) sarge; urgency=high + + * Nova upstream verzija (kompajlirano iz source paketa sa + volatile repozitorija) + * Bugfixes: + - freshclam/manager.c: fix possible buffer overflow + Reported by Ulf Harnhammar and Peter + See http://www.clamav.net/security/0.88.2.html for details. + - libclamav/zziplib/zzip-zip.c: add missing #include "others.h" + Patch by Alex Deiter + - fix other implicit function declarations + Thanks to Paul Fisher , Ludwig Nussel + and Stephen Gran + - shared/cfgparser.c: don't use CL_FULLSTR for file directives + Requested by Tomasz Papszun and others + - libclamav/mbox.c: fix compilation error on CYGWIN + - clamav-milter: Ensure that the quarantine location reported in + notifications is correct. + Patch by Simon Munton + * Ispravlja sigurnosni propust: CVE-2006-1989 + + -- Ivan 'ico' Rako Thu, 6 Apr 2006 08:04:48 +0200 + +clamav-cn (2:0.88.1-1) sarge; urgency=high + + * Nova upstream verzija (kompajlirano iz source paketa sa + volatile repozitorija) + * Ispravke pogresaka: + - libclamav/matcher.c: properly handle partial reads in cli_scandesc() + - libclamav/mbox.c: sync with CVS, fixes detection of Worm.Bagle.CT + - freshclam: fix support for LocalIPAddress + Patch by Anton Yuzhaninov + - docs/man: multiple manpage typo fixes + Patch by A. Costa ) + - shared/output.c: properly handle return value of vsnprintf + Thanks to Anton Yuzhaninov + - libclamav/htmlnorm.c: fix typo spotted by Gianluigi Tiesi + + - sigtool/sigtool.c: fix possible crash in build(), thanks to Sven + - clamd/session.c: remove static timeout (5s) for SESSION + Pointed out by Joseph Benden + - libclamav/pe.c: fix possible integer overflow reported by Damian Put + Note: only exploitable if file size limit (ArchiveMaxFileSize) disabled + - libclamav/scanners.c: properly report archive unpacking errors + Problem spotted by David F. Skoll + - libclamav/others.c: fix possible crash in cli_bitset_test() + Reported by David Luyer + - libclamav/zziplib: fix possible crash on FreeBSD + Reported by Robert Rebbun + - clamav-milter: fall back if sendfile() fails + * Ispravlja sigurnosne propuste: CVE-2006-1614, CVE-2006-1615, + CVE-2006-1630 + + -- Ivan 'ico' Rako Thu, 6 Apr 2006 08:04:48 +0200 + +clamav-cn (2:0.88-1) sarge; urgency=high + + * Nova upstream verzija (kompajlirano iz source paketa sa volatile + repozitorija) + * Bugfiksevi + * Ispravlja sigurnosni propust CVE-2006-0162 + + -- Ivan 'ico' Rako Thu, 12 Jan 2006 18:51:11 +0100 + +clamav-cn (2:0.87.1-1) sarge; urgency=high + + * Nova upstream verzija (kompajlirano iz source paketa sa volatile + repozitorija) + * Bugfiksevi + * Ispravlja sigurnosne nedostatke: CVE-2005-3239, CVE-2005-3303, + CVE-2005-3500 i CVE-2005-3501 + + -- Ivan 'ico' Rako Sun, 6 Nov 2005 17:23:18 +0100 + +clamav-cn (2:0.87-0) sarge; urgency=high + + * Nova upstream verzija (kompajlirano iz source paketa sa volatile + repozitorija) + * Ispravke sigurnosnih bugova prilikom hendlanja UPX i FSG kompresiranih + izvrsnih datoteka (CAN-2005-2920 i CAN-2005-2919) + + -- Ivan 'ico' Rako Mon, 19 Sep 2005 15:19:58 +0200 + +clamav-cn (2:0.86.2-1) sarge; urgency=high + + * nova upstream verzija + * ovisnost o novoj verziji koja ispravlja sigurnosni nedostatak + opisan na + + -- Ivan 'ico' Rako Fri, 29 Jul 2005 11:34:53 +0200 + +clamav-cn (2:0.86.1-1.1) sarge; urgency=high + + * dodana ovisnost o paketu clamav + + -- Ivan 'ico' Rako Thu, 14 Jul 2005 22:34:52 +0200 + +clamav-cn (2:0.86.1-1) sarge; urgency=high + + * nova upstream verzija + * ovisnost o novoj verziji koja ispravlja vise sigurnosnih problema + (CAN-2005-1922, CAN-2005-1923, CAN-2005-2056, CAN-2005-2070 i DSA 737-1) + + -- Ivan 'ico' Rako Wed, 6 Jul 2005 14:41:06 +0200 + +clamav-cn (2:0.85.1-2) sarge; urgency=medium + + * nova upstream verzija + * kozmetika postinsta + * restarta clamav-{daemon,freshclam} samo ako je potrebno + + -- Ivan 'ico' Rako Thu, 19 May 2005 14:51:41 +0200 + +clamav-cn (2:0.83-3.1) testing; urgency=low + + * backup_conffile -> cp_backup_conffile + + -- Ivan 'ico' Rako Tue, 29 Mar 2005 09:40:02 +0200 + +clamav-cn (2:0.83-3) testing; urgency=low + + * postinst koristi funkcije iz novog carnet-tools-cn paketa + + -- Ivan 'ico' Rako Thu, 17 Mar 2005 15:53:34 +0100 + +clamav-cn (2:0.81-2) testing; urgency=low + + * nova upstream verzija + + -- Ivan 'ico' Rako Fri, 28 Jan 2005 15:36:02 +0100 + +clamav-cn (2:0.80-2) testing; urgency=high + + * popravlja /etc/logrotate.d/clamav-daemon i + /etc/logrotate.d/clamav-freshclam (T# 2005010813000012) + * kozmetika postinsta + + -- Ivan 'ico' Rako Sun, 9 Jan 2005 13:08:12 +0100 + +clamav-cn (2:0.80-1) testing; urgency=high + + * /etc/clamav/clamav.conf -> /etc/clamav/clamd.conf + * kozmetika postinsta + * nova majorna verzija + + -- Ivan 'ico' Rako Mon, 8 Nov 2004 14:28:05 +0100 + +clamav-cn (2:0.75.1-1) testing; urgency=high + + * Ispravljen bug u /etc/clamav/freshclam.conf (OTRS #2004090810000014) + * Vracen User clamav i DatabaseOwner clamav + * Maknuto divertanje konfiguracijske datoteke + + -- Ivan 'ico' Rako Mon, 20 Sep 2004 08:59:22 +0200 + +clamav-cn (2:0.70-2) testing; urgency=high + + * Inacica paketa koja ispravlja sigurnosni nedostatak Bugtraq ID: 9897 + ("Udaljeno uskracivanje resursa preko RAR arhiva") + * Konflikta s verzijama iz woody distribucije + + -- Zeljko Boros Tue, 30 Mar 2004 13:07:16 +0200 + +clamav-cn (2:0.70-1) testing; urgency=low + + * Dodano redirektiranje konfiguracije Debian na CARNetovu konfiguraciju + * Pokretanje clamav-freshclam daemona ako nije pokrenut + + -- Zeljko Boros Mon, 29 Mar 2004 09:46:04 +0200 + +clamav-cn (0.67-2) unstable; urgency=low + + * Nova inacica paketa + + -- Zeljko Boros Tue, 24 Feb 2004 19:10:06 +0100 diff --git a/debian/changelog b/debian/changelog new file mode 120000 index 0000000..dbf0845 --- /dev/null +++ b/debian/changelog @@ -0,0 +1 @@ +../changelog.CARNet \ No newline at end of file diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +4 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..506cef5 --- /dev/null +++ b/debian/control @@ -0,0 +1,19 @@ +Source: clamav-cn +Section: net +Priority: optional +Maintainer: Ivan Rako +Build-Depends: debhelper (>= 4.0.0) +Standards-Version: 3.6.1 + +Package: clamav-cn +Architecture: all +Depends: carnet-tools-cn (>= 2.3) +Pre-Depends: clamav-daemon (>= 0.90.1), clamav-freshclam (>= 0.90.1), clamav (>= 0.90.1) +Conflicts: amavisd-cn (<< 2:20030616p5-0) +Description: antivirus scanner for Unix + Clam AntiVirus is an anti-virus toolkit for Unix. The main purpose of this + software is the integration with mail servers (attachment scanning). The + package provides a flexible and scalable multi-threaded daemon in the + clamav-daemon package, a commandline scanner in the clamav package, and a tool + for automatic updating via Internet through the clamav-freshclam package. The + programs are based on libclamav2, which you can use in your own software. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..d92e2d1 --- /dev/null +++ b/debian/docs @@ -0,0 +1,2 @@ +README.CARNet +changelog.CARNet diff --git a/debian/postinst b/debian/postinst new file mode 100755 index 0000000..22416db --- /dev/null +++ b/debian/postinst @@ -0,0 +1,41 @@ +#!/bin/sh + +set -e + +[ "$1" = "configure" ] || exit 0 + +# Load CARNet functions +#. /usr/share/carnet-tools/functions.sh + +#if dpkg --compare-versions "$2" lt 2:0.91.1-1 ; then +# cp_backup_conffile /etc/clamav/clamd.conf +# rm -f /etc/clamav/clamd.conf +# cp -a /usr/share/doc/clamav-cn/examples/clamd.conf /etc/clamav/clamd.conf +# restart="yes" +#fi +# +#if dpkg --compare-versions "$2" lt 2:0.91.1-1 ; then +# cp_backup_conffile /etc/clamav/freshclam.conf +# rm -f /etc/clamav/freshclam.conf +# cp -a /usr/share/doc/clamav-cn/examples/freshclam.conf /etc/clamav/freshclam.conf +# restart="yes" +#fi + +chown -R clamav:clamav /var/run/clamav /var/lib/clamav /var/log/clamav + +# dodaj korisnika clamav u grupu amavis (ako postoji...) +getent group amavis > /dev/null && usermod -G amavis clamav && restart="yes" + +# restart if needed +[ "$restart" = "yes" ] || exit 0 +if [ -x /usr/sbin/invoke-rc.d ]; then + [ -x /etc/init.d/clamav-daemon ] && invoke-rc.d clamav-daemon restart +else + [ -x /etc/init.d/clamav-daemon ] && /etc/init.d/clamav-daemon restart +fi + +if [ -x /usr/sbin/invoke-rc.d ]; then + [ -x /etc/init.d/clamav-freshclam ] && invoke-rc.d clamav-freshclam restart +else + [ -x /etc/init.d/clamav-freshclam ] && /etc/init.d/clamav-freshclam restart +fi diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..4e45865 --- /dev/null +++ b/debian/rules @@ -0,0 +1,86 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + # $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + # -$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/clamav-cn. + # $(MAKE) install DESTDIR=$(CURDIR)/debian/clamav-cn + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot +# dh_installchangelogs -k + dh_installdocs +# dh_installexamples + dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman +# dh_link +# dh_strip +# dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb +# dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure