From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6B7DC158086 for ; Sat, 1 Jan 2022 10:48:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C26972BC253; Sat, 1 Jan 2022 10:48:21 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0976D2BC24D for ; Sat, 1 Jan 2022 10:48:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 60D5734319A for ; Sat, 1 Jan 2022 10:48:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DF94C278 for ; Sat, 1 Jan 2022 10:48:14 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1641034082.bb74aef6ad00a1e26ccc5d8d10328dd5bf1ae3f7.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/pacemaker/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/pacemaker/Manifest sys-cluster/pacemaker/pacemaker-2.1.2.ebuild X-VCS-Directories: sys-cluster/pacemaker/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: bb74aef6ad00a1e26ccc5d8d10328dd5bf1ae3f7 X-VCS-Branch: master Date: Sat, 1 Jan 2022 10:48:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 57928146-328f-41be-af6f-3a70295a39da X-Archives-Hash: 20282544732ccdd951af9298d55915f4 commit: bb74aef6ad00a1e26ccc5d8d10328dd5bf1ae3f7 Author: Marco Scardovi scardovi com> AuthorDate: Sun Dec 12 06:45:14 2021 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Jan 1 10:48:02 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb74aef6 sys-cluster/pacemaker: bump to 2.1.2 and EAPI 8 Package-Manager: Portage-3.0.29, Repoman-3.0.3 Signed-off-by: Marco Scardovi scardovi.com> Signed-off-by: Ulrich Müller gentoo.org> sys-cluster/pacemaker/Manifest | 1 + sys-cluster/pacemaker/pacemaker-2.1.2.ebuild | 75 ++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) diff --git a/sys-cluster/pacemaker/Manifest b/sys-cluster/pacemaker/Manifest index f786c4c0da80..f102e5a0dd85 100644 --- a/sys-cluster/pacemaker/Manifest +++ b/sys-cluster/pacemaker/Manifest @@ -1 +1,2 @@ DIST Pacemaker-2.0.5.tar.gz 5434850 BLAKE2B 4e3d24746978fe0785dd9c415cc3779a2bd06f78d8bcd3353cdab8c93b192db8a017d404f6d5e27852369e8db2dc1ee4a2c4c7806ebb1aad5381d1c5b5a681dc SHA512 5fd3614f0284297babb66ea2dc567583315052fcf77f49107c52161e8e8c164ae3169d98528fdc1316d8eabaacc98ed24e9c6e6c90b3286f2f012a4ee874bbba +DIST Pacemaker-2.1.2.tar.gz 5092063 BLAKE2B 04689762cd3767fec35fc577b79007e7004411d4bb8676a0410c75619c35d1f158811555ea7d156accbb3e75a427128ab735ca21ad177934634b27fe2837175f SHA512 5c30ac5c371bb1f37215a9cf3e2eec701f7e4133252401dd2793b0908f2192de1d0b625cc37d84dfc9fd0885039c4d88e617110135c5e1a16c40cd3218603c26 diff --git a/sys-cluster/pacemaker/pacemaker-2.1.2.ebuild b/sys-cluster/pacemaker/pacemaker-2.1.2.ebuild new file mode 100644 index 000000000000..cce5b69b1d0a --- /dev/null +++ b/sys-cluster/pacemaker/pacemaker-2.1.2.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{8..10} ) + +inherit autotools python-single-r1 + +MY_P="${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}" + +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 + + # remove provided initd file as we need support for OpenRC + rm -r "${ED}/var/run" "${ED}/etc/init.d" || die "Failed to remove old initd" + newinitd "${FILESDIR}/${PN}.initd" "${PN}" + + keepdir /var/lib/pacemaker/{blackbox,cib,cores,pengine} + keepdir /var/log/pacemaker/bundles + + find "${ED}" -name '*.la' -delete || die +}