From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Dec 6 07:50:03 2009 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 E58071065672 for ; Sun, 6 Dec 2009 07:50:02 +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 AC69E8FC0C for ; Sun, 6 Dec 2009 07:50:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nB67o2wC005738 for ; Sun, 6 Dec 2009 07:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nB67o2oP005737; Sun, 6 Dec 2009 07:50:02 GMT (envelope-from gnats) Resent-Date: Sun, 6 Dec 2009 07:50:02 GMT Resent-Message-Id: <200912060750.nB67o2oP005737@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, Sahil Tandon Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54B071065670; Sun, 6 Dec 2009 07:49:14 +0000 (UTC) (envelope-from sahil@spartan.hamla.org) Received: from spartan.hamla.org (spartan.hamla.org [206.251.255.30]) by mx1.freebsd.org (Postfix) with ESMTP id 428458FC16; Sun, 6 Dec 2009 07:49:14 +0000 (UTC) Received: by spartan.hamla.org (Postfix, from userid 1001) id 0158B170C3; Sun, 6 Dec 2009 02:49:13 -0500 (EST) Message-Id: <20091206074914.0158B170C3@spartan.hamla.org> Date: Sun, 6 Dec 2009 02:49:13 -0500 (EST) From: Sahil Tandon To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: llevier@argosnet.com, miwi@FreeBSD.org Subject: ports/141211: [PATCH] security/squidclamav: update to 4.1 + fix build with custom LOCALBASE X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Sahil Tandon List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2009 07:50:03 -0000 >Number: 141211 >Category: ports >Synopsis: [PATCH] security/squidclamav: update to 4.1 + fix build with custom LOCALBASE >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Dec 06 07:50:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Sahil Tandon >Release: FreeBSD 7.2-RELEASE i386 >Organization: >Environment: >Description: - Update to 4.1 - Add SF to MASTER_SITES - Fix build with custom LOCALBASE Note: The latter point *should* simply require the modification of CONFIGURE_ENV, but the underlying Makefile does not "take" LDFLAGS from the environm ent as documented, so I use a messy REINPLACE_CMD in post-configure until this is fixed upstream. >How-To-Repeat: >Fix: --- squidclamav.diff begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/security/squidclamav/Makefile,v retrieving revision 1.4 diff -u -r1.4 Makefile --- Makefile 26 Jun 2009 11:18:18 -0000 1.4 +++ Makefile 6 Dec 2009 07:47:28 -0000 @@ -6,9 +6,10 @@ # PORTNAME= squidclamav -PORTVERSION= 4.0 +PORTVERSION= 4.1 CATEGORIES= security -MASTER_SITES= http://www.samse.fr/GPL/squidclamav/ \ +MASTER_SITES= SF \ + http://www.samse.fr/GPL/squidclamav/ \ http://www.darold.net/projects/squidclamav/ MAINTAINER= llevier@argosnet.com @@ -18,12 +19,16 @@ USE_GMAKE= yes GNU_CONFIGURE= yes +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" NO_LATEST_LINK= yes -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} SUB_FILES= pkg-message PLIST_FILES= bin/squidclamav etc/squidclamav.conf.dist +post-configure: + @${REINPLACE_CMD} -E 's|^(LDFLAGS = ).*|\1-L${LOCALBASE}/lib|' \ + ${WRKSRC}/Makefile + do-install: @${INSTALL_PROGRAM} ${WRKSRC}/squidclamav ${PREFIX}/bin @${INSTALL_DATA} ${WRKSRC}/squidclamav.conf.dist ${PREFIX}/etc Index: distinfo =================================================================== RCS file: /home/ncvs/ports/security/squidclamav/distinfo,v retrieving revision 1.2 diff -u -r1.2 distinfo --- distinfo 26 Jun 2009 11:18:18 -0000 1.2 +++ distinfo 6 Dec 2009 07:47:28 -0000 @@ -1,3 +1,3 @@ -MD5 (squidclamav-4.0.tar.gz) = 0a5e2fa8a4270a90235621fce9269949 -SHA256 (squidclamav-4.0.tar.gz) = ed1149cf05eb06165864e5a08bb8a7dcc28f9b9c9fe5c397d5010396b160bae6 -SIZE (squidclamav-4.0.tar.gz) = 102704 +MD5 (squidclamav-4.1.tar.gz) = dfb96fc89d9b5514a3f3b228b09c7a40 +SHA256 (squidclamav-4.1.tar.gz) = 0b3a0057eda8b7e9e8fba447f55d2b820f7b57f611032cc8d9567414d74a90bd +SIZE (squidclamav-4.1.tar.gz) = 102505 --- squidclamav.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: