From owner-freebsd-current@FreeBSD.ORG Wed Jul 29 07:10:56 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAABD106566C for ; Wed, 29 Jul 2009 07:10:56 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 44F708FC39 for ; Wed, 29 Jul 2009 07:10:56 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 14188 invoked by uid 399); 29 Jul 2009 07:10:52 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 29 Jul 2009 07:10:52 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4A6FF5FA.5010904@FreeBSD.org> Date: Wed, 29 Jul 2009 00:10:50 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.22 (X11/20090728) MIME-Version: 1.0 To: Mel Flynn References: <1248027417.14210.110.camel@neo.cse.buffalo.edu> <200907220814.38246.jhb@freebsd.org> <200907241625.16312.doconnor@gsoft.com.au> <200907232335.54973.mel.flynn+fbsd.current@mailing.thruhere.net> In-Reply-To: <200907232335.54973.mel.flynn+fbsd.current@mailing.thruhere.net> X-Enigmail-Version: 0.95.7 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-6 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, "O. Hartmann" , Thomas Backman , Olivier SMEDTS , freebsd-current@freebsd.org, Steve Kargl , Ken Smith Subject: Re: HEADS-UP: Shared Library Versions bumped... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2009 07:10:57 -0000 Mel Flynn wrote: > I wrapped portmaster, since -af has the same problem when something screws the > build (mostly plist problems and $me wanting backup packages, but also > classics like using sudo as PM_SU_CMD and trying to reinstall it). I hate to tell you but portmaster already has the ability to restart after an interrupted -af. See the man page regarding the -R option. So you can do this the first time: portmaster -Daf Then do this the second (or more) time: portmaster -DGRaf The one caveat is that you don't want to run any other portmaster commands in between since it will remove all the flags when it exits successfully. hth, Doug -- This .signature sanitized for your protection