ports/66879: [PATCH] security/clamav with option MILTER set doesn't specify dependency on sendmail.
Beresovsky Andrey
and at rsu.ru
Wed May 19 14:00:47 UTC 2004
>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:
More information about the freebsd-ports-bugs
mailing list