summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@lavabit.com>2014-02-13 13:26:32 -0500
committerBrian Evans <grknight@lavabit.com>2014-02-13 13:26:32 -0500
commitf91f66ecc2c5e7432f678129674908d566892701 (patch)
treee9d0d69b23fec7c5994bb7a4fb138d2cb0d24eb6
parent[mariadb] Version bump for 10.0 Tests pass (diff)
downloadmysql-f91f66ecc2c5e7432f678129674908d566892701.tar.gz
mysql-f91f66ecc2c5e7432f678129674908d566892701.tar.bz2
mysql-f91f66ecc2c5e7432f678129674908d566892701.zip
[galera] Version bump for new 25.x series
Package-Manager: portage-2.2.7
-rw-r--r--sys-cluster/galera/ChangeLog5
-rw-r--r--sys-cluster/galera/Manifest1
-rw-r--r--sys-cluster/galera/galera-25.3.2.ebuild87
3 files changed, 93 insertions, 0 deletions
diff --git a/sys-cluster/galera/ChangeLog b/sys-cluster/galera/ChangeLog
index 6651511..4e6a705 100644
--- a/sys-cluster/galera/ChangeLog
+++ b/sys-cluster/galera/ChangeLog
@@ -1,3 +1,8 @@
+*galera-25.3.2 (13 Feb 2014)
+
+ 13 Feb 2014; <grknight@gentoo.org> +galera-25.3.2.ebuild:
+ [galera] Version bump for new 25.x series
+
*galera-23.2.7 (18 Nov 2013)
18 Nov 2013; Brian Evans <grknight@tuffmail.com>
diff --git a/sys-cluster/galera/Manifest b/sys-cluster/galera/Manifest
index 413510a..cad5a56 100644
--- a/sys-cluster/galera/Manifest
+++ b/sys-cluster/galera/Manifest
@@ -1,2 +1,3 @@
DIST galera-23.2.4-src.tar.gz 3061934 SHA256 83eec5e8df53b9adcd601a84312a54e843b2584b0cbe445125c2266b22590e78 SHA512 b953d07cdd69c7e42e80053125bb69f4becf457529924768348846612db49d92c4a46e6c85739cc0c0b102d703dc3a3b73bc368171e6f863a1f56b2cd22cb711 WHIRLPOOL 3842dd7f4bd11ab4cb656c3d89758232b96d85ba64919932d03dde2f44cb13bdf7913e6d217e6ca49f376aaf15b7271d3a870a16ba1010d522b57ff59247edc2
DIST galera-23.2.7-src.tar.gz 3140705 SHA256 b444583753462281e8ddadc3a10463687ecedc089d763251f8658c6232aaa927 SHA512 15b21f060ecff44dc11f57955867b938831e41cef7b27737fbd050cc9c9af4fed9cc9d62584b445277b8ab087444a7e31d5d20d6ee188c4bb9956e4ba22bcbcc WHIRLPOOL 011a3b943dcbaf4efc5628f3be5ff7b95f45862cd115729d13201599455a1576fbd43a7baf37c15240f7d164bf50df2ef078645fa8d7ccf96a3f67b1f4d2b482
+DIST galera-25.3.2-src.tar.gz 3808803 SHA256 5dd54364720f8854088590bdfea1e3a7f3e37fda3dfe8a5f58ebcc987cc6788d SHA512 784476938d8d57e865685f3a43ed95d1aeed151dd145476bc094d5a132c87bdaab2cd9c8aac610adc4c847dfbf814b0d59cddaa68b73c741fd6918738f52f545 WHIRLPOOL 01c51a6ba5f069890e9c529bde7d7ce7bb7e16997779ab074be592257792f5c5d3d146e228548a2db31acf5fab0d7e410506118f03c2fdb44004fb364a3cc6fa
diff --git a/sys-cluster/galera/galera-25.3.2.ebuild b/sys-cluster/galera/galera-25.3.2.ebuild
new file mode 100644
index 0000000..5dec577
--- /dev/null
+++ b/sys-cluster/galera/galera-25.3.2.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+MY_P="${PN}-${PV}-src"
+
+inherit scons-utils multilib toolchain-funcs base versionator
+DESCRIPTION="Synchronous multi-master replication engine that provides its service through wsrep API"
+HOMEPAGE="http://www.codership.org/"
+SRC_URI="https://launchpad.net/${PN}/$(get_version_component_range 2).x/${PV}/+download/${MY_P}.tar.gz"
+LICENSE="GPL-3"
+
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="garbd ssl test"
+
+CDEPEND="
+ ssl? ( dev-libs/openssl )
+ >=dev-libs/boost-1.41
+ "
+DEPEND="${DEPEND}
+ ${CDEPEND}
+ dev-libs/check
+ >=sys-devel/gcc-4.4
+ >=dev-cpp/asio-1.4.8[ssl?]
+ "
+#Run time only
+RDEPEND="${CDEPEND}
+ garbd? ( || (
+ net-analyzer/netcat
+ net-analyzer/netcat6
+ net-analyzer/gnu-netcat
+ net-analyzer/openbsd-netcat
+ ) )"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_preinst() {
+ if use garbd ; then
+ enewgroup garbd
+ enewuser garbd
+ fi
+}
+
+src_prepare() {
+ # Remove bundled dev-cpp/asio
+ rm -fr "${S}/asio"
+ # Respect LDFLAGS.
+ sed -i -e "s/LINKFLAGS = link_arch/LINKFLAGS = link_arch + ' ' + os.environ['LDFLAGS']/" \
+ "${S}/SConstruct"
+ #Remove optional garbd daemon
+ if ! use garbd ; then
+ rm -fr "${S}/garb"
+ fi
+}
+
+src_configure() {
+ tc-export CC CXX
+ CPPFLAGS=${CPPFLAGS:-$CXXFLAGS}
+ export CPPFLAGS
+ tc-export_build_env
+ # strict_build_flags=0 disables -Werror, -pedantic, -Weffc++,
+ # and -Wold-style-cast
+ myesconsargs=(
+ $(use_scons ssl ssl 1 0)
+ $(use_scons test tests 1 0)
+ strict_build_flags=0
+ )
+}
+
+src_compile() {
+ escons --warn=no-missing-sconscript
+}
+
+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
+ fi
+ exeinto /usr/$(get_libdir)/${PN}
+ doexe libgalera_smm.so
+}