ports/98709: [PATCH] mail/dspam - ClamAV not supported when WITHOUT_CLAMAV_LOCAL is used
Artis Caune
Artis.Caune at latnet.lv
Thu Jun 8 17:12:23 UTC 2006
>Number: 98709
>Category: ports
>Synopsis: [PATCH] mail/dspam - ClamAV not supported when WITHOUT_CLAMAV_LOCAL is used
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Jun 08 15:30:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Artis Caune
>Release: 6.1
>Organization:
>Environment:
>Description:
When building dspam with:
"WITH_CLAMAV=true" and
"WITHOUT_CLAMAV_LOCAL=true" (run depend),
ClamAV support is not compiled in.
checking whether to enable clamav... no
>How-To-Repeat:
>Fix:
*** Makefile.orig Thu Jun 8 11:33:56 2006
--- Makefile Thu Jun 8 14:59:11 2006
***************
*** 179,196 ****
_SED_SCRIPT+= -e '/%%DAEMON%%/D'
.endif
! .ifndef(WITHOUT_CLAMAV) && !defined(WITHOUT_CLAMAV_LOCAL)
CONFIGURE_ARGS+= --enable-clamav
RUN_DEPENDS+= clamav>=0:${PORTSDIR}/security/clamav
SUB_LIST+= CLAMD=clamd
.endif
! .ifdef(WITH_CLAMAV_DEVEL) && !defined(WITHOUT_CLAMAV_LOCAL)
CONFIGURE_ARGS+= --enable-clamav
RUN_DEPENDS+= clamav-devel>=0:${PORTSDIR}/security/clamav-devel
SUB_LIST+= CLAMD=clamd
! .endif
! .ifdef(WITHOUT_CLAMAV_LOCAL)
! SUB_LIST+= CLAMD=
.endif
# we need to know if we are building statically or dynamicaly for the plist
--- 179,201 ----
_SED_SCRIPT+= -e '/%%DAEMON%%/D'
.endif
! .ifndef(WITHOUT_CLAMAV)
CONFIGURE_ARGS+= --enable-clamav
+ . if defined(WITHOUT_CLAMAV_LOCAL)
+ SUB_LIST+= CLAMD=
+ . else
RUN_DEPENDS+= clamav>=0:${PORTSDIR}/security/clamav
SUB_LIST+= CLAMD=clamd
+ . endif
.endif
! .ifdef(WITH_CLAMAV_DEVEL)
CONFIGURE_ARGS+= --enable-clamav
+ . if defined(WITHOUT_CLAMAV_LOCAL)
+ SUB_LIST+= CLAMD=
+ . else
RUN_DEPENDS+= clamav-devel>=0:${PORTSDIR}/security/clamav-devel
SUB_LIST+= CLAMD=clamd
! . endif
.endif
# we need to know if we are building statically or dynamicaly for the plist
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list