From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Feb 29 01:20:02 2008 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 9DE491065670 for ; Fri, 29 Feb 2008 01:20: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 727238FC17 for ; Fri, 29 Feb 2008 01:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1T1K2Tb046897 for ; Fri, 29 Feb 2008 01:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1T1K2XR046896; Fri, 29 Feb 2008 01:20:02 GMT (envelope-from gnats) Resent-Date: Fri, 29 Feb 2008 01:20:02 GMT Resent-Message-Id: <200802290120.m1T1K2XR046896@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, "Philip M. Gollucci" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1FBE1065762 for ; Fri, 29 Feb 2008 01:16:19 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id C8A428FC12 for ; Fri, 29 Feb 2008 01:16:19 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m1T1DTVs099788 for ; Fri, 29 Feb 2008 01:13:29 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m1T1DTxn099787; Fri, 29 Feb 2008 01:13:29 GMT (envelope-from nobody) Message-Id: <200802290113.m1T1DTxn099787@www.freebsd.org> Date: Fri, 29 Feb 2008 01:13:29 GMT From: "Philip M. Gollucci" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/121196: www/awstats: [PATCH]: missing RUN_DEPENDS (p5-URI) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Feb 2008 01:20:02 -0000 >Number: 121196 >Category: ports >Synopsis: www/awstats: [PATCH]: missing RUN_DEPENDS (p5-URI) >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: Fri Feb 29 01:20:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Philip M. Gollucci >Release: 8.0-CURRENT >Organization: Riderway Inc >Environment: FreeBSD philip.hq.rws 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Tue Nov 6 16:28:12 EST 2007 pgollucci@philip.hq.rws:/usr/obj/usr/src/sys/RIDERWAY i386 >Description: Error: Plugin load for plugin 'decodeutfkeys' failed with return code: Error: Can't locate URI/Escape.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 . /usr/local/www/awstats/cgi-bin/lib /usr/local/www/awstats/cgi-bin/plugins) at (eval 6) line 1. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/www/awstats/Makefile,v retrieving revision 1.38 diff -u -r1.38 Makefile --- Makefile 23 Aug 2007 14:47:13 -0000 1.38 +++ Makefile 29 Feb 2008 01:12:30 -0000 @@ -7,6 +7,7 @@ PORTNAME= awstats PORTVERSION= 6.7 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} @@ -16,6 +17,7 @@ COMMENT= Free real-time logfile analyzer to get advanced web statistics RUN_DEPENDS= ${SITE_PERL}/Net/XWhois.pm:${PORTSDIR}/net/p5-Net-XWhois +RUN_DEPENDS= ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI NO_BUILD= yes USE_PERL5_RUN= yes @@ -23,7 +25,8 @@ SUB_FILES= pkg-message -OPTIONS= IPV6 "Enable IPV6 for use with IPv6 Plugin" Off +OPTIONS= IPV6 "Enable IPV6 for use with IPv6 Plugin" Off \ + APACHE "Enable Apache For use with the Web Interface" Off .include @@ -36,6 +39,10 @@ RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable .endif +.if defined (WITH_APACHE) +USE_APACHE=2.0+ +.endif + post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/tools/awstats_buildstaticpages.pl @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/tools/awstats_configure.pl >Release-Note: >Audit-Trail: >Unformatted: