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: | Latest | Flags: | mmokhi:
maintainer-feedback+
|
||||||||
Hardware: | Any | ||||||||||
OS: | Any | ||||||||||
Bug Depends on: | |||||||||||
Bug Blocks: | 226843 | ||||||||||
Attachments: |
|
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? Created attachment 192995 [details]
mysql-PR227178-A192059-mysys.ssl.patch
Tried against mysql56-server-5.6.40, some issues...
Created attachment 192996 [details]
mysql-PR227178-A192059-my_aes_openssl.cc.patch
tried against mysql56-server-5.6.40
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 Stop. make: stopped in /usr/ports/databases/mysql56-server 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 Log: databases/mysql56-server: Fix build with LibreSSL PR: 227178 Approved by: mmokhi (maintainer) Changes: head/databases/mysql56-server/files/patch-mysys__ssl_my__aes__openssl.cc head/databases/mysql56-server/files/patch-vio_viosslfactories.c Close since its patched. 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 Log: 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: http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html#AppendixMSQL Sponsored by: The FreeBSD Foundation Approved by: ports-secteam (feld) Changes: _U branches/2018Q3/ branches/2018Q3/databases/mysql56-server/Makefile branches/2018Q3/databases/mysql56-server/distinfo |
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 PR: Approved by: (maintainer) ```