portmaster with smart -r restart available for testing

Doug Barton dougb at FreeBSD.org
Sat May 19 09:14:40 UTC 2007


Howdy,

I've been working on a new version of portmaster to address the 
problems exposed in the last gettext upgrade, as well as some other 
issues. It's available at http://dougbarton.us/portmaster

I have not yet implemented the "save old shared libs" option, that 
will come next assuming no bugs are found with the new code.

Here is a list of changes in the new version:

New Features
============
1. Keep a temporary flag that indicates a port has already been 
upgraded during a -r 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. That way if an update fails, the user can back 
out the whole thing.

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. In -s mode, do a pkg_info for a seemingly stale package before 
asking to delete it.

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 collision with ports that 
use the former already.
3. Fix grammar in a usage() line, and add details for --show-work


-- 

     This .signature sanitized for your protection


More information about the freebsd-ports mailing list