[MacPorts] #33767: cherokee links with libraries it doesn't declare dependencies on

MacPorts noreply at macports.org
Mon Mar 26 02:20:19 PDT 2012


#33767: cherokee links with libraries it doesn't declare dependencies on
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  michael@…              
     Type:  defect                   |      Status:  new                    
 Priority:  Normal                   |   Milestone:                         
Component:  ports                    |     Version:  2.0.4                  
 Keywords:                           |        Port:  cherokee               
-------------------------------------+--------------------------------------
 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/33767>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list