From: perryh on
Erik Trulsson <ertr1013(a)tudent.uu.se!ertr1013(a)agora.rdrop.com> wrote:
> If a port declares that it depends on file/library/whatever "foo"
> from the port "bar", but you have "foo" installed from the port
> "baz" then the dependency check will be fine (since it finds
> "foo") but when the dependency should be registered in the package
> database it will try to register a dependency on the package
> "bar", which is not installed, and then no dependency is
> registered.
>
> It might be better if a dependency was registered on the package
> that the depended-on file actually was installed from, but this is
> currently not done.

I'd call it a bug not to do it, since it leads to a vulnerability.
After the above sequence, a request to remove baz will succeed
without so much as a warning, leaving the port with the unregistered
dependency on "foo" broken.
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

First  |  Prev  | 
Pages: 1 2
Prev: gimp-gap
Next: lang/python26 -- without threads