which ports require dialog during update

Warren Block wblock at wonkity.com
Fri Oct 21 13:18:31 UTC 2011


On Fri, 21 Oct 2011, Paul Macdonald wrote:

> Can i programmatically tell if user input is required?

It might require reinventing the logic used by the ports system 
Makefiles.  Or maybe there's a way to run make config-recursive but get 
dialog to immediately cancel any config screens that appear (redirect 
input from /dev/null?).  Detect whether the output of that is not empty.

'make config-recursive' was already mentioned, but portupgrade has the 
-c and -C options, and running all the config screens before starting a 
build is automatic for portmaster.


More information about the freebsd-questions mailing list