+clamav-cn (3:0.92.1-1) stable; urgency=high
+
+ * Ovisnost o najnovijoj verziji koja ispravlja nekoliko sigurnosnih
+ propusta:
+ - [2007-6595]: libclamav/others.c: symlink vulnerability
+ cli_gentempfd now calls open with O_EXCL (closes: #458532)
+ - [CVE-2008-0318]: libclamav/pe.c: possible integer overflow
+ - libclamav/mew.c: possible heap corruption
+
+ -- Ivan Rako <Ivan.Rako@CARNet.hr> Thu, 21 Feb 2008 19:32:05 +0100
+
clamav-cn (3:0.90.1-1) stable; urgency=medium
* izdanje paketa za Etch
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)
+Pre-Depends: clamav-daemon (>= 0.92.1~dfsg-1volatile1), clamav-freshclam (>= 0.92.1~dfsg-1volatile1), clamav (>= 0.92.1~dfsg-1volatile1)
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
[ "$DEBIAN_SCRIPT_DEBUG" ] && set -vx
# Load CARNet functions
-#. /usr/share/carnet-tools/functions.sh
+. /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
# restart="yes"
#fi
+cp_check_and_sed "^AllowSupplementaryGroups false" \
+ "s/AllowSupplementaryGroups false/AllowSupplementaryGroups true/g" \
+ /etc/clamav/clamd.conf && restart="yes" || true
+
+if ! grep -q ^AllowSupplementaryGroups /etc/clamav/clamd.conf; then
+ echo "AllowSupplementaryGroups true" >> /etc/clamav/clamd.conf
+ reload="yes"
+fi
+
chown -R clamav:clamav /var/run/clamav /var/lib/clamav /var/log/clamav
# dodaj korisnika clamav u grupu amavis (ako postoji...)