From owner-freebsd-gnome@FreeBSD.ORG Thu May 8 12:21:27 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 9236837B401 for ; Thu, 8 May 2003 12:21:27 -0700 (PDT) Received: from hotmail.com (f63.sea2.hotmail.com [207.68.165.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0082B43F3F for ; Thu, 8 May 2003 12:21:27 -0700 (PDT) (envelope-from reigncracks@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 8 May 2003 12:21:26 -0700 Received: from 68.103.37.247 by sea2fd.sea2.hotmail.msn.com with HTTP; Thu, 08 May 2003 19:21:26 GMT X-Originating-IP: [68.103.37.247] X-Originating-Email: [reigncracks@hotmail.com] From: "Mezz bsdforums.org" To: martin.klaffenboeck@gmx.at Date: Thu, 08 May 2003 14:21:26 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 08 May 2003 19:21:26.0865 (UTC) FILETIME=[053D3C10:01C31597] 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 19:21:27 -0000 >>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 ------------------------------------- Cheers, Mezz >Martin _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail