From owner-svn-ports-all@freebsd.org Mon Feb 12 14:45:14 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1F975F20415; Mon, 12 Feb 2018 14:45:14 +0000 (UTC) (envelope-from brnrd@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C137D77626; Mon, 12 Feb 2018 14:45:13 +0000 (UTC) (envelope-from brnrd@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BBD75134B1; Mon, 12 Feb 2018 14:45:13 +0000 (UTC) (envelope-from brnrd@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1CEjD43082429; Mon, 12 Feb 2018 14:45:13 GMT (envelope-from brnrd@FreeBSD.org) Received: (from brnrd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1CEjDjQ082423; Mon, 12 Feb 2018 14:45:13 GMT (envelope-from brnrd@FreeBSD.org) Message-Id: <201802121445.w1CEjDjQ082423@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: brnrd set sender to brnrd@FreeBSD.org using -f From: Bernard Spil Date: Mon, 12 Feb 2018 14:45:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r461590 - in head/databases/mariadb101-server: . files X-SVN-Group: ports-head X-SVN-Commit-Author: brnrd X-SVN-Commit-Paths: in head/databases/mariadb101-server: . files X-SVN-Commit-Revision: 461590 X-SVN-Commit-Repository: ports 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.25 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: Mon, 12 Feb 2018 14:45:14 -0000 Author: brnrd Date: Mon Feb 12 14:45:12 2018 New Revision: 461590 URL: https://svnweb.freebsd.org/changeset/ports/461590 Log: databases/mariadb101-server: Security update to 10.1.31 PR: 225758 Reported by: Pascal Christen MFH: 2018Q1 Security: e3445736-fd01-11e7-ac58-b499baebfeaf Added: head/databases/mariadb101-server/files/extra-patch-MDEV-15288 (contents, props changed) Modified: head/databases/mariadb101-server/Makefile head/databases/mariadb101-server/distinfo head/databases/mariadb101-server/files/patch-CMakeLists.txt head/databases/mariadb101-server/files/patch-mysys__ssl_my__crypt.cc head/databases/mariadb101-server/pkg-plist Modified: head/databases/mariadb101-server/Makefile ============================================================================== --- head/databases/mariadb101-server/Makefile Mon Feb 12 14:32:47 2018 (r461589) +++ head/databases/mariadb101-server/Makefile Mon Feb 12 14:45:12 2018 (r461590) @@ -1,8 +1,8 @@ # $FreeBSD$ PORTNAME?= mariadb -PORTVERSION= 10.1.30 -PORTREVISION?= 2 +PORTVERSION= 10.1.31 +PORTREVISION?= 0 CATEGORIES= databases ipv6 MASTER_SITES= http://ftp.osuosl.org/pub/${SITESDIR}/ \ http://mirrors.supportex.net/${SITESDIR}/ \ @@ -114,6 +114,7 @@ GSSAPI_NONE_CMAKE_ON= -DPLUGIN_AUTH_GSSAPI_CLIENT=NO .else # MySQL-Server part BROKEN_powerpc64= Does not build: fatal error: sys/platform/ppc.h: No such file or directory +#LIB_DEPENDS= libevent.so:devel/libevent USES+= mysql:101m USE_GNOME= libxml2 USE_LDCONFIG+= ${PREFIX}/lib/mysql/plugin @@ -126,13 +127,14 @@ CMAKE_ARGS+= -DWITH_EMBEDDED_SERVER="ON" \ -DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 .for ENGINE in ${OPTIONS_GROUP_ENGINES} -${ENGINE}_CMAKE_OFF= -DPLUGIN_${ENGINE}=NO \ - -DWITHOUT_${ENGINE}=1 +${ENGINE}_CMAKE_OFF= -DPLUGIN_${ENGINE}=NO +${ENGINE}_CMAKE_ON= -DPLUGIN_${ENGINE}=DYNAMIC .endfor CONNECT_EXTRA_LIB_DEPENDS= libodbc.so:databases/unixODBC CONNECT_EXTRA_USE= gnome=libxml2 GSSAPI_NONE_CMAKE_ON= -DPLUGIN_AUTH_GSSAPI=NO +INNOBASE_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-MDEV-15288 LZ4_CMAKE_OFF= -DGRN_WITH_LZ4=OFF -DWITH_INNODB_LZ4=OFF LZ4_CMAKE_ON= -DGRN_WITH_LZ4=${LOCALBASE}/lib -DWITH_INNODB_LZ4=${LOCALBASE}/lib LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4 @@ -143,7 +145,6 @@ MAXKEY_EXTRA_PATCHES+= ${FILESDIR}/extra-patch-include MROONGA_LIB_DEPENDS= liblz4.so:archivers/liblz4 MROONGA_VARS= LICENSE+=LGPL20 LICENSE_COMB=multi MSGPACK_LIB_DEPENDS= libmsgpackc.so:devel/msgpack -OQGRAPH_BROKEN= OQGRAPH fails to build with boost 1.66, see bug 224089 OQGRAPH_LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libJudy.so:devel/judy SNAPPY_CMAKE_OFF= -DWITH_INNODB_SNAPPY=OFF Modified: head/databases/mariadb101-server/distinfo ============================================================================== --- head/databases/mariadb101-server/distinfo Mon Feb 12 14:32:47 2018 (r461589) +++ head/databases/mariadb101-server/distinfo Mon Feb 12 14:45:12 2018 (r461590) @@ -1,3 +1,3 @@ -TIMESTAMP = 1514018044 -SHA256 (mariadb-10.1.30.tar.gz) = 173a5e5a24819e0a469c3bd09b5c98491676c37c6095882a2ea34c5af0996c88 -SIZE (mariadb-10.1.30.tar.gz) = 67930015 +TIMESTAMP = 1518260559 +SHA256 (mariadb-10.1.31.tar.gz) = ab7641c2fe4e5289da6141766a9c3350e013def56fafd6f1377080bc8048b2e6 +SIZE (mariadb-10.1.31.tar.gz) = 67982786 Added: head/databases/mariadb101-server/files/extra-patch-MDEV-15288 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/mariadb101-server/files/extra-patch-MDEV-15288 Mon Feb 12 14:45:12 2018 (r461590) @@ -0,0 +1,7 @@ +--- storage/innobase/CMakeLists.txt.orig 2018-02-04 02:30:31 UTC ++++ storage/innobase/CMakeLists.txt +@@ -520,4 +520,3 @@ MYSQL_ADD_PLUGIN(innobase ${INNOBASE_SOU + MODULE_OUTPUT_NAME ha_innodb + LINK_LIBRARIES ${ZLIB_LIBRARY} ${LIBSYSTEMD} ${LINKER_SCRIPT}) + +-ADD_DEPENDENCIES(innobase GenError) Modified: head/databases/mariadb101-server/files/patch-CMakeLists.txt ============================================================================== --- head/databases/mariadb101-server/files/patch-CMakeLists.txt Mon Feb 12 14:32:47 2018 (r461589) +++ head/databases/mariadb101-server/files/patch-CMakeLists.txt Mon Feb 12 14:45:12 2018 (r461590) @@ -1,5 +1,13 @@ --- CMakeLists.txt.orig 2017-05-02 05:13:38 UTC +++ CMakeLists.txt +@@ -388,7 +388,6 @@ ADD_SUBDIRECTORY(libservices) + ADD_SUBDIRECTORY(sql/share) + + IF(NOT WITHOUT_SERVER) +- ADD_SUBDIRECTORY(tests) + ADD_SUBDIRECTORY(sql) + OPTION (WITH_EMBEDDED_SERVER "Compile MySQL with embedded server" OFF) + IF(WITH_EMBEDDED_SERVER) @@ -465,6 +465,7 @@ ADD_CUSTOM_TARGET(INFO_BIN ALL WORKING_DIRECTORY ${CMAKE_BINARY_DIR} ) Modified: head/databases/mariadb101-server/files/patch-mysys__ssl_my__crypt.cc ============================================================================== --- head/databases/mariadb101-server/files/patch-mysys__ssl_my__crypt.cc Mon Feb 12 14:32:47 2018 (r461589) +++ head/databases/mariadb101-server/files/patch-mysys__ssl_my__crypt.cc Mon Feb 12 14:45:12 2018 (r461590) @@ -1,25 +1,20 @@ ---- mysys_ssl/my_crypt.cc.orig 2017-01-17 19:38:25 UTC +--- mysys_ssl/my_crypt.cc.orig 2018-02-04 02:30:31 UTC +++ mysys_ssl/my_crypt.cc -@@ -275,10 +275,14 @@ int my_random_bytes(uchar* buf, int num) - return MY_AES_OK; - } - #else -+#include +@@ -27,6 +27,7 @@ + #include + #include #include ++#include + #ifdef HAVE_ERR_remove_thread_state + #define ERR_remove_state(X) ERR_remove_thread_state(NULL) +@@ -295,6 +296,9 @@ unsigned int my_aes_ctx_size(enum my_aes + int my_random_bytes(uchar *buf, int num) { -+#if defined(LIBRESSL_VERSION_NUMBER) ++#ifdef LIBRESSL_VERSION_NUMBER + arc4random_buf(buf, num); -+#else - /* - Unfortunately RAND_bytes manual page does not provide any guarantees - in relation to blocking behavior. Here we explicitly use SSLeay random -@@ -288,6 +292,7 @@ int my_random_bytes(uchar *buf, int num) - RAND_METHOD *rand = RAND_SSLeay(); - if (rand == NULL || rand->bytes(buf, num) != 1) - return MY_AES_OPENSSL_ERROR; +#endif + if (RAND_bytes(buf, num) != 1) + return MY_AES_OPENSSL_ERROR; return MY_AES_OK; - } - #endif Modified: head/databases/mariadb101-server/pkg-plist ============================================================================== --- head/databases/mariadb101-server/pkg-plist Mon Feb 12 14:32:47 2018 (r461589) +++ head/databases/mariadb101-server/pkg-plist Mon Feb 12 14:45:12 2018 (r461590) @@ -11,7 +11,6 @@ bin/myisam_ftdump bin/myisamchk bin/myisamlog bin/myisampack -bin/mysql_client_test bin/mysql_client_test_embedded bin/mysql_convert_table_format bin/mysql_embedded