Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 May 2004 17:52:53 +0400 (MSD)
From:      Beresovsky Andrey <and@rsu.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        os@rsu.ru
Subject:   ports/66879: [PATCH] security/clamav with option MILTER set doesn't specify dependency on sendmail.
Message-ID:  <200405191352.i4JDqrVt005061@moon.cc.rsu.ru>
Resent-Message-ID: <200405191400.i4JE0XnM035682@freefall.freebsd.org>

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

>Number:         66879
>Category:       ports
>Synopsis:       [PATCH] security/clamav with option MILTER set doesn't specify dependency on sendmail.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 19 07:00:33 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Beresovsky Andrey
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
Rostov State University
>Environment:
System: FreeBSD 5.2-CURRENT #0: Wed Mar 10 17:43:32 MSK 2004

>Description:

security/clamav port doesn't mention about its dependency on sendmail in case that option MILTER is set.

>How-To-Repeat:
To see a problem simply try to install clamav on a clean FreeBSD without neither base (build system with NO_SENDMAIL) nor ports sendmail distribution.

>Fix:
A proposed patch solves this issue.

security/clamav-devel port needs the same changes.


--- Makefile.orig	Wed May 19 17:05:31 2004
+++ Makefile	Wed May 19 17:22:23 2004
@@ -98,13 +98,11 @@
 .include <bsd.port.pre.mk>
 
 .if defined(WITH_MILTER)
-.if exists(/usr/lib/libmilter.a) || exists(${LOCALBASE}/lib/libmilter.a)
+.if !exists(/usr/lib/libmilter.a)
+BUILD_DEPENDS+= ${LOCALBASE}/lib/libmilter.a:${PORTSDIR}/mail/sendmail
+.endif
 CONFIGURE_ARGS+=	--enable-milter
 PLIST_SUB+=	CLAMAV-MILTER=""
-.else
-BROKEN=		requires Sendmail 8.12
-PLIST_SUB+=	CLAMAV-MILTER="@comment "
-.endif
 .else
 PLIST_SUB+=	CLAMAV-MILTER="@comment "
 .endif
>Release-Note:
>Audit-Trail:
>Unformatted:



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