add missing files
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mysql@1377 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
@@ -100,6 +100,10 @@ mysql_version_is_at_least "5.1.12" \
|
||||
&& SRC_URI="${SRC_URI} http://www.primebase.org/download/pbxt-${PBXT_VERSION}.tar.gz
|
||||
mirror://sourceforge/pbxt/pbxt-${PBXT_VERSION}.tar.gz"
|
||||
|
||||
mysql_version_is_at_least "5.1.22" \
|
||||
&& [[ -n "${SOLIDDB_VERSION}" ]] \
|
||||
&& SRC_URI="${SRC_URI} mirror://sourceforge/soliddb/solidmysql-${SOLIDDB_VERSION}.tar.gz"
|
||||
|
||||
DESCRIPTION="A fast, multi-threaded, multi-user SQL database server."
|
||||
HOMEPAGE="http://www.mysql.com/"
|
||||
LICENSE="GPL-2"
|
||||
@@ -124,6 +128,9 @@ mysql_version_is_at_least "5.1" \
|
||||
mysql_version_is_at_least "5.1.12" \
|
||||
&& IUSE="${IUSE} pbxt"
|
||||
|
||||
mysql_version_is_at_least "5.1.22" \
|
||||
&& IUSE="${IUSE} soliddb"
|
||||
|
||||
mysql_version_is_at_least "5.1.30" \
|
||||
&& IUSE="${IUSE} -static_mysqld -fast-mutexes"
|
||||
|
||||
@@ -368,7 +375,7 @@ configure_51() {
|
||||
# myconf="${myconf} --with-innodb"
|
||||
use max-idx-128 && myconf="${myconf} --with-max-indexes=128"
|
||||
|
||||
if !use static && use static_mysqld ; then
|
||||
if ! use static && use static_mysqld ; then
|
||||
# This causes seg11 crashes if LDAP is used for groups in /etc/nsswitch.conf
|
||||
# so it is disabled by default although, according to MySQL, it brings >10%
|
||||
# performance gain if enabled. See #299382.
|
||||
@@ -409,6 +416,11 @@ configure_51() {
|
||||
[[ ! -d storage/pbxt ]] && eerror "use pbxt but no Primebase plugin"
|
||||
fi
|
||||
|
||||
if use soliddb ; then
|
||||
[[ -d storage/soliddb ]] && plugins="${plugins},soliddb"
|
||||
[[ ! -d storage/soliddb ]] && eerror "use soliddb but no Solid DB plugin"
|
||||
fi
|
||||
|
||||
if use mariadb ; then
|
||||
[[ -d storage/maria ]] && plugins="${plugins},maria"
|
||||
[[ ! -d storage/maria ]] && eerror "use mariadb but no Maria DB plugin"
|
||||
@@ -480,6 +492,13 @@ mysql_src_unpack() {
|
||||
fi
|
||||
fi
|
||||
|
||||
if mysql_version_is_at_least "5.1.22" ; then
|
||||
if [ -n "${SOLIDDB_VERSION}" ]; then
|
||||
mv -f "${WORKDIR}/solidmysql-${SOLIDDB_VERSION}/soliddb" "${S}/storage/soliddb"
|
||||
mv -f "${WORKDIR}/solidmysql-${SOLIDDB_VERSION}/docs" "${S}/storage/soliddb/docs"
|
||||
fi
|
||||
fi
|
||||
|
||||
cd "${S}"
|
||||
|
||||
# Apply the patches for this MySQL version
|
||||
|
||||
Reference in New Issue
Block a user