# HG changeset patch # User Paul Issott # Date 1275161709 0 # Node ID bef996a0bab2c4743fc6e4451b48923c77c95edb # Parent 6bd67d9f31efb0d3fe314c255d9b998bd563f779 Up: clamav (0.96.1) diff -r 6bd67d9f31ef -r bef996a0bab2 clamav/receipt --- a/clamav/receipt Sat May 29 19:32:53 2010 +0000 +++ b/clamav/receipt Sat May 29 19:35:09 2010 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="clamav" -VERSION="0.96" +VERSION="0.96.1" CATEGORY="security" SHORT_DESC="Antivirus." MAINTAINER="paul@slitaz.org" @@ -51,15 +51,19 @@ # Enable freshclam update echo -n "Enabling freshclam update..." cd $1/etc/clamav - sed 's/^Example/#Example/' < freshclam.conf > temp.file - mv temp.file freshclam.conf + sed -i 's/^Example/#Example/' freshclam.conf status # Enable clamd configuration echo -n "Enabling clamd daemon..." cd $1/etc/clamav - sed 's/^Example/#Example/; s/^#PidFile/PidFile/' < clamd.conf > temp.file - mv temp.file clamd.conf + sed -i 's/^Example/#Example/; s/^#PidFile/PidFile/' clamd.conf + status + + # Enable local socket + echo -n "Enabling local socket..." + cd $1/etc/clamav + sed -i 's/^#LocalSocket /LocalSocket /' clamd.conf status # adduser clamav if needed