aboutsummaryrefslogtreecommitdiffstats
path: root/security/clamsmtp
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-09-09 08:16:31 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-09-09 08:16:31 +0800
commit7eb8dfd4e556663552ae6c81466dcd9106354699 (patch)
tree728b5bba662d552f48e23eec675d117d476c7980 /security/clamsmtp
parentba5148ec289b223fb19775d108d5929605b6879b (diff)
downloadfreebsd-ports-gnome-7eb8dfd4e556663552ae6c81466dcd9106354699.tar.gz
freebsd-ports-gnome-7eb8dfd4e556663552ae6c81466dcd9106354699.tar.zst
freebsd-ports-gnome-7eb8dfd4e556663552ae6c81466dcd9106354699.zip
- Sync clamav socket with security/clamav defaults
PR: ports/143095 Submitted by: Denny Lin <dennylin93@cnmc32.hs.ntnu.edu.tw> Approved by: maintainer timeout (clsung ; 222 days)
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