Bug 209317

Summary: net/qt4-network: fix openssl runtime linking
Product: Ports & Packages Reporter: groot
Component: Individual Port(s)Assignee: Kurt Jaeger <pi>
Status: Closed FIXED    
Severity: Affects Only Me CC: pi
Priority: --- Flags: pi: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 205566    
Attachments:
Description Flags
ibase and network fixes
none
SSL patch none

Description groot 2016-05-06 07:42:48 UTC
Created attachment 170031 [details]
ibase and network fixes

This comes from area51, the KDE-FreeBSD staging area. Updates to qt4 parts:
 - fix a USES line
 - OpenSSL runtime linking, described below (from r11509 in area51):

Probably relevant for bug #205566 as well.

The PCBSD community discovered an issue with OpenSSL runtime linking, where
the OS bundled OpenSSL libraries are being loaded despite the user having
installed and selected a PORTS OpenSSL installation. The patch provided in
[1] resolves this by hard-coding the OpenSSL path to the default PREFIX of
/usr/local.

References:

 [1] https://mail.kde.org/pipermail/kde-freebsd/2015-November/020535.html

Submitted by: Kris Moore <kris@pcbsd.org>
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2016-05-06 11:14:09 UTC
Give this a more descriptive Summary.
Comment 2 groot 2016-05-25 11:06:56 UTC
Created attachment 170651 [details]
SSL patch

pi@ pointed out the original patch contained an unrelated change; update the patch with:
 - no unrelated change to databases/qt4-ibase-plugin
 - edit paths in diff lines so that the patch should apply with -p0 to the ports tree
Comment 3 Kurt Jaeger freebsd_committer freebsd_triage 2016-05-25 19:15:15 UTC
Committed, thanks!
Comment 4 commit-hook freebsd_committer freebsd_triage 2016-05-25 19:15:37 UTC
A commit references this bug:

Author: pi
Date: Wed May 25 19:14:52 UTC 2016
New revision: 415856
URL: https://svnweb.freebsd.org/changeset/ports/415856

Log:
  net/qt4-network: fix openssl runtime linking

  The PCBSD community discovered an issue with OpenSSL runtime linking, where
  the OS bundled OpenSSL libraries are being loaded despite the user having
  installed and selected a PORTS OpenSSL installation. The patch provided in
  [1] resolves this by hard-coding the OpenSSL path to the default PREFIX of
  /usr/local.

  References:
   [1] https://mail.kde.org/pipermail/kde-freebsd/2015-November/020535.html
  PR:		209317
  Submitted by:	Kris Moore <kris@pcbsd.org>

Changes:
  head/net/qt4-network/Makefile
  head/net/qt4-network/files/
  head/net/qt4-network/files/patch-src_network_ssl_qsslsocket__openssl.cpp
  head/net/qt4-network/files/patch-src_network_ssl_qsslsocket__openssl__symbols.cpp