Bug 227178

Summary: databases/mysql56-server: Fix build with OpenSSL 1.1
Product: Ports & Packages Reporter: Bernard Spil <brnrd>
Component: Individual Port(s)Assignee: Mahdi Mokhtari <mmokhi>
Status: Closed FIXED    
Severity: Affects Only Me CC: brnrd, gessel, miwi
Priority: --- Keywords: needs-qa, patch
Version: LatestFlags: mmokhi: maintainer-feedback+
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 226843    
Description Flags
svn diff for databases/mysql56-server
mysql-PR227178-A192059-my_aes_openssl.cc.patch none

Description Bernard Spil freebsd_committer 2018-04-01 15:25:50 UTC
Created attachment 192059 [details]
svn diff for databases/mysql56-server

databases/mysql56-server: Fix build with OpenSSL 1.1

 - Fix build with OpenSSL 1.1
 - Fixes build with LibreSSL 2.7 too

Approved by: (maintainer)
Comment 1 Mahdi Mokhtari freebsd_committer freebsd_triage 2018-04-03 06:13:12 UTC
Hi bernard.
Thanks for the patch, seems awesome on build...
I'm trying to [re-]use it for 57 and 80 as well, the latter maybe comes a little [really a little :D] tricky...

I'm now testing the patchs for the rc-regression by 0mp on PR#227231 (and two others), then I'll continue the thing on 80 and commit all in once :D is this OK IYO?
Comment 2 gessel 2018-05-02 13:14:03 UTC
Created attachment 192995 [details]

Tried against mysql56-server-5.6.40, some issues...
Comment 3 gessel 2018-05-02 13:14:52 UTC
Created attachment 192996 [details]

tried against mysql56-server-5.6.40
Comment 4 gessel 2018-05-02 13:16:45 UTC
I tried the attached patches against mysql56-server-5.6.40, which was building cleanly without them and starting without reporting errors.  

Once /files was updated with these patches, I get on # make

===>  Applying FreeBSD patches for mysql56-server-5.6.40
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to include/my_compare.h.rej
=> FreeBSD patch patch-include_my_compare.h failed to apply cleanly.
=> Patch(es)  patch-CMakeLists.txt patch-client_CMakeLists.txt patch-cmake_plugin.cmake patch-cmake_ssl.cmake patch-extra_CMakeLists.txt patch-include_CMakeLists.txt patch-include_my__compare.h applied cleanly.
*** Error code 1

make: stopped in /usr/ports/databases/mysql56-server
Comment 5 commit-hook freebsd_committer 2018-05-07 19:09:29 UTC
A commit references this bug:

Author: brnrd
Date: Mon May  7 19:09:03 UTC 2018
New revision: 469311
URL: https://svnweb.freebsd.org/changeset/ports/469311

  databases/mysql56-server: Fix build with LibreSSL

  PR:		227178
  Approved by:	mmokhi (maintainer)

Comment 6 Martin Wilke freebsd_committer 2018-05-20 16:13:53 UTC
Close since its patched.
Comment 7 commit-hook freebsd_committer 2018-08-14 14:15:26 UTC
A commit references this bug:

Author: mmokhi
Date: Tue Aug 14 14:15:02 UTC 2018
New revision: 477156
URL: https://svnweb.freebsd.org/changeset/ports/477156

  MFH: r469311 r476853

  databases/mysql56-server: Fix build with LibreSSL

  PR:		227178
  Approved by:	mmokhi (maintainer)

  mysql56-{client, server}: Update ports to 5.6.41
  This update includes Oracle Critical Patch Advisory published on July 2018
  More info:

  Sponsored by:	The FreeBSD Foundation

  Approved by:	ports-secteam (feld)

_U  branches/2018Q3/