From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E649713877A for ; Fri, 29 Aug 2014 18:50:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 07080E0CCD; Fri, 29 Aug 2014 18:50:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 96E65E0CCD for ; Fri, 29 Aug 2014 18:50:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 435EC3400A0 for ; Fri, 29 Aug 2014 18:50:41 +0000 (UTC) Received: by oystercatcher.gentoo.org (Postfix, from userid 2357) id 846BA430C; Fri, 29 Aug 2014 18:50:39 +0000 (UTC) From: "Brian Evans (grknight)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, grknight@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog mysql-multilib.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog mysql-multilib.eclass X-VCS-Directories: eclass X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Message-Id: <20140829185039.846BA430C@oystercatcher.gentoo.org> Date: Fri, 29 Aug 2014 18:50:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: fd9a633c-dcff-4172-94ed-86335c5729f0 X-Archives-Hash: c23acee739e576f987286596026518f5 grknight 14/08/29 18:50:39 Modified: ChangeLog mysql-multilib.eclass Log: Sync mysql-multilib.eclass from mysql overlay Revision Changes Path 1.1359 eclass/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1359&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1359&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1358&r2=1.1359 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v retrieving revision 1.1358 retrieving revision 1.1359 diff -u -r1.1358 -r1.1359 --- ChangeLog 28 Aug 2014 18:20:49 -0000 1.1358 +++ ChangeLog 29 Aug 2014 18:50:39 -0000 1.1359 @@ -1,6 +1,10 @@ # ChangeLog for eclass directory # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1358 2014/08/28 18:20:49 swift Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1359 2014/08/29 18:50:39 grknight Exp $ + + 30 Aug 2014; Brian Evans mysql-multilib.eclass: + Fix percona-server SRC_URI, add missing dep on mariadb-galera for rsync sst, + Add future deps for packages. 28 Aug 2014; Sven Vermeulen selinux-policy-2.eclass: Simplify rlpkg call and optimize package relabeling thanks to Jason Perfinion 1.6 eclass/mysql-multilib.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mysql-multilib.eclass?rev=1.6&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mysql-multilib.eclass?rev=1.6&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/mysql-multilib.eclass?r1=1.5&r2=1.6 Index: mysql-multilib.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/mysql-multilib.eclass,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- mysql-multilib.eclass 17 Aug 2014 22:50:23 -0000 1.5 +++ mysql-multilib.eclass 29 Aug 2014 18:50:39 -0000 1.6 @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-multilib.eclass,v 1.5 2014/08/17 22:50:23 grknight Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-multilib.eclass,v 1.6 2014/08/29 18:50:39 grknight Exp $ # @ECLASS: mysql-multilib.eclass # @MAINTAINER: @@ -73,7 +73,8 @@ # MariaDB has left the numbering schema but keeping compatibility if [[ ${PN} == "mariadb" || ${PN} == "mariadb-galera" ]]; then case ${PV} in - 10.0*|10.1*) MYSQL_PV_MAJOR="5.6" ;; + 10.0*) MYSQL_PV_MAJOR="5.6" ;; + 10.1*) MYSQL_PV_MAJOR="5.7" ;; esac fi @@ -135,7 +136,7 @@ MY_PV=$(get_version_component_range 1-3 ${PV}) PERCONA_RELEASE=$(get_version_component_range 4-5 ${PV}) PERCONA_RC=$(get_version_component_range 6 ${PV}) - SERVER_URI="http://www.percona.com/redir/downloads/${PERCONA_PN}-${MIRROR_PV}/${PERCONA_PN}-${MY_PV}-${PERCONA_RC}${PERCONA_RELEASE}/source/tarball/${PERCONA_PN}-${MY_PV}-${PERCONA_RC}${PERCONA_RELEASE}.tar.gz" + SERVER_URI="http://www.percona.com/redir/downloads/${PERCONA_PN}-${MIRROR_PV}/${PERCONA_PN}-${MY_PV}-${PERCONA_RC}${PERCONA_RELEASE}/source/tarball/${PN}-${MY_PV}-${PERCONA_RC}${PERCONA_RELEASE}.tar.gz" # http://www.percona.com/redir/downloads/Percona-Server-5.5/LATEST/source/tarball/Percona-Server-5.5.30-rel30.2.tar.gz # http://www.percona.com/redir/downloads/Percona-Server-5.6/Percona-Server-5.6.13-rc60.5/source/tarball/Percona-Server-5.6.13-rc60.5.tar.gz else @@ -246,6 +247,10 @@ DEPEND="${DEPEND} !bindist? ( >=sys-libs/readline-4.1:0=[${MULTILIB_USEDEP}] )" fi +if [[ ${PN} == "mysql" || ${PN} == "percona-server" ]] ; then + mysql_version_is_at_least "5.7.5" && DEPEND="${DEPEND} dev-libs/boost:0=" +fi + if [[ ${PN} == "mariadb" || ${PN} == "mariadb-galera" ]] ; then # Bug 441700 MariaDB >=5.3 include custom mytop DEPEND="${DEPEND} @@ -259,11 +264,11 @@ " fi mysql_version_is_at_least "10.0.7" && DEPEND="${DEPEND} oqgraph? ( dev-libs/judy:0= )" - if mysql_version_is_at_least "10.0.9" ; then - DEPEND="${DEPEND} >=dev-libs/libpcre-8.35:3=" - fi + mysql_version_is_at_least "10.0.9" && DEPEND="${DEPEND} >=dev-libs/libpcre-8.35:3=" fi +[[ ${PN} == "percona-server" ]] && DEPEND="${DEPEND} !minimal? ( pam? ( virtual/pam:0= ) )" + # Having different flavours at the same time is not a good idea for i in "mysql" "mariadb" "mariadb-galera" "percona-server" "mysql-cluster" ; do [[ ${i} == ${PN} ]] || @@ -298,8 +303,11 @@ # The wsrep API version must match between the ebuild and sys-cluster/galera. # This will be indicated by WSREP_REVISION in the ebuild and the first number # in the version of sys-cluster/galera + # + # lsof is required as of 5.5.38 and 10.0.11 for the rsync sst RDEPEND="${RDEPEND} =sys-cluster/galera-${WSREP_REVISION}* + sys-process/lsof " fi @@ -323,6 +331,9 @@ # my_config.h includes ABI specific data MULTILIB_WRAPPED_HEADERS=( /usr/include/mysql/my_config.h /usr/include/mysql/private/embedded_priv.h ) +# wrap the config script +MULTILIB_CHOST_TOOLS=( /usr/bin/mysql_config ) + # # HELPER FUNCTIONS: #