From reho@rx.cz  Sat Dec  5 23:04:09 2009
Return-Path: <reho@rx.cz>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id D6B5A106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  5 Dec 2009 23:04:09 +0000 (UTC)
	(envelope-from reho@rx.cz)
Received: from r5.wx.cz (a5.aa-tc01-kd.solar.cz [77.78.85.179])
	by mx1.freebsd.org (Postfix) with ESMTP id 5B46E8FC0A
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  5 Dec 2009 23:04:08 +0000 (UTC)
Received: from 199.106.broadband4.iol.cz (199.106.broadband4.iol.cz [85.71.106.199])
	by r5.wx.cz (8.14.3/8.14.3) with ESMTP id nB5N46G0075017
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT)
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 6 Dec 2009 00:04:07 +0100 (CET)
	(envelope-from reho@rx.cz)
Received: from 199.106.broadband4.iol.cz (localhost [127.0.0.1])
	by 199.106.broadband4.iol.cz (8.14.3/8.14.3) with ESMTP id nB5N46cs005681
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 6 Dec 2009 00:04:06 +0100 (CET)
	(envelope-from reho@199.106.broadband4.iol.cz)
Received: (from root@localhost)
	by 199.106.broadband4.iol.cz (8.14.3/8.14.3/Submit) id nB5N46ow005680;
	Sun, 6 Dec 2009 00:04:06 +0100 (CET)
	(envelope-from reho)
Message-Id: <200912052304.nB5N46ow005680@199.106.broadband4.iol.cz>
Date: Sun, 6 Dec 2009 00:04:06 +0100 (CET)
From: Petr Rehor <prehor@gmail.com>
Reply-To: Petr Rehor <prehor@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] security/amavisd-new: Fix clamd socket name
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         141206
>Category:       ports
>Synopsis:       [patch] security/amavisd-new: Fix clamd socket name
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gabor
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 05 23:10:01 UTC 2009
>Closed-Date:    Mon Dec 21 22:45:05 UTC 2009
>Last-Modified:  Mon Dec 21 22:50:05 UTC 2009
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->gabor 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Dec 5 23:10:13 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=141206 
State-Changed-From-To: open->closed 
State-Changed-By: gabor 
State-Changed-When: Mon Dec 21 22:44:36 UTC 2009 
State-Changed-Why:  
I've committed a similar fix for this issue. Thanks for your submission! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=141206 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/141206: commit references a PR
Date: Mon, 21 Dec 2009 22:44:27 +0000 (UTC)

 gabor       2009-12-21 22:44:13 UTC
 
   FreeBSD ports repository
 
   Modified files:
     security/amavisd-new Makefile 
   Log:
   - Match default Clamav socket to the Clamav port's default [1]
   - Change $localhost_name to real hostname instead of 'localhost' [2]
   - Bump PORTREVISION
   
   PR:             ports/141206 [1]
   Submitted by:   Petr Rehor <prehor@gmail.com> [1]
   Requested by:   delphij [2]
   
   Revision  Changes    Path
   1.75      +5 -1      ports/security/amavisd-new/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
