From owner-freebsd-ports Thu Feb 20 6: 7:34 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D33C37B401 for ; Thu, 20 Feb 2003 06:07:33 -0800 (PST) Received: from httpd.terions.de (static62-99-146-055.adsl.inode.at [62.99.146.55]) by mx1.FreeBSD.org (Postfix) with SMTP id 8A92843F93 for ; Thu, 20 Feb 2003 06:07:30 -0800 (PST) (envelope-from martin.klaffenboeck@gmx.at) Received: (qmail 41928 invoked from network); 20 Feb 2003 14:07:28 -0000 Received: from unknown (HELO martin.kleinerdrache.org) (127.0.0.1) by loopback with SMTP; 20 Feb 2003 14:07:28 -0000 Date: Thu, 20 Feb 2003 15:07:27 +0100 From: Martin Klaffenboeck To: Akinori MUSHA , ports@freebsd.org Subject: portupgrade and xargs? Message-ID: <20030220140727.GC91638@martin.kdrache.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=ISO-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mailer: Balsa 2.0.8 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, to update my ports I use the following script: ------- #!/bin/sh cd /usr/ports make update ; pkg_version -l "<" | awk '{ print($1); }' > /root/work/update vi /root/work/update cat /root/work/update | xargs portupgrade portsclean -D ------- The output of portupgrade is really funny... I don't want to reproduce it, but it seems like it just deinstalls the ports... Maybe somone can find this out? Is there an other way to create a wrapper script for make update and portupgrade where I can change the ports to upgrade before upgradeing ? Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message