mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-cluster/pacemaker: drop vulnerable wrt #711674
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST Pacemaker-1.1.16.tar.gz 4897772 BLAKE2B a6ea8b3e5f6ef776a67d8895a0361945c5bcd98ecd861c0fd8d8b3c474a6f14c816e1f36da1dccd429ab8d92c53a9dd071796968d5080d6a900518df200fafbd SHA512 967c860fab7b9e73dd8643e6d09083a2a1298a77d71c3b138187803c89153bee7219da13e6b94b20f2881b53ba7fc1c8584a43ff058a265e76708fd5dbccf534
|
||||
DIST Pacemaker-1.1.24.tar.gz 5765945 BLAKE2B cdbba75b640adf6962d00a13a12045bf5d1e34dbdaf34d53797e8fea4fff9368dd3d771fe2d7f70813bb3cfab87a7daca3af56f4f5b343fb3ac3aec649f32316 SHA512 6eb5996ae135970cb7a04b81ad43d060e898566d0addd70da61085d47da6d7dc752e8e9df580e18c295c8b373bab6b4574ddb3a34cb7a1e29b2ed768a4f916bd
|
||||
DIST Pacemaker-2.0.5.tar.gz 5434850 BLAKE2B 4e3d24746978fe0785dd9c415cc3779a2bd06f78d8bcd3353cdab8c93b192db8a017d404f6d5e27852369e8db2dc1ee4a2c4c7806ebb1aad5381d1c5b5a681dc SHA512 5fd3614f0284297babb66ea2dc567583315052fcf77f49107c52161e8e8c164ae3169d98528fdc1316d8eabaacc98ed24e9c6e6c90b3286f2f012a4ee874bbba
|
||||
|
||||
@@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit autotools eutils python-single-r1
|
||||
|
||||
MY_PN="Pacemaker"
|
||||
MY_P=${MY_PN}-${PV/_/-}
|
||||
|
||||
DESCRIPTION="Pacemaker CRM"
|
||||
HOMEPAGE="http://www.linux-ha.org/wiki/Pacemaker"
|
||||
SRC_URI="https://github.com/ClusterLabs/${PN}/archive/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~hppa x86"
|
||||
IUSE="acl smtp snmp static-libs"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt
|
||||
sys-cluster/cluster-glue
|
||||
sys-cluster/corosync
|
||||
>=sys-cluster/libqb-0.14.0
|
||||
sys-cluster/resource-agents
|
||||
smtp? ( net-libs/libesmtp )
|
||||
snmp? ( net-analyzer/net-snmp )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
REQUIRED_USE=${PYTHON_REQUIRED_USE}
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "s/ -ggdb//g" configure.ac || die
|
||||
eautoreconf
|
||||
python_fix_shebang .
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# appends lib to localstatedir automatically
|
||||
econf \
|
||||
--localstatedir=/var \
|
||||
--disable-fatal-warnings \
|
||||
$(use_with acl) \
|
||||
--without-cs-quorum \
|
||||
--without-cman \
|
||||
--without-heartbeat \
|
||||
$(use_with smtp esmtp) \
|
||||
$(use_with snmp) \
|
||||
$(use_enable static-libs static) \
|
||||
--with-ais
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
rm -rf "${D}"/var/run "${D}"/etc/init.d
|
||||
newinitd "${FILESDIR}/${PN}.initd" ${PN}
|
||||
if has_version "<sys-cluster/corosync-2.0"; then
|
||||
insinto /etc/corosync/service.d
|
||||
newins "${FILESDIR}/${PN}.service" ${PN}
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user