ports/119134: clamav .92 needs libgmp-4.2.2

Michael Scheidell scheidell at secnap.net
Sat Dec 29 14:40:04 UTC 2007


>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 at 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 at 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:



More information about the freebsd-ports-bugs mailing list