1 |
commit: 3f5834ad43fc889b080580c0f703e0788497f77b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 9 07:31:51 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 9 07:34:55 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f5834ad |
7 |
|
8 |
sys-cluster/heartbeat: Remove last-rited pkg |
9 |
|
10 |
Closes: https://bugs.gentoo.org/735494 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
profiles/package.mask | 1 - |
14 |
sys-cluster/heartbeat/Manifest | 3 - |
15 |
sys-cluster/heartbeat/files/3.0.4-docs.patch | 57 -------- |
16 |
.../heartbeat/files/3.0.4-fix_configure.patch | 110 ---------------- |
17 |
.../heartbeat/files/3.0.4-python_tests.patch | 29 ----- |
18 |
sys-cluster/heartbeat/files/3.0.5-fix_ucast.patch | 145 --------------------- |
19 |
sys-cluster/heartbeat/files/3.0.6-configure.patch | 103 --------------- |
20 |
sys-cluster/heartbeat/files/3.0.6-docs.patch | 59 --------- |
21 |
.../heartbeat/files/3.0.6-r1-configure.patch | 102 --------------- |
22 |
.../heartbeat/files/3.0.6-r1-heartbeat-init | 95 -------------- |
23 |
sys-cluster/heartbeat/files/heartbeat-init | 92 ------------- |
24 |
sys-cluster/heartbeat/heartbeat-3.0.5-r3.ebuild | 86 ------------ |
25 |
sys-cluster/heartbeat/heartbeat-3.0.6-r1.ebuild | 84 ------------ |
26 |
sys-cluster/heartbeat/heartbeat-3.0.6.ebuild | 85 ------------ |
27 |
sys-cluster/heartbeat/metadata.xml | 8 -- |
28 |
15 files changed, 1059 deletions(-) |
29 |
|
30 |
diff --git a/profiles/package.mask b/profiles/package.mask |
31 |
index d8aad565425..9a433b8e6e6 100644 |
32 |
--- a/profiles/package.mask |
33 |
+++ b/profiles/package.mask |
34 |
@@ -520,7 +520,6 @@ sci-biology/meme |
35 |
sci-biology/shrimp |
36 |
sci-misc/gato |
37 |
sci-physics/rivet |
38 |
-sys-cluster/heartbeat |
39 |
|
40 |
# Arfrever Frehtes Taifersar Arahesis <arfrever.fta@×××××.com> (2020-09-01) |
41 |
# Mismatched version (bug #695022). Masked to force upgrade to 2.0.4_pre20200306162733. |
42 |
|
43 |
diff --git a/sys-cluster/heartbeat/Manifest b/sys-cluster/heartbeat/Manifest |
44 |
deleted file mode 100644 |
45 |
index 9f22b36af30..00000000000 |
46 |
--- a/sys-cluster/heartbeat/Manifest |
47 |
+++ /dev/null |
48 |
@@ -1,3 +0,0 @@ |
49 |
-DIST STABLE-3.0.5.tar.bz2 538986 BLAKE2B 3087c87acea7d6800e60960e67271263400eaffa929bd9c5cf438cb4c88ec1d03186e197669afa26839b6e42780bb71a7f30cd566696fb6bcb16b5ec876a41e6 SHA512 e38083b87c56a72eb8925ac42adeabb92618608e92218a63960ec0d0bca264f92a8e9c3ebfb0589cc4538da1a82b268b5cc9ee5a51ed33057c969e694e16b27d |
50 |
-DIST STABLE-3.0.6.tar.bz2 532796 BLAKE2B 7c882312a4e528919fd94474233ffa0ac15121ef43a1c461a7e9ae26db91c0bb92b3d90859373e0285cc56ed7981e23592ad5d8b657d2dc5a43c92fc22259741 SHA512 c11fc2e333040b494e63cc0b55d7e5f7555850ba79d8ec6fea17960ec22ee210a81a63a6e486383b6d44d2532c0dc0d69dcffddf9354b7830771a7a532c33f33 |
51 |
-DIST heartbeat-3.0.6.tar.bz2 532796 BLAKE2B 7c882312a4e528919fd94474233ffa0ac15121ef43a1c461a7e9ae26db91c0bb92b3d90859373e0285cc56ed7981e23592ad5d8b657d2dc5a43c92fc22259741 SHA512 c11fc2e333040b494e63cc0b55d7e5f7555850ba79d8ec6fea17960ec22ee210a81a63a6e486383b6d44d2532c0dc0d69dcffddf9354b7830771a7a532c33f33 |
52 |
|
53 |
diff --git a/sys-cluster/heartbeat/files/3.0.4-docs.patch b/sys-cluster/heartbeat/files/3.0.4-docs.patch |
54 |
deleted file mode 100644 |
55 |
index a558dd36f5a..00000000000 |
56 |
--- a/sys-cluster/heartbeat/files/3.0.4-docs.patch |
57 |
+++ /dev/null |
58 |
@@ -1,57 +0,0 @@ |
59 |
---- a/configure.in |
60 |
-+++ b/configure.in |
61 |
-@@ -505,8 +505,15 @@ |
62 |
- AC_PATH_PROGS(TEST, test) |
63 |
- AC_PATH_PROGS(PKGCONFIG, pkg-config) |
64 |
- |
65 |
--dnl xsltproc is required for building the man pages |
66 |
--AC_PATH_PROGS(XSLTPROC, xsltproc) |
67 |
-+AC_ARG_ENABLE([doc], |
68 |
-+ AS_HELP_STRING([--enable-doc],[Build documentation] |
69 |
-+)) |
70 |
-+AS_IF([test "x$enable_doc" = "xyes"], [ |
71 |
-+ AC_PATH_PROGS(XSLTPROC, xsltproc) |
72 |
-+]) |
73 |
-+AM_CONDITIONAL([BUILD_DOC], [test "x$enable_doc" = "xyes"] ) |
74 |
-+AC_SUBST(XSLTPROC) |
75 |
-+ |
76 |
- |
77 |
- dnl ************************************************************************ |
78 |
- dnl Check whether non-root user can chown. |
79 |
---- a/doc/Makefile.am |
80 |
-+++ b/doc/Makefile.am |
81 |
-@@ -33,11 +33,12 @@ |
82 |
- |
83 |
- doc_DATA = $(OTHER_DOCS) |
84 |
- |
85 |
-+if BUILD_DOC |
86 |
- man_MANS = heartbeat.8 apphbd.8 cl_status.1 \ |
87 |
- hb_standby.1 hb_takeover.1 hb_addnode.1 hb_delnode.1 \ |
88 |
- ha.cf.5 authkeys.5 |
89 |
- |
90 |
--STYLESHEET_PREFIX ?= http://docbook.sourceforge.net/release/xsl/current |
91 |
-+STYLESHEET_PREFIX ?= /usr/share/sgml/docbook/xsl-stylesheets |
92 |
- MANPAGES_STYLESHEET ?= $(STYLESHEET_PREFIX)/manpages/docbook.xsl |
93 |
- HTML_STYLESHEET ?= $(STYLESHEET_PREFIX)/xhtml/docbook.xsl |
94 |
- FO_STYLESHEET ?= $(STYLESHEET_PREFIX)/fo/docbook.xsl |
95 |
-@@ -47,6 +48,12 @@ |
96 |
- XSLTPROC_HTML_OPTIONS ?= $(XSLTPROC_OPTIONS) |
97 |
- XSLTPROC_FO_OPTIONS ?= $(XSLTPROC_OPTIONS) |
98 |
- |
99 |
-+%.5 %.8 %.1: %.xml |
100 |
-+ $(XSLTPROC) \ |
101 |
-+ $(XSLTPROC_MANPAGES_OPTIONS) \ |
102 |
-+ $(MANPAGES_STYLESHEET) $< |
103 |
-+endif |
104 |
-+ |
105 |
- EXTRA_DIST = $(txtfiles) $(htmlfiles) $(man_MANS) $(OTHER_DOCS) |
106 |
- |
107 |
- ChangeLog: $(SPECSRC) |
108 |
-@@ -56,7 +63,3 @@ |
109 |
- .html.txt: |
110 |
- if [ "X$(HTML2TXT)" = "X" ]; then echo "Lynx or w3m or user-defined HTML2TXT required to convert $< to $@" >$@ ; else $(HTML2TXT) -dump $< >$@ ; fi |
111 |
- |
112 |
--%.5 %.8 %.1: %.xml |
113 |
-- $(XSLTPROC) \ |
114 |
-- $(XSLTPROC_MANPAGES_OPTIONS) \ |
115 |
-- $(MANPAGES_STYLESHEET) $< |
116 |
|
117 |
diff --git a/sys-cluster/heartbeat/files/3.0.4-fix_configure.patch b/sys-cluster/heartbeat/files/3.0.4-fix_configure.patch |
118 |
deleted file mode 100644 |
119 |
index 1df22b337c5..00000000000 |
120 |
--- a/sys-cluster/heartbeat/files/3.0.4-fix_configure.patch |
121 |
+++ /dev/null |
122 |
@@ -1,110 +0,0 @@ |
123 |
---- Heartbeat-3-0-STABLE-3.0.4/configure.in 2010-12-09 21:09:47.000000000 +0100 |
124 |
-+++ Heartbeat-3-0-STABLE-3.0.4/configure.in 2010-12-28 17:37:45.080773140 +0100 |
125 |
-@@ -243,9 +243,9 @@ |
126 |
- mandir=`var "$mandir" "$exec_prefix/man"` |
127 |
- dnl docdir is available in autoconf 2.60+, for older versions preseed |
128 |
- dnl with the same value that 2.60+ uses |
129 |
--docdir=`var "$docdir" "${datadir}/doc/${PACKAGE_NAME}"` |
130 |
--libdir=`var "$libdir" "$exec_prefix/lib"` |
131 |
--libexecdir=`var "$libexecdir" "$exec_prefix/libexec"` |
132 |
-+dnl docdir=`var "$docdir" "${datadir}/doc/${PACKAGE_NAME}"` |
133 |
-+dnl libdir=`var "$libdir" "$exec_prefix/lib"` |
134 |
-+dnl libexecdir=`var "$libexecdir" "$exec_prefix/libexec"` |
135 |
- noarchlibdir=`var "$noarchlibdir" "$prefix/lib"` |
136 |
- |
137 |
- |
138 |
-@@ -284,59 +284,11 @@ |
139 |
- LIBC=`${LDD} ${tmpOutfile} | grep libc | sed -e 's%.*=> *%%' -e 's% .*$%%'` |
140 |
- LibCdir=`dirname $LIBC` |
141 |
- dirlist=`echo $LibCdir | tr '/' ' '` |
142 |
-- LibDirSuffix=unknown |
143 |
-- for dir in $dirlist |
144 |
-- do |
145 |
-- case $dir in |
146 |
-- *lib*) LibDirSuffix=$dir; break;; |
147 |
-- *);; |
148 |
-- esac |
149 |
-- done |
150 |
-- case $LibDirSuffix in |
151 |
-- unknown) LibDirSuffix=`basename $LibCdir`;; |
152 |
-- esac |
153 |
- OutFileType=`file $tmpOutfile` |
154 |
- rm -f $tmpCfile $tmpOutfile |
155 |
- else |
156 |
- AC_MSG_ERROR([Cannot Compile trivial C program]) |
157 |
- fi |
158 |
--# |
159 |
--# The code above doesn't work right everywhere |
160 |
--# (like Fedora and OpenBSD) |
161 |
--# |
162 |
--case ${LibDirSuffix} in |
163 |
-- *lib*) : Cool;; |
164 |
-- *) : Sigh... |
165 |
-- case $OutFileType in |
166 |
-- *64-bit*) |
167 |
-- case $host_os in |
168 |
-- openbsd*) LibDirSuffix=lib;; |
169 |
-- *) LibDirSuffix=lib64;; |
170 |
-- esac;; |
171 |
-- *32-bit*) LibDirSuffix=lib;; |
172 |
-- *) LibDirSuffix=lib;; |
173 |
-- esac;; |
174 |
--esac |
175 |
--# |
176 |
--# This may not yet be quite right for PPC where the default |
177 |
--# is to produce 32-bit binaries, even though the OS is 64-bit |
178 |
--# or for that matter for system Z, But, it's a lot better than |
179 |
--# it used to be. |
180 |
--# |
181 |
--AC_MSG_RESULT($LibDirSuffix) |
182 |
-- |
183 |
--case $libdir in |
184 |
-- */*${LibDirSuffix}) : Cool ;; |
185 |
-- *) : Uh Oh... |
186 |
-- libdir=`dirname $libdir`/$LibDirSuffix |
187 |
-- AC_MSG_WARN([Overriding libdir to: $libdir]);; |
188 |
--esac |
189 |
--case $libexecdir in |
190 |
-- */$LibDirSuffix) : Cool ;; |
191 |
-- *) : Uh Oh... |
192 |
-- libexecdir=`dirname $libexecdir`/$LibDirSuffix |
193 |
-- AC_MSG_WARN([Overriding libexecdir to: $libexecdir]);; |
194 |
--esac |
195 |
- |
196 |
- for j in exec_prefix bindir sbindir datadir sysconfdir localstatedir \ |
197 |
- includedir oldincludedir mandir docdir stdocdir libdir noarchlibdir |
198 |
-@@ -386,7 +338,6 @@ |
199 |
- fi |
200 |
- |
201 |
- AC_CHECK_HEADERS(heartbeat/glue_config.h) |
202 |
--GLUE_HEADER=none |
203 |
- if test "$ac_cv_header_heartbeat_glue_config_h" = "yes"; then |
204 |
- GLUE_HEADER=heartbeat/glue_config.h |
205 |
- else |
206 |
-@@ -453,15 +404,6 @@ |
207 |
- |
208 |
- dnl We use this in the RPM specfile... |
209 |
- AC_SUBST(ac_configure_args) |
210 |
--cleaned_configure_args="" |
211 |
--for j in ${ac_configure_args} |
212 |
--do |
213 |
-- case $j in |
214 |
-- *--libdir=*|*--libexecdir=*) ;; |
215 |
-- *) cleaned_configure_args="$cleaned_configure_args $j";; |
216 |
-- esac |
217 |
--done |
218 |
--AC_SUBST(cleaned_configure_args) |
219 |
- |
220 |
- dnl ************************************************************************* |
221 |
- PATH="$PATH:/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin" |
222 |
---- Heartbeat-3-0-STABLE-3.0.5/configure.in 2011-12-28 11:51:05.601673071 +0100 |
223 |
-+++ Heartbeat-3-0-STABLE-3.0.5/configure.in 2011-12-28 11:54:34.223094385 +0100 |
224 |
-@@ -2002,7 +2002,7 @@ |
225 |
- fi |
226 |
- |
227 |
- if test "$GCC" = yes; then |
228 |
-- CFLAGS="$CFLAGS -ggdb3" |
229 |
-+ CFLAGS="$CFLAGS" |
230 |
- if |
231 |
- cc_supports_flag -funsigned-char |
232 |
- then |
233 |
|
234 |
diff --git a/sys-cluster/heartbeat/files/3.0.4-python_tests.patch b/sys-cluster/heartbeat/files/3.0.4-python_tests.patch |
235 |
deleted file mode 100644 |
236 |
index e6e1071573a..00000000000 |
237 |
--- a/sys-cluster/heartbeat/files/3.0.4-python_tests.patch |
238 |
+++ /dev/null |
239 |
@@ -1,29 +0,0 @@ |
240 |
---- a/cts/Makefile.am |
241 |
-+++ b/cts/Makefile.am |
242 |
-@@ -21,7 +21,7 @@ |
243 |
- |
244 |
- ctsdir = @HA_NOARCHDATAHBDIR@/cts |
245 |
- |
246 |
--cts_PYTHON = \ |
247 |
-+cts_SCRIPTS = \ |
248 |
- CM_fs.py \ |
249 |
- CM_hb.py \ |
250 |
- CM_LinuxHAv2.py \ |
251 |
-@@ -32,14 +32,12 @@ |
252 |
- extracttests.py \ |
253 |
- getpeinputs.sh \ |
254 |
- OCFIPraTest.py \ |
255 |
-- CIB.py |
256 |
-+ CIB.py \ |
257 |
-+ CTSproxy.py \ |
258 |
-+ LSBDummy |
259 |
- |
260 |
- cts_DATA = README |
261 |
- |
262 |
--cts_SCRIPTS = \ |
263 |
-- CTSproxy.py \ |
264 |
-- getpeinputs.sh \ |
265 |
-- LSBDummy |
266 |
- |
267 |
- all-local: $(cts_PYTHON) |
268 |
- |
269 |
|
270 |
diff --git a/sys-cluster/heartbeat/files/3.0.5-fix_ucast.patch b/sys-cluster/heartbeat/files/3.0.5-fix_ucast.patch |
271 |
deleted file mode 100644 |
272 |
index 3bec9c89dd8..00000000000 |
273 |
--- a/sys-cluster/heartbeat/files/3.0.5-fix_ucast.patch |
274 |
+++ /dev/null |
275 |
@@ -1,145 +0,0 @@ |
276 |
- |
277 |
-# HG changeset patch |
278 |
-# User Lars Ellenberg <lars@××××××.com> |
279 |
-# Date 1392200751 -3600 |
280 |
-# Node ID 37f57a36a2dd1abf8461a9b758e62f6fe7a22f77 |
281 |
-# Parent 6d4324633600dc7ae7aa08c56d86c2fcc767977f |
282 |
-Medium: fix usage of SO_REUSEPORT in ucast sockets |
283 |
- |
284 |
-Linux learned SO_REUSEPORT only with kernel 3.9, |
285 |
-but some linux headers already define SO_REUSEPORT. |
286 |
-Which, on older kernels, will result in ENOPROTOOPT, |
287 |
-"Protocol not available". |
288 |
- |
289 |
-Failure to set SO_REUSEPORT is NOT critical in general. |
290 |
-It *may* be a problem on certain BSDs, |
291 |
-with more than two nodes, all using ucast. |
292 |
- |
293 |
-Refusing to start because of failure to set SO_REUSEPORT is |
294 |
-not helpful for the vast majority of the clusters out there. |
295 |
- |
296 |
-While at it, downgrade "critical" log messages to warnings |
297 |
-in non-fatal situations. |
298 |
- |
299 |
---- a/lib/plugins/HBcomm/ucast.c |
300 |
-+++ b/lib/plugins/HBcomm/ucast.c |
301 |
-@@ -461,12 +461,6 @@ static int HB_make_send_sock(struct hb_m |
302 |
- int sockfd; |
303 |
- struct ip_private *ei; |
304 |
- int tos; |
305 |
--#if defined(SO_BINDTODEVICE) |
306 |
-- struct ifreq i; |
307 |
--#endif |
308 |
--#if defined(SO_REUSEPORT) |
309 |
-- int i = 1; |
310 |
--#endif |
311 |
- |
312 |
- UCASTASSERT(mp); |
313 |
- ei = (struct ip_private*)mp->pd; |
314 |
-@@ -494,6 +488,7 @@ static int HB_make_send_sock(struct hb_m |
315 |
- |
316 |
- #if defined(SO_BINDTODEVICE) |
317 |
- { |
318 |
-+ struct ifreq i; |
319 |
- /* |
320 |
- * We want to send out this particular interface |
321 |
- * |
322 |
-@@ -515,12 +510,13 @@ static int HB_make_send_sock(struct hb_m |
323 |
- #endif |
324 |
- #if defined(SO_REUSEPORT) |
325 |
- { |
326 |
-+ int one = 1; |
327 |
- /* this is for OpenBSD to allow multiple * |
328 |
- * ucast connections, e.g. a more than * |
329 |
- * two node cluster */ |
330 |
- |
331 |
- if (setsockopt(sockfd, SOL_SOCKET, SO_REUSEPORT, |
332 |
-- &i, sizeof(i)) == -1) { |
333 |
-+ &one, sizeof(one)) == -1) { |
334 |
- PILCallLog(LOG, PIL_CRIT, |
335 |
- "ucast: error setting option SO_REUSEPORT(w): %s", strerror(errno)); |
336 |
- close(sockfd); |
337 |
-@@ -548,7 +544,7 @@ static int HB_make_receive_sock(struct h |
338 |
- int sockfd; |
339 |
- int bindtries; |
340 |
- int boundyet = 0; |
341 |
-- int j; |
342 |
-+ int one = 1; |
343 |
- |
344 |
- UCASTASSERT(mp); |
345 |
- ei = (struct ip_private*)mp->pd; |
346 |
-@@ -563,22 +559,19 @@ static int HB_make_receive_sock(struct h |
347 |
- strerror(errno)); |
348 |
- return -1; |
349 |
- } |
350 |
-- /* |
351 |
-- * Set SO_REUSEADDR on the server socket s. Variable j is used |
352 |
-- * as a scratch varable. |
353 |
-- * |
354 |
-- * 16th February 2000 |
355 |
-- * Added by Horms <horms@××××××××.net> |
356 |
-- * with thanks to Clinton Work <work@×××××××.com> |
357 |
-- */ |
358 |
-- j = 1; |
359 |
-+ /* |
360 |
-+ * Set SO_REUSEADDR on the server socket s. |
361 |
-+ * Below, also try to set SO_REUSEPORT, |
362 |
-+ * if known and supported. |
363 |
-+ */ |
364 |
- if (setsockopt(sockfd, SOL_SOCKET, SO_REUSEADDR, |
365 |
-- (void *)&j, sizeof j) < 0) { |
366 |
-+ &one, sizeof(one)) < 0) { |
367 |
- /* Ignore it. It will almost always be OK anyway. */ |
368 |
-- PILCallLog(LOG, PIL_CRIT, |
369 |
-+ PILCallLog(LOG, PIL_WARN, |
370 |
- "ucast: error setting socket option SO_REUSEADDR: %s", |
371 |
- strerror(errno)); |
372 |
-- } |
373 |
-+ } else |
374 |
-+ PILCallLog(LOG, PIL_INFO, "ucast: set SO_REUSEADDR"); |
375 |
- #if defined(SO_BINDTODEVICE) |
376 |
- { |
377 |
- /* |
378 |
-@@ -600,20 +593,32 @@ static int HB_make_receive_sock(struct h |
379 |
- } |
380 |
- #endif |
381 |
- #if defined(SO_REUSEPORT) |
382 |
-- { |
383 |
-+ /* |
384 |
-+ * Needed for OpenBSD for more than two nodes in a ucast cluster |
385 |
-+ */ |
386 |
-+ if (setsockopt(sockfd, SOL_SOCKET, SO_REUSEPORT, |
387 |
-+ &one, sizeof(one)) == -1) { |
388 |
- /* |
389 |
-- * Needed for OpenBSD for more than two nodes in a ucast cluster |
390 |
-+ * Linux learned SO_REUSEPORT only with kernel 3.9, |
391 |
-+ * but some linux headers already define SO_REUSEPORT. |
392 |
-+ * Which will result in ENOPROTOOPT, "Protocol not available" |
393 |
-+ * on older kernels. |
394 |
-+ * Failure to set SO_REUSEPORT is NOT critical in general. |
395 |
-+ * It *may* be a problem on certain BSDs with more than |
396 |
-+ * two nodes all using ucast. |
397 |
-+ * Refusing to start because of failure to set SO_REUSEPORT is |
398 |
-+ * not helpful for the vast majority of the clusters out there. |
399 |
- */ |
400 |
-- int i = 1; |
401 |
-- if (setsockopt(sockfd, SOL_SOCKET, SO_REUSEPORT, |
402 |
-- &i, sizeof(i)) == -1) { |
403 |
-+ if (errno == ENOPROTOOPT) { |
404 |
-+ PILCallLog(LOG, PIL_WARN, |
405 |
-+ "ucast: error setting option SO_REUSEPORT: %s", strerror(errno)); |
406 |
-+ } else { |
407 |
- PILCallLog(LOG, PIL_CRIT, |
408 |
-- "ucast: error setting option SO_REUSEPORT(r) %s", strerror(errno)); |
409 |
-- close(sockfd); |
410 |
-+ "ucast: error setting option SO_REUSEPORT: %s", strerror(errno)); |
411 |
- return -1; |
412 |
- } |
413 |
-- PILCallLog(LOG, PIL_INFO, "ucast: set SO_REUSEPORT(w)"); |
414 |
-- } |
415 |
-+ } else |
416 |
-+ PILCallLog(LOG, PIL_INFO, "ucast: set SO_REUSEPORT"); |
417 |
- #endif |
418 |
- |
419 |
- /* Try binding a few times before giving up */ |
420 |
- |
421 |
|
422 |
diff --git a/sys-cluster/heartbeat/files/3.0.6-configure.patch b/sys-cluster/heartbeat/files/3.0.6-configure.patch |
423 |
deleted file mode 100644 |
424 |
index 36054dd23d3..00000000000 |
425 |
--- a/sys-cluster/heartbeat/files/3.0.6-configure.patch |
426 |
+++ /dev/null |
427 |
@@ -1,103 +0,0 @@ |
428 |
-diff -ru a/configure.ac b/configure.ac |
429 |
---- a/configure.ac 2015-02-04 15:57:04.000000000 +0100 |
430 |
-+++ b/configure.ac 2017-04-25 13:33:58.668521006 +0200 |
431 |
-@@ -243,9 +243,9 @@ |
432 |
- mandir=`var "$mandir" "$exec_prefix/man"` |
433 |
- dnl docdir is available in autoconf 2.60+, for older versions preseed |
434 |
- dnl with the same value that 2.60+ uses |
435 |
--docdir=`var "$docdir" "${datadir}/doc/${HB_PKG}"` |
436 |
--libdir=`var "$libdir" "$exec_prefix/lib"` |
437 |
--libexecdir=`var "$libexecdir" "$exec_prefix/libexec"` |
438 |
-+dnl docdir=`var "$docdir" "${datadir}/doc/${PACKAGE_NAME}"` |
439 |
-+dnl libdir=`var "$libdir" "$exec_prefix/lib"` |
440 |
-+dnl libexecdir=`var "$libexecdir" "$exec_prefix/libexec"` |
441 |
- noarchlibdir=`var "$noarchlibdir" "$prefix/lib"` |
442 |
- |
443 |
- |
444 |
-@@ -284,53 +284,12 @@ |
445 |
- LIBC=`${LDD} ${tmpOutfile} | grep libc | sed -e 's%.*=> *%%' -e 's% .*$%%'` |
446 |
- LibCdir=`dirname $LIBC` |
447 |
- dirlist=`echo $LibCdir | tr '/' ' '` |
448 |
-- LibDirSuffix=unknown |
449 |
-- for dir in $dirlist |
450 |
-- do |
451 |
-- case $dir in |
452 |
-- *lib*) LibDirSuffix=$dir; break;; |
453 |
-- *);; |
454 |
-- esac |
455 |
-- done |
456 |
-- case $LibDirSuffix in |
457 |
-- unknown) LibDirSuffix=`basename $LibCdir`;; |
458 |
-- esac |
459 |
- OutFileType=`file $tmpOutfile` |
460 |
- rm -f $tmpCfile $tmpOutfile |
461 |
- else |
462 |
- AC_MSG_ERROR([Cannot Compile trivial C program]) |
463 |
- fi |
464 |
--# |
465 |
--# The code above doesn't work right everywhere |
466 |
--# (like Fedora and OpenBSD) |
467 |
--# |
468 |
--case ${LibDirSuffix} in |
469 |
-- *lib*) : Cool;; |
470 |
-- *) : Sigh... |
471 |
-- case $OutFileType in |
472 |
-- *64-bit*) |
473 |
-- case $host_os in |
474 |
-- openbsd*) LibDirSuffix=lib;; |
475 |
-- *) LibDirSuffix=lib64;; |
476 |
-- esac;; |
477 |
-- *32-bit*) LibDirSuffix=lib;; |
478 |
-- *) LibDirSuffix=lib;; |
479 |
-- esac;; |
480 |
--esac |
481 |
--# |
482 |
--# This may not yet be quite right for PPC where the default |
483 |
--# is to produce 32-bit binaries, even though the OS is 64-bit |
484 |
--# or for that matter for system Z, But, it's a lot better than |
485 |
--# it used to be. |
486 |
--# |
487 |
--AC_MSG_RESULT($LibDirSuffix) |
488 |
- |
489 |
--case $libdir in |
490 |
-- */*${LibDirSuffix}) : Cool ;; |
491 |
-- *) : Uh Oh... |
492 |
-- libdir=`dirname $libdir`/$LibDirSuffix |
493 |
-- AC_MSG_WARN([Overriding libdir to: $libdir]);; |
494 |
--esac |
495 |
- for j in exec_prefix bindir sbindir datadir sysconfdir localstatedir \ |
496 |
- includedir oldincludedir mandir docdir stdocdir libdir noarchlibdir |
497 |
- do |
498 |
-@@ -379,7 +338,6 @@ |
499 |
- fi |
500 |
- |
501 |
- AC_CHECK_HEADERS(heartbeat/glue_config.h) |
502 |
--GLUE_HEADER=none |
503 |
- if test "$ac_cv_header_heartbeat_glue_config_h" = "yes"; then |
504 |
- GLUE_HEADER=heartbeat/glue_config.h |
505 |
- else |
506 |
-@@ -463,15 +421,6 @@ |
507 |
- |
508 |
- dnl We use this in the RPM specfile... |
509 |
- AC_SUBST(ac_configure_args) |
510 |
--cleaned_configure_args="" |
511 |
--for j in ${ac_configure_args} |
512 |
--do |
513 |
-- case $j in |
514 |
-- *--libdir=*|*--libexecdir=*) ;; |
515 |
-- *) cleaned_configure_args="$cleaned_configure_args $j";; |
516 |
-- esac |
517 |
--done |
518 |
--AC_SUBST(cleaned_configure_args) |
519 |
- |
520 |
- dnl ************************************************************************* |
521 |
- PATH="$PATH:/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin" |
522 |
-@@ -2087,7 +2036,7 @@ |
523 |
- fi |
524 |
- |
525 |
- if test "$GCC" = yes; then |
526 |
-- CFLAGS="$CFLAGS -ggdb3" |
527 |
-+ CFLAGS="$CFLAGS" |
528 |
- if |
529 |
- cc_supports_flag -funsigned-char |
530 |
- then |
531 |
|
532 |
diff --git a/sys-cluster/heartbeat/files/3.0.6-docs.patch b/sys-cluster/heartbeat/files/3.0.6-docs.patch |
533 |
deleted file mode 100644 |
534 |
index 7c5c9573109..00000000000 |
535 |
--- a/sys-cluster/heartbeat/files/3.0.6-docs.patch |
536 |
+++ /dev/null |
537 |
@@ -1,59 +0,0 @@ |
538 |
-diff -ru a/configure.ac b/configure.ac |
539 |
---- a/configure.ac 2015-02-04 15:57:04.000000000 +0100 |
540 |
-+++ b/configure.ac 2017-04-25 11:57:33.706753890 +0200 |
541 |
-@@ -574,8 +574,14 @@ |
542 |
- AC_PATH_PROGS(TEST, test) |
543 |
- PKG_PROG_PKG_CONFIG |
544 |
- |
545 |
--dnl xsltproc is required for building the man pages |
546 |
--AC_PATH_PROGS(XSLTPROC, xsltproc) |
547 |
-+AC_ARG_ENABLE([doc], |
548 |
-+ AS_HELP_STRING([--enable-doc],[Build documentation] |
549 |
-+)) |
550 |
-+AS_IF([test "x$enable_doc" = "xyes"], [ |
551 |
-+ AC_PATH_PROGS(XSLTPROC, xsltproc) |
552 |
-+]) |
553 |
-+AM_CONDITIONAL([BUILD_DOC], [test "x$enable_doc" = "xyes"] ) |
554 |
-+AC_SUBST(XSLTPROC) |
555 |
- |
556 |
- dnl ************************************************************************ |
557 |
- dnl Check whether non-root user can chown. |
558 |
-diff -ru a/doc/Makefile.am b/doc/Makefile.am |
559 |
---- a/doc/Makefile.am 2015-02-04 15:57:04.000000000 +0100 |
560 |
-+++ b/doc/Makefile.am 2017-04-25 11:58:35.459257834 +0200 |
561 |
-@@ -33,11 +33,12 @@ |
562 |
- |
563 |
- doc_DATA = $(OTHER_DOCS) |
564 |
- |
565 |
-+if BUILD_DOC |
566 |
- man_MANS = heartbeat.8 apphbd.8 cl_status.1 \ |
567 |
- hb_standby.1 hb_takeover.1 hb_addnode.1 hb_delnode.1 \ |
568 |
- ha.cf.5 authkeys.5 |
569 |
- |
570 |
--STYLESHEET_PREFIX ?= http://docbook.sourceforge.net/release/xsl/current |
571 |
-+STYLESHEET_PREFIX ?= /usr/share/sgml/docbook/xsl-stylesheets |
572 |
- MANPAGES_STYLESHEET ?= $(STYLESHEET_PREFIX)/manpages/docbook.xsl |
573 |
- HTML_STYLESHEET ?= $(STYLESHEET_PREFIX)/xhtml/docbook.xsl |
574 |
- FO_STYLESHEET ?= $(STYLESHEET_PREFIX)/fo/docbook.xsl |
575 |
-@@ -47,6 +48,12 @@ |
576 |
- XSLTPROC_HTML_OPTIONS ?= $(XSLTPROC_OPTIONS) |
577 |
- XSLTPROC_FO_OPTIONS ?= $(XSLTPROC_OPTIONS) |
578 |
- |
579 |
-+%.5 %.8 %.1: %.xml |
580 |
-+ $(XSLTPROC) \ |
581 |
-+ $(XSLTPROC_MANPAGES_OPTIONS) \ |
582 |
-+ $(MANPAGES_STYLESHEET) $< |
583 |
-+endif |
584 |
-+ |
585 |
- EXTRA_DIST = $(txtfiles) $(htmlfiles) $(man_MANS) $(OTHER_DOCS) |
586 |
- |
587 |
- ChangeLog: $(SPECSRC) |
588 |
-@@ -55,8 +62,3 @@ |
589 |
- |
590 |
- .html.txt: |
591 |
- if [ "X$(HTML2TXT)" = "X" ]; then echo "Lynx or w3m or user-defined HTML2TXT required to convert $< to $@" >$@ ; else $(HTML2TXT) -dump $< >$@ ; fi |
592 |
-- |
593 |
--%.5 %.8 %.1: %.xml |
594 |
-- $(XSLTPROC) \ |
595 |
-- $(XSLTPROC_MANPAGES_OPTIONS) \ |
596 |
-- $(MANPAGES_STYLESHEET) $< |
597 |
|
598 |
diff --git a/sys-cluster/heartbeat/files/3.0.6-r1-configure.patch b/sys-cluster/heartbeat/files/3.0.6-r1-configure.patch |
599 |
deleted file mode 100644 |
600 |
index ab24282e420..00000000000 |
601 |
--- a/sys-cluster/heartbeat/files/3.0.6-r1-configure.patch |
602 |
+++ /dev/null |
603 |
@@ -1,102 +0,0 @@ |
604 |
-diff -ru a/configure.ac b/configure.ac |
605 |
---- a/configure.ac 2015-02-04 15:57:04.000000000 +0100 |
606 |
-+++ b/configure.ac 2017-04-25 13:33:58.668521006 +0200 |
607 |
-@@ -243,9 +243,9 @@ |
608 |
- mandir=`var "$mandir" "$exec_prefix/man"` |
609 |
- dnl docdir is available in autoconf 2.60+, for older versions preseed |
610 |
- dnl with the same value that 2.60+ uses |
611 |
--docdir=`var "$docdir" "${datadir}/doc/${HB_PKG}"` |
612 |
--libdir=`var "$libdir" "$exec_prefix/lib"` |
613 |
-+dnl docdir=`var "$docdir" "${datadir}/doc/${PACKAGE_NAME}"` |
614 |
-+dnl libdir=`var "$libdir" "$exec_prefix/lib"` |
615 |
- libexecdir=`var "$libexecdir" "$exec_prefix/libexec"` |
616 |
- noarchlibdir=`var "$noarchlibdir" "$prefix/lib"` |
617 |
- |
618 |
- |
619 |
-@@ -284,53 +284,12 @@ |
620 |
- LIBC=`${LDD} ${tmpOutfile} | grep libc | sed -e 's%.*=> *%%' -e 's% .*$%%'` |
621 |
- LibCdir=`dirname $LIBC` |
622 |
- dirlist=`echo $LibCdir | tr '/' ' '` |
623 |
-- LibDirSuffix=unknown |
624 |
-- for dir in $dirlist |
625 |
-- do |
626 |
-- case $dir in |
627 |
-- *lib*) LibDirSuffix=$dir; break;; |
628 |
-- *);; |
629 |
-- esac |
630 |
-- done |
631 |
-- case $LibDirSuffix in |
632 |
-- unknown) LibDirSuffix=`basename $LibCdir`;; |
633 |
-- esac |
634 |
- OutFileType=`file $tmpOutfile` |
635 |
- rm -f $tmpCfile $tmpOutfile |
636 |
- else |
637 |
- AC_MSG_ERROR([Cannot Compile trivial C program]) |
638 |
- fi |
639 |
--# |
640 |
--# The code above doesn't work right everywhere |
641 |
--# (like Fedora and OpenBSD) |
642 |
--# |
643 |
--case ${LibDirSuffix} in |
644 |
-- *lib*) : Cool;; |
645 |
-- *) : Sigh... |
646 |
-- case $OutFileType in |
647 |
-- *64-bit*) |
648 |
-- case $host_os in |
649 |
-- openbsd*) LibDirSuffix=lib;; |
650 |
-- *) LibDirSuffix=lib64;; |
651 |
-- esac;; |
652 |
-- *32-bit*) LibDirSuffix=lib;; |
653 |
-- *) LibDirSuffix=lib;; |
654 |
-- esac;; |
655 |
--esac |
656 |
--# |
657 |
--# This may not yet be quite right for PPC where the default |
658 |
--# is to produce 32-bit binaries, even though the OS is 64-bit |
659 |
--# or for that matter for system Z, But, it's a lot better than |
660 |
--# it used to be. |
661 |
--# |
662 |
--AC_MSG_RESULT($LibDirSuffix) |
663 |
- |
664 |
--case $libdir in |
665 |
-- */*${LibDirSuffix}) : Cool ;; |
666 |
-- *) : Uh Oh... |
667 |
-- libdir=`dirname $libdir`/$LibDirSuffix |
668 |
-- AC_MSG_WARN([Overriding libdir to: $libdir]);; |
669 |
--esac |
670 |
- for j in exec_prefix bindir sbindir datadir sysconfdir localstatedir \ |
671 |
- includedir oldincludedir mandir docdir stdocdir libdir noarchlibdir |
672 |
- do |
673 |
-@@ -379,7 +338,6 @@ |
674 |
- fi |
675 |
- |
676 |
- AC_CHECK_HEADERS(heartbeat/glue_config.h) |
677 |
--GLUE_HEADER=none |
678 |
- if test "$ac_cv_header_heartbeat_glue_config_h" = "yes"; then |
679 |
- GLUE_HEADER=heartbeat/glue_config.h |
680 |
- else |
681 |
-@@ -463,15 +421,6 @@ |
682 |
- |
683 |
- dnl We use this in the RPM specfile... |
684 |
- AC_SUBST(ac_configure_args) |
685 |
--cleaned_configure_args="" |
686 |
--for j in ${ac_configure_args} |
687 |
--do |
688 |
-- case $j in |
689 |
-- *--libdir=*|*--libexecdir=*) ;; |
690 |
-- *) cleaned_configure_args="$cleaned_configure_args $j";; |
691 |
-- esac |
692 |
--done |
693 |
--AC_SUBST(cleaned_configure_args) |
694 |
- |
695 |
- dnl ************************************************************************* |
696 |
- PATH="$PATH:/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin" |
697 |
-@@ -2087,7 +2036,7 @@ |
698 |
- fi |
699 |
- |
700 |
- if test "$GCC" = yes; then |
701 |
-- CFLAGS="$CFLAGS -ggdb3" |
702 |
-+ CFLAGS="$CFLAGS" |
703 |
- if |
704 |
- cc_supports_flag -funsigned-char |
705 |
- then |
706 |
|
707 |
diff --git a/sys-cluster/heartbeat/files/3.0.6-r1-heartbeat-init b/sys-cluster/heartbeat/files/3.0.6-r1-heartbeat-init |
708 |
deleted file mode 100644 |
709 |
index 5e15b322f50..00000000000 |
710 |
--- a/sys-cluster/heartbeat/files/3.0.6-r1-heartbeat-init |
711 |
+++ /dev/null |
712 |
@@ -1,95 +0,0 @@ |
713 |
-#!/sbin/openrc-run |
714 |
-# Copyright 1999-2018 Gentoo Foundation |
715 |
-# Distributed under the terms of the GNU General Public License v2 |
716 |
- |
717 |
-HA_DIR=/etc/ha.d |
718 |
-. $HA_DIR/shellfuncs |
719 |
-HA_DAEMON_DIR=/usr/libexec/heartbeat |
720 |
-HA_LIB_DIR=/usr/lib/heartbeat |
721 |
-HA_SHARE_DIR=/usr/share/heartbeat |
722 |
- |
723 |
-depend() { |
724 |
- use logger |
725 |
- need net |
726 |
-} |
727 |
- |
728 |
-opts="start stop status reload restart" |
729 |
- |
730 |
-CheckBool() { |
731 |
- case `echo "$1" | tr A-Z a-z` in |
732 |
- y|yes|enable|on|true|1) true;; |
733 |
- *) false;; |
734 |
- esac |
735 |
-} |
736 |
- |
737 |
-# Run pre-startup script if it exists |
738 |
-RunStartStop() { |
739 |
- [ -f $HA_DIR/resource.d/startstop ] && $HA_DIR/resource.d/startstop "$@" |
740 |
-} |
741 |
- |
742 |
-start() { |
743 |
- checkpath -q -d -m 0755 -o root:root /var/run/heartbeat |
744 |
- |
745 |
- ebegin "Starting heartbeat" |
746 |
- |
747 |
- . $HA_DIR/shellfuncs |
748 |
- |
749 |
- # start the log subsystem |
750 |
- CheckBool "`ha_parameter use_logd`" && \ |
751 |
- ( ${HA_LIB_DIR}/ha_logd -s &>/dev/null || \ |
752 |
- ${HA_LIB_DIR}/ha_logd -d -c /etc/ha.d/ha_logd.cf) |
753 |
- |
754 |
- RunStartStop pre-start |
755 |
- |
756 |
- CheckBool "`ha_parameter crm`" || \ |
757 |
- ${HA_SHARE_DIR}/ResourceManager verifyallidle |
758 |
- |
759 |
- ${HA_DAEMON_DIR}/heartbeat &>/dev/null |
760 |
- ret=$? |
761 |
- |
762 |
- RunStartStop post-start |
763 |
- |
764 |
- eend ${ret} |
765 |
-} |
766 |
- |
767 |
-stop() { |
768 |
- ebegin "Stopping heartbeat" |
769 |
- |
770 |
- RunStartStop pre-stop |
771 |
- |
772 |
- ${HA_DAEMON_DIR}/heartbeat -k &>/dev/null |
773 |
- ret=$? |
774 |
- |
775 |
- RunStartStop post-stop ${ret} |
776 |
- |
777 |
- # stop log subsystem |
778 |
- CheckBool "`ha_parameter use_logd`" && \ |
779 |
- ( ${HA_LIB_DIR}/ha_logd -s &>/dev/null && \ |
780 |
- ${HA_LIB_DIR}/ha_logd -k &>/dev/null ) |
781 |
- |
782 |
- eend ${ret} |
783 |
-} |
784 |
- |
785 |
-status() { |
786 |
- ${HA_DAEMON_DIR}/heartbeat -s |
787 |
-} |
788 |
- |
789 |
-reload() { |
790 |
- ebegin "Reloading heartbeat" |
791 |
- ${HA_DAEMON_DIR}/heartbeat -r &>/dev/null |
792 |
- eend $? |
793 |
-} |
794 |
- |
795 |
-restart() { |
796 |
- . $HA_DIR/shellfuncs |
797 |
- |
798 |
- sleeptime=$(( `ha_parameter deadtime` + 10 )) |
799 |
- |
800 |
- svc_stop |
801 |
- |
802 |
- ebegin " waiting ${sleeptime}s to allow resource takeover to complete" |
803 |
- sleep ${sleeptime} |
804 |
- eend 0 |
805 |
- |
806 |
- svc_start |
807 |
-} |
808 |
|
809 |
diff --git a/sys-cluster/heartbeat/files/heartbeat-init b/sys-cluster/heartbeat/files/heartbeat-init |
810 |
deleted file mode 100644 |
811 |
index 9316fcc81e8..00000000000 |
812 |
--- a/sys-cluster/heartbeat/files/heartbeat-init |
813 |
+++ /dev/null |
814 |
@@ -1,92 +0,0 @@ |
815 |
-#!/sbin/openrc-run |
816 |
-# Copyright 1999-2012 Gentoo Foundation |
817 |
-# Distributed under the terms of the GNU General Public License v2 |
818 |
- |
819 |
-HA_DIR=/etc/ha.d |
820 |
-. $HA_DIR/shellfuncs |
821 |
- |
822 |
-depend() { |
823 |
- use logger |
824 |
- need net |
825 |
-} |
826 |
- |
827 |
-opts="start stop status reload restart" |
828 |
- |
829 |
-CheckBool() { |
830 |
- case `echo "$1" | tr A-Z a-z` in |
831 |
- y|yes|enable|on|true|1) true;; |
832 |
- *) false;; |
833 |
- esac |
834 |
-} |
835 |
- |
836 |
-# Run pre-startup script if it exists |
837 |
-RunStartStop() { |
838 |
- [ -f $HA_DIR/resource.d/startstop ] && $HA_DIR/resource.d/startstop "$@" |
839 |
-} |
840 |
- |
841 |
-start() { |
842 |
- checkpath -q -d -m 0755 -o root:root /var/run/heartbeat |
843 |
- |
844 |
- ebegin "Starting heartbeat" |
845 |
- |
846 |
- . $HA_DIR/shellfuncs |
847 |
- |
848 |
- # start the log subsystem |
849 |
- CheckBool "`ha_parameter use_logd`" && \ |
850 |
- ( /usr/lib/heartbeat/ha_logd -s &>/dev/null || \ |
851 |
- /usr/lib/heartbeat/ha_logd -d -c /etc/ha.d/ha_logd.cf) |
852 |
- |
853 |
- RunStartStop pre-start |
854 |
- |
855 |
- CheckBool "`ha_parameter crm`" || \ |
856 |
- /usr/lib/heartbeat/ResourceManager verifyallidle |
857 |
- |
858 |
- /usr/lib/heartbeat/heartbeat &>/dev/null |
859 |
- ret=$? |
860 |
- |
861 |
- RunStartStop post-start |
862 |
- |
863 |
- eend ${ret} |
864 |
-} |
865 |
- |
866 |
-stop() { |
867 |
- ebegin "Stopping heartbeat" |
868 |
- |
869 |
- RunStartStop pre-stop |
870 |
- |
871 |
- /usr/lib/heartbeat/heartbeat -k &>/dev/null |
872 |
- ret=$? |
873 |
- |
874 |
- RunStartStop post-stop ${ret} |
875 |
- |
876 |
- # stop log subsystem |
877 |
- CheckBool "`ha_parameter use_logd`" && \ |
878 |
- ( /usr/lib/heartbeat/ha_logd -s &>/dev/null && \ |
879 |
- /usr/lib/heartbeat/ha_logd -k &>/dev/null ) |
880 |
- |
881 |
- eend ${ret} |
882 |
-} |
883 |
- |
884 |
-status() { |
885 |
- /usr/lib/heartbeat/heartbeat -s |
886 |
-} |
887 |
- |
888 |
-reload() { |
889 |
- ebegin "Reloading heartbeat" |
890 |
- /usr/lib/heartbeat/heartbeat -r &>/dev/null |
891 |
- eend $? |
892 |
-} |
893 |
- |
894 |
-restart() { |
895 |
- . $HA_DIR/shellfuncs |
896 |
- |
897 |
- sleeptime=$(( `ha_parameter deadtime` + 10 )) |
898 |
- |
899 |
- svc_stop |
900 |
- |
901 |
- ebegin " waiting ${sleeptime}s to allow resource takeover to complete" |
902 |
- sleep ${sleeptime} |
903 |
- eend 0 |
904 |
- |
905 |
- svc_start |
906 |
-} |
907 |
|
908 |
diff --git a/sys-cluster/heartbeat/heartbeat-3.0.5-r3.ebuild b/sys-cluster/heartbeat/heartbeat-3.0.5-r3.ebuild |
909 |
deleted file mode 100644 |
910 |
index d0a16996c2b..00000000000 |
911 |
--- a/sys-cluster/heartbeat/heartbeat-3.0.5-r3.ebuild |
912 |
+++ /dev/null |
913 |
@@ -1,86 +0,0 @@ |
914 |
-# Copyright 1999-2017 Gentoo Foundation |
915 |
-# Distributed under the terms of the GNU General Public License v2 |
916 |
- |
917 |
-EAPI="6" |
918 |
- |
919 |
-PYTHON_COMPAT=( python2_7 ) |
920 |
-inherit autotools python-single-r1 |
921 |
- |
922 |
-DESCRIPTION="Heartbeat high availability cluster manager" |
923 |
-HOMEPAGE="http://www.linux-ha.org/wiki/Heartbeat" |
924 |
-SRC_URI="http://hg.linux-ha.org/${PN}-STABLE_3_0/archive/STABLE-${PV}.tar.bz2" |
925 |
- |
926 |
-LICENSE="GPL-2" |
927 |
-SLOT="0" |
928 |
-KEYWORDS="amd64 hppa x86" |
929 |
-IUSE="doc snmp static-libs" |
930 |
- |
931 |
-RDEPEND="sys-cluster/cluster-glue |
932 |
- dev-libs/glib:2 |
933 |
- virtual/ssh |
934 |
- net-libs/gnutls |
935 |
- snmp? ( net-analyzer/net-snmp ) |
936 |
- ${PYTHON_DEPS} |
937 |
-" |
938 |
-DEPEND="${RDEPEND} |
939 |
- virtual/pkgconfig |
940 |
- dev-lang/swig |
941 |
- doc? ( dev-libs/libxslt app-text/docbook-xsl-stylesheets )" |
942 |
- |
943 |
-PDEPEND="sys-cluster/resource-agents" |
944 |
- |
945 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
946 |
- |
947 |
-S=${WORKDIR}/Heartbeat-3-0-STABLE-${PV} |
948 |
- |
949 |
-PATCHES=( |
950 |
- "${FILESDIR}/3.0.4-fix_configure.patch" |
951 |
- "${FILESDIR}/3.0.4-docs.patch" |
952 |
- "${FILESDIR}/3.0.4-python_tests.patch" |
953 |
- "${FILESDIR}/3.0.5-fix_ucast.patch" |
954 |
-) |
955 |
- |
956 |
-pkg_setup() { |
957 |
- python-single-r1_pkg_setup |
958 |
- |
959 |
- ewarn "If you're upgrading from heartbeat-2.x please follow:" |
960 |
- ewarn "https://www.gentoo.org/proj/en/cluster/ha-cluster/heartbeat-upgrade.xml" |
961 |
-} |
962 |
- |
963 |
-src_prepare() { |
964 |
- default |
965 |
- eautoreconf |
966 |
- |
967 |
- cp "${FILESDIR}"/heartbeat-init "${WORKDIR}" || die |
968 |
- sed -i \ |
969 |
- -e "/ResourceManager/ s/lib/share/" \ |
970 |
- -e "s:lib:$(get_libdir):g" \ |
971 |
- "${WORKDIR}"/heartbeat-init || die |
972 |
-} |
973 |
- |
974 |
-src_configure() { |
975 |
- econf \ |
976 |
- --disable-fatal-warnings \ |
977 |
- $(use_enable static-libs static) \ |
978 |
- $(use_enable doc) \ |
979 |
- --disable-tipc \ |
980 |
- --enable-dopd \ |
981 |
- $(use_enable snmp) |
982 |
-} |
983 |
- |
984 |
-src_install() { |
985 |
- default |
986 |
- |
987 |
- newinitd "${WORKDIR}/heartbeat-init" heartbeat |
988 |
- |
989 |
- # fix collisions |
990 |
- rm -rf "${D}"/usr/include/heartbeat/{compress,ha_msg}.h || die |
991 |
- |
992 |
- if ! use static-libs; then |
993 |
- find "${D}" -name "*.la" -delete || die |
994 |
- fi |
995 |
- |
996 |
- if use doc ; then |
997 |
- dodoc README doc/*.txt doc/AUTHORS |
998 |
- fi |
999 |
-} |
1000 |
|
1001 |
diff --git a/sys-cluster/heartbeat/heartbeat-3.0.6-r1.ebuild b/sys-cluster/heartbeat/heartbeat-3.0.6-r1.ebuild |
1002 |
deleted file mode 100644 |
1003 |
index 26457bab784..00000000000 |
1004 |
--- a/sys-cluster/heartbeat/heartbeat-3.0.6-r1.ebuild |
1005 |
+++ /dev/null |
1006 |
@@ -1,84 +0,0 @@ |
1007 |
-# Copyright 1999-2018 Gentoo Foundation |
1008 |
-# Distributed under the terms of the GNU General Public License v2 |
1009 |
- |
1010 |
-EAPI=6 |
1011 |
-PYTHON_COMPAT=( python2_7 ) |
1012 |
- |
1013 |
-inherit autotools python-single-r1 |
1014 |
- |
1015 |
-DESCRIPTION="Heartbeat high availability cluster manager" |
1016 |
-HOMEPAGE="http://www.linux-ha.org/wiki/Heartbeat" |
1017 |
-SRC_URI="http://hg.linux-ha.org/${PN}-STABLE_3_0/archive/STABLE-${PV}.tar.bz2 -> ${P}.tar.bz2" |
1018 |
- |
1019 |
-LICENSE="GPL-2" |
1020 |
-SLOT="0" |
1021 |
-KEYWORDS="~amd64 ~hppa ~x86" |
1022 |
-IUSE="doc snmp static-libs" |
1023 |
- |
1024 |
-RDEPEND="sys-cluster/cluster-glue |
1025 |
- dev-libs/glib:2 |
1026 |
- virtual/ssh |
1027 |
- net-libs/gnutls |
1028 |
- snmp? ( net-analyzer/net-snmp ) |
1029 |
- ${PYTHON_DEPS} |
1030 |
-" |
1031 |
-DEPEND="${RDEPEND} |
1032 |
- virtual/pkgconfig |
1033 |
- dev-lang/swig |
1034 |
- doc? ( dev-libs/libxslt app-text/docbook-xsl-stylesheets )" |
1035 |
- |
1036 |
-PDEPEND="sys-cluster/resource-agents" |
1037 |
- |
1038 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
1039 |
- |
1040 |
-S=${WORKDIR}/Heartbeat-3-0-STABLE-${PV} |
1041 |
- |
1042 |
-PATCHES=( |
1043 |
- "${FILESDIR}/3.0.6-r1-configure.patch" |
1044 |
- "${FILESDIR}/3.0.6-docs.patch" |
1045 |
- "${FILESDIR}/3.0.4-python_tests.patch" |
1046 |
-) |
1047 |
- |
1048 |
-pkg_setup() { |
1049 |
- python-single-r1_pkg_setup |
1050 |
- |
1051 |
- ewarn "If you're upgrading from heartbeat-2.x please follow:" |
1052 |
- ewarn "https://www.gentoo.org/proj/en/cluster/ha-cluster/heartbeat-upgrade.xml" |
1053 |
-} |
1054 |
- |
1055 |
-src_prepare() { |
1056 |
- default |
1057 |
- eautoreconf |
1058 |
- |
1059 |
- cp "${FILESDIR}"/3.0.6-r1-heartbeat-init "${WORKDIR}"/heartbeat-init || die |
1060 |
- sed -i \ |
1061 |
- -e "s:HA_LIB_DIR=/usr/lib/:HA_LIB_DIR=/usr/$(get_libdir)/:g" \ |
1062 |
- "${WORKDIR}"/heartbeat-init || die |
1063 |
-} |
1064 |
- |
1065 |
-src_configure() { |
1066 |
- econf \ |
1067 |
- --disable-fatal-warnings \ |
1068 |
- $(use_enable static-libs static) \ |
1069 |
- $(use_enable doc) \ |
1070 |
- --disable-tipc \ |
1071 |
- --enable-dopd \ |
1072 |
- $(use_enable snmp) |
1073 |
-} |
1074 |
- |
1075 |
-src_install() { |
1076 |
- default |
1077 |
- |
1078 |
- newinitd "${WORKDIR}/heartbeat-init" heartbeat |
1079 |
- |
1080 |
- # fix collisions |
1081 |
- rm -rf "${D}"/usr/include/heartbeat/{compress,ha_msg}.h || die |
1082 |
- |
1083 |
- if ! use static-libs; then |
1084 |
- find "${D}" -name "*.la" -delete || die |
1085 |
- fi |
1086 |
- |
1087 |
- if use doc ; then |
1088 |
- dodoc README doc/*.txt doc/AUTHORS |
1089 |
- fi |
1090 |
-} |
1091 |
|
1092 |
diff --git a/sys-cluster/heartbeat/heartbeat-3.0.6.ebuild b/sys-cluster/heartbeat/heartbeat-3.0.6.ebuild |
1093 |
deleted file mode 100644 |
1094 |
index 1d86b2f1ab0..00000000000 |
1095 |
--- a/sys-cluster/heartbeat/heartbeat-3.0.6.ebuild |
1096 |
+++ /dev/null |
1097 |
@@ -1,85 +0,0 @@ |
1098 |
-# Copyright 1999-2017 Gentoo Foundation |
1099 |
-# Distributed under the terms of the GNU General Public License v2 |
1100 |
- |
1101 |
-EAPI=6 |
1102 |
-PYTHON_COMPAT=( python2_7 ) |
1103 |
- |
1104 |
-inherit autotools python-single-r1 |
1105 |
- |
1106 |
-DESCRIPTION="Heartbeat high availability cluster manager" |
1107 |
-HOMEPAGE="http://www.linux-ha.org/wiki/Heartbeat" |
1108 |
-SRC_URI="http://hg.linux-ha.org/${PN}-STABLE_3_0/archive/STABLE-${PV}.tar.bz2" |
1109 |
- |
1110 |
-LICENSE="GPL-2" |
1111 |
-SLOT="0" |
1112 |
-KEYWORDS="~amd64 ~hppa ~x86" |
1113 |
-IUSE="doc snmp static-libs" |
1114 |
- |
1115 |
-RDEPEND="sys-cluster/cluster-glue |
1116 |
- dev-libs/glib:2 |
1117 |
- virtual/ssh |
1118 |
- net-libs/gnutls |
1119 |
- snmp? ( net-analyzer/net-snmp ) |
1120 |
- ${PYTHON_DEPS} |
1121 |
-" |
1122 |
-DEPEND="${RDEPEND} |
1123 |
- virtual/pkgconfig |
1124 |
- dev-lang/swig |
1125 |
- doc? ( dev-libs/libxslt app-text/docbook-xsl-stylesheets )" |
1126 |
- |
1127 |
-PDEPEND="sys-cluster/resource-agents" |
1128 |
- |
1129 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
1130 |
- |
1131 |
-S=${WORKDIR}/Heartbeat-3-0-STABLE-${PV} |
1132 |
- |
1133 |
-PATCHES=( |
1134 |
- "${FILESDIR}/3.0.6-configure.patch" |
1135 |
- "${FILESDIR}/3.0.6-docs.patch" |
1136 |
- "${FILESDIR}/3.0.4-python_tests.patch" |
1137 |
-) |
1138 |
- |
1139 |
-pkg_setup() { |
1140 |
- python-single-r1_pkg_setup |
1141 |
- |
1142 |
- ewarn "If you're upgrading from heartbeat-2.x please follow:" |
1143 |
- ewarn "https://www.gentoo.org/proj/en/cluster/ha-cluster/heartbeat-upgrade.xml" |
1144 |
-} |
1145 |
- |
1146 |
-src_prepare() { |
1147 |
- default |
1148 |
- eautoreconf |
1149 |
- |
1150 |
- cp "${FILESDIR}"/heartbeat-init "${WORKDIR}" || die |
1151 |
- sed -i \ |
1152 |
- -e "/ResourceManager/ s/lib/share/" \ |
1153 |
- -e "s:lib:$(get_libdir):g" \ |
1154 |
- "${WORKDIR}"/heartbeat-init || die |
1155 |
-} |
1156 |
- |
1157 |
-src_configure() { |
1158 |
- econf \ |
1159 |
- --disable-fatal-warnings \ |
1160 |
- $(use_enable static-libs static) \ |
1161 |
- $(use_enable doc) \ |
1162 |
- --disable-tipc \ |
1163 |
- --enable-dopd \ |
1164 |
- $(use_enable snmp) |
1165 |
-} |
1166 |
- |
1167 |
-src_install() { |
1168 |
- default |
1169 |
- |
1170 |
- newinitd "${WORKDIR}/heartbeat-init" heartbeat |
1171 |
- |
1172 |
- # fix collisions |
1173 |
- rm -rf "${D}"/usr/include/heartbeat/{compress,ha_msg}.h || die |
1174 |
- |
1175 |
- if ! use static-libs; then |
1176 |
- find "${D}" -name "*.la" -delete || die |
1177 |
- fi |
1178 |
- |
1179 |
- if use doc ; then |
1180 |
- dodoc README doc/*.txt doc/AUTHORS |
1181 |
- fi |
1182 |
-} |
1183 |
|
1184 |
diff --git a/sys-cluster/heartbeat/metadata.xml b/sys-cluster/heartbeat/metadata.xml |
1185 |
deleted file mode 100644 |
1186 |
index f3834ba8225..00000000000 |
1187 |
--- a/sys-cluster/heartbeat/metadata.xml |
1188 |
+++ /dev/null |
1189 |
@@ -1,8 +0,0 @@ |
1190 |
-<?xml version="1.0" encoding="UTF-8"?> |
1191 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
1192 |
-<pkgmetadata> |
1193 |
- <maintainer type="project"> |
1194 |
- <email>cluster@g.o</email> |
1195 |
- <name>Gentoo Cluster Project</name> |
1196 |
- </maintainer> |
1197 |
-</pkgmetadata> |