From owner-svn-ports-all@FreeBSD.ORG Fri Jan 16 15:53:56 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E6E2E319; Fri, 16 Jan 2015 15:53:55 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D126A3B2; Fri, 16 Jan 2015 15:53:55 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t0GFrtqN035356; Fri, 16 Jan 2015 15:53:55 GMT (envelope-from xmj@FreeBSD.org) Received: (from xmj@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t0GFrtaG035354; Fri, 16 Jan 2015 15:53:55 GMT (envelope-from xmj@FreeBSD.org) Message-Id: <201501161553.t0GFrtaG035354@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: xmj set sender to xmj@FreeBSD.org using -f From: Johannes Jost Meixner Date: Fri, 16 Jan 2015 15:53:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r377184 - head/databases/mariadb55-server X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jan 2015 15:53:56 -0000 Author: xmj Date: Fri Jan 16 15:53:54 2015 New Revision: 377184 URL: https://svnweb.freebsd.org/changeset/ports/377184 QAT: https://qat.redports.org/buildarchive/r377184/ 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 Approved by: maintainer timeout (3 weeks) Approved by: swills(mentor) Modified: head/databases/mariadb55-server/Makefile head/databases/mariadb55-server/distinfo Modified: head/databases/mariadb55-server/Makefile ============================================================================== --- head/databases/mariadb55-server/Makefile Fri Jan 16 15:42:47 2015 (r377183) +++ head/databases/mariadb55-server/Makefile Fri Jan 16 15:53:54 2015 (r377184) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME?= mariadb -PORTVERSION= 5.5.40 +PORTVERSION= 5.5.41 CATEGORIES= databases ipv6 MASTER_SITES= http://ftp.osuosl.org/pub/mariadb/${PORTNAME}-${PORTVERSION}/source/ \ http://mirrors.supportex.net/mariadb/${PORTNAME}-${PORTVERSION}/source/ \ @@ -23,14 +23,6 @@ PKGMESSAGE= ${WRKDIR}/pkg-message SLAVEDIRS= databases/mariadb55-client USES= cmake execinfo gmake shebangfix SHEBANG_FILES= scripts/*.sh -NO_OPTIONS_SORT=yes - -OPTIONS_DEFINE+= SSL OPENSSL PORTSSL FASTMTX -OPTIONS_DEFAULT+= SSL - -FASTMTX_DESC= Replace mutexes with spinlocks -OPENSSL_DESC= Use OpenSSL instead of bundled yassl -PORTSSL_DESC= Use OpenSSL from port (requires OPENSSL to be set) CMAKE_ARGS+= -DINSTALL_DOCDIR="share/doc/mysql" \ -DINSTALL_DOCREADMEDIR="share/doc/mysql" \ @@ -53,56 +45,16 @@ CMAKE_ARGS+= -DINSTALL_DOCDIR="share/doc -DEXECINFO_ROOT=${LOCALBASE} \ -DCOMPILATION_COMMENT="FreeBSD Ports" -.ifdef USE_MYSQL -.error You have `USE_MYSQL' variable defined either in environment or in make(1) arguments. Please undefine and try again. -.endif - DATADIR= ${PREFIX}/share/mysql -# MySQL-Server options -.if !defined(CLIENT_ONLY) -OPTIONS_DEFINE+= OQGRAPH MAXKEY - -OQGRAPH_DESC= Open Query Graph Computation engine -MAXKEY_DESC= Change max key length from 1000 to 4000 - -OPTIONS_DEFAULT+= MAXKEY -.endif - -.include +BROKEN_armv6= Does not compile on arm -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000012 -CMAKE_ARGS+= -DWITH_JEMALLOC="system" -.else -CMAKE_ARGS+= -DWITH_JEMALLOC="no" +.if defined(USE_MYSQL) +.error You have 'USE_MYSQL' variable defined either in environment or in make(1) arguments. Please undefine and try again. .endif -.if ${PORT_OPTIONS:MSSL} -.if exists(${LOCALBASE}/include/openssl/opensslv.h) -. if !${PORT_OPTIONS:MOPENSSL} || !${PORT_OPTIONS:MPORTSSL} -IGNORE= security/openssl package is installed. To build this either select the OPENSSL and PORTSSL options or deinstall openssl -. endif -.endif -.if ${PORT_OPTIONS:MOPENSSL} -USE_OPENSSL= yes -.if !${PORT_OPTIONS:MPORTSSL} -WITH_OPENSSL_BASE= yes -.else -WITH_OPENSSL_PORT= yes -.endif -CMAKE_ARGS+= -DWITH_SSL=yes -.else -CMAKE_ARGS+= -DWITH_SSL=bundled -.endif -.else -CMAKE_FLAGS+= -DWITH_SSL=no -.endif -.if ${PORT_OPTIONS:MFASTMTX} -CMAKE_ARGS+= -DWITH_FAST_MUTEXES=1 -.endif - -# MySQL-Server part .if !defined(CLIENT_ONLY) +# MySQL-Server part USE_MYSQL= yes WANT_MYSQL_VER= 55m @@ -119,25 +71,55 @@ GROUPS= mysql CMAKE_ARGS+= -DWITH_EMBEDDED_SERVER="ON" \ -DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 -post-install: -.if !defined(PACKAGE_BUILDING) - @${CAT} ${PKGMESSAGE} -.endif - -.if empty(PORT_OPTIONS:MOQGRAPH) -CMAKE_ARGS+= -DWITHOUT_OQGRAPH_STORAGE_ENGINE=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 +# MySQL-Client part +USES+= readline .endif -.if ${PORT_OPTIONS:MMAXKEY} -EXTRA_PATCHES+= ${FILESDIR}/extra-patch-include_my_compare.h + +OPTIONS_DEFINE+= FASTMTX +OPTIONS_RADIO= SSL +OPTIONS_RADIO_SSL= BUNDLED_SSL OPENSSL WITHOUT_SSL +OPTIONS_DEFAULT+= OPENSSL +OPTIONS_SUB= yes +NO_OPTIONS_SORT=yes + +BUNDLED_SSL_DESC= SSL/TLS support via (bundled) CyaSSL +FASTMTX_DESC= Replace mutexes with spinlocks +WITHOUT_SSL_DESC= No SSL/TLS support +OPENSSL_CMAKE_ON= -DWITH_SSL=yes +OPENSSL_USE= USE_OPENSSL=yes +BUNDLED_SSL_CMAKE_ON= -DWITH_SSL=bundled +WITHOUT_SSL_CMAKE_ON= -DWITH_SSL=no + +FASTMTX_CMAKE_ON= -DWITH_FAST_MUTEXES=1 + +.if !defined(CLIENT_ONLY) +# MySQL-Server options +OPTIONS_DEFINE+= MAXKEY OQGRAPH +OPTIONS_DEFAULT+= MAXKEY + +MAXKEY_DESC= Change max key length from 1000 to 4000 +OQGRAPH_DESC= Open Query Graph Computation engine + +OQGRAPH_CMAKE_OFF= -DWITHOUT_OQGRAPH_STORAGE_ENGINE=1 +OQGRAPH_USE= GCC=yes +OQGRAPH_CMAKE_ON= -DWITH_OQGRAPH_STORAGE_ENGINE=1 +OQGRAPH_LIB_DEPENDS= libboost_system.so:${PORTSDIR}/devel/boost-libs + +MAXKEY_EXTRA_PATCHES= ${FILESDIR}/extra-patch-include_my_compare.h .endif + +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000012 +CMAKE_ARGS+= -DWITH_JEMALLOC="system" .else -USES+= readline +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: @@ -145,10 +127,4 @@ post-patch: @${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/mysys/default.c @${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/scripts/mysql_config.sh -.include - -.if ${ARCH} == "arm" -BROKEN= Does not compile on arm -.endif - .include Modified: head/databases/mariadb55-server/distinfo ============================================================================== --- head/databases/mariadb55-server/distinfo Fri Jan 16 15:42:47 2015 (r377183) +++ head/databases/mariadb55-server/distinfo Fri Jan 16 15:53:54 2015 (r377184) @@ -1,2 +1,2 @@ -SHA256 (mariadb-5.5.40.tar.gz) = cbde17f4a31483143490def6fcce33310ebae49eafe92dc4ada0e7227202415a -SIZE (mariadb-5.5.40.tar.gz) = 44745240 +SHA256 (mariadb-5.5.41.tar.gz) = a16dc62e4bcabecd5c483f2f8b657483a8c51934e7be5ad4ab21b8baea1f5332 +SIZE (mariadb-5.5.41.tar.gz) = 45526003