Bug 93157

Summary: [PATCH] security/clamsmtp: add OPTIONS to depend on local clamav; improve rc.d script
Product: Ports & Packages Reporter: Ion-Mihai " IOnut " Tetcu <itetcu>
Component: Individual Port(s)Assignee: Cheng-Lung Sung <clsung>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
clamsmtp.diff none

Description Ion-Mihai " IOnut " Tetcu 2006-02-11 00:10:08 UTC

As promised :)

Add WITH_LOCAL_CLAMAV[_DEVEL] to run-depend on security/clamav[-devel];
default LOCAL_CLAMAV on to restore the way port behaved until last update.
Depend on installed package rather that clamd to register depends correctly.

If one of the clam options is on, make rc.d script to REQUIRE: clamd
Actually use clamsmtp_debug var.
Also make rc.d script to look more like the example in PH.

Install example script in EXAMPLESDIR rather that DOCSDIR;
bump PORTREVISION for plist change.

Moved: pkg-message --> files/pkg-message.in

Drop USE_REINPLACE while here.

Tinderbox logs (and diff) at:
http://people.tecnik93.com/~itetcu/FreeBSD/others_ports/clamsmtp/
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-02-11 00:12:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->clsung

Over to maintainer
Comment 2 Cheng-Lung Sung freebsd_committer freebsd_triage 2006-02-17 02:46:20 UTC
State Changed
From-To: open->closed

Committed. Thank you :)