From 7eb8dfd4e556663552ae6c81466dcd9106354699 Mon Sep 17 00:00:00 2001 From: pgollucci Date: Thu, 9 Sep 2010 00:16:31 +0000 Subject: - Sync clamav socket with security/clamav defaults PR: ports/143095 Submitted by: Denny Lin Approved by: maintainer timeout (clsung ; 222 days) --- security/clamsmtp/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'security/clamsmtp') diff --git a/security/clamsmtp/Makefile b/security/clamsmtp/Makefile index 19a51cd9c934..71d03266e183 100644 --- a/security/clamsmtp/Makefile +++ b/security/clamsmtp/Makefile @@ -7,7 +7,7 @@ PORTNAME= clamsmtp PORTVERSION= 1.10 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= security MASTER_SITES= http://memberwebs.com/stef/software/clamsmtp/ @@ -54,6 +54,10 @@ pre-extract: 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 -- cgit