diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-03-19 11:37:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-03-19 11:37:34 +0000 |
commit | b7b97785ebbb2f11d24d14dab8b81ed274f4ce6a (patch) | |
tree | 9fd110f9fc996e8a4213eeda994a8c112491b86d /dev-db/mariadb-galera | |
parent | 066d27181e9a797ad9f8fc43b49fc9a10ff2f707 (diff) |
gentoo resync : 19.03.2019
Diffstat (limited to 'dev-db/mariadb-galera')
-rw-r--r-- | dev-db/mariadb-galera/Manifest | 6 | ||||
-rw-r--r-- | dev-db/mariadb-galera/mariadb-galera-10.0.38.ebuild (renamed from dev-db/mariadb-galera/mariadb-galera-10.0.35-r1.ebuild) | 54 |
2 files changed, 35 insertions, 25 deletions
diff --git a/dev-db/mariadb-galera/Manifest b/dev-db/mariadb-galera/Manifest index 09f925f62941..64a8479f7d0d 100644 --- a/dev-db/mariadb-galera/Manifest +++ b/dev-db/mariadb-galera/Manifest @@ -1,5 +1,5 @@ AUX my.cnf-5.6 5144 BLAKE2B 2f977b6a92524cfabbdd19058430c62dd4d03a0587036f49057eff69fda04c148a4dca8e58abe418a2bdc0fe1ef3c780cf53d7214fb51f13d5a4b2a4f7a3b8e9 SHA512 db4bdde6f82d9bd33026477d89d8191ddc4099586273ca4aa3f2dcd09572f887d03f79c2ce00bf74d01c21a18384b05516982bdcf31a6c458631315ea75c4cab -DIST mariadb-galera-10.0.35.tar.gz 66950519 BLAKE2B a0b48de41234d1800c1734782bd604d30512e3d33d1937cd3e79f68ec804089166223ba53450ef630779d2b74bc4ace611dc748b4ceca7ed4e4151f97d693655 SHA512 e0160ef74d45c332edf49f21bb673b926008cba9ba650f97a47d7631260b2517db19e1730b76be77af4ee384aa5cc9b3453a24da57c48ab5f062f937494aee87 -DIST mysql-extras-20180515-1334Z.tar.bz2 321462 BLAKE2B 48fc1e0058fa824e6234b0f3319d261997e99f334c8583c0def4cdac4b59f2380d7153ab0fa2ca9a6ab15e35899c2a7586e3b61f4044c4c949110cc8ab9fb0e6 SHA512 de3000f0c65eed9595b52d53205cdcac60cb4a06a5aca27057c8beca6a7890f453aeeda0bb8487b8de75cfb4caa48682b7706273574876c5cefd0d03988c4f7e -EBUILD mariadb-galera-10.0.35-r1.ebuild 27201 BLAKE2B d9a1443ed469f5ca28e4e25c494064877ae0363a46b6834488a83511da3e4149f4a033ec97da8e80a756e2b106a912748a4b78a46177543b4b1380ec2dab2a51 SHA512 df449a5020ee5d6993ad29026799d5987fb7c0bf3fd1de6fa2d1af521907fe71bb48e08ee6ffdd93722c823cb8719c3122e17aa7dcfba69cb9534d8d77b1fae2 +DIST mariadb-galera-10.0.38.tar.gz 65157071 BLAKE2B c54341395101e27dd25183da3d09e7ddf72a07cf440a8aea5daa998d53012a93e1f04bb5020dba28d1337b5f11448be6ae3d8624c437db0cf090eff2aa10151d SHA512 219c2400ebdbf4c6933af1d2d1f88c7f795a988b408676a3c93dbb8c82bdb782f661e9a60f5e940baf31feda8e584e9764918e59cfbdfa1356af8712dde17425 +DIST mysql-extras-20190310-0358Z.tar.bz2 331100 BLAKE2B 69f2b1ee404247e04b7d368c08c429f783fa45dface295be9fa2d94822d052a08a40e6a57bec3afc38886eb0badfcb52c92974c6df033bb90be66abb3f05249a SHA512 5fd4a320e4c224514b054cffbbdf3697ed7351cf71ee779c311f024388bbf12673821b0e12994acbccd30fe119214ea4b53edf87e2cb37be39d0448e4b2cf70b +EBUILD mariadb-galera-10.0.38.ebuild 27681 BLAKE2B 1387526e164ee261fa21976028ef7bc2e80b273c4e2722d286284b2bf62e66bd50dec2e5b6d977aed1a00a483ac319264434dbfded47661905125336f658d909 SHA512 7d7917cad83f6a5ce0a063635e20e8791ae6855a33a0b33e2db8ee149bb28758621b71b560501f34f4a96a73400bedaf8746c2eb8de668c21db9c618ca1a7ab1 MISC metadata.xml 1731 BLAKE2B 0e8a98423e36b3dd621d42ce512063fa8d703cb5254616fd2549cc6f2b03df3d521502b3def93b93000ea4c8b9c24d0bba01bb1417d88c2b2689dcf31876e996 SHA512 09073b18f31f6684cd0ecde266a1c41e7520baf8aa5ff31f19a815ce3f5fea3b1302e0eb702d377f5eb3535c5a7e2828965446b631bbf91219a8c898d1ee8c9e diff --git a/dev-db/mariadb-galera/mariadb-galera-10.0.35-r1.ebuild b/dev-db/mariadb-galera/mariadb-galera-10.0.38.ebuild index 90a0f496067d..b4d1da15624a 100644 --- a/dev-db/mariadb-galera/mariadb-galera-10.0.35-r1.ebuild +++ b/dev-db/mariadb-galera/mariadb-galera-10.0.38.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" -MY_EXTRAS_VER="20180515-1334Z" +MY_EXTRAS_VER="20190310-0358Z" SUBSLOT="18" JAVA_PKG_OPT_USE="jdbc" @@ -29,7 +29,7 @@ LICENSE="GPL-2 LGPL-2.1+" SLOT="0/${SUBSLOT:-0}" IUSE="bindist client-libs debug extraengine jdbc jemalloc latin1 libressl numa odbc oqgraph pam +perl profiling selinux +server sphinx - sst-rsync sst-xtrabackup static static-libs systemtap tcmalloc + sst-rsync sst-xtrabackup static systemtap tcmalloc test tokudb xml yassl" # Tests always fail when libressl is enabled due to hard-coded ciphers in the tests @@ -77,7 +77,7 @@ COMMON_DEPEND=" tcmalloc? ( dev-util/google-perftools:0= ) systemtap? ( >=dev-util/systemtap-1.3:0= ) !yassl? ( - !libressl? ( dev-libs/openssl:0= !>=dev-libs/openssl-1.1 ) + !libressl? ( <dev-libs/openssl-1.1.0:0= ) libressl? ( dev-libs/libressl:0= ) ) >=sys-libs/zlib-1.2.3:0= @@ -96,7 +96,6 @@ COMMON_DEPEND=" tokudb? ( app-arch/snappy ) ) >=dev-libs/libpcre-8.41-r1:3= - !client-libs? ( dev-db/mysql-connector-c[static-libs?] ) " DEPEND="virtual/yacc static? ( sys-libs/ncurses[static-libs] ) @@ -137,6 +136,14 @@ pkg_setup() { eerror "Please use gcc-config to switch to gcc-4.7 or later version." die fi + # Bug 565584. InnoDB now requires atomic functions introduced with gcc-4.7 on + # non x86{,_64} arches + if ! use amd64 && ! use x86 && [[ ${GCC_MAJOR_SET} -lt 4 || \ + ${GCC_MAJOR_SET} -eq 4 && ${GCC_MINOR_SET} -lt 7 ]] ; then + eerror "${PN} needs to be built with gcc-4.7 or later." + eerror "Please use gcc-config to switch to gcc-4.7 or later version." + die + fi fi java-pkg-opt-2_pkg_setup if has test ${FEATURES} && \ @@ -203,16 +210,15 @@ src_unpack() { mv -f "${WORKDIR%/}/${PN%%-galera}-${PV}" "${S}" || die } -disable_engine() { - echo > "${S%/}/storage/${1}/CMakeLists.txt" || die -} +src_prepare() { + _disable_engine() { + echo > "${S%/}/storage/${1}/CMakeLists.txt" || die + } -disable_plugin() { - echo > "${S%/}/plugin/${1}/CMakeLists.txt" || die -} + _disable_plugin() { + echo > "${S%/}/plugin/${1}/CMakeLists.txt" || die + } -src_prepare() { - java-pkg-opt-2_src_prepare if use tcmalloc; then echo "TARGET_LINK_LIBRARIES(mysqld tcmalloc)" >> "${S%/}/sql/CMakeLists.txt" || die fi @@ -228,28 +234,29 @@ src_prepare() { local test_plugins=( audit_null auth_examples daemon_example fulltext ) if ! use server; then # These plugins are for the server for plugin in "${server_plugins[@]}" ; do - disable_plugin "${plugin}" + _disable_plugin "${plugin}" done fi if ! use test; then # These plugins are only used during testing for plugin in "${test_plugins[@]}" ; do - disable_plugin "${plugin}" + _disable_plugin "${plugin}" done fi # Collides with mariadb-connector-c bug 655980 - disable_plugin auth_dialog + _disable_plugin auth_dialog # Don't build Mroonga or example - disable_engine mroonga - disable_engine example + _disable_engine mroonga + _disable_engine example if ! use oqgraph ; then # avoids extra library checks - disable_engine oqgraph + _disable_engine oqgraph fi cmake-utils_src_prepare + java-pkg-opt-2_src_prepare } src_configure(){ @@ -464,6 +471,10 @@ src_install() { for script in "${S}"/scripts/mysql* ; do [[ ( -f "$script" ) && ( "${script%.sh}" == "${script}" ) ]] && dodoc "${script}" done + # Manually install supporting files that conflict with other packages + # but are needed for galera and initial installation + exeinto /usr/libexec/mariadb + doexe "${BUILD_DIR}/extra/my_print_defaults" "${BUILD_DIR}/extra/perror" fi #Remove mytop if perl is not selected @@ -471,7 +482,7 @@ src_install() { } # Official test instructions: -# USE='extraengine perl server static-libs' \ +# USE='extraengine perl server' \ # FEATURES='test userpriv -usersandbox' \ # ebuild mariadb-X.X.XX.ebuild \ # digest clean package @@ -800,9 +811,8 @@ pkg_config() { --max_allowed_packet=8M \ --net_buffer_length=16K \ --socket=${socket} \ - --pid-file=${pidfile} + --pid-file=${pidfile} \ --tmpdir=${ROOT}/${MYSQL_TMPDIR}" - #einfo "About to start mysqld: ${mysqld}" ebegin "Starting mysqld" einfo "Command ${mysqld}" ${mysqld} & |