From owner-freebsd-ports@FreeBSD.ORG Sat May 19 09:14:40 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A99C516A400 for ; Sat, 19 May 2007 09:14:40 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx24.fluidhosting.com [204.14.89.7]) by mx1.freebsd.org (Postfix) with SMTP id 4C71213C45A for ; Sat, 19 May 2007 09:14:40 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 12279 invoked by uid 399); 19 May 2007 09:14:39 -0000 Received: from localhost (HELO ?192.168.0.4?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 19 May 2007 09:14:39 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <464EBFFC.9030603@FreeBSD.org> Date: Sat, 19 May 2007 02:14:36 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: freebsd ports Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: portmaster with smart -r restart available for testing X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 May 2007 09:14:40 -0000 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