Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Dec 2007 14:34:41 GMT
From:      Michael Scheidell <scheidell@secnap.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/119134: clamav .92 needs libgmp-4.2.2
Message-ID:  <200712291434.lBTEYfdN083915@www.freebsd.org>
Resent-Message-ID: <200712291440.lBTEe4Bf014089@freefall.freebsd.org>

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

>Number:         119134
>Category:       ports
>Synopsis:       clamav .92 needs libgmp-4.2.2
>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:   Sat Dec 29 14:40:04 UTC 2007
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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