summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/galera/Manifest3
-rw-r--r--sys-cluster/galera/files/galera-26.4.13-asio.patch22
-rw-r--r--sys-cluster/galera/files/galera-26.4.13-tests.patch13
-rw-r--r--sys-cluster/galera/files/galera-26.4.6-strip-extra-cflags.patch38
-rw-r--r--sys-cluster/galera/files/galera-26.4.8-respect-toolchain.patch53
-rw-r--r--sys-cluster/galera/galera-26.4.13-r1.ebuild85
-rw-r--r--sys-cluster/galera/galera-26.4.14.ebuild85
-rw-r--r--sys-cluster/galera/galera-26.4.15.ebuild71
-rw-r--r--sys-cluster/galera/galera-26.4.17.ebuild2
-rw-r--r--sys-cluster/galera/galera-26.4.18.ebuild2
-rw-r--r--sys-cluster/libqb/Manifest1
-rw-r--r--sys-cluster/libqb/libqb-2.0.8.ebuild68
12 files changed, 71 insertions, 372 deletions
diff --git a/sys-cluster/galera/Manifest b/sys-cluster/galera/Manifest
index 75b9771b65cc..608a476d4f6b 100644
--- a/sys-cluster/galera/Manifest
+++ b/sys-cluster/galera/Manifest
@@ -1,5 +1,2 @@
-DIST galera-26.4.13.tar.gz 1529682 BLAKE2B d7030fd5e3a48ede16f608cca9986de117a54f99cf3d972a5b14623acd84f05f31f5cdbbc3032bf5caa8e0486f418ac07c8f87287bb14a8164507c558876ae61 SHA512 e548048eac5fceb0bea1ae736abc6c488d175bc71a3cfb963675232688392ecb5dcc64ddd8e78ceda40e26b94b806d3c34bd9fc9765ebc047b5a5ce28ff7efea
-DIST galera-26.4.14.tar.gz 1532285 BLAKE2B c647332a1a70609fbe3197653df2e24ccd0c5e053b1c9ef4d3de20bc70d8f2363090c6296e9e81eeb92a625c85d67b4f298db8e34862c7deb907baf13bae2e45 SHA512 f9bb3d1d503ed7f90cfc5596e68e8cf77683d2d7e6ddb45d0a6618bbc6a31ad2caa80933f6724734ec4ae416b37d7d7ec61e1bf0b87cefd4c959954266a2fb26
-DIST galera-26.4.15.tar.gz 1532571 BLAKE2B 8aa5c6027b4cfe7f41c9d431315a4a12b9ea45896743bafa296470e8e3f0613e8974e3daea0d7c89c3e2d014692fb7d10f4a64588add569a197546dcd0f0108d SHA512 b866610c00df344ea8c9cc948fadfa4be808ee6bb100fec470dee006458d81ec704db156d320889610bff9b944023963f624b8672596a282c7658c55d99ffca6
DIST galera-26.4.17.tar.gz 1541975 BLAKE2B 7b12a9c056e45fc0614910a5f6eb1127e3613aa7b212db94594330ddd048de4982cbb1d36a75c08da0aa31a9a08a5632686e867b967291bb269835e37a6efcb3 SHA512 c11fecb6c9e142643f594275d6ff486d7a3615016691373831e57221f9bbfdc086202757068a2cc9308049b3499aa64dcc6f066dcf6437d25a4c546b19ac8fa3
DIST galera-26.4.18.tar.gz 1542330 BLAKE2B 5a0d8b1929a72ce36f521ba3404b9251503226ba041970bc67f9d25b2b55c2daa2128500117366273541578eb1d7fd213d5f8336cba705650c55b70125dcbf0d SHA512 75ae75c0bac1b2ba5d0230af9b0e14b5e8661f20f84cee3800b2e979c3ef53c9dd5ce8cebcec1ae9205b5dec28f94f690854cce32a10e9f58d8aa55725fd59c6
diff --git a/sys-cluster/galera/files/galera-26.4.13-asio.patch b/sys-cluster/galera/files/galera-26.4.13-asio.patch
deleted file mode 100644
index 5f20ec1624e2..000000000000
--- a/sys-cluster/galera/files/galera-26.4.13-asio.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/SConstruct b/SConstruct
-index ce955fc..3ff241a 100644
---- a/SConstruct
-+++ b/SConstruct
-@@ -325,7 +325,7 @@ def CheckSystemASIOVersion(context):
- #pragma message "Asio version:" XSTR(ASIO_VERSION)
- #if ASIO_VERSION < 101008
- #error Included asio version is too old
--#elif ASIO_VERSION >= 101100
-+#elif ASIO_VERSION >= 102600
- #error Included asio version is too new
- #endif
-
-@@ -335,7 +335,7 @@ int main()
- }
-
- """
-- context.Message('Checking ASIO version (>= 1.10.8 and < 1.11.0) ... ')
-+ context.Message('Checking ASIO version (>= 1.10.8 and < 1.26.0) ... ')
- result = context.TryLink(system_asio_test_source_file, '.cpp')
- context.Result(result)
- return result
diff --git a/sys-cluster/galera/files/galera-26.4.13-tests.patch b/sys-cluster/galera/files/galera-26.4.13-tests.patch
deleted file mode 100644
index 21b1b72f0058..000000000000
--- a/sys-cluster/galera/files/galera-26.4.13-tests.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/wsrep/tests/wsrep_loader_test.c b/wsrep/tests/wsrep_loader_test.c
-index 47f4db2..8e349c8 100644
---- a/wsrep/tests/wsrep_loader_test.c
-+++ b/wsrep/tests/wsrep_loader_test.c
-@@ -48,7 +48,7 @@ int wsrep_load_unload()
- {
- fprintf(stderr, "Provider version string '%s' not expected '%s'\n",
- wsrep->provider_version, expected_version);
-- abort();
-+ //abort();
- }
- wsrep_unload(wsrep);
- return 0;
diff --git a/sys-cluster/galera/files/galera-26.4.6-strip-extra-cflags.patch b/sys-cluster/galera/files/galera-26.4.6-strip-extra-cflags.patch
deleted file mode 100644
index 5f5be7a7a94b..000000000000
--- a/sys-cluster/galera/files/galera-26.4.6-strip-extra-cflags.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- a/SConstruct
-+++ b/SConstruct
-@@ -89,7 +89,7 @@ Commandline Options:
- build_target = 'all'
-
- # Optimization level
--opt_flags = ' -g -O3 -DNDEBUG'
-+opt_flags = ' -DNDEBUG'
-
- # Architecture (defaults to build host type)
- compile_arch = ''
-@@ -134,26 +134,6 @@ if dbug:
- if gcov:
- opt_flags = opt_flags + ' --coverage -g'
-
--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'
-- if bits == 32:
-- compile_arch += ' -m32'
--
- boost = int(ARGUMENTS.get('boost', 1))
- boost_pool = int(ARGUMENTS.get('boost_pool', 0))
- system_asio= int(ARGUMENTS.get('system_asio', 1))
diff --git a/sys-cluster/galera/files/galera-26.4.8-respect-toolchain.patch b/sys-cluster/galera/files/galera-26.4.8-respect-toolchain.patch
deleted file mode 100644
index 202f5aaefc03..000000000000
--- a/sys-cluster/galera/files/galera-26.4.8-respect-toolchain.patch
+++ /dev/null
@@ -1,53 +0,0 @@
---- a/SConscript
-+++ b/SConscript
-@@ -47,13 +47,15 @@ def check_executable_exists(command):
- return retval
-
- def check_dynamic_symbols(target, source, env):
-+ objdump = env['OBJDUMP']
-+
- # Check if objdump exists
-- if check_executable_exists(['objdump', '--version']):
-+ if check_executable_exists([objdump, '--version']):
- print('Skipping dynamic symbols check.')
- return 0
-
- # Check that DSO doesn't contain asio-related dynamic symbols
-- if env.Execute(Action(['! objdump -T ' + target[0].abspath + ' | grep asio'], None)):
-+ if env.Execute(Action(['! ' + objdump + ' -T ' + target[0].abspath + ' | grep asio'], None)):
- return 1
- return 0
-
---- a/SConstruct
-+++ b/SConstruct
-@@ -5,6 +5,7 @@
- # SCons build script to build galera libraries
- #
- # How to control the build with environment variables:
-+# Set AR to specify archive utility
- # Set CC to specify C compiler
- # Set CXX to specify C++ compiler
- # Set CPPFLAGS to add non-standard include paths and preprocessor macros
-@@ -13,6 +14,7 @@
- # Set CXXFLAGS to supply C++ compiler options
- # Set LDFLAGS to *override* linking flags
- # Set LIBPATH to add non-standard linker paths
-+# Set OBJDUMP to specify objdump utility
- # Set RPATH to add rpaths
- #
- # Some useful CPPFLAGS:
-@@ -183,6 +185,13 @@ if cxx != 'default':
- link = os.getenv('LINK', 'default')
- if link != 'default':
- env.Replace(LINK = link)
-+ar = os.getenv('AR', 'default')
-+if ar != 'default':
-+ env.Replace(AR = ar)
-+objdump = os.getenv('OBJDUMP', 'default')
-+if objdump != 'default':
-+ env.Replace(OBJDUMP = objdump)
-+
-
- # Get compiler name/version, CXX may be set to "c++" which may be clang or gcc
- cc_version = str(read_first_line(env['CC'].split() + ['--version']))
-
diff --git a/sys-cluster/galera/galera-26.4.13-r1.ebuild b/sys-cluster/galera/galera-26.4.13-r1.ebuild
deleted file mode 100644
index be927adee947..000000000000
--- a/sys-cluster/galera/galera-26.4.13-r1.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit python-any-r1 scons-utils toolchain-funcs
-
-MY_PN="${PN}-4"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Synchronous multi-master replication engine that provides the wsrep API"
-HOMEPAGE="https://galeracluster.com"
-SRC_URI="
- https://releases.galeracluster.com/${MY_PN}.$(ver_cut 3)/source/${MY_P}.tar.gz
- -> ${P}.tar.gz
-"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="GPL-2 BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ia64 ~ppc ppc64 x86"
-IUSE="cpu_flags_x86_sse4_2 garbd test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-libs/openssl:=
- dev-libs/boost:=
-"
-DEPEND="
- ${RDEPEND}
- dev-libs/check
- >=dev-cpp/asio-1.22
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-26.4.6-strip-extra-cflags.patch
- "${FILESDIR}"/${PN}-26.4.8-respect-toolchain.patch
- "${FILESDIR}"/${PN}-26.4.13-asio.patch
- "${FILESDIR}"/${PN}-26.4.13-tests.patch
-)
-
-src_prepare() {
- default
-
- # Remove bundled dev-cpp/asio
- rm -r asio || die "Failed to remove bundled asio"
-
- # Remove optional garbd daemon
- if ! use garbd ; then
- rm -r garb || die "Failed to remove garbd daemon"
- fi
-}
-
-src_configure() {
- tc-export AR CC CXX OBJDUMP
-
- # strict_build_flags=0 disables -Werror, -pedantic, -Weffc++,
- # and -Wold-style-cast
- MYSCONS=(
- crc32c_no_hardware=$(usex cpu_flags_x86_sse4_2 0 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.init garbd
- doman man/garbd.8
- fi
-
- exeinto /usr/$(get_libdir)/galera
- doexe libgalera_smm.so
-}
diff --git a/sys-cluster/galera/galera-26.4.14.ebuild b/sys-cluster/galera/galera-26.4.14.ebuild
deleted file mode 100644
index c6a97c7b4fc2..000000000000
--- a/sys-cluster/galera/galera-26.4.14.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-
-inherit python-any-r1 scons-utils toolchain-funcs
-
-MY_PN="${PN}-4"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Synchronous multi-master replication engine that provides the wsrep API"
-HOMEPAGE="https://galeracluster.com"
-SRC_URI="
- https://releases.galeracluster.com/${MY_PN}.$(ver_cut 3)/source/${MY_P}.tar.gz
- -> ${P}.tar.gz
-"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="GPL-2 BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
-IUSE="cpu_flags_x86_sse4_2 garbd test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-libs/openssl:=
- dev-libs/boost:=
-"
-DEPEND="
- ${RDEPEND}
- dev-libs/check
- >=dev-cpp/asio-1.22
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-26.4.6-strip-extra-cflags.patch
- "${FILESDIR}"/${PN}-26.4.8-respect-toolchain.patch
- "${FILESDIR}"/${PN}-26.4.13-asio.patch
- "${FILESDIR}"/${PN}-26.4.13-tests.patch
-)
-
-src_prepare() {
- default
-
- # Remove bundled dev-cpp/asio
- rm -r asio || die "Failed to remove bundled asio"
-
- # Remove optional garbd daemon
- if ! use garbd ; then
- rm -r garb || die "Failed to remove garbd daemon"
- fi
-}
-
-src_configure() {
- tc-export AR CC CXX OBJDUMP
-
- # strict_build_flags=0 disables -Werror, -pedantic, -Weffc++,
- # and -Wold-style-cast
- MYSCONS=(
- crc32c_no_hardware=$(usex cpu_flags_x86_sse4_2 0 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.init garbd
- doman man/garbd.8
- fi
-
- exeinto /usr/$(get_libdir)/galera
- doexe libgalera_smm.so
-}
diff --git a/sys-cluster/galera/galera-26.4.15.ebuild b/sys-cluster/galera/galera-26.4.15.ebuild
deleted file mode 100644
index ffa1f0dc758f..000000000000
--- a/sys-cluster/galera/galera-26.4.15.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-MY_PN="${PN}-4"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Synchronous multi-master replication engine that provides the wsrep API"
-HOMEPAGE="https://galeracluster.com"
-SRC_URI="
- https://releases.galeracluster.com/${MY_PN}.$(ver_cut 3)/source/${MY_P}.tar.gz
- -> ${P}.tar.gz
-"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="GPL-2 BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ~ia64 ~ppc ppc64 ~x86"
-IUSE="garbd ssl"
-
-RDEPEND="
- ssl? ( dev-libs/openssl:= )
- dev-libs/boost:=
-"
-# TODO: Make check dep optional
-DEPEND="
- ${RDEPEND}
- >=dev-cpp/asio-1.22
- dev-libs/check
-"
-
-src_prepare() {
- cmake_src_prepare
-
- # Remove bundled dev-cpp/asio
- rm -r asio || die "Failed to remove bundled asio"
-
- # Remove optional garbd daemon
- if ! use garbd ; then
- rm -r garb || die "Failed to remove garbd daemon"
- sed -i '/add_subdirectory(garb)/d' CMakeLists.txt || die
- fi
-}
-
-src_configure() {
- local mycmakeargs=(
- -DGALERA_WITH_SSL=$(usex ssl)
- )
-
- cmake_src_configure
-}
-
-src_install() {
- dodoc scripts/packages/README scripts/packages/README-MySQL
-
- if use garbd ; then
- newconfd "${FILESDIR}"/garb.cnf garbd
- newinitd "${FILESDIR}"/garb.init garbd
- doman man/garbd.8
-
- pushd "${BUILD_DIR}" || die
- dobin garb/garbd
- fi
-
- pushd "${BUILD_DIR}" || die
- exeinto /usr/$(get_libdir)/galera
- doexe libgalera_smm.so
-}
diff --git a/sys-cluster/galera/galera-26.4.17.ebuild b/sys-cluster/galera/galera-26.4.17.ebuild
index 2920e866dcae..146cc100d7f9 100644
--- a/sys-cluster/galera/galera-26.4.17.ebuild
+++ b/sys-cluster/galera/galera-26.4.17.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${MY_P}"
LICENSE="GPL-2 BSD"
SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ia64 ~ppc ppc64 ~x86"
+KEYWORDS="amd64 ~arm arm64 ~ia64 ~ppc ppc64 x86"
IUSE="garbd ssl"
RDEPEND="
diff --git a/sys-cluster/galera/galera-26.4.18.ebuild b/sys-cluster/galera/galera-26.4.18.ebuild
index 2defbd8cbff9..2920e866dcae 100644
--- a/sys-cluster/galera/galera-26.4.18.ebuild
+++ b/sys-cluster/galera/galera-26.4.18.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${MY_P}"
LICENSE="GPL-2 BSD"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm arm64 ~ia64 ~ppc ppc64 ~x86"
IUSE="garbd ssl"
RDEPEND="
diff --git a/sys-cluster/libqb/Manifest b/sys-cluster/libqb/Manifest
index 7d91d5cc8aa4..9b6eb706a248 100644
--- a/sys-cluster/libqb/Manifest
+++ b/sys-cluster/libqb/Manifest
@@ -1,2 +1,3 @@
DIST libqb-2.0.1.tar.xz 480516 BLAKE2B 402ca20f16a232497c9a363c557556bbdcfffff5d0f075898bf4008bb51b30771f284c29b64421be1dae8215e153b8978ac06c9bd10f3e5e23632b597549d2c7 SHA512 6d989d30b381253c7d7c4ff1e6400ad3445b92184906c859f10d6352dd604a309d7e2d9c8298d8b8d59a0e884e2d821608a39f043db7e96db2118a867ef57672
DIST libqb-2.0.4.tar.xz 504444 BLAKE2B a363a06bcfc34557e634b9be4f625db5b1aba15be89c5d2c7f897ae7c23f229410ce7d697daf6d27364c0cc4c58c13d61db775f8ffe2822673821c2726b7bef0 SHA512 a726b9c1828cbef741ba9c50b9588cbd421637a8fac0d8f4381e2bf6d349cb228935e86f4e8cf409656ef789f4f5c0d096914d7a13637ee1f1e607894349d330
+DIST libqb-2.0.8.tar.xz 521600 BLAKE2B 72566541fa0b528158639f1d561f718dba5ce7c1609b3570e4363dc9da3b20e455a08cee89d9661f946fb647318ee10c19ce470402279d12ffae9ec198da5ff0 SHA512 9db87b248af87d9aa0520bc0045264a5f0a710fd582a16285990685cb8f8b485ba24b774f2ab7eb719bac5ed3bbf3a315696f7191a5fcf7beea33126a4402a09
diff --git a/sys-cluster/libqb/libqb-2.0.8.ebuild b/sys-cluster/libqb/libqb-2.0.8.ebuild
new file mode 100644
index 000000000000..20a1c20cfc33
--- /dev/null
+++ b/sys-cluster/libqb/libqb-2.0.8.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Library providing high performance logging, tracing, ipc, and poll"
+HOMEPAGE="https://github.com/ClusterLabs/libqb"
+SRC_URI="https://github.com/ClusterLabs/${PN}/releases/download/v${PV}/${P}.tar.xz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/100"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug doc examples systemd test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-libs/glib:2
+ dev-libs/libxml2"
+DEPEND="${RDEPEND}"
+BDEPEND="app-arch/xz-utils
+ test? ( dev-libs/check )
+ doc? (
+ app-text/doxygen[dot]
+ )"
+
+DOCS=( ChangeLog README.markdown )
+
+PATCHES=()
+
+src_prepare() {
+ default
+
+ # Skip installation of text documents without value
+ sed -e '/dist_doc_DATA/d' -i Makefile.am || die
+
+ # Do not append version suffix "-yank"
+ sed 's|1-yank|1|' -i configure.ac || die
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-static \
+ --with-socket-dir=/run \
+ $(use_enable systemd systemd-journal) \
+ $(use_enable debug)
+}
+
+src_compile() {
+ default
+ use doc && emake doxygen
+}
+
+src_install() {
+ emake install DESTDIR="${D}"
+
+ if use examples ; then
+ docinto examples
+ dodoc examples/*.c
+ fi
+
+ use doc && HTML_DOCS=("docs/html/.")
+ einstalldocs
+
+ find "${D}" -name '*.la' -delete || die
+}