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: newassigned

See #58384.

comment:2 Changed 4 years ago by herbygillot (Herby Gillot)

In daed60864683925cef2999bfe3bcadbab25039fe/macports-ports (master):

cherokee: update to 1.2.204

  • use distfiles from Github as official site points to Github-hosted assets
  • use recommended checksum types
  • patch and configure to use $prefix/var/www as www root
  • remove all variants, add new variants for ffmpeg and LDAP
  • add Python 2.7 as lib dependency, also needed for build process
  • use automake/autoconf/libtool in build process

Closes: #30324
Closes: #33768
Closes: #44766
See: #33767
See: #43704

Note: See TracTickets for help on using tickets.