diff options
author | Marco Scardovi <marco@scardovi.com> | 2021-12-18 21:24:33 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2022-01-01 11:48:01 +0100 |
commit | 8e225a62110259ce51e71bb7dc3eac113b81bf06 (patch) | |
tree | a3f17ac1a6728054051305ebd26579c1e7bd5201 /sys-cluster/galera | |
parent | sys-cluster/galera: bump to galera-25.3.35 (diff) | |
download | gentoo-8e225a62110259ce51e71bb7dc3eac113b81bf06.tar.gz gentoo-8e225a62110259ce51e71bb7dc3eac113b81bf06.tar.bz2 gentoo-8e225a62110259ce51e71bb7dc3eac113b81bf06.zip |
sys-cluster/galera: revbump galera-26.4.10 to r1
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Marco Scardovi <marco@scardovi.com>
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'sys-cluster/galera')
-rw-r--r-- | sys-cluster/galera/galera-26.4.10-r1.ebuild (renamed from sys-cluster/galera/galera-26.4.10.ebuild) | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/sys-cluster/galera/galera-26.4.10.ebuild b/sys-cluster/galera/galera-26.4.10-r1.ebuild index 8c2638ef5bb9..9e68c73486b2 100644 --- a/sys-cluster/galera/galera-26.4.10.ebuild +++ b/sys-cluster/galera/galera-26.4.10-r1.ebuild @@ -7,9 +7,12 @@ PYTHON_COMPAT=( python3_{7,8,9} ) inherit python-any-r1 scons-utils toolchain-funcs flag-o-matic +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/galera-4/source/galera-4-${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://releases.galeracluster.com/${MY_PN}/source/${MY_P}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2 BSD" SLOT="0" @@ -22,46 +25,41 @@ IUSE="cpu_flags_x86_sse4_2 garbd test" # - https://github.com/codership/galera/issues/596 RESTRICT="test" -CDEPEND=" +COMMON_DEPEND=" dev-libs/openssl:0= >=dev-libs/boost-1.41:0= - " - -BDEPEND=">=sys-devel/gcc-4.4" +" -DEPEND="${BDEPEND} - ${CDEPEND} +DEPEND=" + ${COMMON_DEPEND} dev-libs/check >=dev-cpp/asio-1.10.1[ssl(+)] <dev-cpp/asio-1.12.0 - " +" #Run time only -RDEPEND="${CDEPEND}" +RDEPEND="${COMMON_DEPEND}" # Respect {C,LD}FLAGS. PATCHES=( - "${FILESDIR}"/${PN}-26.4.6-strip-extra-cflags.patch - "${FILESDIR}"/${PN}-26.4.8-respect-toolchain.patch + "${FILESDIR}/${PN}"-26.4.6-strip-extra-cflags.patch + "${FILESDIR}/${PN}"-26.4.8-respect-toolchain.patch ) -S="${WORKDIR}/galera-4-${PV}" +S="${WORKDIR}/${MY_P}" src_prepare() { default - # Remove bundled dev-cpp/asio - rm -r "${S}/asio" || die - + rm -r "${S}/asio" || die "Failed to remove bundled asio" #Remove optional garbd daemon if ! use garbd ; then - rm -r "${S}/garb" || die + rm -r "${S}/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=( @@ -84,6 +82,6 @@ src_install() { newinitd "${FILESDIR}/garb.init" garbd doman man/garbd.8 fi - exeinto /usr/$(get_libdir)/${PN} + exeinto /usr/$(get_libdir)/"${PN}" doexe libgalera_smm.so } |