From: "Toni Tiveron" on
Hi there
I just realized there is a small error in the Makefile for this port.
the default path for the sock file for clamav is /var/run/clamav/clamd.sock
furthermore the port does not inlcude the option for whom, like me, compiled
qmail w/ the qmail_queue_pathc

I've attached a small patch for those issues.
Regards,
Toni

--- /usr/ports/mail/qsheff/Makefile 2009-08-22 02:27:54.000000000 +0200
+++ /home/toni/Makefile_qsheff_pr 2010-04-05 05:03:29.000000000 +0200
@@ -35,6 +35,7 @@
CONFIGURE_ARGS+= --with-qmaildir=${QMAIL_PREFIX}

OPTIONS= CLAMAV "Integrate with Clam AntiVirus" on \
+ QUEUPATCH "Enable qmail queue patch" off \
SPAMTAG "Enable Spam Tagging" off \
VIRUSTAG "Enable Virus Tagging" off \
DISABLELOCAL "Disable Filters For Local Users" off \
@@ -49,7 +50,11 @@
RUN_DEPENDS+= ${LOCALBASE}/bin/clamdscan:${PORTSDIR}/security/clamav
BUILD_DEPENDS+=
${LOCALBASE}/bin/clamdscan:${PORTSDIR}/security/clamav
CONFIGURE_ARGS+= --with-clamav
-CONFIGURE_ARGS+= --with-clamd-socket=/var/run/clamav/clamd
+CONFIGURE_ARGS+= --with-clamd-socket=/var/run/clamav/clamd.sock
+.endif
+
+.if defined(WITH_QUEUPATCH)
+CONFIGURE_ARGS+= --enable-qq-patch
.endif

.if defined(WITH_SPAMTAG)

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"