Bug 236137 - security/tlswrap build failure on freebsd12
Summary: security/tlswrap build failure on freebsd12
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: Mark Felder
URL:
Keywords: needs-patch
Depends on:
Blocks: 228865
  Show dependency treegraph
 
Reported: 2019-03-01 18:19 UTC by Wallace
Modified: 2019-04-12 17:11 UTC (History)
5 users (show)

See Also:


Attachments
build log (4.82 KB, text/plain)
2019-03-01 18:19 UTC, Wallace
no flags Details
Patch to port to patch tls.c to use X509_EXTENSION_get_data() accessor (2.16 KB, patch)
2019-03-26 06:13 UTC, caf
no flags Details | Diff
patch build log (15.11 KB, text/plain)
2019-04-12 16:58 UTC, Wallace
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wallace 2019-03-01 18:19:11 UTC
Created attachment 202486 [details]
build log

See attached build log.
Comment 1 caf 2019-03-26 06:13:06 UTC
Created attachment 203154 [details]
Patch to port to patch tls.c to use X509_EXTENSION_get_data() accessor

Suggested patch to use X509_EXTENSION_get_data() accessor function instead of direct struct access.
Comment 2 Wallace 2019-04-12 16:58:45 UTC
Created attachment 203616 [details]
patch build log

Tested the patch on my FreeBSD 12 VM. Attached is the build log.

After building, installing, running program as a service, I could get the items I needed from websites.
Comment 3 commit-hook freebsd_committer freebsd_triage 2019-04-12 17:10:49 UTC
A commit references this bug:

Author: feld
Date: Fri Apr 12 17:10:32 UTC 2019
New revision: 498730
URL: https://svnweb.freebsd.org/changeset/ports/498730

Log:
  security/tlswrap: Add patch to fix support for modern OpenSSL

  PR:		236137
  MFH:		2019Q2

Changes:
  head/security/tlswrap/Makefile
  head/security/tlswrap/files/patch-tls.c
Comment 4 commit-hook freebsd_committer freebsd_triage 2019-04-12 17:11:53 UTC
A commit references this bug:

Author: feld
Date: Fri Apr 12 17:11:38 UTC 2019
New revision: 498731
URL: https://svnweb.freebsd.org/changeset/ports/498731

Log:
  MFH: r498730

  security/tlswrap: Add patch to fix support for modern OpenSSL

  PR:		236137

Changes:
_U  branches/2019Q2/
  branches/2019Q2/security/tlswrap/Makefile
  branches/2019Q2/security/tlswrap/files/patch-tls.c