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 1RcvHi-0006bw-IJ for garchives@archives.gentoo.org; Tue, 20 Dec 2011 08:42:54 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18A5321C09E; Tue, 20 Dec 2011 08:42:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id DE1C721C09E for ; Tue, 20 Dec 2011 08:42:41 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5A3D31B401E for ; Tue, 20 Dec 2011 08:42:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id C62EE8004C for ; Tue, 20 Dec 2011 08:42:40 +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: 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: a66af21cdba895cc4e6bb3993549cc9efe780a68 Date: Tue, 20 Dec 2011 08:42:40 +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: ddcc335a-4c22-48b3-a6c9-a9f6581ebf46 X-Archives-Hash: 21789d0e111f2bb2017f8a38d0c80321 commit: a66af21cdba895cc4e6bb3993549cc9efe780a68 Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) ge= ntoo org> AuthorDate: Tue Dec 20 07:44:17 2011 +0000 Commit: Jorge Manuel B. S. Vicetto gentoo org= > CommitDate: Tue Dec 20 07:44:17 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/mysql.git;a=3D= commit;h=3Da66af21c Drop support for EAPI-2 (use only EAPI versions with support for prefix). Don't hardcode the log dir path, but use LOGDIR. --- eclass/mysql-v2.eclass | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/mysql-v2.eclass b/eclass/mysql-v2.eclass index 41233e0..1dab7fc 100644 --- a/eclass/mysql-v2.eclass +++ b/eclass/mysql-v2.eclass @@ -53,7 +53,7 @@ inherit eutils flag-o-matic gnuconfig ${MYSQL_EXTRAS} $= {BUILD_INHERIT} mysql_fx # =20 case "${EAPI:-0}" in - 2|3|4) ;; + 3|4) ;; *) die "Unsupported EAPI: ${EAPI}" ;; esac =20 @@ -496,7 +496,7 @@ mysql-v2_pkg_postinst() { mysql_init_vars =20 # Check FEATURES=3D"collision-protect" before removing this - [[ -d "${EROOT}/var/log/mysql" ]] || install -d -m0750 -o mysql -g mysq= l "${ROOT}${MY_LOGDIR}" + [[ -d "${ROOT}${MY_LOGDIR}" ]] || install -d -m0750 -o mysql -g mysql "= ${ROOT}${MY_LOGDIR}" =20 # Secure the logfiles touch "${ROOT}${MY_LOGDIR}"/mysql.{log,err}