commit:     4cda307370303f2979427fe472604fc6059c1f16
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 22 10:19:20 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Apr 22 10:19:20 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cda3073

sys-cluster/pacemaker: Remove last-rited pkg

Bug: https://bugs.gentoo.org/897290
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 profiles/package.mask                        |  8 ---
 sys-cluster/pacemaker/Manifest               |  1 -
 sys-cluster/pacemaker/files/pacemaker.initd  | 41 ---------------
 sys-cluster/pacemaker/metadata.xml           | 20 --------
 sys-cluster/pacemaker/pacemaker-2.1.2.ebuild | 75 ----------------------------
 5 files changed, 145 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index c0f9540df3e9..96a4ef6172c8 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -301,14 +301,6 @@ dev-python/spdx-tools
 # Removal on 2025-04-16.  Bug #951490.
 dev-python/bitvector
 
-# Michał Górny <[email protected]> (2025-03-17)
-# sys-cluster/pacemaker is not really maintained in Gentoo.  It is
-# multiple versions behind, does not support Python 3.11 and has a bunch
-# of other problems reported.  sys-cluster/crmsh is its only
-# unconditional dependency.
-# Removal on 2025-04-16.  Bug #897290.
-sys-cluster/pacemaker
-
 # Sam James <[email protected]> (2025-03-07)
 # May cause emerge to hang (bug #950707). Tests hang on one machine
 # and another strange report upstream: 
https://github.com/pkgconf/pkgconf/issues/383.

diff --git a/sys-cluster/pacemaker/Manifest b/sys-cluster/pacemaker/Manifest
deleted file mode 100644
index 1151c2b7c809..000000000000
--- a/sys-cluster/pacemaker/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST Pacemaker-2.1.2.tar.gz 5092063 BLAKE2B 
04689762cd3767fec35fc577b79007e7004411d4bb8676a0410c75619c35d1f158811555ea7d156accbb3e75a427128ab735ca21ad177934634b27fe2837175f
 SHA512 
5c30ac5c371bb1f37215a9cf3e2eec701f7e4133252401dd2793b0908f2192de1d0b625cc37d84dfc9fd0885039c4d88e617110135c5e1a16c40cd3218603c26

diff --git a/sys-cluster/pacemaker/files/pacemaker.initd 
b/sys-cluster/pacemaker/files/pacemaker.initd
deleted file mode 100644
index 0264d34c25d3..000000000000
--- a/sys-cluster/pacemaker/files/pacemaker.initd
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-PIDFILE=/var/run/pacemaker.pid
-
-depend() {
-       need net corosync
-       use syslog
-}
-
-start() {
-       nc=0
-       ebegin "Starting Pacemaker Cluster Manager"
-
-       checkpath -d -m 0750 -o hacluster:haclient /var/run/crm
-
-       einfon "Waiting for Corosync startup ."
-       while true; do
-               /usr/sbin/corosync-cfgtool -s &>/dev/null && break
-               nc=$(expr $nc + 1)
-               if [ $nc -gt 30 ]; then
-                       echo
-                       eend 1 "Failed to detect Corosync startup, is it really 
running?"
-                       exit 1
-               fi
-               sleep 1
-               echo -n "."
-       done
-       echo
-       start-stop-daemon --start -q --exec /usr/sbin/pacemakerd \
-               --pidfile "${PIDFILE}" --make-pidfile --background \
-               -- -f
-       eend $?
-}
-
-stop() {
-       ebegin "Stopping Pacemaker Cluster Manager"
-       start-stop-daemon --stop -q --pidfile "${PIDFILE}"
-       eend $?
-}

diff --git a/sys-cluster/pacemaker/metadata.xml 
b/sys-cluster/pacemaker/metadata.xml
deleted file mode 100644
index b77bd1f49fff..000000000000
--- a/sys-cluster/pacemaker/metadata.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <maintainer type="project">
-               <email>[email protected]</email>
-               <name>Gentoo Cluster Project</name>
-       </maintainer>
-       <longdescription>
-               Pacemaker is a cluster resource manager.
-               It achieves maximum availability for your cluster services 
(aka. resources) by detecting and
-               recovering from node and resource-level failures by making use 
of the messaging and membership
-               capabilities provided by your preferred cluster infrastructure 
(either OpenAIS or Heartbeat).
-       </longdescription>
-       <use>
-               <flag name="smtp">Enable SMTP support via 
<pkg>net-libs/libesmtp</pkg></flag>
-       </use>
-       <upstream>
-               <remote-id type="github">ClusterLabs/pacemaker</remote-id>
-       </upstream>
-</pkgmetadata>

diff --git a/sys-cluster/pacemaker/pacemaker-2.1.2.ebuild 
b/sys-cluster/pacemaker/pacemaker-2.1.2.ebuild
deleted file mode 100644
index d3abc7ba3510..000000000000
--- a/sys-cluster/pacemaker/pacemaker-2.1.2.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PYTHON_COMPAT=( python3_{9..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+ LGPL-2.1+ BSD CC-BY-SA-4.0"
-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 -rf "${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
-}

Reply via email to