From nobody@FreeBSD.org  Sat Dec 29 14:35:23 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 033C716A419
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 29 Dec 2007 14:35:23 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id E980B13C465
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 29 Dec 2007 14:35:22 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id lBTEYf9o083916
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 29 Dec 2007 14:34:41 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id lBTEYfdN083915;
	Sat, 29 Dec 2007 14:34:41 GMT
	(envelope-from nobody)
Message-Id: <200712291434.lBTEYfdN083915@www.freebsd.org>
Date: Sat, 29 Dec 2007 14:34:41 GMT
From: Michael Scheidell <scheidell@secnap.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: clamav .92 needs libgmp-4.2.2
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         119134
>Category:       ports
>Synopsis:       security/clamav .92 needs libgmp-4.2.2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    garga
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 29 14:40:04 UTC 2007
>Closed-Date:    Mon Jan 14 12:38:14 UTC 2008
>Last-Modified:  Mon Jan 14 12:38:14 UTC 2008
>Originator:     Michael Scheidell
>Release:        5.5
>Organization:
SECNAP Network Security Corp
>Environment:
FreeBSD GSNJSPT01.galaxy.lan 5.5-RELEASE-p14 FreeBSD 5.5-RELEASE-p14 #0: Sun Jul 15 04:04:11 EDT 2007     root@GSNJSPT01.galaxy.lan:/usr/obj/usr/src/sys/HACKERTRAP_850  i386

>Description:
sorry if I didn't look exactly, but a rebuild (from clamav .91.2) to clamav .92 I got an error about a missing gmp.h file.
(yes, I know, sorry, I should have copied it)

it was running libgmp-4.1.1_1


>How-To-Repeat:
downgrade libgmp and try to compile clamav .92?

>Fix:
I upgraded to libgmp-4.2.2 and recompiled clamav and it worked.

I suggest this patch to force lib dependency:
(do you need to bump the portversion? maybe not.
If it built an ran, no need to build again for people who are compulsive about ports versions ;-)

 diff -bBru Makefile.org Makefile
--- Makefile.org        Wed Dec 19 18:08:36 2007
+++ Makefile    Sat Dec 29 09:32:53 2007
@@ -13,7 +13,7 @@
 MAINTAINER=    garga@FreeBSD.org
 COMMENT=       Command line virus scanner written entirely in C

-LIB_DEPENDS=   gmp.7:${PORTSDIR}/math/libgmp4
+LIB_DEPENDS=   libgmp>=4.2.2:${PORTSDIR}/math/libgmp4

 OPTIONS=       ARC "Enable arch archives support" On \
                ARJ "Enable arj archives support" On \


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->garga 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Jan 2 03:14:18 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119134 
State-Changed-From-To: open->closed 
State-Changed-By: garga 
State-Changed-When: Mon Jan 14 12:36:21 UTC 2008 
State-Changed-Why:  
Actually, it's not necessary, since libgmp was bumped from .so.6 to .so.7 on 
version 4.2.1 and port require lib version .7 

Thanks anyway 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119134 
>Unformatted:
