Opened 13 years ago
Last modified 4 years ago
#33767 assigned defect
cherokee links with libraries it doesn't declare dependencies on
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.4 |
Keywords: | Cc: | ||
Port: | cherokee |
Description
Cherokee links with several libraries it doesn't declare dependencies on (if the ports for those libraries are already installed when the cherokee port is installed).
For example, cherokee links with libssl and libcrypto, even if the +ssl variant is not selected. Cherokee links with libldap though no dependency on the openldap port is declared. Cherokee links with libavcodec, libavformat and libavutil, though no dependency on the ffmpeg port is declared. Cherokee's configure script also looks for PHP and MySQL and probably other libraries and programs it doesn't declare dependencies on.
In the case of ssl, cherokee already has an indirect dependency on openssl: cherokee has a library dependency on rrdtool which has a library dependency on pango which has a library dependency on cairo which has a library dependency on xorg-xcb-util which has a library dependency on xorg-libxcb which has a library dependency on python27 which has a library dependency on openssl. But that's a pretty long dependency chain there might be variants that the user could select that would alter that, so we shouldn't rely on that. If cherokee itself is going to use openssl, it should itself declare a dependency on openssl.
Bottom line: cherokee should declare dependencies on the other software packages it uses, and should not use software packages it doesn't declare dependencies on.
See also #30324 for some other variant suggestions you may or may not want to implement.
Change History (2)
comment:1 Changed 5 years ago by mf2k (Frank Schima)
Owner: | michael@… deleted |
---|---|
Status: | new → assigned |
See #58384.