From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Oct 8 12:10:02 2011 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 DC8D8106566B for ; Sat, 8 Oct 2011 12:10: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 B0A668FC15 for ; Sat, 8 Oct 2011 12:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p98CA2Te017530 for ; Sat, 8 Oct 2011 12:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p98CA2Vm017521; Sat, 8 Oct 2011 12:10:02 GMT (envelope-from gnats) Resent-Date: Sat, 8 Oct 2011 12:10:02 GMT Resent-Message-Id: <201110081210.p98CA2Vm017521@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, Matthew Seaman Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3716106564A for ; Sat, 8 Oct 2011 12:03:57 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 552628FC12 for ; Sat, 8 Oct 2011 12:03:57 +0000 (UTC) Received: from lucid-nonsense.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id p98C3rgS057796 for ; Sat, 8 Oct 2011 13:03:53 +0100 (BST) (envelope-from matthew@lucid-nonsense.infracaninophile.co.uk) Received: (from matthew@localhost) by lucid-nonsense.infracaninophile.co.uk (8.14.5/8.14.5/Submit) id p98C3rTl057795; Sat, 8 Oct 2011 13:03:53 +0100 (BST) (envelope-from matthew) Message-Id: <201110081203.p98C3rTl057795@lucid-nonsense.infracaninophile.co.uk> Date: Sat, 8 Oct 2011 13:03:53 +0100 (BST) From: Matthew Seaman To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/161396: [maintainer] ports-mgmt/p5-FreeBSD-Portindex -- update to 2.5 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthew Seaman List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Oct 2011 12:10:02 -0000 >Number: 161396 >Category: ports >Synopsis: [maintainer] ports-mgmt/p5-FreeBSD-Portindex -- update to 2.5 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Oct 08 12:10:01 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Matthew Seaman >Release: FreeBSD 8.2-STABLE amd64 >Organization: Infracaninophile >Environment: System: FreeBSD lucid-nonsense.infracaninophile.co.uk 8.2-STABLE FreeBSD 8.2-STABLE #3 r226035: Wed Oct 5 14:26:52 BST 2011 root@lucid-nonsense.infracaninophile.co.uk:/usr/obj/usr/src/sys/LUCID-NONSENSE amd64 >Description: Update to version 2.5. This adds GraphViz compatible output to portdepends, plus some routine bug fixing.. - Accessor methods for array valued items now mostly return arrays rather than array references. This makes quite a lot of code a lot clearer. - Add GraphViz output mode to portdepends(1). Pretty pictures of port dependency trees. - Remove TODO file as (a) most of the items were done and (b) most recent changes weren't listed in there. - Minor docco tweak to portindex reflecting currently supported FreeBSD major versions. - Bump VERSION and CACHE_VERSION to 2.5 >How-To-Repeat: >Fix: --- p5-FreeBSD-Portindex.diff begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/ports-mgmt/p5-FreeBSD-Portindex/Makefile,v retrieving revision 1.20 diff -u -u -r1.20 Makefile --- Makefile 29 Aug 2011 04:43:56 -0000 1.20 +++ Makefile 8 Oct 2011 11:39:43 -0000 @@ -5,7 +5,7 @@ # $FreeBSD: ports/ports-mgmt/p5-FreeBSD-Portindex/Makefile,v 1.20 2011/08/29 04:43:56 dougb Exp $ PORTNAME= FreeBSD-Portindex -PORTVERSION= 2.4 +PORTVERSION= 2.5 CATEGORIES= ports-mgmt perl5 MASTER_SITES= http://www.infracaninophile.co.uk/portindex/ PKGNAMEPREFIX= p5- @@ -15,9 +15,20 @@ LICENSE= BSD +# GraphViz not required for portindex to run or generate GraphViz +# format output: this is only needed to render the output on the same +# machine. +OPTIONS= GRAPHVIZ "Add GraphViz run-time dependency" off + BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/BerkeleyDB.pm:${PORTSDIR}/databases/p5-BerkeleyDB RUN_DEPENDS:= ${BUILD_DEPENDS} +.include + +.if defined(WITH_GRAPHVIZ) && !defined(WITHOUT_GRAPHVIZ) +RUN_DEPENDS+= dot:${PORTSDIR}/graphics/graphviz +.endif + USE_XZ= yes PERL_CONFIGURE= yes Index: distinfo =================================================================== RCS file: /home/ncvs/ports/ports-mgmt/p5-FreeBSD-Portindex/distinfo,v retrieving revision 1.15 diff -u -u -r1.15 distinfo --- distinfo 29 Aug 2011 04:43:56 -0000 1.15 +++ distinfo 8 Oct 2011 11:39:43 -0000 @@ -1,2 +1,2 @@ -SHA256 (FreeBSD-Portindex-2.4.tar.xz) = 78f461e35dcadb9fb79665c698825fd54e081030858cf023bedfeb47b73891d0 -SIZE (FreeBSD-Portindex-2.4.tar.xz) = 50724 +SHA256 (FreeBSD-Portindex-2.5.tar.xz) = 485e037b44351147ecdd52d785bba785ec2466a500c0a55fb896235b1ce2832c +SIZE (FreeBSD-Portindex-2.5.tar.xz) = 51700 Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/ports-mgmt/p5-FreeBSD-Portindex/pkg-plist,v retrieving revision 1.5 diff -u -u -r1.5 pkg-plist --- pkg-plist 14 Mar 2011 16:05:35 -0000 1.5 +++ pkg-plist 8 Oct 2011 11:39:43 -0000 @@ -8,6 +8,7 @@ @exec [ ! -f %B/portindex.cfg ] && cp -p %B/%f %B/portindex.cfg || true %%SITE_PERL%%/FreeBSD/Portindex/Config.pm %%SITE_PERL%%/FreeBSD/Portindex/Category.pm +%%SITE_PERL%%/FreeBSD/Portindex/GraphViz.pm %%SITE_PERL%%/FreeBSD/Portindex/Port.pm %%SITE_PERL%%/FreeBSD/Portindex/Tree.pm %%SITE_PERL%%/FreeBSD/Portindex/TreeObject.pm --- p5-FreeBSD-Portindex.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: