Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Sep 2010 15:36:48 +0700 (NOVST)
From:      Eugene Grosbein <eugen@grosbein.pp.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/150984: extra dependencies for security/clamav
Message-ID:  <201009270836.o8R8amxH002815@grosbein.pp.ru>
Resent-Message-ID: <201009270910.o8R9A4oc090942@freefall.freebsd.org>

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

>Number:         150984
>Category:       ports
>Synopsis:       extra dependencies for security/clamav
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 27 09:10:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Eugene Grosbein
>Release:        FreeBSD 8.1-STABLE i386
>Organization:
RDTC JSC
>Environment:
System: FreeBSD grosbein.pp.ru 8.1-STABLE FreeBSD 8.1-STABLE #13: Sun Jul 25 19:56:04 NOVST 2010 root@grosbein.pp.ru:/usr/local/obj/usr/local/src/sys/DADV i386

>Description:
	clamav version 0.96 introduced new heavy-weight dependencies:
	Python and GCC 4.2+. 

	gcc-4.2 was required for two compiler flags only, because clamav
	had not checked their existance within its configure script:

-Wno-missing-field-initializers -Wno-variadic-macros

	Now (clamav-0.96.3) this is fixed upstream and 4.2+ dependency
	should be removed. See also:

https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1934

	Then, Python is only needed to run compile-time checks
	that are skipped if Python is not installed. It is not needed
	in run-time. This dependency should be removed or made conditional.

>How-To-Repeat:
	See above.

>Fix:

--- Makefile.orig	2010-09-27 15:29:20.000000000 +0700
+++ Makefile	2010-09-27 15:29:47.000000000 +0700
@@ -140,9 +140,7 @@
 
 .if defined(WITH_LLVM) && ${ARCH} != "sparc64"
 CONFIGURE_ARGS+=--enable-llvm
-USE_PYTHON_BUILD=	yes
 USE_GMAKE=		yes
-USE_GCC=		4.2+
 .else
 CONFIGURE_ARGS+=--disable-llvm
 .endif



Eugene Grosbein
>Release-Note:
>Audit-Trail:
>Unformatted:



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