Index: head/security/clamsmtp/Makefile =================================================================== --- head/security/clamsmtp/Makefile (revision 451342) +++ head/security/clamsmtp/Makefile (revision 451343) @@ -1,49 +1,52 @@ # Created by: Cheng-Lung Sung # $FreeBSD$ PORTNAME= clamsmtp PORTVERSION= 1.10 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= security MASTER_SITES= http://thewalter.net/stef/software/clamsmtp/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= yasu@utahime.org COMMENT= ClamAV anti-virus SMTP Filter + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes USES= gmake USE_RC_SUBR= clamsmtpd SUB_LIST= CLAMAV_PID_DIR=${CLAMAV_PID_DIR} SUB_FILES= pkg-message CLAMAV_PID_DIR?=/var/run/clamav PORTDOCS= README PORTEXAMPLES= * OPTIONS_DEFINE= DOCS LOCAL_CLAMAV EXAMPLES OPTIONS_DEFAULT= LOCAL_CLAMAV LOCAL_CLAMAV_DESC= RUN_DEPEND on security/clamav LOCAL_CLAMAV_RUN_DEPENDS= clamav>=0:security/clamav LOCAL_CLAMAV_SUB_LIST= CLAMD=clamd LOCAL_CLAMAV_SUB_LIST_OFF= CLAMD= post-patch: @${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 ${STAGEDIR}${PREFIX}/etc/clamsmtpd.conf.sample post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_SCRIPT} ${WRKSRC}/scripts/virus_action.sh ${STAGEDIR}${EXAMPLESDIR} .include Index: head/security/clamsmtp/files/patch-configure =================================================================== --- head/security/clamsmtp/files/patch-configure (revision 451342) +++ head/security/clamsmtp/files/patch-configure (revision 451343) @@ -1,11 +1,11 @@ ---- configure.orig Fri Apr 15 07:18:10 2005 -+++ configure Wed Apr 20 15:45:54 2005 -@@ -3156,7 +3156,7 @@ +--- configure.orig 2008-06-30 17:03:01 UTC ++++ configure +@@ -3643,7 +3643,7 @@ fi # which indicates that we try without any flags at all, and "pthread-config" # which is a program returning the flags for the Pth emulation library. -acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config" +acx_pthread_flags="pthreads none -Kthread -kthread -lpthread -pthread -mt pthread-config" # The ordering *is* (sometimes) important. Some notes on the # individual items follow: Index: head/security/clamsmtp/pkg-plist =================================================================== --- head/security/clamsmtp/pkg-plist (revision 451342) +++ head/security/clamsmtp/pkg-plist (revision 451343) @@ -1,5 +1,4 @@ -@unexec [ ! -f %%CLAMAV_PID_DIR%%/clamsmtpd.pid ] || %%PREFIX%%/etc/rc.d/clamsmtpd.sh stop || true -etc/clamsmtpd.conf.sample +@sample etc/clamsmtpd.conf.sample man/man5/clamsmtpd.conf.5.gz man/man8/clamsmtpd.8.gz sbin/clamsmtpd