aboutsummaryrefslogtreecommitdiff
path: root/security/clamsmtp
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-09-09 00:16:31 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-09-09 00:16:31 +0000
commit2c8e1ae6e962377cfdd0332e7a2e8c1c59cb97d6 (patch)
treed4fca7d7eaf275d15fbf783bdec1763f825490f5 /security/clamsmtp
parent2a45164ac77f9c70431cdd830c5a3efc68a8fa9c (diff)
downloadports-2c8e1ae6e962377cfdd0332e7a2e8c1c59cb97d6.tar.gz
ports-2c8e1ae6e962377cfdd0332e7a2e8c1c59cb97d6.zip
Notes
Diffstat (limited to 'security/clamsmtp')
-rw-r--r--security/clamsmtp/Makefile6
1 files changed, 5 insertions, 1 deletions
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