Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/cluster-glue/
Date: Sun, 18 Jul 2021 16:18:06
Message-Id: 1626625055.253eb25a168b8122ad5706838c485475dc2a54f2.conikost@gentoo
1 commit: 253eb25a168b8122ad5706838c485475dc2a54f2
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 18 11:31:37 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 18 16:17:35 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=253eb25a
7
8 sys-cluster/cluster-glue: drop old version
9
10 Closes: https://bugs.gentoo.org/781497
11 Package-Manager: Portage-3.0.20, Repoman-3.0.3
12 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
13
14 sys-cluster/cluster-glue/Manifest | 1 -
15 .../cluster-glue/cluster-glue-1.0.11.ebuild | 87 ---------------------
16 .../cluster-glue/cluster-glue-1.0.12-r1.ebuild | 91 ----------------------
17 .../cluster-glue/cluster-glue-1.0.12.ebuild | 88 ---------------------
18 4 files changed, 267 deletions(-)
19
20 diff --git a/sys-cluster/cluster-glue/Manifest b/sys-cluster/cluster-glue/Manifest
21 index 7a92b40c710..4c54ee97e9c 100644
22 --- a/sys-cluster/cluster-glue/Manifest
23 +++ b/sys-cluster/cluster-glue/Manifest
24 @@ -1,2 +1 @@
25 -DIST glue-1.0.11.tar.bz2 466057 BLAKE2B 929c9f803814fb1162d4058e0fb78deb96b6be9b4064dae96ea5653521f5dfb862850ab2c9010530ac652264c5e8e379cb397fc173f720d126540405b264ca5b SHA512 35ac8ac555c39f24c11e3a768cc50eba051fe617edf4cdc0429dac73f45a472f144cfe6ec5faff575606f2b04ff76a2f732556d848b61410c2683d93ba928413
26 DIST glue-1.0.12.tar.bz2 451569 BLAKE2B c074507563e797f105318bfcfab3e73eb1b62eb3037689c2b68f1b98f02b4a2c1da2e0b2931cd28ccc194d9f3b486733f642c6ff071c4f7629062d40c8d39427 SHA512 d5d2f6c426d2bed0d39269338fedfffe840a90ff56b05dff395243d0d8b803593bf35bbce5f7dce376120cd7ddef78400914cb7515b5451c287a1e9e74233122
27
28 diff --git a/sys-cluster/cluster-glue/cluster-glue-1.0.11.ebuild b/sys-cluster/cluster-glue/cluster-glue-1.0.11.ebuild
29 deleted file mode 100644
30 index b61d99db6fb..00000000000
31 --- a/sys-cluster/cluster-glue/cluster-glue-1.0.11.ebuild
32 +++ /dev/null
33 @@ -1,87 +0,0 @@
34 -# Copyright 1999-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -
39 -MY_P="${P/cluster-}"
40 -inherit autotools multilib user
41 -
42 -DESCRIPTION="Library pack for Heartbeat / Pacemaker"
43 -HOMEPAGE="http://www.linux-ha.org/wiki/Cluster_Glue"
44 -SRC_URI="http://hg.linux-ha.org/glue/archive/${MY_P}.tar.bz2"
45 -
46 -LICENSE="GPL-2"
47 -SLOT="0"
48 -KEYWORDS="amd64 ~hppa x86"
49 -IUSE="doc libnet static-libs"
50 -
51 -RDEPEND="app-arch/bzip2
52 - app-text/docbook-xml-dtd:4.4
53 - dev-libs/glib:2
54 - dev-libs/libaio
55 - libnet? ( net-libs/libnet:1.1 )
56 - net-misc/curl
57 - net-misc/iputils
58 - || ( net-misc/netkit-telnetd net-misc/telnet-bsd )
59 - dev-libs/libxml2"
60 -DEPEND="${RDEPEND}
61 - doc? (
62 - dev-libs/libxslt
63 - app-text/docbook-xsl-stylesheets
64 - )"
65 -
66 -S="${WORKDIR}/Reusable-Cluster-Components-glue--${MY_P}"
67 -
68 -pkg_setup() {
69 - enewgroup haclient
70 - enewuser hacluster -1 /dev/null /var/lib/heartbeat haclient
71 -}
72 -
73 -src_prepare() {
74 - default
75 - sed -e '/ -ggdb3/d' -i configure.ac || die
76 - sed -e "s@http://docbook.sourceforge.net/release/xsl/current@/usr/share/sgml/docbook/xsl-stylesheets/@g" \
77 - -i doc/Makefile.am || die
78 - eautoreconf
79 -}
80 -
81 -src_configure() {
82 - local myopts
83 -
84 - use doc && myopts=" --enable-doc"
85 - econf \
86 - $(use_enable libnet) \
87 - $(use_enable static-libs static) \
88 - --disable-fatal-warnings \
89 - --localstatedir=/var \
90 - --with-ocf-root=/usr/$(get_libdir)/ocf \
91 - ${myopts} \
92 - --with-group-id=$(id -g hacluster) \
93 - --with-ccmuser-id=$(id -u hacluster) \
94 - --with-daemon-user=hacluster --with-daemon-group=haclient
95 -}
96 -
97 -src_install() {
98 - default
99 -
100 - dodir /var/lib/heartbeat/cores
101 - dodir /var/lib/heartbeat/lrm
102 -
103 - keepdir /var/lib/heartbeat/cores
104 - keepdir /var/lib/heartbeat/lrm
105 -
106 - # init.d file
107 - cp "${FILESDIR}"/heartbeat-logd.init "${T}/" || die
108 - sed -i \
109 - -e "s:%libdir%:$(get_libdir):" \
110 - "${T}/heartbeat-logd.init" || die
111 -# newinitd "${T}/heartbeat-logd.init" heartbeat-logd
112 - rm "${D}"/etc/init.d/logd
113 -
114 - use static-libs || find "${D}" -type f -name "*.la" -delete
115 -}
116 -
117 -pkg_postinst() {
118 - chown -R hacluster:haclient /var/lib/heartbeat/cores
119 - chown -R hacluster:haclient /var/lib/heartbeat/lrm
120 -}
121
122 diff --git a/sys-cluster/cluster-glue/cluster-glue-1.0.12-r1.ebuild b/sys-cluster/cluster-glue/cluster-glue-1.0.12-r1.ebuild
123 deleted file mode 100644
124 index e37323b4c22..00000000000
125 --- a/sys-cluster/cluster-glue/cluster-glue-1.0.12-r1.ebuild
126 +++ /dev/null
127 @@ -1,91 +0,0 @@
128 -# Copyright 1999-2021 Gentoo Authors
129 -# Distributed under the terms of the GNU General Public License v2
130 -
131 -EAPI=7
132 -
133 -MY_P="${P/cluster-}"
134 -inherit autotools flag-o-matic multilib user
135 -
136 -DESCRIPTION="Library pack for Heartbeat / Pacemaker"
137 -HOMEPAGE="http://www.linux-ha.org/wiki/Cluster_Glue"
138 -SRC_URI="http://hg.linux-ha.org/glue/archive/${MY_P}.tar.bz2"
139 -
140 -LICENSE="GPL-2"
141 -SLOT="0"
142 -KEYWORDS="amd64 ~hppa x86"
143 -IUSE="doc ipmilan libnet static-libs"
144 -
145 -RDEPEND="
146 - app-arch/bzip2
147 - app-text/asciidoc
148 - app-text/docbook-xml-dtd:4.4
149 - dev-libs/glib:2
150 - dev-libs/libaio
151 - dev-libs/libltdl:=
152 - dev-libs/libxml2
153 - ipmilan? ( sys-libs/openipmi )
154 - libnet? ( net-libs/libnet:1.1 )
155 - net-misc/curl
156 - net-misc/iputils
157 - || ( net-misc/netkit-telnetd net-misc/telnet-bsd )
158 -"
159 -DEPEND="${RDEPEND}
160 - doc? (
161 - dev-libs/libxslt
162 - app-text/docbook-xsl-stylesheets
163 - )"
164 -
165 -S="${WORKDIR}/Reusable-Cluster-Components-glue--${MY_P}"
166 -
167 -pkg_setup() {
168 - enewgroup haclient
169 - enewuser hacluster -1 -1 /var/lib/heartbeat haclient
170 -}
171 -
172 -src_prepare() {
173 - default
174 - sed -e 's/\\$(/$(/g' -e '/ -ggdb/d;/-fstack-protector-all/d' -i configure.ac || die
175 - sed -e "s@http://docbook.sourceforge.net/release/xsl/current@/usr/share/sgml/docbook/xsl-stylesheets/@g" \
176 - -i doc/Makefile.am || die
177 - eautoreconf
178 -}
179 -
180 -src_configure() {
181 - append-cppflags -DOPENIPMI_DEFINE_SELECTOR_T
182 - local myopts
183 -
184 - use doc && myopts=" --enable-doc"
185 - econf \
186 - $(use_enable ipmilan) \
187 - $(use_enable libnet) \
188 - $(use_enable static-libs static) \
189 - --disable-fatal-warnings \
190 - --localstatedir=/var \
191 - --with-ocf-root=/usr/$(get_libdir)/ocf \
192 - ${myopts} \
193 - --with-group-id=$(id -g hacluster) \
194 - --with-ccmuser-id=$(id -u hacluster) \
195 - --with-daemon-user=hacluster --with-daemon-group=haclient
196 -}
197 -
198 -src_install() {
199 - default
200 -
201 - keepdir /var/lib/heartbeat/cores/{hacluster,nobody,root}
202 - keepdir /var/lib/heartbeat/lrm
203 -
204 - # init.d file
205 - cp "${FILESDIR}"/heartbeat-logd.init "${T}/" || die
206 - sed -i \
207 - -e "s:%libdir%:$(get_libdir):" \
208 - "${T}/heartbeat-logd.init" || die
209 -# newinitd "${T}/heartbeat-logd.init" heartbeat-logd
210 - rm "${D}"/etc/init.d/logd
211 -
212 - use static-libs || find "${D}" -type f -name "*.la" -delete
213 -}
214 -
215 -pkg_postinst() {
216 - chown -R hacluster:haclient /var/lib/heartbeat/cores
217 - chown -R hacluster:haclient /var/lib/heartbeat/lrm
218 -}
219
220 diff --git a/sys-cluster/cluster-glue/cluster-glue-1.0.12.ebuild b/sys-cluster/cluster-glue/cluster-glue-1.0.12.ebuild
221 deleted file mode 100644
222 index ea054ce7039..00000000000
223 --- a/sys-cluster/cluster-glue/cluster-glue-1.0.12.ebuild
224 +++ /dev/null
225 @@ -1,88 +0,0 @@
226 -# Copyright 1999-2021 Gentoo Authors
227 -# Distributed under the terms of the GNU General Public License v2
228 -
229 -EAPI=6
230 -
231 -MY_P="${P/cluster-}"
232 -inherit autotools multilib user
233 -
234 -DESCRIPTION="Library pack for Heartbeat / Pacemaker"
235 -HOMEPAGE="http://www.linux-ha.org/wiki/Cluster_Glue"
236 -SRC_URI="http://hg.linux-ha.org/glue/archive/${MY_P}.tar.bz2"
237 -
238 -LICENSE="GPL-2"
239 -SLOT="0"
240 -KEYWORDS="amd64 ~hppa x86"
241 -IUSE="doc libnet static-libs"
242 -
243 -RDEPEND="app-text/asciidoc
244 - app-arch/bzip2
245 - app-text/docbook-xml-dtd:4.4
246 - dev-libs/glib:2
247 - dev-libs/libaio
248 - libnet? ( net-libs/libnet:1.1 )
249 - net-misc/curl
250 - net-misc/iputils
251 - || ( net-misc/netkit-telnetd net-misc/telnet-bsd )
252 - dev-libs/libxml2"
253 -DEPEND="${RDEPEND}
254 - doc? (
255 - dev-libs/libxslt
256 - app-text/docbook-xsl-stylesheets
257 - )"
258 -
259 -S="${WORKDIR}/Reusable-Cluster-Components-glue--${MY_P}"
260 -
261 -pkg_setup() {
262 - enewgroup haclient
263 - enewuser hacluster -1 /dev/null /var/lib/heartbeat haclient
264 -}
265 -
266 -src_prepare() {
267 - default
268 - sed -e '/ -ggdb/d' -i configure.ac || die
269 - sed -e "s@http://docbook.sourceforge.net/release/xsl/current@/usr/share/sgml/docbook/xsl-stylesheets/@g" \
270 - -i doc/Makefile.am || die
271 - eautoreconf
272 -}
273 -
274 -src_configure() {
275 - local myopts
276 -
277 - use doc && myopts=" --enable-doc"
278 - econf \
279 - $(use_enable libnet) \
280 - $(use_enable static-libs static) \
281 - --disable-fatal-warnings \
282 - --localstatedir=/var \
283 - --with-ocf-root=/usr/$(get_libdir)/ocf \
284 - ${myopts} \
285 - --with-group-id=$(id -g hacluster) \
286 - --with-ccmuser-id=$(id -u hacluster) \
287 - --with-daemon-user=hacluster --with-daemon-group=haclient
288 -}
289 -
290 -src_install() {
291 - default
292 -
293 - dodir /var/lib/heartbeat/cores
294 - dodir /var/lib/heartbeat/lrm
295 -
296 - keepdir /var/lib/heartbeat/cores
297 - keepdir /var/lib/heartbeat/lrm
298 -
299 - # init.d file
300 - cp "${FILESDIR}"/heartbeat-logd.init "${T}/" || die
301 - sed -i \
302 - -e "s:%libdir%:$(get_libdir):" \
303 - "${T}/heartbeat-logd.init" || die
304 -# newinitd "${T}/heartbeat-logd.init" heartbeat-logd
305 - rm "${D}"/etc/init.d/logd
306 -
307 - use static-libs || find "${D}" -type f -name "*.la" -delete
308 -}
309 -
310 -pkg_postinst() {
311 - chown -R hacluster:haclient /var/lib/heartbeat/cores
312 - chown -R hacluster:haclient /var/lib/heartbeat/lrm
313 -}