Bug#792303: asterisk-modules: new upload has undesireable depends

Tzafrir Cohen tzafrir at cohens.org.il
Sun Nov 8 03:17:48 UTC 2015


Hi,

On Mon, Jul 13, 2015 at 06:11:17PM +0000, root wrote:
> Package: asterisk-modules
> Version: 1:13.1.0~dfsg-1.1
> Severity: important
> 
> Starting with 1:13.1.0~dfsg-1.1 asterisk-modules has acquired a
> dependency on libx11-6.
> 
> That is entirely unreasonable and unacceptable.
> 
> Asterisk should runs best headless servers (including virtuals).
> Depending on libx11 is insane.
> 
> It would of course be best to split the modules into their own
> packages; no-one ever needs all of them in a single install.  And
> forcing them to be is inherently insicure, given how many of them
> work.
> 
> But to depend on a gui library like libx11 could never be reasonable.

Thanks for your report.

$ for mod in root/usr/lib/asterisk/modules/*.so; do if ldd $mod | grep
-q X11; then echo $mod; fi; done
root/usr/lib/asterisk/modules/chan_oss.so
root/usr/lib/asterisk/modules/chan_pjsip.so
root/usr/lib/asterisk/modules/func_pjsip_endpoint.so
root/usr/lib/asterisk/modules/res_hep_pjsip.so
root/usr/lib/asterisk/modules/res_pjsip_acl.so
root/usr/lib/asterisk/modules/res_pjsip_authenticator_digest.so
root/usr/lib/asterisk/modules/res_pjsip_caller_id.so
root/usr/lib/asterisk/modules/res_pjsip_dialog_info_body_generator.so
root/usr/lib/asterisk/modules/res_pjsip_diversion.so
root/usr/lib/asterisk/modules/res_pjsip_dtmf_info.so
root/usr/lib/asterisk/modules/res_pjsip_endpoint_identifier_anonymous.so
root/usr/lib/asterisk/modules/res_pjsip_endpoint_identifier_ip.so
root/usr/lib/asterisk/modules/res_pjsip_endpoint_identifier_user.so
root/usr/lib/asterisk/modules/res_pjsip_exten_state.so
root/usr/lib/asterisk/modules/res_pjsip_header_funcs.so
root/usr/lib/asterisk/modules/res_pjsip_log_forwarder.so
root/usr/lib/asterisk/modules/res_pjsip_logger.so
root/usr/lib/asterisk/modules/res_pjsip_messaging.so
root/usr/lib/asterisk/modules/res_pjsip_multihomed.so
root/usr/lib/asterisk/modules/res_pjsip_mwi_body_generator.so
root/usr/lib/asterisk/modules/res_pjsip_mwi.so
root/usr/lib/asterisk/modules/res_pjsip_nat.so
root/usr/lib/asterisk/modules/res_pjsip_notify.so
root/usr/lib/asterisk/modules/res_pjsip_one_touch_record_info.so
root/usr/lib/asterisk/modules/res_pjsip_outbound_authenticator_digest.so
root/usr/lib/asterisk/modules/res_pjsip_outbound_publish.so
root/usr/lib/asterisk/modules/res_pjsip_outbound_registration.so
root/usr/lib/asterisk/modules/res_pjsip_path.so
root/usr/lib/asterisk/modules/res_pjsip_phoneprov_provider.so
root/usr/lib/asterisk/modules/res_pjsip_pidf_body_generator.so
root/usr/lib/asterisk/modules/res_pjsip_pidf_digium_body_supplement.so
root/usr/lib/asterisk/modules/res_pjsip_pidf_eyebeam_body_supplement.so
root/usr/lib/asterisk/modules/res_pjsip_publish_asterisk.so
root/usr/lib/asterisk/modules/res_pjsip_pubsub.so
root/usr/lib/asterisk/modules/res_pjsip_refer.so
root/usr/lib/asterisk/modules/res_pjsip_registrar_expire.so
root/usr/lib/asterisk/modules/res_pjsip_registrar.so
root/usr/lib/asterisk/modules/res_pjsip_rfc3326.so
root/usr/lib/asterisk/modules/res_pjsip_sdp_rtp.so
root/usr/lib/asterisk/modules/res_pjsip_send_to_voicemail.so
root/usr/lib/asterisk/modules/res_pjsip_session.so
root/usr/lib/asterisk/modules/res_pjsip.so
root/usr/lib/asterisk/modules/res_pjsip_t38.so
root/usr/lib/asterisk/modules/res_pjsip_transport_websocket.so
root/usr/lib/asterisk/modules/res_pjsip_xpidf_body_generator.so
root/usr/lib/asterisk/modules/res_rtp_asterisk.so

chan_oss can use X11 support for e.g. video grabbing (I didn't really
get to test that one). This support is only enabled if X11 is already
available. It is not new. res_rtp_asterisk and the pjsip modules link
with pjproject libraries. I guess further symbols diet may be needed.

-- 
Tzafrir Cohen         | tzafrir at jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir at cohens.org.il |                    |  best
tzafrir at debian.org    |                    | friend



More information about the Pkg-voip-maintainers mailing list