From owner-freebsd-gnome@FreeBSD.ORG Thu May 8 13:32:48 2003 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2865337B401 for ; Thu, 8 May 2003 13:32:48 -0700 (PDT) Received: from httpd1.terions.de (static62-99-146-055.adsl.inode.at [62.99.146.55]) by mx1.FreeBSD.org (Postfix) with SMTP id 55B8243F3F for ; Thu, 8 May 2003 13:32:46 -0700 (PDT) (envelope-from martin.klaffenboeck@gmx.at) Received: (qmail 73264 invoked from network); 8 May 2003 20:32:45 -0000 Received: from unknown (HELO martin.kleinerdrache.org) (127.0.0.1) by loopback with SMTP; 8 May 2003 20:32:45 -0000 Date: Thu, 8 May 2003 22:32:45 +0200 From: Martin Klaffenboeck To: "Mezz bsdforums.org" Message-ID: <20030508203245.GE72477@martin.kleinerdrache.org> References: Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: ; from reigncracks@hotmail.com on Do, Mai 08, 2003 at 21:21:26 +0200 X-Mailer: Balsa 2.0.10 Lines: 47 cc: gnome@freebsd.org cc: cjm@ava.com.au Subject: Re: keep ports up to date. X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 May 2003 20:32:48 -0000 Am 2003.05.08 21:21 schrieb(en) Mezz bsdforums.org: >>> You should >>> install >>> sysutils/portupgrade, and get used to using it to keep your >>> installed >>> ports up-to-date. >> >> I'm using this script by hand daily: >> >> --------- ports_uptodate.sh ---------- >> #!/bin/sh >> if [ "$1" != "-s" ]; then >> cd /usr/ports >> cp INDEX.ports INDEX >> make update >> cp INDEX INDEX.ports >> marcusmerge -u >> portsdb -uU >> fi >> pkgdb -F >> portversion -l "<" | awk '{ print($1); }' > /root/work/update >> vi /root/work/update >> portupgrade `cat /root/work/update` >> pkgdb -F >> ------------------------------------- > > You can cut the portversion to portupgrade like this: > > ------------------------------------- > ... > ... > pkgdb -F > portupgrade -ra > pkgdb -F > ------------------------------------- I know, but I want to make sure that I have the possibility to choose what I want to update, and there are some ports I really want to update by hand. (tmda for example) So I have the vi /root/work/update line for removeing some ports I want to update by hand. (Normally I do that before I close the vi) Martin