From owner-freebsd-ports@FreeBSD.ORG Fri Aug 6 11:34:47 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 492071065672; Fri, 6 Aug 2010 11:34:47 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id EC0588FC15; Fri, 6 Aug 2010 11:34:46 +0000 (UTC) Received: by iwn10 with SMTP id 10so1498076iwn.13 for ; Fri, 06 Aug 2010 04:34:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:openpgp:content-type:content-transfer-encoding; bh=Y5THsO7UZ4APAHI+pQg4ZaC6dkOXkQDRrGtZ0cwa8FM=; b=C+TmiIIavP1oUK0I4N+XkMI9WdAohG/8b92j6VrTY2vSf2OrnPQcNN0idBP0A6UyTA OrBzGNO81+NN5azRyrgWSTuxJQtJXjGT8wQp7aZ2SVjEJz/APsNxEA3U2FmWyy2OMviD z3fiqUt96TkwAIyRpKS/yBr2kf3pVk4BRpBZY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:openpgp:content-type :content-transfer-encoding; b=YsEDfALfwIVs31M3vqspTcO0yool5eNh9/wb+bQ4CtWGo/khbAtC4v0Y1BORNIFOJO YcQN8A5X/Rec71YM7B0YrCYa+qkqu0+fX6a+SNfntQY+2Bqy1Pt7aJvN2pvcqKsphbCl HfJxmbL8OraosFwwO3RWMt7HKRhMPn3N7AmBo= Received: by 10.231.150.7 with SMTP id w7mr14261345ibv.14.1281094486165; Fri, 06 Aug 2010 04:34:46 -0700 (PDT) Received: from centel.dataix.local ([99.19.46.227]) by mx.google.com with ESMTPS id 34sm1162271ibi.0.2010.08.06.04.34.43 (version=SSLv3 cipher=RC4-MD5); Fri, 06 Aug 2010 04:34:44 -0700 (PDT) Sender: "J. Hellenthal" Message-ID: <4C5BF352.5050004@dataix.net> Date: Fri, 06 Aug 2010 07:34:42 -0400 From: jhell User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.7) Gecko/20100803 Lightning/1.0b1 Thunderbird MIME-Version: 1.0 To: Sandra Kachelmann References: <4C5BC280.1070805@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.1.2 OpenPGP: id=89D8547E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, Doug Barton Subject: Re: i keep *trying* to move from portupgrade to portmaster 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: Fri, 06 Aug 2010 11:34:47 -0000 On 08/06/2010 04:58, Sandra Kachelmann wrote: > On Fri, Aug 6, 2010 at 10:06 AM, Doug Barton wrote: >> On 08/06/2010 00:24, Sandra Kachelmann wrote: >>> I've been using ports-mgmt/portupgrade pretty much ever since it >>> started to exist. Unfortunately portupgrade seems to be pretty much >>> "abandonware" so I've been told to move on to portmaster. Despite the >>> very long manpage I can't seem to be able to achieve the following >>> thing with portmaster: >>> >>> $ portupgrade --batch -a >> >> Someone who has used portupgrade and is familiar with exactly what >> --batch does can probably help you with that bit, but I'm sure by now >> you've figured out that portmaster has a -a feature. >> >> Meanwhile, go get a $BEVERAGE, get comfortable, and actually _read_ the >> portmaster man page, don't just skim through it. I put a lot of effort >> into explain what portmaster does, how it does it, and also WHY it does >> things the way it does. Most (if not all) of your questions are answered >> there. > > Please don't take this wrong but IMO it's way too overdocumented for > normal users that don't actually read bsd.ports.mk before breakfast > :-) > > Sandra I have done exactly what you want with (portmaster -a), albeit you should sit there and wait for any option screens to pop up until you leave but it can be done. But also see below. Doug, One fallback that I cannot seem to get over is the creation of a backup package failed do you want to ignore [i] message prompt & the package messages that are displayed with $PAGER at the end of the upgrades. I do not recall the packages that his had happened on, it does not happen often but when it did happen it was just before a nice long compile of OpenOffice :( while I was gone. The pkg-message problem has been stumping me since it inhibits my use of pwait(1) on another terminal. For instance I started a portmaster -a on one terminal and issued pwait(1) on another so I could build a new kernel and world right after a ports(7) upgrade. Since the pkg-message is displayed with PAGER obviously the initial portmaster process never terminates and post processes are revolving so they would/could exit to soon. Do not prompt for a backup package creation failure and force creation of whatever you have on the system already? Configuration option to email the output of upgraded packages and their pkg-message or a similar option to just log to a file? Also I still see a need for installing a /usr/local/etc/portmaster.rc.sample file for whatever version is installed and seperating that from the man page. This would make it much easier on the end user to configure portmaster for options they see fit. Forwarded apologies if any of this is confusing. Regards, -- On another note I wish wc(1) would output some headers above these. ;) $ man portmaster |wc -Lclmw 610 3363 30764 187 jhell,v