which ports require dialog during update
kron24 at gmail.com
Fri Oct 21 11:04:26 UTC 2011
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?
> 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'.
More information about the freebsd-questions