diff options
author | Brian Evans <grknight@gentoo.org> | 2016-03-18 10:30:14 -0400 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2016-03-18 10:30:14 -0400 |
commit | 0f878cbde7f6540b3bcbef549ea0e86a022d9816 (patch) | |
tree | b8662ab3140cfc82e3af09abb20e32485b7a3341 /sys-cluster/galera | |
parent | sys-cluster/galera: Version bump to 25.3.15 (diff) | |
download | gentoo-0f878cbde7f6540b3bcbef549ea0e86a022d9816.tar.gz gentoo-0f878cbde7f6540b3bcbef549ea0e86a022d9816.tar.bz2 gentoo-0f878cbde7f6540b3bcbef549ea0e86a022d9816.zip |
sys-cluster/galera: Drop old versions
Package-Manager: portage-2.2.28
Diffstat (limited to 'sys-cluster/galera')
-rw-r--r-- | sys-cluster/galera/Manifest | 4 | ||||
-rw-r--r-- | sys-cluster/galera/files/disable-tests.patch | 80 | ||||
-rw-r--r-- | sys-cluster/galera/files/galera-3.12-strip-extra-buildconfig.patch | 21 | ||||
-rw-r--r-- | sys-cluster/galera/files/galera-3.12-strip-machine-cflags.patch | 64 | ||||
-rw-r--r-- | sys-cluster/galera/files/galera-3.13-strip-extra-cflags.patch | 70 | ||||
-rw-r--r-- | sys-cluster/galera/files/galera-strip-machine-cflags.patch | 62 | ||||
-rw-r--r-- | sys-cluster/galera/files/respect-flags.patch | 35 | ||||
-rw-r--r-- | sys-cluster/galera/galera-25.3.10.ebuild | 89 | ||||
-rw-r--r-- | sys-cluster/galera/galera-25.3.12.ebuild | 90 | ||||
-rw-r--r-- | sys-cluster/galera/galera-25.3.13.ebuild | 88 | ||||
-rw-r--r-- | sys-cluster/galera/galera-25.3.14.ebuild | 87 |
11 files changed, 0 insertions, 690 deletions
diff --git a/sys-cluster/galera/Manifest b/sys-cluster/galera/Manifest index f994ef49ec01..8ff186dd7f7b 100644 --- a/sys-cluster/galera/Manifest +++ b/sys-cluster/galera/Manifest @@ -1,5 +1 @@ -DIST galera-3-25.3.10.tar.gz 2990393 SHA256 5281cef0c26e409f93184a08fe3668bc0891aeec9710ffebc66402091d005d1d SHA512 d2fc09a9d274199650e29c7492a736a6518655458b6cad9ba960282928ec2d0f8187d35ee439c93a57ecb0f1b6a66b83474128f71ad67724cc784a887fc2172d WHIRLPOOL 294feec18418f69d7f1f1d416fc9893e403555d525851e3a4c1996bd9f0bf5689588ae930f77ad8c691a0c7c30d11c62f4928519a7b3722e9976ec5ee57931e5 -DIST galera-3-25.3.12.tar.gz 2989294 SHA256 2941cece3aa12d34bd454de8c3d2c4796a47dcfaef643e97d1b94462aa32e126 SHA512 6c18327d786a0c549b89a8668c302e3221d1f7586b271e927ca511ac9e8ee4413315641f6a43814b49e9231cdcd4c76dcd8e975098f768ea8d9f4638b1391e62 WHIRLPOOL b0067ade420c49d374baf901472841ff21ccbd73c1ef7eb7b48f7e591954f875fc5993664c54daa1e400e37cc0647f1a39515129e2d6789035de3dba0edb6d7e -DIST galera-3-25.3.13.tar.gz 2989201 SHA256 193db0c1ccf1c3cfbd46b23d26441fe022ffe82788ed467c6b2df02abc4b814d SHA512 6c83dca5f6087cfbbc6aa30ac4b3f47ce08e7d958875f5c07c260ec8e9677c0e3d9e1ebb347615e0842e85f952c8b7713ee02f6148c9049ae336b29c28dc2ade WHIRLPOOL f6fcda502c3145d0430496a4de9e2368e102769a254d905fb9594b082e9bc386ab6a40edc00e084a3dfa04f800368e45d449f94a634343a8d4f61725c849f23b -DIST galera-3-25.3.14.tar.gz 2990021 SHA256 b090b818f27dbcf5318c0975dc888a10847931b97e94d9bd69b3cd35848e0716 SHA512 98400d1a153cca41389a2f4cd6918c4a042f14b473a006e1bfacde19068dc8a253a2ba743c666b1762033c97e9aa352eff4804c0d20387daf284240bd2ae020b WHIRLPOOL 4e67b5d746f9a374f168c5706a8599bc6d299e9fd4072adfc13b1f4c470ab79ec1c312d6f856002c400b53941f438631799dd9feea6b7d5cf5445b799b41dfef DIST galera-3-25.3.15.tar.gz 2994995 SHA256 0de1c1c8304e7f1dfa43ef2a2b15c8ca724556d5b187c31c8a93c755737163af SHA512 717c431d29653cba3252dae5a845e82c02e4cb122a6477253e68688600bf130a753f89f94b7b2461695ede9033ca0107324831d2c5b7d2d0479a0936d2779e84 WHIRLPOOL e0fa0de7e0a75563f78feec488fda64bc4ec9cc97a369e18fbf3c817c520a8a5e3118a4c95f14cf987f019f4f9c96f86df32c4b87c66ec7750c401e0017daf76 diff --git a/sys-cluster/galera/files/disable-tests.patch b/sys-cluster/galera/files/disable-tests.patch deleted file mode 100644 index b82294b32241..000000000000 --- a/sys-cluster/galera/files/disable-tests.patch +++ /dev/null @@ -1,80 +0,0 @@ -diff -aurN a/galera/SConscript b/galera/SConscript ---- a/galera/SConscript 2013-03-11 02:44:50.000000000 -0400 -+++ b/galera/SConscript 2013-05-13 13:13:20.851827437 -0400 -@@ -1,2 +1,2 @@ - --SConscript(['src/SConscript', 'tests/SConscript']) -+SConscript(['src/SConscript']) -diff -aurN a/galerautils/SConscript b/galerautils/SConscript ---- a/galerautils/SConscript 2013-03-11 02:44:50.000000000 -0400 -+++ b/galerautils/SConscript 2013-05-13 13:15:37.010071765 -0400 -@@ -1,3 +1,3 @@ - # SConscript for building galerautils - --SConscript(Split('''src/SConscript tests/SConscript''')) -+SConscript(Split('''src/SConscript''')) -diff -aurN a/gcache/SConscript b/gcache/SConscript ---- a/gcache/SConscript 2013-03-11 02:44:50.000000000 -0400 -+++ b/gcache/SConscript 2013-05-13 13:15:55.179837389 -0400 -@@ -1,3 +1,3 @@ - # SConscript for building galerautils - --SConscript(Split('''src/SConscript tests/SConscript''')) -+SConscript(Split('''src/SConscript''')) -diff -aurN a/gcomm/SConscript b/gcomm/SConscript ---- a/gcomm/SConscript 2013-03-11 02:44:50.000000000 -0400 -+++ b/gcomm/SConscript 2013-05-13 13:16:08.979659369 -0400 -@@ -1,3 +1,3 @@ - # SCons build script for building gcomm - --SConscript(Split('''src/SConscript test/SConscript''')) -+SConscript(Split('''src/SConscript''')) -diff -aurN a/gcs/src/SConscript b/gcs/src/SConscript ---- a/gcs/src/SConscript 2013-03-11 02:44:50.000000000 -0400 -+++ b/gcs/src/SConscript 2013-05-13 13:12:53.122184848 -0400 -@@ -46,8 +46,6 @@ - source = 'gcs_test.c', - LINK = libgcs_env['CXX']) - --SConscript('unit_tests/SConscript') -- - # - env.Append(LIBGALERA_OBJS = libgcs_env.SharedObject(libgcs_sources)) - -diff -aurN a/SConstruct b/SConstruct ---- a/SConstruct 2013-03-11 02:44:50.000000000 -0400 -+++ b/SConstruct 2013-05-13 13:11:03.493597370 -0400 -@@ -305,20 +305,6 @@ - # Clone base from default environment - check_env = env.Clone() - --conf = Configure(check_env) -- --# Check header and library -- --if not conf.CheckHeader('check.h'): -- print 'Error: check header file not found or not usable' -- Exit(1) -- --if not conf.CheckLib('check'): -- print 'Error: check library not found or not usable' -- Exit(1) -- --conf.Finish() -- - # Note: Don't do this, glibc does not like static linking - # Link unit tests statically - # check_env.Append(LINKFLAGS = ' -static') -@@ -328,11 +314,7 @@ - # - - def builder_unit_test(target, source, env): -- app = str(source[0].abspath) -- if os.spawnl(os.P_WAIT, app, app)==0: -- open(str(target[0]),'w').write("PASSED\n") -- else: -- return 1 -+ print("Disabled\n") - # Create a builder for tests - bld = Builder(action = builder_unit_test) - check_env.Append(BUILDERS = {'Test' : bld}) diff --git a/sys-cluster/galera/files/galera-3.12-strip-extra-buildconfig.patch b/sys-cluster/galera/files/galera-3.12-strip-extra-buildconfig.patch deleted file mode 100644 index 19394250fae7..000000000000 --- a/sys-cluster/galera/files/galera-3.12-strip-extra-buildconfig.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -aurN a/chromium/build_config.h b/chromium/build_config.h ---- a/chromium/build_config.h 2015-08-27 03:32:41.000000000 -0400 -+++ b/chromium/build_config.h 2015-09-15 09:50:21.765091000 -0400 -@@ -46,8 +46,6 @@ - #elif defined(__sun) - #define OS_SOLARIS 1 - #define TOOLKIT_GTK --#else --#error Please add support for your platform in build/build_config.h - #endif - - #if defined(USE_OPENSSL) && defined(USE_NSS) -@@ -132,8 +130,6 @@ - #define ARCH_CPU_32_BITS 1 - #endif - #define ARCH_CPU_BIG_ENDIAN 1 --#else --#error Please add support for your architecture in build/build_config.h - #endif - - // Type detection for wchar_t. diff --git a/sys-cluster/galera/files/galera-3.12-strip-machine-cflags.patch b/sys-cluster/galera/files/galera-3.12-strip-machine-cflags.patch deleted file mode 100644 index 414996b482f3..000000000000 --- a/sys-cluster/galera/files/galera-3.12-strip-machine-cflags.patch +++ /dev/null @@ -1,64 +0,0 @@ -diff -aurN a/galerautils/src/SConscript b/galerautils/src/SConscript ---- a/galerautils/src/SConscript 2015-03-16 07:18:42.000000000 -0400 -+++ b/galerautils/src/SConscript 2015-04-07 15:03:21.661301200 -0400 -@@ -1,4 +1,4 @@ --Import('env', 'x86', 'sysname') -+Import('env', 'sysname') - - libgalerautils_env = env.Clone() - -@@ -33,21 +33,6 @@ - crc32c_sources = [ '#/www.evanjones.ca/crc32c.c' ] - crc32c_objs = crc32c_env.SharedObject(crc32c_sources) - --if x86: -- crc32c_env.Append(CFLAGS = ' -msse4.2') -- if sysname == 'sunos': -- # Ideally we want to simply strip SSE4.2 flag from the resulting -- # crc32.pic.o -- # (see http://ffmpeg.org/pipermail/ffmpeg-user/2013-March/013977.html) -- # but that requires some serious scons-fu, so we just don't -- # compile hardware support in if host CPU does not have it. -- from subprocess import check_call -- try: -- check_call("isainfo -v | grep sse4.2 >/dev/null 2>&1", shell=True); -- except: -- libgalerautils_env.Append(CPPFLAGS = ' -DCRC32C_NO_HARDWARE') -- crc32c_env.Append(CPPFLAGS = ' -DCRC32C_NO_HARDWARE') -- - libgalerautils_env.StaticLibrary('galerautils', - libgalerautils_objs + crc32c_objs) - -diff -aurN a/SConstruct b/SConstruct ---- a/SConstruct 2015-09-15 09:15:07.770091000 -0400 -+++ b/SConstruct 2015-09-15 09:18:41.160091000 -0400 -@@ -87,29 +87,6 @@ - if dbug: - opt_flags = opt_flags + ' -DGU_DBUG_ON' - --if sysname == 'sunos': -- compile_arch = ' -mtune=native' -- link_arch = '' --elif x86: -- if bits == 32: -- compile_arch = ' -m32 -march=i686' -- link_arch = compile_arch -- if sysname == 'linux': -- link_arch = link_arch + ' -Wl,-melf_i386' -- else: -- compile_arch = ' -m64' -- link_arch = compile_arch -- if sysname == 'linux': -- link_arch = link_arch + ' -Wl,-melf_x86_64' --elif machine == 's390x': -- compile_arch = ' -mzarch -march=z196 -mtune=zEC12' -- link_arch = '' -- if bits == 32: -- compile_arch += ' -m32' --else: -- compile_arch = ' -mtune=native' -- link_arch = '' -- - - boost = int(ARGUMENTS.get('boost', 1)) - boost_pool = int(ARGUMENTS.get('boost_pool', 0)) diff --git a/sys-cluster/galera/files/galera-3.13-strip-extra-cflags.patch b/sys-cluster/galera/files/galera-3.13-strip-extra-cflags.patch deleted file mode 100644 index 972152d1e97e..000000000000 --- a/sys-cluster/galera/files/galera-3.13-strip-extra-cflags.patch +++ /dev/null @@ -1,70 +0,0 @@ -diff -aurN a/galerautils/src/SConscript b/galerautils/src/SConscript ---- a/galerautils/src/SConscript 2015-03-16 07:18:42.000000000 -0400 -+++ b/galerautils/src/SConscript 2015-04-07 15:03:21.661301200 -0400 -@@ -1,4 +1,4 @@ --Import('env', 'x86', 'sysname') -+Import('env', 'sysname') - - libgalerautils_env = env.Clone() - -@@ -39,21 +39,6 @@ - crc32c_sources = [ '#/www.evanjones.ca/crc32c.c' ] - crc32c_objs = crc32c_env.SharedObject(crc32c_sources) - --if x86: -- crc32c_env.Append(CFLAGS = ' -msse4.2') -- if sysname == 'sunos': -- # Ideally we want to simply strip SSE4.2 flag from the resulting -- # crc32.pic.o -- # (see http://ffmpeg.org/pipermail/ffmpeg-user/2013-March/013977.html) -- # but that requires some serious scons-fu, so we just don't -- # compile hardware support in if host CPU does not have it. -- from subprocess import check_call -- try: -- check_call("isainfo -v | grep sse4.2 >/dev/null 2>&1", shell=True); -- except: -- libgalerautils_env.Append(CPPFLAGS = ' -DCRC32C_NO_HARDWARE') -- crc32c_env.Append(CPPFLAGS = ' -DCRC32C_NO_HARDWARE') -- - libgalerautils_env.StaticLibrary('galerautils', - libgalerautils_objs + crc32c_objs) - -diff -aurN a/SConstruct b/SConstruct ---- a/SConstruct 2015-09-15 09:15:07.770091000 -0400 -+++ b/SConstruct 2015-09-15 09:18:41.160091000 -0400 -@@ -67,7 +67,7 @@ - build_target = 'all' - - # Optimization level --opt_flags = ' -g -O3 -DNDEBUG' -+opt_flags = ' -DNDEBUG' - - # Architecture (defaults to build host type) - compile_arch = '' -@@ -97,26 +97,6 @@ - if dbug: - opt_flags = opt_flags + ' -DGU_DBUG_ON' - --if sysname == 'sunos': -- compile_arch = ' -mtune=native' --elif x86: -- if bits == 32: -- if machine == 'x86_64': -- compile_arch = ' -mx32' -- else: -- compile_arch = ' -m32 -march=i686' -- if sysname == 'linux': -- link_arch = ' -Wl,-melf_i386' -- else: -- compile_arch = ' -m64' -- if sysname == 'linux': -- link_arch = ' -Wl,-melf_x86_64' -- link_arch = compile_arch + link_arch --elif machine == 's390x': -- compile_arch = ' -mzarch -march=z196 -mtune=zEC12' -- if bits == 32: -- compile_arch += ' -m32' -- - boost = int(ARGUMENTS.get('boost', 1)) - boost_pool = int(ARGUMENTS.get('boost_pool', 0)) - ssl = int(ARGUMENTS.get('ssl', 1)) diff --git a/sys-cluster/galera/files/galera-strip-machine-cflags.patch b/sys-cluster/galera/files/galera-strip-machine-cflags.patch deleted file mode 100644 index 5aca0f709f44..000000000000 --- a/sys-cluster/galera/files/galera-strip-machine-cflags.patch +++ /dev/null @@ -1,62 +0,0 @@ -diff -aurN a/galerautils/src/SConscript b/galerautils/src/SConscript ---- a/galerautils/src/SConscript 2015-03-16 07:18:42.000000000 -0400 -+++ b/galerautils/src/SConscript 2015-04-07 15:03:21.661301200 -0400 -@@ -1,4 +1,4 @@ --Import('env', 'x86', 'sysname') -+Import('env', 'sysname') - - libgalerautils_env = env.Clone() - -@@ -33,21 +33,6 @@ - crc32c_sources = [ '#/www.evanjones.ca/crc32c.c' ] - crc32c_objs = crc32c_env.SharedObject(crc32c_sources) - --if x86 != 0: -- crc32c_env.Append(CFLAGS = ' -msse4.2') -- if sysname == 'sunos': -- # Ideally we want to simply strip SSE4.2 flag from the resulting -- # crc32.pic.o -- # (see http://ffmpeg.org/pipermail/ffmpeg-user/2013-March/013977.html) -- # but that requires some serious scons-fu, so we just don't -- # compile hardware support in if host CPU does not have it. -- from subprocess import check_call -- try: -- check_call("isainfo -v | grep sse4.2 >/dev/null 2>&1", shell=True); -- except: -- libgalerautils_env.Append(CPPFLAGS = ' -DCRC32C_NO_HARDWARE') -- crc32c_env.Append(CPPFLAGS = ' -DCRC32C_NO_HARDWARE') -- - libgalerautils_env.StaticLibrary('galerautils', - libgalerautils_objs + crc32c_objs) - -diff -aurN a/SConstruct b/SConstruct ---- a/SConstruct 2015-04-07 14:53:59.810301200 -0400 -+++ b/SConstruct 2015-04-07 14:54:48.700301200 -0400 -@@ -87,27 +87,6 @@ - opt_flags = opt_flags + ' -DGU_DBUG_ON' - - --if x86 == 32: -- compile_arch = ' -m32 -march=i686' -- link_arch = compile_arch -- if sysname == 'linux': -- link_arch = link_arch + ' -Wl,-melf_i386' --elif x86 == 64 and sysname != 'sunos': -- compile_arch = ' -m64' -- link_arch = compile_arch -- if sysname == 'linux': -- link_arch = link_arch + ' -Wl,-melf_x86_64' --elif machine == 'ppc64': -- compile_arch = ' -mtune=native' -- link_arch = '' --elif sysname == 'sunos': -- compile_arch = ' -mtune=native' -- link_arch = '' --else: -- compile_arch = '' -- link_arch = '' -- -- - boost = int(ARGUMENTS.get('boost', 1)) - boost_pool = int(ARGUMENTS.get('boost_pool', 0)) - ssl = int(ARGUMENTS.get('ssl', 1)) diff --git a/sys-cluster/galera/files/respect-flags.patch b/sys-cluster/galera/files/respect-flags.patch deleted file mode 100644 index d7e5f37817ef..000000000000 --- a/sys-cluster/galera/files/respect-flags.patch +++ /dev/null @@ -1,35 +0,0 @@ ---- a/SConstruct 2014-03-07 14:27:26.797904671 -0500 -+++ b/SConstruct 2014-03-07 14:31:18.672478115 -0500 -@@ -49,7 +49,7 @@ - build_target = 'all' - - # Optimization level --opt_flags = ' -g -O3 -DNDEBUG' -+opt_flags = ' -DNDEBUG' - - # Architecture (defaults to build host type) - compile_arch = '' -@@ -214,12 +214,12 @@ - ' -Wall -Wextra -Wno-unused-parameter') - - # C-specific flags --env.Replace(CFLAGS = ' -std=c99 -fno-strict-aliasing -pipe') -+env.Replace(CFLAGS = os.getenv('CFLAGS','') + ' -std=c99 -fno-strict-aliasing -pipe') - - # CXX-specific flags - # Note: not all 3rd-party libs like '-Wold-style-cast -Weffc++' - # adding those after checks --env.Replace(CXXFLAGS = ' -Wno-long-long -Wno-deprecated -ansi') -+env.Replace(CXXFLAGS = os.getenv('CXXFLAGS','') + ' -Wno-long-long -Wno-deprecated -ansi') - if sysname != 'sunos': - env.Append(CXXFLAGS = ' -pipe') - -@@ -228,7 +228,7 @@ - # TODO: enable '-Wl,--warn-common -Wl,--fatal-warnings' after warnings from - # static linking have beed addressed - # --env.Append(LINKFLAGS = link_arch) -+env.Append(LINKFLAGS = link_arch + ' ' + os.getenv('LDFLAGS','')) - - # - # Check required headers and libraries (autoconf functionality) diff --git a/sys-cluster/galera/galera-25.3.10.ebuild b/sys-cluster/galera/galera-25.3.10.ebuild deleted file mode 100644 index 98c8a2d45245..000000000000 --- a/sys-cluster/galera/galera-25.3.10.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -MY_P="${PN}-3-${PV}" - -inherit scons-utils multilib toolchain-funcs eutils 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/source/galera-3-${PV}.tar.gz" -LICENSE="GPL-2 BSD" - -SLOT="0" - -KEYWORDS="~amd64 ~ppc64 ~x86" -IUSE="cpu_flags_x86_sse4_2 garbd ssl test" - -CDEPEND=" - ssl? ( 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.4.8[ssl?] - " -#Run time only -RDEPEND="${CDEPEND}" - -S="${WORKDIR}/${MY_P}" - -pkg_preinst() { - if use garbd ; then - enewgroup garbd - enewuser garbd -1 -1 -1 garbd - fi -} - -src_prepare() { - # Remove bundled dev-cpp/asio - rm -r "${S}/asio" || die - - # Respect {C,LD}FLAGS. - epatch "${FILESDIR}/respect-flags.patch" \ - "${FILESDIR}/galera-strip-machine-cflags.patch" - - #Remove optional garbd daemon - if ! use garbd ; then - rm -r "${S}/garb" || die - fi - - epatch_user -} - -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 - 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 - doman man/garbd.8 - fi - exeinto /usr/$(get_libdir)/${PN} - doexe libgalera_smm.so -} diff --git a/sys-cluster/galera/galera-25.3.12.ebuild b/sys-cluster/galera/galera-25.3.12.ebuild deleted file mode 100644 index 760c3ffcf5ee..000000000000 --- a/sys-cluster/galera/galera-25.3.12.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -MY_P="${PN}-3-${PV}" - -inherit scons-utils multilib toolchain-funcs eutils 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/source/galera-3-${PV}.tar.gz" -LICENSE="GPL-2 BSD" - -SLOT="0" - -KEYWORDS="~amd64 ~arm ~ppc64 ~x86" -IUSE="cpu_flags_x86_sse4_2 garbd ssl test" - -CDEPEND=" - ssl? ( 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.4.8[ssl?] - " -#Run time only -RDEPEND="${CDEPEND}" - -S="${WORKDIR}/${MY_P}" - -pkg_preinst() { - if use garbd ; then - enewgroup garbd - enewuser garbd -1 -1 -1 garbd - fi -} - -src_prepare() { - # Remove bundled dev-cpp/asio - rm -r "${S}/asio" || die - - # Respect {C,LD}FLAGS. - epatch "${FILESDIR}/respect-flags.patch" \ - "${FILESDIR}/galera-3.12-strip-machine-cflags.patch" \ - "${FILESDIR}/galera-3.12-strip-extra-buildconfig.patch" - - #Remove optional garbd daemon - if ! use garbd ; then - rm -r "${S}/garb" || die - fi - - epatch_user -} - -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 - 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 - doman man/garbd.8 - fi - exeinto /usr/$(get_libdir)/${PN} - doexe libgalera_smm.so -} diff --git a/sys-cluster/galera/galera-25.3.13.ebuild b/sys-cluster/galera/galera-25.3.13.ebuild deleted file mode 100644 index 4dd346b68536..000000000000 --- a/sys-cluster/galera/galera-25.3.13.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -MY_P="${PN}-3-${PV}" - -inherit scons-utils multilib toolchain-funcs eutils 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/source/galera-3-${PV}.tar.gz" -LICENSE="GPL-2 BSD" - -SLOT="0" - -KEYWORDS="~amd64 ~arm ~ppc64 ~x86" -IUSE="cpu_flags_x86_sse4_2 garbd ssl test" - -CDEPEND=" - ssl? ( 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.4.8[ssl?] - " -#Run time only -RDEPEND="${CDEPEND}" - -S="${WORKDIR}/${MY_P}" - -pkg_preinst() { - if use garbd ; then - enewgroup garbd - enewuser garbd -1 -1 -1 garbd - fi -} - -src_prepare() { - # Remove bundled dev-cpp/asio - rm -r "${S}/asio" || die - - # Respect {C,LD}FLAGS. - epatch "${FILESDIR}/galera-3.13-strip-extra-cflags.patch" - - #Remove optional garbd daemon - if ! use garbd ; then - rm -r "${S}/garb" || die - fi - - epatch_user -} - -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 - 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 - doman man/garbd.8 - fi - exeinto /usr/$(get_libdir)/${PN} - doexe libgalera_smm.so -} diff --git a/sys-cluster/galera/galera-25.3.14.ebuild b/sys-cluster/galera/galera-25.3.14.ebuild deleted file mode 100644 index 1adeac389bde..000000000000 --- a/sys-cluster/galera/galera-25.3.14.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -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/source/galera-3-${PV}.tar.gz" -LICENSE="GPL-2 BSD" - -SLOT="0" - -KEYWORDS="~amd64 ~arm ~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.13-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 - ) -} - -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 -} |