From owner-freebsd-questions@FreeBSD.ORG Fri Oct 21 11:04:26 2011 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 A5D91106564A for ; Fri, 21 Oct 2011 11:04:26 +0000 (UTC) (envelope-from kron24@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3AE888FC1A for ; Fri, 21 Oct 2011 11:04:25 +0000 (UTC) Received: by eyd10 with SMTP id 10so5054614eyd.13 for ; Fri, 21 Oct 2011 04:04:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=mIQcKhm/iHvkDLvhJxLlFlphYO/7/QfZTX5pa5V+mbg=; b=rvODbsqH5EBw51sw4ABu+2cCLhQShTAP2Y2mxyBAGd4duVVTnjNm0VOelKJtG2BAm5 XpThSk6rt+10bmZH9UE4mSj0rAO8qRdORq6A8Vms7HK6Y9VL7MWBMKhWKHLE/TBL7rwo TzUr+Hz2Q4PiIe3qPEBeaQrcM2ohD8GSfc5d4= Received: by 10.213.8.80 with SMTP id g16mr3165134ebg.74.1319195065107; Fri, 21 Oct 2011 04:04:25 -0700 (PDT) Received: from nbvk.local (uidzr185150.sattnet.cz. [212.96.185.150]) by mx.google.com with ESMTPS id o4sm33959798eeb.0.2011.10.21.04.04.21 (version=SSLv3 cipher=OTHER); Fri, 21 Oct 2011 04:04:23 -0700 (PDT) Message-ID: <4EA151B4.8060102@gmail.com> Date: Fri, 21 Oct 2011 13:04:20 +0200 From: kron24 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111005 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4EA12507.7090703@ifdnrg.com> <4EA125D1.1020204@my.gd> <4EA13806.5000803@ifdnrg.com> <4EA13980.4090505@my.gd> In-Reply-To: <4EA13980.4090505@my.gd> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: which ports require dialog during update 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: Fri, 21 Oct 2011 11:04:26 -0000 On 2011/10/21 11:21, Damien Fleuriot wrote: > > > On 10/21/11 11:14 AM, Paul Macdonald wrote: >>> Hi, Is there a way to tell which ports might require dialog input >> during update, i have some auto update scripts >>> Stop doing this. >>> >>> Your update scripts do not read /usr/ports/UPDATING. >>> Your update scripts do not read package changelogs. >>> >>> What you're doing is irresponsible, and potentially dangerous/harmful if >>> your server is in production. >>> >>> You should really be very careful about this. >> i do of course read those files (which require daily checking to confirm >> usually no relevant changes, but thats another issue!).. >> >> however i don't need to read UPDATING on every box, (this tool is an >> assistent, not a replacement, for monitored updates.) >> >> i do need to check that an update that went fine on the initial test box >> will behave the same on other boxes, which is my question, >> >> can i tell if the options dialog is going to be invoked? >> >> thanks >> Paul. > > I'm afraid I can't see an option in portmanager that would handle this. > > I think you portupgrade's --batch mode might be the answer to your > question though. I use portupgrade's --batch or portmaster's PM_MAKE_ARGS='BATCH=true'. The BATCH variable is recognized in ports' makefiles so there should be a way in portmanager too. OP may want to look on 'make config-recursive'. BR Oli