From owner-cvs-all@FreeBSD.ORG Sun May 27 08:10:34 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 69B3016A4FB; Sun, 27 May 2007 08:10:34 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 5B49913C448; Sun, 27 May 2007 08:10:34 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l4R8AYU3069815; Sun, 27 May 2007 08:10:34 GMT (envelope-from dougb@repoman.freebsd.org) Received: (from dougb@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l4R8AYIs069811; Sun, 27 May 2007 08:10:34 GMT (envelope-from dougb) Message-Id: <200705270810.l4R8AYIs069811@repoman.freebsd.org> From: Doug Barton Date: Sun, 27 May 2007 08:10:34 +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-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 May 2007 08:10:34 -0000 dougb 2007-05-27 08:10:34 UTC FreeBSD ports repository Modified files: ports-mgmt/portmaster/files portmaster.sh.in Log: New Features ============ 1. Keep a temporary flag that indicates a port has already been upgraded during a -r or -f update, and add a -R (retry) option to let the user skip those ports on subsequent attempts if the first update is interrupted. 2. Change the default behavior to use 'make config-conditional' to take advantage of the recent enhancements to the OPTIONS functionality. 3. Add a new --force-config flag to use the old behavior of doing 'make config' for every port. 4. Don't delete backup packages until the original (parent) portmaster process has finished successfully. That way if an update fails, the user can back out the whole thing. 5. Add -w option to save old shared libraries from an installed port. 6. Add -x option to avoid building ports that match the glob pattern. 7. Split tracking of build and run depends to before and after the port build respectively. Enhancements ============ 1. If the user interrupts the update, search for errant dialog processes as well as errant portmaster child processes. 2. Avoid invoking pkg_version in check_for_updates() if the installed version is already up to date. 3. Call pkg_info for seemingly stale dependencies (-s) so user has a better idea what he's being asked to delete. 4. Use -DBATCH when calling 'make checksum' in the background so that ports that have pre-everything dialogs no longer cause runaway dialog processes. 5. Add BEFOREPORTMK=yes where it can be used to speed things up. Thanks to Stephen Montgomery-Smith 6. Be smarter about not starting read_distinfos in the background if there is no need to, and be more aggressive in killing it off when we're done. 7. Make read_distinfos quieter to avoid printing confusing messages out of synch with the foreground process. Changes ======= 1. Use the PKGREPOSITORY directory for all packages, create it if it doesn't already exist. 2. If we fail(), call one of {trap|safe}_exit to do a better job of cleaning up after ourselves. 3. Make failures of various commands silent when we provide our own error message. 4. Make killing background processes generally much quieter. Bug Fixes ========= 1. In check_for_updates(), when FORCE is on, don't skip an up to date port. 2. Change MAKE_ARGS to PM_MAKE_ARGS to avoid collisions with ports that use the former already. 3. Fix grammar in a usage() line, add details for --show-work, and other various improvements. 4. Move the clean target to after (optional) 'make package' to avoid having to rebuild the port. 5. Only try to update the +CONTENTS file if it exists. Revision Changes Path 1.17 +291 -103 ports/ports-mgmt/portmaster/files/portmaster.sh.in