summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2017-08-22 09:09:25 -0400
committerBrian Evans <grknight@gentoo.org>2017-08-22 09:09:25 -0400
commitb2993d4b9864e4cde7a306b7695624c77f15df7e (patch)
tree03ab8ea6a763d8aa27bc1cc6fb17b3ddc81f559a /sys-cluster/galera
parentdev-libs/libgit2-glib: enable USE=ssh by default (diff)
downloadgentoo-b2993d4b9864e4cde7a306b7695624c77f15df7e.tar.gz
gentoo-b2993d4b9864e4cde7a306b7695624c77f15df7e.tar.bz2
gentoo-b2993d4b9864e4cde7a306b7695624c77f15df7e.zip
sys-cluster/galera: Version bump wrt bug 628500
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'sys-cluster/galera')
-rw-r--r--sys-cluster/galera/Manifest1
-rw-r--r--sys-cluster/galera/galera-25.3.21.ebuild87
2 files changed, 88 insertions, 0 deletions
diff --git a/sys-cluster/galera/Manifest b/sys-cluster/galera/Manifest
index 4e0a671552f5..8b0bd287ba1e 100644
--- a/sys-cluster/galera/Manifest
+++ b/sys-cluster/galera/Manifest
@@ -2,3 +2,4 @@ DIST galera-3-25.3.15.tar.gz 2994995 SHA256 0de1c1c8304e7f1dfa43ef2a2b15c8ca7245
DIST galera-3-25.3.17.tar.gz 2999905 SHA256 521d97dd4618ec3e889756527144e12eb99a95f852a83d13afca57986a4a575a SHA512 b54985a74ed4c4d21c368c56a8442961648670eef18f03f2813a9fac34972532ea2f6c79997945de1c9dd1b4dfd5b862a38c052ef6e0d94bd5c85e05e042e61f WHIRLPOOL b755a9f33747c079a4fc47cddd8993c46fd422139f4c5e5de92be146ee09a2f38b07b02e5250a9b726cabec6c4194b593aa8407d6ef37cd6f7aeb04a036ea155
DIST galera-3-25.3.19.tar.gz 3137188 SHA256 76700900a95c8d16c5f5975e4cbc1e0b3dac1a7ffea1aff84d5d225137eedbdb SHA512 4d43452ecfb5524f89ae409544f0d76091289866e81bb3ac823af2948347dea63f03e035338d94d7575bd2b224613706ab8287f2003e92f9891d8c1642afe439 WHIRLPOOL 082dac046563f566d28cc7e36c87995a3759fcbe25411fa5d595d4ce458446c31028b8e1fb42eeca14d893f8c8f2673098850826bc2aeb54aa76270a664c7379
DIST galera-3-25.3.20.tar.gz 3319355 SHA256 aae9b44a7b06c0b0cd9e2f1b9bbaf9ca47c630076a6b7c66e8747e01fd343a64 SHA512 4531073bbd13542cf4b0ed06788ec0b857971bd2e0161b8df2d90072b134d5343216c012d2f712ff336209f6e34920e2aadf7b0f58f91d6ce365fb2b65ed7fbd WHIRLPOOL 9f311742a5d1a8b9550a971441bfb0f84b6876ff5d78740a22a06cf61ebd9a829a83706cb27b198be4e942d28c8a215ed29a3850f4ec72fa86266ccab534825f
+DIST galera-3-25.3.21.tar.gz 3317865 SHA256 1035b8a62cd3695ab2af8c8f1be785942d68a07123bb9bc051b51fc4b5735904 SHA512 04f9a879c1c161c84dc74c002467e60739186d49746255f0f60ad090cf9c3ff778610a3cfc58896c73c244355baefdd65109df8538c010d7a749e9ee1e88e033 WHIRLPOOL 5c95658be7895d00c9b9cd4fbc870e439ede7c71f6ba685c60086c071154c1f7f5c0b412fc1ac0a95d5b32d2ffecb981ddbcb3147f15a5ba500bfd2c12ccab36
diff --git a/sys-cluster/galera/galera-25.3.21.ebuild b/sys-cluster/galera/galera-25.3.21.ebuild
new file mode 100644
index 000000000000..b81600aef42d
--- /dev/null
+++ b/sys-cluster/galera/galera-25.3.21.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_P="${PN}-3-${PV}"
+
+inherit scons-utils toolchain-funcs user flag-o-matic
+DESCRIPTION="Synchronous multi-master replication engine that provides the wsrep API"
+HOMEPAGE="http://www.galeracluster.com"
+SRC_URI="http://releases.galeracluster.com/${PN}-3/source/galera-3-${PV}.tar.gz"
+LICENSE="GPL-2 BSD"
+
+SLOT="0"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
+IUSE="cpu_flags_x86_sse4_2 garbd test"
+
+CDEPEND="
+ dev-libs/openssl:0=
+ >=dev-libs/boost-1.41:0=
+ "
+DEPEND="${DEPEND}
+ ${CDEPEND}
+ dev-libs/check
+ >=sys-devel/gcc-4.4
+ >=dev-cpp/asio-1.10.1[ssl]
+ "
+#Run time only
+RDEPEND="${CDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+# Respect {C,LD}FLAGS.
+PATCHES=( "${FILESDIR}/galera-3.15-strip-extra-cflags.patch" )
+
+pkg_preinst() {
+ if use garbd ; then
+ enewgroup garbd
+ enewuser garbd -1 -1 -1 garbd
+ fi
+}
+
+src_prepare() {
+ default
+
+ # Remove bundled dev-cpp/asio
+ rm -r "${S}/asio" || die
+
+ #Remove optional garbd daemon
+ if ! use garbd ; then
+ rm -r "${S}/garb" || die
+ fi
+}
+
+src_configure() {
+ tc-export CC CXX
+ # Uses hardware specific code that seems to depend on SSE4.2
+ if use cpu_flags_x86_sse4_2 ; then
+ append-cflags -msse4.2
+ else
+ append-cflags -DCRC32C_NO_HARDWARE
+ fi
+ # strict_build_flags=0 disables -Werror, -pedantic, -Weffc++,
+ # and -Wold-style-cast
+ MYSCONS=(
+ ssl=1
+ tests=$(usex test 1 0)
+ strict_build_flags=0
+ system_asio=1
+ )
+}
+
+src_compile() {
+ escons --warn=no-missing-sconscript "${MYSCONS[@]}"
+}
+
+src_install() {
+ dodoc scripts/packages/README scripts/packages/README-MySQL
+ if use garbd ; then
+ dobin garb/garbd
+ newconfd "${FILESDIR}/garb.cnf" garbd
+ newinitd "${FILESDIR}/garb.sh" garbd
+ doman man/garbd.8
+ fi
+ exeinto /usr/$(get_libdir)/${PN}
+ doexe libgalera_smm.so
+}