New /bin/sh based script to manage ports

Alexander Leidinger Alexander at Leidinger.net
Sun Jan 15 01:09:42 PST 2006


Doug Barton <dougb at FreeBSD.org> wrote:

> BTW, where the typical case of updating or installing a single port 
> is concerned, going from the top down is the right thing to do, since 
> dependencies will vary depending on OPTIONS chosen. However, for the 
> case of updating all the ports that are already installed, your 
> suggestion is a welcome optimization.

After your explanation how portmaster operates I don't see the immediate
benefit for the entire update procedure. You just change the order in which
the ports are updated while still being consistent regarding the
dependencies. It may matter while the update procedure process still runs,
since the user may be able to use updated stand-alone ports earlier. But
most of the time the leaf ports are the interesting ones (graphical MUA,
webbrowser, word processor, php, whatever), and for them this changes
(nearly ?) nothing.

So at the moment I just see a pessimization regarding code complexity and
maintainability, but no optimization regarding user benefit or correctness
(since the update procedure already DTRT regarding dependencies). Can you
please explain where you see an optimization?

Bye,
Alexander.

-- 
http://www.Leidinger.net  Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org     netchild @ FreeBSD.org  : PGP ID = 72077137
panic: kernal segmentation violation. core dumped		(only kidding)




More information about the freebsd-ports mailing list