Portupgrade, how to disable dialog configuration?

Ion-Mihai Tetcu itetcu at people.tecnik93.com
Thu Dec 22 17:16:12 PST 2005


On Fri, 23 Dec 2005 01:05:05 +0000
Pawel <pawciobiel at gmail.com> wrote:

> Hi
> I have installed port eg. postfix already. All flags, that this port
> was configured with are in /var/db/ports/PORTNAME/options file.
> Now I would like to upgrade this port via portupgrade.
> My questions are:
> Do I have to tell portupgrade to read this files if I simple want to
> have this port to be upgrade with the same flags,

No, if the port uses OPTIONS, yes if it uses a custom script and you
(or portupgrade for you) sis a make clean in the port.

> and if so how can I do it?

See /usr/local/etc/pkg_tools.conf.
For postfix see the beginning of the Makefile.

> How can I disable ports dialog configuration?

pass -DBATCH to make (see -m switch of portupgrade)



-- 
IOnut - Unregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"

BOFH excuse #340:
Well fix that in the next (upgrade, update, patch release, service pack)




More information about the freebsd-ports mailing list