From owner-freebsd-stable@FreeBSD.ORG Wed Jul 29 16:14:01 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33BE8106566B for ; Wed, 29 Jul 2009 16:14:01 +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 B67498FC1F for ; Wed, 29 Jul 2009 16:14:00 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 20331 invoked by uid 399); 29 Jul 2009 16:13:42 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 29 Jul 2009 16:13:42 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4A707534.8000808@FreeBSD.org> Date: Wed, 29 Jul 2009 09:13:40 -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> <200907232335.54973.mel.flynn+fbsd.current@mailing.thruhere.net> <4A6FF5FA.5010904@FreeBSD.org> <200907282342.25038.mel.flynn+fbsd.current@mailing.thruhere.net> In-Reply-To: <200907282342.25038.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-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: HEADS-UP: Shared Library Versions bumped... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2009 16:14:02 -0000 Mel Flynn wrote: > On Tuesday 28 July 2009 23:10:50 Doug Barton wrote: >> 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. > > Maybe that can be cleared up: > -R restart an update, skipping ports already up to date. Used with -r > ^^^^^^^^^^ > or -f options. > > Yes, I should've gathered what it meant when reading "or -f options", but I > never read that far. Perhaps that could read "... already done in the previous > run". How about this: used with the -r or -f options to skip ports updated on a previous run. >> So >> you can do this the first time: portmaster -Daf >> >> Then do this the second (or more) time: portmaster -DGRaf > > And with the above in EXAMPLES. Good suggestion, thanks. >> 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. > > Gotcha. Is there a reason the flags are removed if the options are not "-r or > -f"? Yes, so we don't have stale flags sitting around forever to confuse future runs. Doug -- This .signature sanitized for your protection