From owner-svn-src-user@FreeBSD.ORG Tue Jul 24 20:15:42 2012 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B071F106564A; Tue, 24 Jul 2012 20:15:42 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 824788FC0A; Tue, 24 Jul 2012 20:15:42 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q6OKFgVO069181; Tue, 24 Jul 2012 20:15:42 GMT (envelope-from dougb@svn.freebsd.org) Received: (from dougb@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q6OKFgMu069179; Tue, 24 Jul 2012 20:15:42 GMT (envelope-from dougb@svn.freebsd.org) Message-Id: <201207242015.q6OKFgMu069179@svn.freebsd.org> From: Doug Barton Date: Tue, 24 Jul 2012 20:15:42 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r238754 - user/dougb/portmaster X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 20:15:42 -0000 Author: dougb Date: Tue Jul 24 20:15:41 2012 New Revision: 238754 URL: http://svn.freebsd.org/changeset/base/238754 Log: Improve messages for processing of dependent ports when -r Modified: user/dougb/portmaster/portmaster Modified: user/dougb/portmaster/portmaster ============================================================================== --- user/dougb/portmaster/portmaster Tue Jul 24 19:40:12 2012 (r238753) +++ user/dougb/portmaster/portmaster Tue Jul 24 20:15:41 2012 (r238754) @@ -2179,7 +2179,6 @@ fi #=============== Begin functions for main =============== already_done () { - [ -n "$PM_VERBOSE" ] || return 0 echo "===>>> The update for $1 is already done" ; echo '' } @@ -2609,6 +2608,9 @@ dependency_check () { *\>\>*) term_printf " ${PM_DEPTH#* }${deps}" ; echo '' ;; *) if [ "$PM_PARENT_PORT" = All ]; then term_printf " >> ${upg_port:-$portdir}${deps}" + elif [ -n "$PM_URB_UP" ]; then + term_printf " >> ${upg_port:-$portdir} ${deps}" + echo '' else term_printf ; echo '' # multiport fi ;; @@ -2708,12 +2710,12 @@ urb_update () { # Global: PM_URB_UP local verb origin req_by - verb=checking ; [ -n "$1" ] && verb=updating + verb=Checking ; [ -n "$1" ] && verb=Updating export PM_URB_UP=pm_urb_up - echo '' - echo "===>>> Begin $verb ports that depend on $PM_URB_IPORTS" - echo '' + + init_term_printf "$verb ports that depend on $PM_URB_IPORTS" ; echo '' + PM_PARENT_PORT="$verb dependent ports" for origin in $PM_URB_ORIGINS; do for req_by in `grep -l DEPORIGIN:${origin}$ $pdb/*/+CONTENTS`; do @@ -2752,10 +2754,10 @@ urb_update () { else check_for_updates $req_by || fail 'Update failed' fi - echo -e "\n===>>> Returning to check of ports depending on $PM_URB_IPORTS" + echo "===>>> Returning to list of ports depending on $PM_URB_IPORTS" done echo '' - echo "===>>> Done $verb ports that depend on $PM_URB_IPORTS" + echo "===>>> $verb done for ports that depend on $PM_URB_IPORTS" echo '' unset PM_URB_UP PM_URB_LIST PM_URB_DONE } @@ -2878,7 +2880,6 @@ multiport () { done if [ -n "$PM_URB" ]; then - PM_PARENT_PORT="Checking -r ports" unset PM_URB ; PM_URB=pm_urb_post_first_pass PM_URB_DONE=":${udl_prime}" ; export PM_URB_DONE urb_update