Quoting RW <[EMAIL PROTECTED]> (from Wed, 21 Jun 2006
22:49:30 +0100):
On Wednesday 21 June 2006 20:24, Alexander Leidinger wrote:
Quoting Andriy Gapon <[EMAIL PROTECTED]> (Wed, 21 Jun 2006 21:15:17 +0300):
> It still would be very nice to introduce a concept of "immediate
> dependencies" to portupgrade tools (or maybe to ports/packages in
> general ???) and have some options to work only on those.
> Completely fictional example:
portupgrade is the wrong place to do this. We "just" need to switch
from implicit dependencies to explicit dependencies in the ports
collection.
My understanding is that portupgrade gets its dependency information from the
the package database, which records full recursive dependencies (for the
benifit of pkg_add).
Does pkg_add download all missing dependencies at once before
installing all missing packages? If not: there should be no change in
behavior in pkg_add if we wswitch to explicit dependencies.
By contrast portmanger rebuilds only direct dependencies unless you specify
the "pristine" option. I presume that's because it gets its origin dependency
information from the port make targets, and uses the package database for
version information.
Given that Portmanger is already doing this, could you explain why you think
there is a need for the port system to change.
Not every port contains an explicit dependency, if it is already
satisfied by an implicit dependency. Therefore I assume you may miss
to update a port in portmanager.
Aside from this, portupgrade uses the dependency information regorded
in /var/db/pkg (or INDEX-X, I'm not sure), which is written by the
infrastructure of the Ports Collection. I assume the upgrade shell
script we got recently in ports (sorry, I can't remember the name)
also uses the information provided by the ports collection, so it
would benefit too from switching to explicit dependencies.
Bye,
Alexander.
--
Selling GoodYear Eagle F1 235/40ZR18, 2x 4mm + 2x 5mm, ~130 EUR
you have to pick it up between Germany/Saarland and Luxembourg/Capellen
http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"