diff options
author | Marc Schiffbauer <mschiff@gentoo.org> | 2020-11-17 19:54:01 +0100 |
---|---|---|
committer | Marc Schiffbauer <mschiff@gentoo.org> | 2020-11-17 19:54:25 +0100 |
commit | f074c5ed7ad2d388e27114105dda9a147b5f31d1 (patch) | |
tree | 58ab355a76e8e85c867209d6db8173596f64153e /sys-cluster/pacemaker | |
parent | sys-libs/gdbm: ppc stable wrt bug #753413 (diff) | |
download | gentoo-f074c5ed7ad2d388e27114105dda9a147b5f31d1.tar.gz gentoo-f074c5ed7ad2d388e27114105dda9a147b5f31d1.tar.bz2 gentoo-f074c5ed7ad2d388e27114105dda9a147b5f31d1.zip |
sys-cluster/pacemaker: bump for CVE-2020-25654
Bug: https://bugs.gentoo.org/751430
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
Diffstat (limited to 'sys-cluster/pacemaker')
-rw-r--r-- | sys-cluster/pacemaker/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/pacemaker/pacemaker-2.0.5_rc3.ebuild | 78 |
2 files changed, 79 insertions, 0 deletions
diff --git a/sys-cluster/pacemaker/Manifest b/sys-cluster/pacemaker/Manifest index 5c63c1e1a451..a47ff037a5e0 100644 --- a/sys-cluster/pacemaker/Manifest +++ b/sys-cluster/pacemaker/Manifest @@ -3,3 +3,4 @@ DIST Pacemaker-1.1.19.tar.gz 5369381 BLAKE2B 9134f014b4da61c01bb2533ad3320140033 DIST Pacemaker-1.1.24-rc1.tar.gz 5766749 BLAKE2B 7928fc40ba6c88983f394edb19116f8843c0e51c5dbbde503b10962fc178ab712470f3de91d93f69de4e18395aa9af04edf79c0c35372a3d3cc3d4d1ef6aa262 SHA512 188e3960408b9529f502e3bff28de39b7d7393140af3b14fe9220b52f59b3bcca85d9f00d07f9d210b3a5dd8a618d2aea23f65c6f484a8e31510da9d759ceeb8 DIST Pacemaker-2.0.4.tar.gz 5134516 BLAKE2B 8fa9a648d9d3971a579852833cba2bbf2d45d2d02870bf314813389fe6d49bb2109f9436224d8e0abe8449660b319a37ea9aa2b28250f14874608bcba6e4472d SHA512 fbff3b5ab05ad52d469304d5bc7fca518df2f491a1176a24735cd1a9b46f7ff90dc5aeae65e5e29feb86e8a210e69e528261138847d6f8773933fb557e71133d DIST Pacemaker-2.0.5-rc1.tar.gz 5432484 BLAKE2B 34474ce29ed7822839676a4044129954e5b13038857aff156e3bf37090c000b421bcb2760b28b2c83531d92e32abbeb439a67b76154b8b7c10322d1e3467348d SHA512 90e2994df8ee60f525dd919a5edad2c48bbe60fabd42318527c02bc47900bff24901f73eb6498d3fdf75996539e647460b540375008d263baf7890f271fae76c +DIST Pacemaker-2.0.5-rc3.tar.gz 5433648 BLAKE2B f564ff0d7c33897bb58886194e169d2071823c43b27bb5e359a3a3a9a471cb8a9c22f86e93ed99d7eedcebfc530494a35fbd0b523287d3111dea0f507cf5b76b SHA512 adf558d80d93ee7944b8e9eb5d07304e374ee61a4d81159daa9c6a9108ee77294e109766c21ed6f6eef2847ebc67d98925b8c63ff49bba958058bb7ef68d0f07 diff --git a/sys-cluster/pacemaker/pacemaker-2.0.5_rc3.ebuild b/sys-cluster/pacemaker/pacemaker-2.0.5_rc3.ebuild new file mode 100644 index 000000000000..0d030893990e --- /dev/null +++ b/sys-cluster/pacemaker/pacemaker-2.0.5_rc3.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8,9} ) + +inherit autotools python-single-r1 + +MY_PN="${PN^}" +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" + +DEPEND="${PYTHON_DEPS} + app-text/docbook-xsl-stylesheets + dev-libs/libxslt + >=sys-cluster/cluster-glue-1.0.12-r1 + >=sys-cluster/libqb-2.0.0:= + sys-cluster/resource-agents + sys-cluster/corosync + smtp? ( net-libs/libesmtp ) + snmp? ( net-analyzer/net-snmp ) +" +RDEPEND="${DEPEND}" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +PATCHES=( + "${FILESDIR}"/${PN}-2.0.4-qa-warnings.patch +) + +S="${WORKDIR}/${PN}-${MY_P}" + +src_prepare() { + default + sed -i -e "s/ -ggdb//g" configure.ac || die + eautoreconf +} + +src_configure() { + # appends lib to localstatedir automatically + local myconf=( + --with-ocfdir=/usr/$(get_libdir)/ocf + --localstatedir=/var + --disable-fatal-warnings + --disable-static + --without-cs-quorum + --without-cman + --without-heartbeat + --with-corosync + --with-ais + $(use_with acl) + $(use_with smtp esmtp) + $(use_with snmp) + ) + + econf "${myconf[@]}" +} + +src_install() { + default + python_optimize + rm -rf "${D}/var/run" "${D}/etc/init.d" + + newinitd "${FILESDIR}/${PN}.initd" "${PN}" + + keepdir /var/lib/pacemaker/{blackbox,cib,cores,pengine} + keepdir /var/log/pacemaker/bundles + + find "${D}" -name '*.la' -delete || die +} |