Date: Sun, 27 May 2007 08:10:34 +0000 (UTC) From: Doug Barton <dougb@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/ports-mgmt/portmaster/files portmaster.sh.in Message-ID: <200705270810.l4R8AYIs069811@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <stephen@math.missouri.edu> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705270810.l4R8AYIs069811>