From owner-freebsd-questions@FreeBSD.ORG Thu Aug 5 13:59:52 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F42516A4CE for ; Thu, 5 Aug 2004 13:59:52 +0000 (GMT) Received: from sccmmhc92.asp.att.net (sccmmhc92.asp.att.net [204.127.203.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E03743D2D for ; Thu, 5 Aug 2004 13:59:52 +0000 (GMT) (envelope-from m.hauber@mchsi.com) Received: from [10.51.10.3] (12-219-204-133.client.mchsi.com[12.219.204.133]) by sccmmhc92.asp.att.net (sccmmhc92) with ESMTP id <20040805135951m92008111ue>; Thu, 5 Aug 2004 13:59:51 +0000 From: Mike Hauber To: freebsd-questions@freebsd.org Date: Thu, 5 Aug 2004 09:56:50 -0400 User-Agent: KMail/1.6.2 X-Copyright: 2004, Michael C. Hauber. All rights reserved. X-Notice: Duplication, modification, and/or redistribution are prohibited without proper consent from the author. MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200408050956.51071.m.hauber@mchsi.com> Subject: portugrade -aR (except) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: m.hauber@mchsi.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Aug 2004 13:59:52 -0000 Greetings, all. I am running 4.10-Stable, and I have the following question about portupgrade. So far, I have not had a successful build of OpenOffice (on any version of FreeBSD... ever... so I use their binaries as they become available), and the samba port is broken (until I upgrade the system to 5.x). What I do now is simply grep a list of installed ports with updates available and send the outbut to a file. (ie, # portversion | grep "<" > ~/pupdate.sh ) Then I edit ~/pupdate.sh so that every line begins with "portupgrade -R." (And, of course, I delete the samba and OpenOffice entries) In other words my file would look something like this: >>> #!/bin/sh portupgrade -R blip portupgrade -R blop portupgrade -R bluey <<< make it executable, run it overnight, and fix the small stuff in the morning. Obviously, because I like to upgrade my systems every week, this gets old. Is there any way I can tell portupgrade to simply portupgrade -aR (except for a specific list of packages)? If not, does anyone have a more simple solution? And again, if not, would this be considered a worthy suggestion for the developers of /portupgrade? Thanks