From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Dec 9 04:20:00 2012 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9F34969 for ; Sun, 9 Dec 2012 04:20:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 702DE8FC12 for ; Sun, 9 Dec 2012 04:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qB94K09D058886 for ; Sun, 9 Dec 2012 04:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qB94K0PM058885; Sun, 9 Dec 2012 04:20:00 GMT (envelope-from gnats) Resent-Date: Sun, 9 Dec 2012 04:20:00 GMT Resent-Message-Id: <201212090420.qB94K0PM058885@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, Kazuhiro Kinugawa Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 521D6D87 for ; Sun, 9 Dec 2012 04:12:33 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 381768FC14 for ; Sun, 9 Dec 2012 04:12:33 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qB94CXuJ052943 for ; Sun, 9 Dec 2012 04:12:33 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id qB94CX6J052942; Sun, 9 Dec 2012 04:12:33 GMT (envelope-from nobody) Message-Id: <201212090412.qB94CX6J052942@red.freebsd.org> Date: Sun, 9 Dec 2012 04:12:33 GMT From: Kazuhiro Kinugawa To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/174288: A squidclamav.so is not made and a location of squidclamav.conf is /etc. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Dec 2012 04:20:00 -0000 >Number: 174288 >Category: ports >Synopsis: A squidclamav.so is not made and a location of squidclamav.conf is /etc. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Dec 09 04:20:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Kazuhiro Kinugawa >Release: 9.0R >Organization: >Environment: yudohu# uname -a FreeBSD xxxx 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: - A squidclamav.so is not made. - A location of squidclamav.conf in binary is not "{PREFIX}/etc/c-icap" but "/etc". >How-To-Repeat: If you build a www/squidclamav, squidclamav.so does not exist in /usr/local/lib/c_icap. #cd /usr/ports/www/squidclamav #make && make install #ll /usr/local/lib/c_icap #strings squidclamav.a | grep squidclamav.conf /etc/squidclamav.conf >Fix: Copy an attached patch to /usr/ports. Run as following. #patch < squidclamav.20121209.patch or Modify a Makefile as followings. CONFIGURE_ARGS+= --enable-static \ вн CONFIGURE_ARGS+= --enable-shared --enable-static \ post-patch: @${REINPLACE_CMD} -e 's|CFGDIR=.*|CFGDIR="${PREFIX}/etc/c-icap"|g' \ ${WRKSRC}/configure.in ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|/etc/squidclamav.conf|${PREFIX}/etc/c\\-icap/squidclamav.conf|g' \ ${WRKSRC}/doc/squidclamav.1 вн post-patch: @${REINPLACE_CMD} -e 's|CFGDIR=.*|CFGDIR="${PREFIX}/etc/c-icap"|g' \ ${WRKSRC}/configure.in ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|/etc/squidclamav.conf|${PREFIX}/etc/c\\-icap/squidclamav.conf|g' \ ${WRKSRC}/doc/squidclamav.1 ${WRKSRC}/src/squidclamav.h >Release-Note: >Audit-Trail: >Unformatted: