From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Q4L28-0008Vu-BS for garchives@archives.gentoo.org; Mon, 28 Mar 2011 22:35:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0CA951C030; Mon, 28 Mar 2011 22:35:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D4D311C030 for ; Mon, 28 Mar 2011 22:35:28 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 62BF31B4083 for ; Mon, 28 Mar 2011 22:35:28 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id BD93A8006A for ; Mon, 28 Mar 2011 22:35:27 +0000 (UTC) From: "Jorge Manuel B. S. Vicetto" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jorge Manuel B. S. Vicetto" Message-ID: <800cf55b6ebc50b9f8508072014e5cddf72689ab.jmbsvicetto@gentoo> Subject: [gentoo-commits] proj/mysql:master commit in: eclass/ X-VCS-Repository: proj/mysql X-VCS-Files: eclass/mysql-v2.eclass X-VCS-Directories: eclass/ X-VCS-Committer: jmbsvicetto X-VCS-Committer-Name: Jorge Manuel B. S. Vicetto X-VCS-Revision: 800cf55b6ebc50b9f8508072014e5cddf72689ab Date: Mon, 28 Mar 2011 22:35:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 4516b21f914cffaa087287db594fbbad commit: 800cf55b6ebc50b9f8508072014e5cddf72689ab Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) ge= ntoo org> AuthorDate: Mon Mar 28 22:32:11 2011 +0000 Commit: Jorge Manuel B. S. Vicetto gentoo org= > CommitDate: Mon Mar 28 22:32:11 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/mysql.git;a=3D= commit;h=3D800cf55b Fix the ncurses dep as the stable versions don't have the static-libs dep= . Revert the change to the ownership and permissions of the log dir - needs= upstream work. --- eclass/mysql-v2.eclass | 20 ++++++++++++-------- 1 files changed, 12 insertions(+), 8 deletions(-) diff --git a/eclass/mysql-v2.eclass b/eclass/mysql-v2.eclass index 6e31171..3de544e 100644 --- a/eclass/mysql-v2.eclass +++ b/eclass/mysql-v2.eclass @@ -231,12 +231,14 @@ IUSE=3D"${IUSE} berkdb" =20 # Be warned, *DEPEND are version-dependant # These are used for both runtime and compiletime -DEPEND=3D"ssl? ( >=3Ddev-libs/openssl-0.9.6d ) - userland_GNU? ( sys-process/procps ) - >=3Dsys-apps/sed-4 - >=3Dsys-apps/texinfo-4.7-r1 - >=3Dsys-libs/readline-4.1 - >=3Dsys-libs/zlib-1.2.3" +DEPEND=3D" + ssl? ( >=3Ddev-libs/openssl-0.9.6d ) + userland_GNU? ( sys-process/procps ) + >=3Dsys-apps/sed-4 + >=3Dsys-apps/texinfo-4.7-r1 + >=3Dsys-libs/readline-4.1 + >=3Dsys-libs/zlib-1.2.3 +" =20 [[ "${PN}" =3D=3D "mariadb" ]] \ && DEPEND=3D"${DEPEND} libevent? ( >=3Ddev-libs/libevent-1.4 )" @@ -252,6 +254,8 @@ RDEPEND=3D"${DEPEND} selinux? ( sec-policy/selinux-mysql ) " =20 +DEPEND=3D"${DEPEND} static? ( || ( sys-libs/ncurses[static-libs] <=3Dsys= -libs/ncurses-5.7-r3 ) )" + # compile-time-only mysql_version_is_at_least "5.1.12" \ && DEPEND=3D"${DEPEND} >=3Ddev-util/cmake-2.4.3" @@ -491,8 +495,8 @@ mysql-v2_pkg_postinst() { =20 # Secure the logfiles touch "${ROOT}${MY_LOGDIR}"/mysql.{log,err} - chown root:mysql "${ROOT}${MY_LOGDIR}"/mysql* - chmod 0640 "${ROOT}${MY_LOGDIR}"/mysql* + chown mysql:mysql "${ROOT}${MY_LOGDIR}"/mysql* + chmod 0660 "${ROOT}${MY_LOGDIR}"/mysql* =20 # Minimal builds don't have the MySQL server if ! use minimal ; then