From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Feb 15 06:00:25 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BF1C116A400 for ; Thu, 15 Feb 2007 06:00:25 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id AEA8913C4A5 for ; Thu, 15 Feb 2007 06:00:25 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l1F60P71097853 for ; Thu, 15 Feb 2007 06:00:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l1F60PBH097847; Thu, 15 Feb 2007 06:00:25 GMT (envelope-from gnats) Date: Thu, 15 Feb 2007 06:00:25 GMT Message-Id: <200702150600.l1F60PBH097847@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: "Sergey N. Voronkov" Cc: Subject: Re: ports/109185: patches to update clamav .87 to .90 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Sergey N. Voronkov" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Feb 2007 06:00:25 -0000 The following reply was made to PR ports/109185; it has been noted by GNATS. From: "Sergey N. Voronkov" To: bug-followup@FreeBSD.org, scheidell@secnap.net Cc: Subject: Re: ports/109185: patches to update clamav .87 to .90 Date: Thu, 15 Feb 2007 10:32:18 +0500 Hello! Just one addition to your patch (to make it clamd functional): --- Makefile.old Thu Feb 15 10:24:38 2007 +++ Makefile Thu Feb 15 10:25:06 2007 @@ -130,6 +130,8 @@ post-patch: @${REINPLACE_CMD} -e 's|-pthread -lc_r|${PTHREAD_LIBS}|g' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} + @${REINPLACE_CMD} -e 's|-lpthread -lc_r|${PTHREAD_LIBS}|g' \ + ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} @${REINPLACE_CMD} -e 's,unarj,arj,g' \ ${WRKSRC}/docs/man/clamscan.1 Without this patch clamd takes high cpu load and some threads are unkillable. Problem (with another solution) can be found there: http://lurker.clamav.net/message/20070206.001716.219dcb00.en.html Serg N. Voronkov, Sibitex Ltd.