Date: Sun, 6 Dec 2009 00:04:06 +0100 (CET) From: Petr Rehor <prehor@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/141206: [patch] security/amavisd-new: Fix clamd socket name Message-ID: <200912052304.nB5N46ow005680@199.106.broadband4.iol.cz> Resent-Message-ID: <200912052310.nB5NA17l024957@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 141206 >Category: ports >Synopsis: [patch] security/amavisd-new: Fix clamd socket name >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Dec 05 23:10:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Petr Rehor >Release: FreeBSD 7.1-RELEASE-p6 i386 >Organization: >Environment: System: FreeBSD charon.rx.cz 7.1-RELEASE-p6 FreeBSD 7.1-RELEASE-p6 #0: Tue Jun 9 16:26:47 UTC 2009 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: amavisd.conf points to clamd socket /var/run/clamav/clamd but security/clamav port use /var/run/clamav/clamd.sock >How-To-Repeat: Install security/clamav and /var/run/clamav/clamd. Uncomment clamd section in amavisd.conf. Run clamd and amavisd. >Fix: --- amavisd-new.diff begins here --- --- /dev/null 2009-12-05 23:55:00.000000000 +0100 +++ files/patch-amavisd.conf 2009-12-05 23:56:32.000000000 +0100 @@ -0,0 +1,11 @@ +--- amavisd.conf.orig 2009-12-05 23:54:51.000000000 +0100 ++++ amavisd.conf 2009-12-05 23:56:07.000000000 +0100 +@@ -361,7 +361,7 @@ + + # ### http://www.clamav.net/ + # ['ClamAV-clamd', +-# \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd"], ++# \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.sock"], + # qr/\bOK$/m, qr/\bFOUND$/m, + # qr/^.*?: (?!Infected Archive)(.*) FOUND$/m ], + # # NOTE: run clamd under the same user as amavisd, or run it under its own --- amavisd-new.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912052304.nB5N46ow005680>