Date: Tue, 09 Mar 2010 00:16:07 -0800 From: perryh@pluto.rain.com To: ertr1013@student.uu.se Cc: olli@lurza.secnetix.de, freebsd-ports@freebsd.org Subject: Re: editors/joe + textproc/aspell: dependency problem? Message-ID: <4b9603c7.KpO1BMZK7fQsGdMr%perryh@pluto.rain.com> In-Reply-To: <20100308122657.GA89375@owl.midgard.homeip.net> References: <201003081150.o28Bo5QI078355@lurza.secnetix.de> <20100308122657.GA89375@owl.midgard.homeip.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Erik Trulsson <ertr1013@tudent.uu.se!ertr1013@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4b9603c7.KpO1BMZK7fQsGdMr%perryh>