Bug 95089

Summary: [MAINTAINER] www/dansguardian-devel: enable optional features
Product: Ports & Packages Reporter: Freddie Cash <fcash>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
dansguardian-2.9.6.1_1.patch none

Description Freddie Cash 2006-03-30 00:40:16 UTC
Enable clamav library support, ICAP support, and Kaspersky Labs AV support.  These are
all experimental and may break the resulting binary.  But several people have been asking
for them, so here they are.

I do not have access to an ICAP or Kaspersky Labs install to test these against.  The patch
below allow the port to compile, install, and uninstall with these options enabled.

The consensus on the DG lists is that the clamd support is best, but enough people have asked
me to include the clamav lib support that I have enabled that option as well.

I'm not sure if the LIB_DEPENDS for clamav support is correct.  Should it include the
.1 on the depends line??

Is there a way to add text to the pkg-message based on items selected via OPTIONS?
I'd like to add warnings about the libclamav, ICAP, and Kaspersky options, but
only if they are selected.  Right now, I've just added the warning text to pkg-message.

Generated with FreeBSD Port Tools 0.63
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2006-04-08 14:02:14 UTC
State Changed
From-To: open->closed

Committed, thanks! 

You left (broken) in the two options descriptions intentionally? 

You can have lines conditionally deleted from pkg-message if you start them 
with %%VARIABLE%% which have either "" or "@comment" value set in SUB_LIST. 
It works pretty much same as pkg-plist and PLIST_SUB.