From owner-freebsd-questions@FreeBSD.ORG Sat Oct 2 10:25:12 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B57B5106564A for ; Sat, 2 Oct 2010 10:25:12 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 6FD5F8FC0A for ; Sat, 2 Oct 2010 10:25:12 +0000 (UTC) Received: by qyk8 with SMTP id 8so438175qyk.13 for ; Sat, 02 Oct 2010 03:25:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=dA3QWuxDVpCCKnfgujU8My+WSOtNic+LaB4+SfJV0/Q=; b=utPjhZpN6fBGdZQvFh2xPsNpC4xLVct0w9H3pIbIA6I+r7ccxksgNGKCw2fwx6Blku ilV5LuQzw7isj+2RrefK8co0rXxnM0HaV4TM8/rtUsL/7Ru++GJNquTenUopWMGDI4xZ 4Z6GsDtr+maMG9w6Zz0T3v1zfmK+98m4vP03o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=VWIhd7X7tbOmNEFtZmYuhajW9noCZ4eDBD549UXrhV4YlozDFEupUkzXpipx4TzuLN lPF4bMP+xOcBfkDznCmNh3Z7M35sztNvorMoHgzbaod5m+Dwyl7L15r+xRvY4KIcqhS5 BvcWKxYToZ/v1sOLQmxF6deevKospQ1D4EToo= MIME-Version: 1.0 Received: by 10.229.80.194 with SMTP id u2mr4884060qck.49.1286015111695; Sat, 02 Oct 2010 03:25:11 -0700 (PDT) Received: by 10.229.215.209 with HTTP; Sat, 2 Oct 2010 03:25:11 -0700 (PDT) In-Reply-To: <4ca708f4.svuMWmkOCHSjxBDf%mueller6727@bellsouth.net> References: <4ca708f4.svuMWmkOCHSjxBDf%mueller6727@bellsouth.net> Date: Sat, 2 Oct 2010 11:25:11 +0100 Message-ID: From: krad To: Thomas Mueller Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Massive portupgrade without being interrupted by configuration screens? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Oct 2010 10:25:12 -0000 On 2 October 2010 11:27, Thomas Mueller wrote: > How can one do a massive portupgrade, as with -r or -R, without being > interrupted by options configuration screens for many individual ports? > Idea is to let it run unattended such as when I might run it starting just > before bedtime. Doing "make config" ahead of time also gives the chance to > recover from a typo at the configuration screen (high risk). > > Best thing I can think of is, using multimedia/ffmpeg as an example, is > doing a dry run > > portupgrade -Rn multimedia/ffmpeg |& tee -a wouldbe.log > > This would show what other packages would need to be portupgraded and avoid > reconfiguring up-to-date dependencies. Then I would go to each of those > directories in the ports tree and run "make config". > > Running "make config-recursive" in /usr/ports/multimedia/ffmpeg would > produce configuration screens for all dependencies, including those that are > up-to-date. > > I tried > > portupgrade -RCn multimedia/ffmpeg |& tee -a wouldbe.log > > but then I got all dependency configuration screens, including those that > were up-to-date, and also the interface didn't work right: I got garbage > when trying to respond; it didn't write to the configuration screen but > produced non-color garbage to the background. > > Running "make config-recursive" in /usr/ports/multimedia/ffmpeg would > configure all dependencies, including those that are up-to-date and > therefore not in need of portupgrading, though "make config-recursive" seems > appropriate for a first build/install of a port. > > But I think there is no perfect way to be sure of doing all "make config"s > in advance, since selectable options could require additional dependencies. > > If you try to portupgrade perl to 5.12 and everything that depends on it, > as advised in UPDATING file, date 20100715, you will likely get a lot of > configuration dialog screens: I speak from experience, would surely like a > way to do all these "make config"s at the beginning. > > Tom > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > have a look at portmaster. It gets all the config bits out of the way at the start then starts the builds