FreeBSD Bugzilla – Attachment 151636 Details for
Bug 196122
[MAINTAINER] databases/mariadb100-server unbreak SSLv2 disabled exp-run
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for databases/mariadb100-server
patch-mariadb100-server (text/plain), 4.04 KB, created by
Bernard Spil
on 2015-01-14 20:25:22 UTC
(
hide
)
Description:
Patch for databases/mariadb100-server
Filename:
MIME Type:
Creator:
Bernard Spil
Created:
2015-01-14 20:25:22 UTC
Size:
4.04 KB
patch
obsolete
>--- Makefile.orig 2014-12-19 15:00:35.224310132 +0100 >+++ Makefile 2015-01-14 21:17:13.225038758 +0100 >@@ -24,17 +24,17 @@ > SHEBANG_FILES= scripts/*.sh > SITESDIR= mariadb/mariadb-${PORTVERSION}/source > >-BROKEN_arm= Does not compile on arm >+BROKEN_armv6= Does not compile on arm > > OPTIONS_DEFINE= FASTMTX > OPTIONS_RADIO= SSL >-OPTIONS_RADIO_SSL= WITHOUT_SSL BUNDLED_SSL OPENSSL >+OPTIONS_RADIO_SSL= BUNDLED_SSL OPENSSL WITHOUT_SSL > OPTIONS_DEFAULT+= OPENSSL > NO_OPTIONS_SORT= yes > >-FASTMTX_DESC= Replace mutexes with spinlocks >-WITHOUT_SSL_DESC= No SSL/TLS support > BUNDLED_SSL_DESC= SSL/TLS support via (bundled) CyaSSL >+FASTMTX_DESC= Replace mutexes with spinlocks >+WITHOUT_SSL_DESC= No SSL/TLS support > > CMAKE_ARGS+= -DINSTALL_DOCDIR="share/doc/mysql" \ > -DINSTALL_DOCREADMEDIR="share/doc/mysql" \ >@@ -63,43 +63,27 @@ > > DATADIR= ${PREFIX}/share/mysql > >-# MySQL-Server options > .if !defined(CLIENT_ONLY) >+# MySQL-Server options > USE_MYSQL= yes >-OPTIONS_DEFINE+= INNODB MROONGA OQGRAPH MAXKEY >+OPTIONS_DEFINE+= INNODB MAXKEY MROONGA OQGRAPH > OPTIONS_DEFAULT+= MAXKEY >+OPTIONS_SUB= yes > > INNODB_DESC= Build InnoDB engine next to XtraDB >+MAXKEY_DESC= Change max key length from 1000 to 4000 > MROONGA_DESC= Mroonga Full Text Search engine (gcc) > OQGRAPH_DESC= Open Query Graph Computation engine (gcc) >-MAXKEY_DESC= Change max key length from 1000 to 4000 >-.endif >- >-.include <bsd.port.options.mk> >- >-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000012 >-CMAKE_ARGS+= -DWITH_JEMALLOC="system" >-.else >-CMAKE_ARGS+= -DWITH_JEMALLOC="no" >-.endif >- >-.if ${PORT_OPTIONS:MOPENSSL} >-USE_OPENSSL= yes >-CMAKE_ARGS+= -DWITH_SSL=yes >-.elif ${PORT_OPTIONS:MBUNDLED_SSL} >-CMAKE_ARGS+= -DWITH_SSL=bundled >-.elif ${PORT_OPTIONS:MWITHOUT_SSL} >-CMAKE_FLAGS+= -DWITH_SSL=no >-.else >-CMAKE_FLAGS+= -DWITH_SSL=no > .endif > >-.if ${PORT_OPTIONS:MFASTMTX} >-CMAKE_ARGS+= -DWITH_FAST_MUTEXES=1 >-.endif >+BUNDLED_SSL_CMAKE_ON= -DWITH_SSL=bundled >+FASTMX_CMAKE_ON= -DWITH_FAST_MUTEXES=1 >+OPENSSL_CMAKE_ON= -DWITH_SSL=yes >+OPENSSL_USE= OPENSSL=yes >+WITHOUT_SSL_CMAKE_ON= -DWITH_SSL=no > >-# MySQL-Client part > .if defined(CLIENT_ONLY) >+# MySQL-Client part > USES+= readline > .else > # MySQL-Server part >@@ -117,34 +101,13 @@ > -DCMAKE_SKIP_BUILD_RPATH:BOOL=YES \ > -DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 > >-. if empty(PORT_OPTIONS:MINNODB) >-PLIST_SUB+= INNODB="@comment " >-. else >-CMAKE_ARGS+= -DWITHOUT_INNOBASE=1 >-PLIST_SUB+= INNODB="" >-. endif >- >-. if empty(PORT_OPTIONS:MMROONGA) >-CMAKE_ARGS+= -DWITHOUT_MROONGA=1 >-PLIST_SUB+= MROONGA="@comment " >-. else >-USE_GCC?= yes >-CMAKE_ARGS+= -DWITH_MROONGA_STORAGE_ENGINE=1 >-PLIST_SUB+= MROONGA="" >-. endif >- >-. if empty(PORT_OPTIONS:MOQGRAPH) >-CMAKE_ARGS+= -DWITHOUT_OQGRAPH=1 >-PLIST_SUB+= OQGRAPH="@comment " >-. else >-USE_GCC?= yes >-CMAKE_ARGS+= -DWITH_OQGRAPH_STORAGE_ENGINE=1 >-PLIST_SUB+= OQGRAPH="" >-LIB_DEPENDS+= libboost_system.so:${PORTSDIR}/devel/boost-libs >-. endif >-. if ${PORT_OPTIONS:MMAXKEY} >-EXTRA_PATCHES+= ${FILESDIR}/extra-patch-include_my_compare.h >-. endif >+INNODB_CMAKE_OFF= -DWITHOUT_INNOBASE=1 >+MAXKEY_EXTRA_PATCHES+= ${FILESDIR}/extra-patch-include_my_compare.h >+MROONGA_CMAKE_OFF= -DWITHOUT_MROONGA=1 >+MROONGA_USE= GCC=yes >+OQGRAPH_CMAKE_OFF= -DWITHOUT_OQGRAPH=1 >+OQGRAPH_USE= GCC=yes >+OQGRAPH_LIB_DEPENDS= libboost_system.so:${PORTSDIR}/devel/boost-libs > > post-install: > # Remove programs to avoid conflict with mariadb100-client >@@ -156,6 +119,19 @@ > ${STAGEDIR}${PREFIX}/bin/mysqlaccess > .endif > >+.include <bsd.port.pre.mk> >+ >+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000012 >+CMAKE_ARGS+= -DWITH_JEMALLOC="system" >+.else >+CMAKE_ARGS+= -DWITH_JEMALLOC="no" >+.endif >+ >+# Server segfaults on i386 when built with clang >= 3.4 >+.if ${ARCH} == 'i386' && ${OSVERSION} >= 1001000 >+USE_GCC= yes >+.endif >+ > post-patch: > @${REINPLACE_CMD} 's/*.1/${MAN1}/' ${WRKSRC}/man/CMakeLists.txt > @${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/mysys/my_default.c >@@ -166,4 +142,4 @@ > ${MV} ${WRKSRC}/storage/tokudb ${WRKSRC}/skip-tokudb > .endif > >-.include <bsd.port.mk> >+.include <bsd.port.post.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 196122
:
150753
|
150754
|
150765
|
150766
|
150767
|
151636
|
151637
|
151638
|
151670