ports/160548: ports/mysql55-server - make OpenSSL available to make/compile process

RandomUser rannumgen at globaleyes.net
Thu Sep 8 04:40:07 UTC 2011


>Number:         160548
>Category:       ports
>Synopsis:       ports/mysql55-server - make OpenSSL available to make/compile process
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 08 04:40:06 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     RandomUser
>Release:        FreeBSD 7.4-STABLE i386
>Organization:
>Environment:


System: FreeBSD 7.4-STABLE #34: Tue Sep  6 21:15:29 CDT 2011


>Description:


By default, MySQL-5.5 (server/client) can be configured to use NO SSL or the embedded/included YASSL.
NO provision is made for using OpenSSL.

The included patch iinserts an additional MAKE conditional so that supplying a "-DWITH_OPENSSL" will avoid
the default package embedded YASSL. It also unconditionally inserts a CMAKE "-DWITH_SSL=system" argument.

Maintainer may wish to modify this patch, but a MAKE provision for allowing OpenSSL to be easily defined/selected
in the MAKE/compile process should be added to the current MySQL-5.5 server Makefile.


>How-To-Repeat:





>Fix:


--- Makefile.orig	2011-08-17 13:36:35.000000000 -0500
+++ Makefile	2011-09-06 15:50:00.000000000 -0500
@@ -39,6 +39,7 @@
 		-DINSTALL_SQLBENCHDIR="share/mysql" \
 		-DINSTALL_SUPPORTFILESDIR="share/mysql" \
 		-DWITH_LIBEDIT=0 \
+		-DWITH_SSL=system \
 		-DWITH_LIBWRAP=1
 
 .ifdef USE_MYSQL
@@ -48,8 +49,10 @@
 .include <bsd.port.options.mk>
 
 .if !defined(WITHOUT_OPENSSL)
+.if !defined(WITH_OPENSSL)
 CMAKE_ARGS+=	-DWITH_SSL=bundled
 .endif
+.endif
 .if defined(WITH_FASTMTX)
 CMAKE_ARGS+=	-DWITH_FAST_MUTEXES=1
 .endif


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list