dev-db/mysql: initial checkin of my new mysql storage eclass and related ebuilds

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mysql@1598 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2009-12-02 17:57:20 +00:00
parent 9185e7eed5
commit 6ee87d7ef2
4 changed files with 85 additions and 3 deletions

View File

@ -2,6 +2,10 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v 1.488 2009/07/06 19:08:59 robbat2 Exp $
02 Dec 2009; Mario Fetka <mario.fetka@gmail.com> mysql-5.1.41-r1.ebuild,
+mysql-5.1.41-r2.ebuild:
initial checkin of my new mysql storage eclass and related ebuilds
*mysql-5.0.83 (06 Jul 2009)
06 Jul 2009; Robin H. Johnson <robbat2@gentoo.org> +mysql-5.0.83.ebuild,

View File

@ -1,8 +1,11 @@
DIST mysql-5.1.41.tar.gz 23026814 RMD160 f99d17a2bb43fc45222c7015a3b65c6b4f686129 SHA1 04f7cf87419ca233c2508c2912d72548767b7e2c SHA256 5cb721db43a5f61710d8503813adef335cb1b738c7164e3d7d2a9681af8dbc16
DIST mysql-storage-filesystem-0.1.1-gentoo-r1.tar.gz 313148 RMD160 1e177d00b4c0a7b42ebb8a2bded105f2f2f4af31 SHA1 2a955447ca3d170ed6844b3cba76aa0b9257e400 SHA256 af4b809dab7f4ceab8bbef3b7b03c42eab4c0d075de5ed485f5cf7de069a0cc1
DIST mysql-storage-pbxt-1.0.09e-rc-gentoo.tar.gz 3302565 RMD160 04628ae993190cc6506a29f00d5801b37c4e9690 SHA1 b48624884263df31a872b223685f1c9518815ab4 SHA256 8713d2fc82d3defa46f977f78978a2a31fe6a0fcfd1065134c817ef63d9d471e
DIST mysql-storage-revision-0.2-alpha-gentoo.tar.gz 130905 RMD160 a90cfdef2bca2f36de6970184534a5f398e7582f SHA1 391ce75592e5e1c0ec390565649bc32e40c9437b SHA256 dc21661cf7a66030468c41d8c1a552873e6d90a48018abf85eda89b0173ac998
DIST mysql-storage-soliddb-0081-gentoo.tar.gz 2278377 RMD160 705c2d1460d067385319ec4f6890a1798d33a286 SHA1 a5be03fd8e80f3e650257d60024672ec76ad60c4 SHA256 8e794aab8b6bdbab103004c70beecdcef8e85ca4db10cc16fff4a7e4641bfcba
DIST mysql-storage-sphinx-0.9.9-gentoo.tar.gz 1307263 RMD160 3cd816a4cf68feb2adf06852e3ec97b49c127739 SHA1 ec56fb1f69c6e20dfe87c1bfc5f2dfc0ad33e65c SHA256 7223599ab39f45d0c6f06c4ae5645a23097a11d584dc6da34cbca6e635b9e9d7
DIST mysql-storage-xtradb-1.0.4-8-gentoo.tar.gz 1405802 RMD160 f7309e893ad439cc7ea351a0851a380a0321d771 SHA1 5fa76185c638cbc961a03fb1b007dbb030e590d4 SHA256 aa6cc2617169e0045d40c9faee6fdc7dff3b4d4a08d7952abbfcbec2a7e27a7c
EBUILD mysql-5.1.41-r1.ebuild 2498 RMD160 72e42e25ce16bcf8b021131a5d58d331fe3af13b SHA1 3919cb245d3da9f4066f89374d34a45e743aec12 SHA256 0a5ae134ce80f65448b8f5c07cf68c6d0e7d785b8f55f9ef787f3f9ff890b12d
MISC ChangeLog 93560 RMD160 aed909217060a3f8f4ebc5bad40c73ec68eb8d02 SHA1 094ac6939e4d285cc9a65a3bd489a467c7b0c4c2 SHA256 afe9da58bdc9438f929dcf1da932571a792442861d9a34bc52aee3ee074a2e30
EBUILD mysql-5.1.41-r1.ebuild 2532 RMD160 533d67d5660970cbf8886b5155d6ed6a3ba431df SHA1 9ba48e0b071740b884e30b33d393d5a6b7ca3589 SHA256 ecc065c4bf87b3d7e45cafec9ddbd14867ee8d25894b474451747ffbcad03595
EBUILD mysql-5.1.41-r2.ebuild 2583 RMD160 26044b2036c0ab1386d2adacf01248dfeaf0580a SHA1 80277eb70217b757e74955dcac6b37727d9c9c03 SHA256 1a15290edb3edd9f47c64f346fce6434b84ade4433b8ed0576636d7d139145fd
MISC ChangeLog 93732 RMD160 9ae8c72cab44d5d3df994df0df4fade7aa0b7319 SHA1 8e55518b8ec1bfd6fc6603cec82e65b75a0518ac SHA256 f694d57a55a64a1fedc4737c06d2d1cb3e9eb6e5d9b47cd7c2ce54e4be641cc9
MISC metadata.xml 918 RMD160 ee023d3ae746d0d29ac387c1c87f3f8dec7c9568 SHA1 10ef755d319f93d02de705b3158f4e73aca28af4 SHA256 046a9880921c49fea8861a819c1afd27fc5a873dea28b80b040da2733e029c47

