pkg_add fixing dependencies

2008-07-15 Thread Anders Nore
Hello everyone, I'm working on pkg_install during GSoC to help improve it, and there's one thing I've come across that I'm uncertain is the best behaviour, and it's best shown with an example: Installed packages: firefox-3.0_2,1 zip-2.32 With these packages installed firefox3 has a

Re: pkg_add fixing dependencies

2008-07-15 Thread Sergey Matveychuk
Anders Nore wrote: So my question is, shouldn't pkg_add -r zip check installed packages for dependencies and make a correct +REQUIRED_BY file for zip? I know that portupgrade and portmaster does this. As I understand, adding and upgrading should be separate processes. When you add a package,

Re: pkg_add fixing dependencies

2008-07-15 Thread Garrett Cooper
On Jul 15, 2008, at 7:37 AM, Sergey Matveychuk wrote: Anders Nore wrote: So my question is, shouldn't pkg_add -r zip check installed packages for dependencies and make a correct +REQUIRED_BY file for zip? I know that portupgrade and portmaster does this. As I understand, adding and