mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
sys-cluster/corosync: drop old
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST corosync-2.3.5.tar.gz 428253 BLAKE2B be9fc2b27b60357acee6dee013bc95c08045c114acafc62eaa82a1821f07ff76b8821b9d06f31246b9978f8aef46e3a9e1a2d61ca74465bc74d4140c0ad0d0fa SHA512 212a95d8a68a2941f27c9ec22750a88598744d6fd4db6b46abe0b4cdfa988d3906f760bdf67c403d8c6d0a04da64f29ec744fb68ca51c7269ba58e306553cee9
|
||||
DIST corosync-2.4.5.tar.gz 587015 BLAKE2B f1ef6b0a0f34e23a4ab5a5e9a6f21ba1886fb6cebec7d9440f6e189acb095cd825049dfceb174b490be1b6d85195ae4b99230ea44a31e427db9020257e8fc428 SHA512 e8476c006df8fd0c5291a8b0099c4756f884d41c7e9c13573c34458f63cd057d49d6fa0c1d5344d5fc44341186817ddee66997d51937339e6d70dcada0c402ee
|
||||
DIST corosync-3.1.0.tar.gz 447073 BLAKE2B 1a0d5b744ac5cba1d67fed6d58a159d8dfc63615aa6fbe5051b20f6e41da589871b6d0b59937db0ac31b4186e4f051378e48308ffc3e0743a5372e494485b3c7 SHA512 05be0d417f3ebbba993b92074f261dea3d951e20d2054817b9017eb04a8a017c9c3f3d0119dafd689944accb690beaafc9f11c1e67f53d978918ea49e51a5e6f
|
||||
|
||||
@@ -1,75 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools
|
||||
|
||||
MY_TREE="56ae8fe"
|
||||
|
||||
DESCRIPTION="OSI Certified implementation of a complete cluster engine"
|
||||
HOMEPAGE="http://www.corosync.org/"
|
||||
SRC_URI="http://build.clusterlabs.org/corosync/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2 public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~hppa ppc ppc64 x86"
|
||||
IUSE="doc infiniband static-libs systemd xml"
|
||||
|
||||
# TODO: support those new configure flags
|
||||
# --enable-augeas : Install the augeas lens for corosync.conf
|
||||
# --enable-snmp : SNMP protocol support
|
||||
# --enable-watchdog : Watchdog support
|
||||
RDEPEND="!sys-cluster/heartbeat
|
||||
infiniband? (
|
||||
sys-fabric/libibverbs:*
|
||||
sys-fabric/librdmacm:*
|
||||
)
|
||||
dev-libs/nss
|
||||
<=sys-cluster/libqb-0.17.2"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( sys-apps/groff )"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-2.3.4-docs.patch" )
|
||||
|
||||
DOCS=( README.recovery SECURITY AUTHORS )
|
||||
|
||||
S="${WORKDIR}/${PN}-${PN}-${MY_TREE}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
default
|
||||
# appends lib to localstatedir automatically
|
||||
# FIXME: install just shared libs --disable-static does not work
|
||||
econf_opts=(
|
||||
--localstatedir=/var \
|
||||
$(use_enable infiniband rdma) \
|
||||
$(use_enable systemd) \
|
||||
$(use_enable xml xmlconf)
|
||||
)
|
||||
use doc && econf_opts+=( --enable-doc )
|
||||
econf "${econf_opts[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
|
||||
if use systemd; then
|
||||
rm "${D}"/lib/systemd/system/corosync-notifyd.service || die
|
||||
else
|
||||
rm "${D}"/etc/init.d/corosync-notifyd || die
|
||||
fi
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/${PN}.logrotate ${PN}
|
||||
|
||||
keepdir /var/lib/corosync
|
||||
use static-libs || rm -rf "${D}"/usr/$(get_libdir)/*.{,l}a || die
|
||||
|
||||
}
|
||||
@@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="OSI Certified implementation of a complete cluster engine"
|
||||
HOMEPAGE="http://www.corosync.org/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2 public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 x86"
|
||||
IUSE="doc infiniband static-libs systemd xml"
|
||||
|
||||
# TODO: support those new configure flags
|
||||
# --enable-augeas : Install the augeas lens for corosync.conf
|
||||
# --enable-snmp : SNMP protocol support
|
||||
# --enable-watchdog : Watchdog support
|
||||
RDEPEND="!sys-cluster/heartbeat
|
||||
infiniband? (
|
||||
sys-fabric/libibverbs:*
|
||||
sys-fabric/librdmacm:*
|
||||
)
|
||||
dev-libs/nss
|
||||
>=sys-cluster/libqb-0.14.4"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( sys-apps/groff )"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-2.3.4-docs.patch" )
|
||||
|
||||
DOCS=( README.recovery SECURITY AUTHORS )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
default
|
||||
# appends lib to localstatedir automatically
|
||||
# FIXME: install just shared libs --disable-static does not work
|
||||
econf_opts=(
|
||||
--localstatedir=/var \
|
||||
$(use_enable infiniband rdma) \
|
||||
$(use_enable systemd) \
|
||||
$(use_enable xml xmlconf)
|
||||
)
|
||||
use doc && econf_opts+=( --enable-doc )
|
||||
econf "${econf_opts[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
|
||||
if use systemd; then
|
||||
rm "${D}"/lib/systemd/system/corosync-notifyd.service || die
|
||||
else
|
||||
rm "${D}"/etc/init.d/corosync-notifyd || die
|
||||
fi
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/${PN}.logrotate ${PN}
|
||||
|
||||
keepdir /var/lib/corosync
|
||||
use static-libs || rm -rf "${D}"/usr/$(get_libdir)/*.{,l}a || die
|
||||
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
--- a/configure.ac 2014-12-02 15:21:35.511819113 +0100
|
||||
+++ b/configure.ac 2014-12-02 15:23:02.162487868 +0100
|
||||
@@ -655,7 +655,7 @@
|
||||
INCLUDE_DIRS="$INCLUDE_DIRS -I\$(top_builddir)/include/corosync -I\$(top_srcdir)/include/corosync"
|
||||
|
||||
# final build of *FLAGS
|
||||
-CFLAGS="$ENV_CFLAGS $lt_prog_compiler_pic $SEC_FLAGS $OPT_CFLAGS $GDB_FLAGS \
|
||||
+CFLAGS="$ENV_CFLAGS $lt_prog_compiler_pic $OS_CFLAGS \
|
||||
$COVERAGE_CFLAGS $EXTRA_WARNINGS \
|
||||
$WERROR_CFLAGS $NSS_CFLAGS $LIBQB_CFLAGS \
|
||||
$SNMP_INCLUDES"
|
||||
@@ -685,7 +685,10 @@
|
||||
AM_CONDITIONAL(AUGTOOL, test -n "${AUGTOOL}")
|
||||
AC_SUBST([NSS_LDFLAGS])
|
||||
|
||||
-AM_CONDITIONAL(BUILD_HTML_DOCS, test -n "${GROFF}")
|
||||
+AC_ARG_ENABLE([doc],
|
||||
+ AS_HELP_STRING([--enable-doc],[Build html documentation])
|
||||
+)
|
||||
+AM_CONDITIONAL(BUILD_HTML_DOCS, [test -n "${GROFF}" && test "x$enable_doc" = "xyes"] )
|
||||
|
||||
AC_SUBST([LINT_FLAGS])
|
||||
|
||||
Reference in New Issue
Block a user