ports/141206: [patch] security/amavisd-new: Fix clamd socket name
Petr Rehor
prehor at gmail.com
Sat Dec 5 23:10:02 UTC 2009
>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 at 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:
More information about the freebsd-ports-bugs
mailing list