From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Oct 12 12:30:04 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12A8C16A49A for ; Fri, 12 Oct 2007 12:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C2EF213C45D for ; Fri, 12 Oct 2007 12:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9CCU3KU000343 for ; Fri, 12 Oct 2007 12:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9CCU3vv000340; Fri, 12 Oct 2007 12:30:03 GMT (envelope-from gnats) Resent-Date: Fri, 12 Oct 2007 12:30:03 GMT Resent-Message-Id: <200710121230.l9CCU3vv000340@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tom Mueller-Kortkamp Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A774E16A46B for ; Fri, 12 Oct 2007 12:21:37 +0000 (UTC) (envelope-from tmueko@thegates.kommunity.net) Received: from thegates.kommunity.net (thegates.kommunity.net [195.20.112.252]) by mx1.freebsd.org (Postfix) with ESMTP id 274DD13C46B for ; Fri, 12 Oct 2007 12:21:36 +0000 (UTC) (envelope-from tmueko@thegates.kommunity.net) Received: from thegates.kommunity.net (localhost [127.0.0.1]) by thegates.kommunity.net (8.13.8/8.13.8) with ESMTP id l9CC8lkV042115 for ; Fri, 12 Oct 2007 14:08:47 +0200 (CEST) (envelope-from tmueko@thegates.kommunity.net) Received: (from tmueko@localhost) by thegates.kommunity.net (8.13.8/8.13.8/Submit) id l9CC8knC042114; Fri, 12 Oct 2007 14:08:47 +0200 (CEST) (envelope-from tmueko) Message-Id: <200710121208.l9CC8knC042114@thegates.kommunity.net> Date: Fri, 12 Oct 2007 14:08:47 +0200 (CEST) From: Tom Mueller-Kortkamp To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/117135: fix for www/mod_clamav X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Tom Mueller-Kortkamp List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Oct 2007 12:30:04 -0000 >Number: 117135 >Category: ports >Synopsis: fix for www/mod_clamav >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Oct 12 12:30:03 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Tom Mueller-Kortkamp >Release: FreeBSD 6.2-RELEASE-p7 i386 >Organization: Kommunity GmbH & Co. KG >Environment: System: FreeBSD thegates.kommunity.net 6.2-RELEASE >Description: Fix for broken mod_clamav >How-To-Repeat: >Fix: --- mod_clamav begins here --- diff -Nur mod_clamav.bak/Makefile mod_clamav/Makefile --- mod_clamav.bak/Makefile Fri Oct 12 09:58:24 2007 +++ mod_clamav/Makefile Fri Oct 12 09:58:54 2007 @@ -14,8 +14,6 @@ MAINTAINER= tmueko@kommunity.net COMMENT= Scans content delivered by the Apache2 proxy module for viruses -BROKEN= doesn't work since cl_buildtrie() and cl_freetrie() where removed from clamlib (upstream problem) - LIB_DEPENDS+= clamav:${PORTSDIR}/${CLAMAV_PORT} USE_AUTOTOOLS= libtool:15 diff -Nur mod_clamav.bak/files/patch-mod_clamav.c mod_clamav/files/patch-mod_clamav.c --- mod_clamav.bak/files/patch-mod_clamav.c Thu Jan 1 01:00:00 1970 +++ mod_clamav/files/patch-mod_clamav.c Fri Oct 12 10:04:22 2007 @@ -0,0 +1,25 @@ +--- mod_clamav.c.bak Fri Oct 12 10:03:41 2007 ++++ mod_clamav.c Fri Oct 12 10:02:09 2007 +@@ -102,6 +102,22 @@ + unsigned long reloads; /* number of database reloads (local) */ + } clamav_stats; + ++const char *cl_perror(int clerror) /* deprecated */ ++{ ++ return cl_strerror(clerror); ++} ++ ++void cl_freetrie(struct cl_node *root) /* for backward compatibility */ ++{ ++ cl_free(root); ++} ++ ++int cl_buildtrie(struct cl_node *root) /* for backward compatibility */ ++{ ++ return cl_build(root); ++} ++ ++ + static void clamav_virus_record(clamav_stats *stats, const char *uri, + const char *req, const char *virus, off_t size) { + /* find the index of the entry we are about to create */ --- mod_clamav ends here --- >Release-Note: >Audit-Trail: >Unformatted: