Gentoo Archives: gentoo-commits

From: Alexys Jacob <ultrabug@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/pacemaker/
Date: Mon, 08 Feb 2021 09:18:28
Message-Id: 1612775869.63c170e5d231fa90279bb8cc967a19970cc495bf.ultrabug@gentoo
1 commit: 63c170e5d231fa90279bb8cc967a19970cc495bf
2 Author: Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 8 09:14:27 2021 +0000
4 Commit: Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 8 09:17:49 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63c170e5
7
8 sys-cluster/pacemaker: drop old wrt #711674 #751430
9
10 Package-Manager: Portage-3.0.13, Repoman-3.0.2
11 Signed-off-by: Alexys Jacob <ultrabug <AT> gentoo.org>
12
13 sys-cluster/pacemaker/Manifest | 1 -
14 sys-cluster/pacemaker/pacemaker-1.1.24.ebuild | 80 ---------------------------
15 2 files changed, 81 deletions(-)
16
17 diff --git a/sys-cluster/pacemaker/Manifest b/sys-cluster/pacemaker/Manifest
18 index 70e7d979222..f786c4c0da8 100644
19 --- a/sys-cluster/pacemaker/Manifest
20 +++ b/sys-cluster/pacemaker/Manifest
21 @@ -1,2 +1 @@
22 -DIST Pacemaker-1.1.24.tar.gz 5765945 BLAKE2B cdbba75b640adf6962d00a13a12045bf5d1e34dbdaf34d53797e8fea4fff9368dd3d771fe2d7f70813bb3cfab87a7daca3af56f4f5b343fb3ac3aec649f32316 SHA512 6eb5996ae135970cb7a04b81ad43d060e898566d0addd70da61085d47da6d7dc752e8e9df580e18c295c8b373bab6b4574ddb3a34cb7a1e29b2ed768a4f916bd
23 DIST Pacemaker-2.0.5.tar.gz 5434850 BLAKE2B 4e3d24746978fe0785dd9c415cc3779a2bd06f78d8bcd3353cdab8c93b192db8a017d404f6d5e27852369e8db2dc1ee4a2c4c7806ebb1aad5381d1c5b5a681dc SHA512 5fd3614f0284297babb66ea2dc567583315052fcf77f49107c52161e8e8c164ae3169d98528fdc1316d8eabaacc98ed24e9c6e6c90b3286f2f012a4ee874bbba
24
25 diff --git a/sys-cluster/pacemaker/pacemaker-1.1.24.ebuild b/sys-cluster/pacemaker/pacemaker-1.1.24.ebuild
26 deleted file mode 100644
27 index 994c508fc65..00000000000
28 --- a/sys-cluster/pacemaker/pacemaker-1.1.24.ebuild
29 +++ /dev/null
30 @@ -1,80 +0,0 @@
31 -# Copyright 1999-2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -PYTHON_COMPAT=( python3_{7,8,9} )
36 -
37 -inherit autotools python-single-r1
38 -
39 -MY_PN="${PN^}"
40 -MY_P="${MY_PN}-${PV/_/-}"
41 -
42 -DESCRIPTION="Pacemaker CRM"
43 -HOMEPAGE="http://www.linux-ha.org/wiki/Pacemaker"
44 -SRC_URI="https://github.com/ClusterLabs/${PN}/archive/${MY_P}.tar.gz"
45 -
46 -LICENSE="GPL-2"
47 -SLOT="0"
48 -KEYWORDS="amd64 ~hppa x86"
49 -IUSE="acl smtp snmp"
50 -
51 -DEPEND="${PYTHON_DEPS}
52 - app-text/docbook-xsl-stylesheets
53 - dev-libs/libxslt
54 - sys-cluster/cluster-glue
55 - sys-cluster/corosync
56 - >=sys-cluster/libqb-0.14.0
57 - sys-cluster/resource-agents
58 -
59 - smtp? ( net-libs/libesmtp )
60 - snmp? ( net-analyzer/net-snmp )
61 -"
62 -RDEPEND="${DEPEND}"
63 -
64 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
65 -
66 -PATCHES=(
67 - "${FILESDIR}"/${PN}-1.1.24-python-fixes.patch
68 - "${FILESDIR}"/${PN}-1.1.24-qa-warnings.patch
69 -)
70 -
71 -S="${WORKDIR}/${PN}-${MY_P}"
72 -
73 -src_prepare() {
74 - default
75 - sed -i -e "s/ -ggdb//g" configure.ac || die
76 - eautoreconf
77 - python_fix_shebang .
78 -}
79 -
80 -src_configure() {
81 - # appends lib to localstatedir automatically
82 - local myconf=(
83 - --localstatedir=/var
84 - --disable-fatal-warnings
85 - --disable-static
86 - --without-cs-quorum
87 - --without-cman
88 - $(use_with acl)
89 - --without-heartbeat
90 - $(use_with smtp esmtp)
91 - $(use_with snmp)
92 - --with-ais
93 - )
94 -
95 - econf "${myconf[@]}"
96 -}
97 -
98 -src_install() {
99 - default
100 - rm -rf "${D}/var/run" "${D}/etc/init.d"
101 - newinitd "${FILESDIR}/${PN}.initd" "${PN}"
102 - if has_version "<sys-cluster/corosync-2.0"; then
103 - insinto /etc/corosync/service.d
104 - newins "${FILESDIR}/${PN}.service" "${PN}"
105 - fi
106 - find "${D}" -name '*.la' -delete || die
107 -
108 - keepdir /var/lib/pacemaker/{blackbox,cib,cores,pengine}
109 - python_optimize
110 -}