mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-cluster/corosync: drop old EAPI
Signed-off-by: Aaron Bauman <bman@gentoo.org>
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
DIST corosync-1.3.5.tar.gz 698897 BLAKE2B 48507120a51de812f2f4dd4607eb86e5f4df05f9928480b08575788f17e39c2998912571fb7e2f4761f108b138683325ae358dae77ffa142348b3ddfb2b639f5 SHA512 74920fed67af72517076d5a85688f59f3ef81b4aa773147a96f58cbd57b3b150365b7eea4ef14c4e43c0961d9d9939d734526318b1af462e22329077a0cdbc3e
|
||||
DIST corosync-1.4.7.tar.gz 420596 BLAKE2B 7818b1d58f2ce743b990fd275908d0b72a63dc8f243df2fdb1b369ace635cd4602b19eda96d59fedb980c46b38f12a5c5f3592d2915a559c5b89e4390751cccc SHA512 275a4372cac13789d93e224e4a7853953d6111afc534f9e897deaf064d5d96bb0db932a02a9212b5a0d2ca53d3f56133073f519460a9ca3573f5403642db34e1
|
||||
DIST corosync-2.3.3.tar.gz 411784 BLAKE2B a709fe7889fbbddc37f2915d49740fe0061e3d3ad330998c83a5375cbf596fe0b2ecc9f3f074631ef733227e3a64335f6e65e2c457d68f1f4b431fc2c3f35f7c SHA512 66b479b2114641f02cd910f1bc3458948d5634b82e2019d7b1ea919f5bbb4817e91dddc33de061ff01dc4f12a3622b3418b7787e81a6f340d23043857cc9442f
|
||||
DIST corosync-2.3.4.tar.gz 420184 BLAKE2B 3d83a7990ba98a8a026c8e50e7b972de5e5cdf7154658c5dd914537bcf9c2016ef6f7e5fa3b18bb025b24c2eb6c64185ea9627ba1d607135562d55d930758ead SHA512 30914552b8af69ce37a5ea98f17a41f30fa01204ca8beee8218d94b8421769504b90c8e62f1e7222afb6429ead8a2d09ca36e71461c767a2b9bf662637f78bb0
|
||||
DIST corosync-2.3.5.tar.gz 428253 BLAKE2B be9fc2b27b60357acee6dee013bc95c08045c114acafc62eaa82a1821f07ff76b8821b9d06f31246b9978f8aef46e3a9e1a2d61ca74465bc74d4140c0ad0d0fa SHA512 212a95d8a68a2941f27c9ec22750a88598744d6fd4db6b46abe0b4cdfa988d3906f760bdf67c403d8c6d0a04da64f29ec744fb68ca51c7269ba58e306553cee9
|
||||
DIST corosync-2.4.2.tar.gz 547204 BLAKE2B 1b440e84b25263ea866bd66f9837a3bdbbc790d26a38d10a033d67bb0ba48dd58d6b515879dd0ece75ffe78c8a150c1e5ab8d0eb312e701abdc36eb5cb4dc520 SHA512 45a4d2570d5d096e6f42070f701fdb2aaed26812b6a75f73ea415cf409b33343f8bc090b4fcf851ab971ca4b17925f239c31a3d9eafe4841dfbeb56537b2c78c
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit base autotools
|
||||
|
||||
DESCRIPTION="OSI Certified implementation of a complete cluster engine"
|
||||
HOMEPAGE="http://www.corosync.org/"
|
||||
SRC_URI="ftp://ftp:${PN}.org@${PN}.org/downloads/${P}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2 public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~x86"
|
||||
IUSE="doc infiniband ssl static-libs"
|
||||
|
||||
RDEPEND="!sys-cluster/heartbeat
|
||||
ssl? ( dev-libs/nss )
|
||||
infiniband? (
|
||||
sys-fabric/libibverbs
|
||||
sys-fabric/librdmacm
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( sys-apps/groff )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-docs.patch"
|
||||
)
|
||||
|
||||
DOCS=( README.recovery README.devmap SECURITY TODO AUTHORS )
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# appends lib to localstatedir automatically
|
||||
# FIXME: install just shared libs --disable-static does not work
|
||||
econf \
|
||||
--localstatedir=/var \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
$(use_enable doc) \
|
||||
$(use_enable ssl nss) \
|
||||
$(use_enable infiniband rdma)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/${PN}.logrotate ${PN}
|
||||
|
||||
keepdir /var/lib/corosync
|
||||
use static-libs || rm -rf "${D}"/usr/$(get_libdir)/*.a || die
|
||||
}
|
||||
@@ -1,78 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools base
|
||||
|
||||
MY_TREE="32ec81c"
|
||||
|
||||
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 ~x86"
|
||||
IUSE="doc infiniband static-libs"
|
||||
|
||||
# TODO: support those new configure flags
|
||||
# --enable-watchdog : Watchdog support
|
||||
# --enable-augeas : Install the augeas lens for corosync.conf
|
||||
# --enable-snmp : SNMP protocol support
|
||||
# --enable-xmlconf : XML configuration support
|
||||
# --enable-systemd : Install systemd service files
|
||||
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.0.0-docs.patch" )
|
||||
|
||||
DOCS=( README.recovery SECURITY TODO AUTHORS )
|
||||
|
||||
S="${WORKDIR}/${PN}-${PN}-${MY_TREE}"
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# appends lib to localstatedir automatically
|
||||
# FIXME: install just shared libs --disable-static does not work
|
||||
econf \
|
||||
--localstatedir=/var \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
$(use_enable doc) \
|
||||
$(use_enable infiniband rdma)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
rm "${D}"/etc/init.d/corosync-notifyd || die
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/${PN}.logrotate ${PN}
|
||||
|
||||
keepdir /var/lib/corosync
|
||||
use static-libs || rm -rf "${D}"/usr/$(get_libdir)/*.a || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${REPLACING_VERSIONS} < 2.0 ]]; then
|
||||
ewarn "!! IMPORTANT !!"
|
||||
ewarn " "
|
||||
ewarn "Migrating from a previous version of corosync can be dangerous !"
|
||||
ewarn " "
|
||||
ewarn "Make sure you backup your cluster configuration before proceeding"
|
||||
ewarn " "
|
||||
fi
|
||||
}
|
||||
@@ -1,79 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools base
|
||||
|
||||
MY_TREE="4dc01e3"
|
||||
|
||||
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 ~x86"
|
||||
IUSE="doc infiniband static-libs"
|
||||
|
||||
# TODO: support those new configure flags
|
||||
# --enable-watchdog : Watchdog support
|
||||
# --enable-augeas : Install the augeas lens for corosync.conf
|
||||
# --enable-snmp : SNMP protocol support
|
||||
# --enable-xmlconf : XML configuration support
|
||||
# --enable-systemd : Install systemd service files
|
||||
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 )
|
||||
|
||||
S="${WORKDIR}/${PN}-${PN}-${MY_TREE}"
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# appends lib to localstatedir automatically
|
||||
# FIXME: install just shared libs --disable-static does not work
|
||||
econf \
|
||||
--localstatedir=/var \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
$(use_enable doc) \
|
||||
$(use_enable infiniband rdma)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
rm "${D}"/etc/init.d/corosync-notifyd || die
|
||||
|
||||
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
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${REPLACING_VERSIONS} < 2.0 ]]; then
|
||||
ewarn "!! IMPORTANT !!"
|
||||
ewarn " "
|
||||
ewarn "Migrating from a previous version of corosync can be dangerous !"
|
||||
ewarn " "
|
||||
ewarn "Make sure you backup your cluster configuration before proceeding"
|
||||
ewarn " "
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user