ports/143095: [PATCH] Change default socket of ClamAV for security/clamsmtp

Denny Lin dennylin93 at cnmc32.hs.ntnu.edu.tw
Sat Jan 23 01:20:04 UTC 2010


>Number:         143095
>Category:       ports
>Synopsis:       [PATCH] Change default socket of ClamAV for security/clamsmtp
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 23 01:20:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Denny Lin
>Release:        FreeBSD 8.0-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD cnmc32.hs.ntnu.edu.tw 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Fri Jan 8 17:48:28 CST 2010 root at cnmc32.hs.ntnu.edu.tw:/usr/obj/usr/src/sys/CNMC32 amd64


	
>Description:
Change the default socket of ClamAV to the one used by ClamAV in Ports.
	
>How-To-Repeat:
	
>Fix:

	

--- clamsmtp.patch begins here ---
--- ports/security/clamsmtp/Makefile.orig	2010-01-23 08:58:28.000000000 +0800
+++ ports/security/clamsmtp/Makefile	2010-01-23 09:05:34.000000000 +0800
@@ -54,6 +54,10 @@
 
 post-patch:
 	@${REINPLACE_CMD} -e "s,%%PTHREAD_LIBS%%,${PTHREAD_LIBS}," ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e "s,/var/run/clamav/clamd,/var/run/clamav/clamd.sock," \
+		${WRKSRC}/doc/clamsmtpd.conf \
+		${WRKSRC}/doc/clamsmtpd.conf.5 \
+		${WRKSRC}/src/clamsmtpd.c
 
 post-install:
 	@${INSTALL_DATA} ${WRKSRC}/doc/clamsmtpd.conf ${PREFIX}/etc/clamsmtpd.conf-sample
--- clamsmtp.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list