Bug 193872

Summary: www/linux-c6-flashplugin11: libflashsupport is broken, missing audio without ALSA
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: Eitan Adler <eadler>
Status: Closed FIXED    
Severity: Affects Only Me CC: xmj
Priority: --- Keywords: patch, regression
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://lists.freebsd.org/pipermail/freebsd-emulation/2014-September/011854.html
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192541
Attachments:
Description Flags
workaround
none
fix USE_LINUX_APPS dependency. none

Description Jan Beich freebsd_committer freebsd_triage 2014-09-23 12:50:24 UTC
Created attachment 147597 [details]
workaround

flashplugin11 tries to dlopen libflashsupport.so and then falls back to ALSA. However, dlopen fails because of missing dependency, libssl.so.7. linux-c6-openssl doesn't provide it unlike linux-f10-openssl. Make a link as a workaround until someone builds linux-c6-flashsupport.

$ readelf -d $(make -V WRKSRC -C www/linux-c6-flashplugin11)/libflashsupport.so | fgrep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libssl.so.7]
 0x00000001 (NEEDED)                     Shared library: [libpthread.so.0]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]

$ fgrep libssl security/linux-c6-openssl/pkg-plistusr/lib/libssl.so.%%PORTVERSION%%
usr/lib/libssl.so.10
usr/lib/.libssl.so.%%PORTVERSION%%.hmac
usr/lib/.libssl.so.10.hmac
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-09-23 12:50:24 UTC
Auto-assigned to maintainer eadler@FreeBSD.org
Comment 2 Jan Beich freebsd_committer freebsd_triage 2014-09-23 12:54:07 UTC
Technically, a regression in function parity.
Comment 3 Johannes Jost Meixner freebsd_committer freebsd_triage 2014-09-23 13:24:42 UTC
(In reply to Jan Beich from comment #2)
> Technically, a regression in function parity.

Please do not use the workaround.

Functionality can be restored by using security/linux-c6-openssl-compat, which provides OpenSSL 0.9.8e.
Comment 4 Johannes Jost Meixner freebsd_committer freebsd_triage 2014-09-23 13:26:47 UTC
Created attachment 147600 [details]
fix USE_LINUX_APPS dependency.
Comment 5 commit-hook freebsd_committer freebsd_triage 2014-09-24 04:05:53 UTC
A commit references this bug:

Author: xmj
Date: Wed Sep 24 04:05:46 UTC 2014
New revision: 369156
URL: http://svnweb.freebsd.org/changeset/ports/369156

Log:
  www/linux-c6-flashplugin11: Set correct dependency on OpenSSL

  The centos 6.5-compatible version of Flashplugin currently misses a
  dependency on the right OpenSSL port (security/linux-c6-openssl-compat, 0.9.8e).
  Fix this by adding it to USE_LINUX_APPS.

  PR: 		193872
  Differential Revision:	https://reviews.freebsd.org/D820
  Submitted by:	Jan Beich <jbeich@vfemail.net>
  Approved by:	swills (mentor)

Changes:
  head/www/linux-c6-flashplugin11/Makefile
Comment 6 Johannes Jost Meixner freebsd_committer freebsd_triage 2014-09-24 04:19:43 UTC
Solved. Thanks!