From owner-cvs-ports@FreeBSD.ORG Sun Jan 24 06:16:33 2010 Return-Path: Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A57DA106566B; Sun, 24 Jan 2010 06:16:33 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7BD078FC08; Sun, 24 Jan 2010 06:16:33 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o0O6GXh2095025; Sun, 24 Jan 2010 06:16:33 GMT (envelope-from dougb@repoman.freebsd.org) Received: (from dougb@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o0O6GXa3095024; Sun, 24 Jan 2010 06:16:33 GMT (envelope-from dougb) Message-Id: <201001240616.o0O6GXa3095024@repoman.freebsd.org> From: Doug Barton Date: Sun, 24 Jan 2010 06:16:33 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/ports-mgmt/portmaster/files portmaster.sh.in X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jan 2010 06:16:33 -0000 dougb 2010-01-24 06:16:33 UTC FreeBSD ports repository Modified files: ports-mgmt/portmaster/files portmaster.sh.in Log: Update the copyright date New Features: ============= 1. When running through the config phase a list of things to be installed and/or upgraded will be generated. This list will then be presented to the user for confirmation before proceeding. 2. Add a --no-confirm option to suppress this new feature. 3. When using portmaster in an X terminal window that supports updating the title you will now see a status update for what port is being built, and as appropriate what dependency of that port and an (N/M) counter. Thanks to ehaupt for the push on this, as well as some testing and sample code. 4. Make the "yes or no" prompts (hopefully) more clear by adding "y/n" to the text of the message, e.g., "===>>> Do you want to live? y/n [y] " Feature expansion: ================== Do a more thorough job of tracking things that should fall into the --packages-build/--delete-build-only category. I.e., if something is a run dependency of a port or ports that themselves are only build dependencies, add it to the build_only_dl_g anyway. New internals: ============= 1. Add a uniquify_list function so that internal lists of variables can be made unique. Start using it for some of the new stuff, and in clean_build_only_list(). 2. Add a pm_cd_pd() which will cd into the port directory or error out with an appropriate message. 3. Start using pm_cd_pd() where appropriate, including in a couple of new places where we have to go back to the port directory after cd'ing around elsewhere due to the new update_build_l(). 4. Make some other cd/pm_cd invocations consistent Cleanups: ========= 1. Instead of saving some of the new variables unconditionally in safe_exit() move the things that are only done in the config phase to that section, and move build_deps_il to the !config section. 2. Since $new_port may be set as a side effect of the new "Terminal title" feature, conditionalize it for the "main" process. 3. Remove the old RCS Id stuff since I'm not using it Bug fix: ======== In safe_exit() when doing multiports and we interrupt the process the attempt to print the INSTALLED_LIST was not successful. So move all of the related code into a test for INSTALLED_LIST's existence, and just print the whole list (even if it has only one item) in both the -a (as it was already) and multiport cases. Revision Changes Path 2.17 +228 -69 ports/ports-mgmt/portmaster/files/portmaster.sh.in