View File

@ -5,7 +5,10 @@
#MY_EXTRAS_VER="20090713-1758Z"
MY_EXTRAS_VER="live"
#SERVER_URI="mirror://gentoo/MySQL-${PV%.*}/mysql-${PV//_/-}.tar.gz"
MYSQL_STORAGE="pbxt-1.0.09e-rc revision-0.2-alpha soliddb-0081 xtradb-1.0.4-8"
MYSQL_STORAGE="pbxt-1.0.09e-rc-gentoo
revision-0.2-alpha-gentoo
soliddb-0081-gentoo
xtradb-1.0.4-8-gentoo"
inherit mysql
# only to make repoman happy. it is really set in the eclass

View File

@ -0,0 +1,72 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-community/mysql-community-5.1.21_beta.ebuild,v 1.3 2008/11/14 09:43:04 robbat2 Exp $
#MY_EXTRAS_VER="20090713-1758Z"
MY_EXTRAS_VER="live"
#SERVER_URI="mirror://gentoo/MySQL-${PV%.*}/mysql-${PV//_/-}.tar.gz"
MYSQL_STORAGE="pbxt-1.0.09e-rc-gentoo
revision-0.2-alpha-gentoo
soliddb-0081-gentoo
xtradb-1.0.4-8-gentoo
filesystem-0.1.1-gentoo-r1
sphinx-0.9.9-gentoo"
inherit mysql
# only to make repoman happy. it is really set in the eclass
IUSE="$IUSE"
# REMEMBER: also update eclass/mysql*.eclass before committing!
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
src_test() {
make check || die "make check failed"
if ! use "minimal" ; then
cd "${S}/mysql-test"
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
local retstatus
local t
local testopts="--force"
addpredict /this-dir-does-not-exist/t9.MYI
# mysqladmin start before dir creation
mkdir "${S}"/mysql-test/var{,/log}
# Ensure that parallel runs don't die
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
# sandbox make ndbd zombie
#X#hasq "sandbox" ${FEATURES} && testopts="${testopts} --skip-ndb"
#X#if [[ ${UID} -eq 0 ]] ; then
#X# einfo "Disabling IM tests due to failure as root"
#X# mysql_disable_test "im_cmd_line" "fail as root"
#X# mysql_disable_test "im_daemon_life_cycle" "fail as root"
#X# mysql_disable_test "im_instance_conf" "fail as root"
#X# mysql_disable_test "im_life_cycle" "fail as root"
#X# mysql_disable_test "im_options" "fail as root"
#X# mysql_disable_test "im_utils" "fail as root"
#X# mysql_disable_test "trigger" "fail as root"
#X#fi
#use "extraengine" && mysql_disable_test "federated" "fail with extraengine"
#mysql_disable_test "view" "Already fixed: fail because now we are in year 2007"
# from Makefile.am:
retstatus=1
./mysql-test-run.pl ${testopts} --mysqld=--binlog-format=mixed \
&& ./mysql-test-run.pl ${testopts} --mysqld=--binlog-format=row \
&& ./mysql-test-run.pl ${testopts} --ps-protocol --mysqld=--binlog-format=row \
&& ./mysql-test-run.pl ${testopts} --ps-protocol --mysqld=--binlog-format=mixed \
&& retstatus=0
# Just to be sure ;)
pkill -9 -f "${S}/ndb" 2>/dev/null
pkill -9 -f "${S}/sql" 2>/dev/null
[[ $retstatus -eq 0 ]] || die "make test failed"
else
einfo "Skipping server tests due to minimal build."
fi
}