Bug 209317 - net/qt4-network: fix openssl runtime linking
Summary: net/qt4-network: fix openssl runtime linking
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kurt Jaeger
URL:
Keywords:
Depends on:
Blocks: 205566
  Show dependency treegraph
 
Reported: 2016-05-06 07:42 UTC by groot
Modified: 2016-05-25 19:26 UTC (History)
1 user (show)

See Also:
pi: maintainer-feedback+


Attachments
ibase and network fixes (4.78 KB, patch)
2016-05-06 07:42 UTC, groot
no flags Details | Diff
SSL patch (4.07 KB, patch)
2016-05-25 11:06 UTC, groot
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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