Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jun 2006 13:49:14 GMT
From:      Artis Caune <Artis.Caune@latnet.lv>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/98709: [PATCH] mail/dspam - ClamAV not supported when WITHOUT_CLAMAV_LOCAL is used
Message-ID:  <200606081349.k58DnEqO068063@www.freebsd.org>
Resent-Message-ID: <200606081530.k58FUK8J043013@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606081349.k58DnEqO068063>