Bug 196125

Summary: [PATCH] databases/mariadb55-server unbreak SSLv2 disabled exp-run
Product: Ports & Packages Reporter: Bernard Spil <brnrd>
Component: Individual Port(s)Assignee: Johannes Jost Meixner <xmj>
Status: Closed FIXED    
Severity: Affects Some People CC: Jungleboogie0, never, tijl, xmj
Priority: --- Flags: bugzilla: maintainer-feedback? (never)
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195796
Bug Depends on:    
Bug Blocks: 195796    
Attachments:
Description Flags
Patch for databases/mariadb55-server
none
Poudriere log of mariadb55-server amd64
none
Poudriere log of mariadb55-client amd64
none
Patch for databases/mariadb55-server
none
Poudriere log of mariadb55-server amd64
none
Poudriere log of mariadb55-client amd64
none
Patch for databases/mariadb55-server none

Description Bernard Spil freebsd_committer freebsd_triage 2014-12-19 13:45:50 UTC
Created attachment 150762 [details]
Patch for databases/mariadb55-server

Patch for databases/mariadb55-server

This came up during the SSLv2 disabled exp-run and through other reports. 
See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195796
and http://package18.nyi.freebsd.org/data/101amd64-default-PR195796/2014-12-12_06h28m13s/logs/errors/mariadb55-client-5.5.40.log

Error is
"===>  mariadb55-client-5.5.40 security/openssl package is installed. To build this either select the OPENSSL and PORTSSL options or deinstall openssl.
*** Error code 1"

Looks like this handling of OPENSSL options was old. Reworked it and built client without SSL, with bundled SSL, with OpenSSL from base and LibreSSL from ports which is now auto-detected. Server built fine with default options linking LibreSSL.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-12-19 13:45:50 UTC
Maintainer CC'd
Comment 2 Bernard Spil freebsd_committer freebsd_triage 2014-12-19 15:00:03 UTC
Created attachment 150768 [details]
Poudriere log of mariadb55-server amd64

Gzipped, original is 2.3MB
Comment 3 Bernard Spil freebsd_committer freebsd_triage 2014-12-19 15:08:36 UTC
Created attachment 150769 [details]
Poudriere log of mariadb55-client amd64
Comment 4 Johannes Jost Meixner freebsd_committer freebsd_triage 2015-01-13 13:22:03 UTC
I'll take it (maintainer timeout)
Comment 5 Bernard Spil freebsd_committer freebsd_triage 2015-01-14 19:51:59 UTC
Created attachment 151633 [details]
Patch for databases/mariadb55-server

- Upgrade to version 5.5.41
- Fixes the SSLv2 disabled exp-run issue
- Major refactor to new OPTIONS helpers (-24 lines)
Comment 6 Bernard Spil freebsd_committer freebsd_triage 2015-01-14 19:55:29 UTC
Created attachment 151634 [details]
Poudriere log of mariadb55-server amd64
Comment 7 Bernard Spil freebsd_committer freebsd_triage 2015-01-14 19:56:42 UTC
Created attachment 151635 [details]
Poudriere log of mariadb55-client amd64
Comment 8 Bernard Spil freebsd_committer freebsd_triage 2015-01-14 20:32:05 UTC
Created attachment 151639 [details]
Patch for databases/mariadb55-server

- Upgrade to version 5.5.41
- Fixes the SSLv2 disabled exp-run issue
- Major refactor to new OPTIONS helpers (-24 lines)
+ tiny fix
Comment 9 Tijl Coosemans freebsd_committer freebsd_triage 2015-01-15 09:39:25 UTC
Can you also make a similar patch for mariadb100?
Comment 10 Bernard Spil freebsd_committer freebsd_triage 2015-01-15 10:26:35 UTC
Tijl: It's already there!
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196122
Comment 11 commit-hook freebsd_committer freebsd_triage 2015-01-16 15:54:01 UTC
A commit references this bug:

Author: xmj
Date: Fri Jan 16 15:53:55 UTC 2015
New revision: 377184
URL: https://svnweb.freebsd.org/changeset/ports/377184

Log:
  databases/mariadb55-*: update to 5.5.41

  - Update -server and -client to 5.5.41
  - Use Options helpers
  - Use GCC on i386 newer than 10.1

  PR:		196125
  Differential Revision:	https://reviews.freebsd.org/D1534
  Submitted by:	Bernard Spil <spil.oss@gmail.com>
  Approved by:	maintainer timeout (3 weeks)
  Approved by:	swills(mentor)

Changes:
  head/databases/mariadb55-server/Makefile
  head/databases/mariadb55-server/distinfo
Comment 12 Johannes Jost Meixner freebsd_committer freebsd_triage 2015-01-16 15:56:52 UTC
Committed, thanks!