summaryrefslogtreecommitdiff
path: root/sys-cluster/heartbeat
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /sys-cluster/heartbeat
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'sys-cluster/heartbeat')
-rw-r--r--sys-cluster/heartbeat/Manifest16
-rw-r--r--sys-cluster/heartbeat/files/3.0.4-docs.patch57
-rw-r--r--sys-cluster/heartbeat/files/3.0.4-fix_configure.patch110
-rw-r--r--sys-cluster/heartbeat/files/3.0.4-python_tests.patch29
-rw-r--r--sys-cluster/heartbeat/files/3.0.5-fix_ucast.patch145
-rw-r--r--sys-cluster/heartbeat/files/3.0.6-configure.patch103
-rw-r--r--sys-cluster/heartbeat/files/3.0.6-docs.patch59
-rw-r--r--sys-cluster/heartbeat/files/3.0.6-r1-configure.patch102
-rw-r--r--sys-cluster/heartbeat/files/3.0.6-r1-heartbeat-init95
-rw-r--r--sys-cluster/heartbeat/files/heartbeat-init92
-rw-r--r--sys-cluster/heartbeat/heartbeat-3.0.5-r3.ebuild86
-rw-r--r--sys-cluster/heartbeat/heartbeat-3.0.6-r1.ebuild84
-rw-r--r--sys-cluster/heartbeat/heartbeat-3.0.6.ebuild85
-rw-r--r--sys-cluster/heartbeat/metadata.xml8
14 files changed, 0 insertions, 1071 deletions
diff --git a/sys-cluster/heartbeat/Manifest b/sys-cluster/heartbeat/Manifest
deleted file mode 100644
index 15256ec70c7e..000000000000
--- a/sys-cluster/heartbeat/Manifest
+++ /dev/null
@@ -1,16 +0,0 @@
-AUX 3.0.4-docs.patch 1735 BLAKE2B 4b203377382d88774f6e2cd535f06c9cccc6fd03599518f952f891cd82cf2ebf351a0ee62c6c67253c4a04e8e3b30db3289eeea55d720f3627e8284a57fc1cff SHA512 d8b9328ad8417998f6b3f8ae06a2d99d1b4a1fc53c21770df58b5ae1d2b38b9a396e5b77c9fc74a8a01e7cb239337bdc1b44065161a21f07261c18b7378c0f44
-AUX 3.0.4-fix_configure.patch 3300 BLAKE2B 6ec12a78004330c0f211c67d75c3957061941f3dae861a42ff836152acaf155bf236298344d4919a03ee2b11708e7cb81d2d35f64282f7abfacb289037b6df3a SHA512 39bb089d2ac6e4d7afb828b24d41e3b261588d8029347ab968dbe3909a3a2a9197fc0ac8f16e920f45870fefaeb86bae064a8625c24ca7cda68cbb79bb1b360b
-AUX 3.0.4-python_tests.patch 468 BLAKE2B bfacca9e7633828a43aef2f8c2af1d0ff93406a35202f5848fc81ea32ff693c7ed3194bdbc3f8df5bad422be2546994e8ad69ea0a895dccd0937abc8e63c64fa SHA512 e5652ec24b7a5b03347baabb4d09f058df9766020879562822ed3edcd26f78d28456df532c6c12dacfb609d197d06dc565f0bf25ba1b33736d89df2d36f43b9b
-AUX 3.0.5-fix_ucast.patch 4343 BLAKE2B 13be56f2e924cd473d535b77da23a947562a282fbd601f8bac5567e28a48b4e647a9e23911f0bc5e14b9b53ec79aefd8d0cf68180dfb1de79a4af6fe6edf034a SHA512 9eac05636bd72be663ab51085310f23ff506290000a8227b24be0efdaa2fb88a7868a848063311af91c0c151e73792a1e9a0ad33ab565f117f339ed6c3241b62
-AUX 3.0.6-configure.patch 2943 BLAKE2B a7a1f162bc6f2c3454ccd3cb60a61aff1464e19054b19740fcfad9282480916f832c36ecb05f0b9d495d51faf40bdd8c8c4b6879887073c3b055b1664eb70de4 SHA512 408402dd41aaa2afd14c5bcfafade753e4f2ca34b7668cb9f29566c3a41cd231ed8ab6b29f9865177c10e820b177aa9a899cf5a2b98db78b267e2bfb8f1d03d6
-AUX 3.0.6-docs.patch 1946 BLAKE2B 28db241adf3112a3122b2fb9cbeb2234eb4a0026c6517d56326d70a2f4930e7a535eb814628bda03b7b53190fb12c3564c318340728bac4aff0f19837c867c79 SHA512 e75f4b75a3340d0df9f81e3ef26a6212b2e6ed447f9f7b4a911f05eb6e383726164e7552e4b20d85874d3d3d7c82ce0aa176e886deab76a944e5d716e4a3a0a2
-AUX 3.0.6-r1-configure.patch 2884 BLAKE2B b994677de15605c76469135e23491c4020a28d378f4d972e59a1cfaf61234ce6c2aefeb768a82e6210d8eb0fec130bc02fed14fffcb09fe7b7628944a88d5945 SHA512 6c8c3b4bc392893684dc3d40954c93c0193c628101e3fb78c4331f5e65b8abdb74dbec24d537a340a5d70459163804818a6e8f4720035a297782182b537df20c
-AUX 3.0.6-r1-heartbeat-init 1781 BLAKE2B 7640093355c7d956ab958f22d1fd364df294fe6374cffe9e676a2a07b0469dad3e714d19f526ed899c5416d533cbdd9732f32320bddda13406ce9c4aad32b1b1 SHA512 9998ada7dcd9eb36aa7269db75f85c7964c76a2c019caf95f4d580b967efd23bf01bdd488325d656debd2f2a029b385450f31d798798465ffab8b180661e5e8a
-AUX heartbeat-init 1711 BLAKE2B c3799754f1925d10b26e44ab7c1437585c368c90f5b99f116f831003b2c47935234bdc3ff5664e6a1dc4db893f4d21a080f19d937eec1eb022266a76bd66c9f3 SHA512 2c91aea1a7fdcfd35a1b7e824fd7467f776f3f1e0d46b8b14a249f756ec6ac4b3ed379f291bc5c8075094bd386e06ca9e15279f136ae89be5c7551b1f20e208d
-DIST STABLE-3.0.5.tar.bz2 538986 BLAKE2B 3087c87acea7d6800e60960e67271263400eaffa929bd9c5cf438cb4c88ec1d03186e197669afa26839b6e42780bb71a7f30cd566696fb6bcb16b5ec876a41e6 SHA512 e38083b87c56a72eb8925ac42adeabb92618608e92218a63960ec0d0bca264f92a8e9c3ebfb0589cc4538da1a82b268b5cc9ee5a51ed33057c969e694e16b27d
-DIST STABLE-3.0.6.tar.bz2 532796 BLAKE2B 7c882312a4e528919fd94474233ffa0ac15121ef43a1c461a7e9ae26db91c0bb92b3d90859373e0285cc56ed7981e23592ad5d8b657d2dc5a43c92fc22259741 SHA512 c11fc2e333040b494e63cc0b55d7e5f7555850ba79d8ec6fea17960ec22ee210a81a63a6e486383b6d44d2532c0dc0d69dcffddf9354b7830771a7a532c33f33
-DIST heartbeat-3.0.6.tar.bz2 532796 BLAKE2B 7c882312a4e528919fd94474233ffa0ac15121ef43a1c461a7e9ae26db91c0bb92b3d90859373e0285cc56ed7981e23592ad5d8b657d2dc5a43c92fc22259741 SHA512 c11fc2e333040b494e63cc0b55d7e5f7555850ba79d8ec6fea17960ec22ee210a81a63a6e486383b6d44d2532c0dc0d69dcffddf9354b7830771a7a532c33f33
-EBUILD heartbeat-3.0.5-r3.ebuild 1853 BLAKE2B 1e0b6a3c24693857a42e0b46d503243473c1538da172a96f5d6773acad74f2bf0b94170bcd64636d892d924c8f9893d3865e90224ea9156166ec4a819bc4828a SHA512 31bc91b553856f954f1ca375f8e7f7d84a498e79279500dcce45549bd40509c45d02c8d1633bef221cb5a0b729f044f4c465ce8657a00584c39652fa00e041c9
-EBUILD heartbeat-3.0.6-r1.ebuild 1850 BLAKE2B ec060cdf0fd768f0b542109009cea0285c0182d7121513d74e216515e3074d9d5828a31b3e775e343010a19555655b31f37afaac4af530c4b2d99160840e9e41 SHA512 44723301d1dc3ea4f116b65006a2991dc9a7f9dd318755f726bad774a50d64803d3cdeada0536a4857271bd0db46a9de132c1c281e13195ec3c3d5c3a666cd12
-EBUILD heartbeat-3.0.6.ebuild 1813 BLAKE2B c599d24d425b41f4a50ee4c75183063a8c88fefdd102f3c46f4b28c71493e0a77673764ad7779d0be0ea3b4975964fef136db17a8b18326931144be7601a4a22 SHA512 3d9e3b765f62e27538c89210924773c53c794dcf67f218e36d1719cf93b4c0b9439e58d9530bdde0a5ca2f39e86244bbc973ab4d4883a6f8b7f2e8eabfd3672c
-MISC metadata.xml 263 BLAKE2B c9db7dc7f12c1017bee420587681f80a838eba2efed271c5a1fafa4595993917ea14b69fcc865a225561fa736bd93d9bfdac7b830a50d78707428d7fec4e987e SHA512 6ec307d6a3827ce21f67f8565a79a13d2833215571c459f42f06b8dd9184e1a41fa06b1cce8b3cf3555f4f875d9e366dd34ee786b6881dc18fb7d0b2d5c2acd5
diff --git a/sys-cluster/heartbeat/files/3.0.4-docs.patch b/sys-cluster/heartbeat/files/3.0.4-docs.patch
deleted file mode 100644
index a558dd36f5a3..000000000000
--- a/sys-cluster/heartbeat/files/3.0.4-docs.patch
+++ /dev/null
@@ -1,57 +0,0 @@
---- a/configure.in
-+++ b/configure.in
-@@ -505,8 +505,15 @@
- AC_PATH_PROGS(TEST, test)
- AC_PATH_PROGS(PKGCONFIG, pkg-config)
-
--dnl xsltproc is required for building the man pages
--AC_PATH_PROGS(XSLTPROC, xsltproc)
-+AC_ARG_ENABLE([doc],
-+ AS_HELP_STRING([--enable-doc],[Build documentation]
-+))
-+AS_IF([test "x$enable_doc" = "xyes"], [
-+ AC_PATH_PROGS(XSLTPROC, xsltproc)
-+])
-+AM_CONDITIONAL([BUILD_DOC], [test "x$enable_doc" = "xyes"] )
-+AC_SUBST(XSLTPROC)
-+
-
- dnl ************************************************************************
- dnl Check whether non-root user can chown.
---- a/doc/Makefile.am
-+++ b/doc/Makefile.am
-@@ -33,11 +33,12 @@
-
- doc_DATA = $(OTHER_DOCS)
-
-+if BUILD_DOC
- man_MANS = heartbeat.8 apphbd.8 cl_status.1 \
- hb_standby.1 hb_takeover.1 hb_addnode.1 hb_delnode.1 \
- ha.cf.5 authkeys.5
-
--STYLESHEET_PREFIX ?= http://docbook.sourceforge.net/release/xsl/current
-+STYLESHEET_PREFIX ?= /usr/share/sgml/docbook/xsl-stylesheets
- MANPAGES_STYLESHEET ?= $(STYLESHEET_PREFIX)/manpages/docbook.xsl
- HTML_STYLESHEET ?= $(STYLESHEET_PREFIX)/xhtml/docbook.xsl
- FO_STYLESHEET ?= $(STYLESHEET_PREFIX)/fo/docbook.xsl
-@@ -47,6 +48,12 @@
- XSLTPROC_HTML_OPTIONS ?= $(XSLTPROC_OPTIONS)
- XSLTPROC_FO_OPTIONS ?= $(XSLTPROC_OPTIONS)
-
-+%.5 %.8 %.1: %.xml
-+ $(XSLTPROC) \
-+ $(XSLTPROC_MANPAGES_OPTIONS) \
-+ $(MANPAGES_STYLESHEET) $<
-+endif
-+
- EXTRA_DIST = $(txtfiles) $(htmlfiles) $(man_MANS) $(OTHER_DOCS)
-
- ChangeLog: $(SPECSRC)
-@@ -56,7 +63,3 @@
- .html.txt:
- if [ "X$(HTML2TXT)" = "X" ]; then echo "Lynx or w3m or user-defined HTML2TXT required to convert $< to $@" >$@ ; else $(HTML2TXT) -dump $< >$@ ; fi
-
--%.5 %.8 %.1: %.xml
-- $(XSLTPROC) \
-- $(XSLTPROC_MANPAGES_OPTIONS) \
-- $(MANPAGES_STYLESHEET) $<
diff --git a/sys-cluster/heartbeat/files/3.0.4-fix_configure.patch b/sys-cluster/heartbeat/files/3.0.4-fix_configure.patch
deleted file mode 100644
index 1df22b337c5a..000000000000
--- a/sys-cluster/heartbeat/files/3.0.4-fix_configure.patch
+++ /dev/null
@@ -1,110 +0,0 @@
---- Heartbeat-3-0-STABLE-3.0.4/configure.in 2010-12-09 21:09:47.000000000 +0100
-+++ Heartbeat-3-0-STABLE-3.0.4/configure.in 2010-12-28 17:37:45.080773140 +0100
-@@ -243,9 +243,9 @@
- mandir=`var "$mandir" "$exec_prefix/man"`
- dnl docdir is available in autoconf 2.60+, for older versions preseed
- dnl with the same value that 2.60+ uses
--docdir=`var "$docdir" "${datadir}/doc/${PACKAGE_NAME}"`
--libdir=`var "$libdir" "$exec_prefix/lib"`
--libexecdir=`var "$libexecdir" "$exec_prefix/libexec"`
-+dnl docdir=`var "$docdir" "${datadir}/doc/${PACKAGE_NAME}"`
-+dnl libdir=`var "$libdir" "$exec_prefix/lib"`
-+dnl libexecdir=`var "$libexecdir" "$exec_prefix/libexec"`
- noarchlibdir=`var "$noarchlibdir" "$prefix/lib"`
-
-
-@@ -284,59 +284,11 @@
- LIBC=`${LDD} ${tmpOutfile} | grep libc | sed -e 's%.*=> *%%' -e 's% .*$%%'`
- LibCdir=`dirname $LIBC`
- dirlist=`echo $LibCdir | tr '/' ' '`
-- LibDirSuffix=unknown
-- for dir in $dirlist
-- do
-- case $dir in
-- *lib*) LibDirSuffix=$dir; break;;
-- *);;
-- esac
-- done
-- case $LibDirSuffix in
-- unknown) LibDirSuffix=`basename $LibCdir`;;
-- esac
- OutFileType=`file $tmpOutfile`
- rm -f $tmpCfile $tmpOutfile
- else
- AC_MSG_ERROR([Cannot Compile trivial C program])
- fi
--#
--# The code above doesn't work right everywhere
--# (like Fedora and OpenBSD)
--#
--case ${LibDirSuffix} in
-- *lib*) : Cool;;
-- *) : Sigh...
-- case $OutFileType in
-- *64-bit*)
-- case $host_os in
-- openbsd*) LibDirSuffix=lib;;
-- *) LibDirSuffix=lib64;;
-- esac;;
-- *32-bit*) LibDirSuffix=lib;;
-- *) LibDirSuffix=lib;;
-- esac;;
--esac
--#
--# This may not yet be quite right for PPC where the default
--# is to produce 32-bit binaries, even though the OS is 64-bit
--# or for that matter for system Z, But, it's a lot better than
--# it used to be.
--#
--AC_MSG_RESULT($LibDirSuffix)
--
--case $libdir in
-- */*${LibDirSuffix}) : Cool ;;
-- *) : Uh Oh...
-- libdir=`dirname $libdir`/$LibDirSuffix
-- AC_MSG_WARN([Overriding libdir to: $libdir]);;
--esac
--case $libexecdir in
-- */$LibDirSuffix) : Cool ;;
-- *) : Uh Oh...
-- libexecdir=`dirname $libexecdir`/$LibDirSuffix
-- AC_MSG_WARN([Overriding libexecdir to: $libexecdir]);;
--esac
-
- for j in exec_prefix bindir sbindir datadir sysconfdir localstatedir \
- includedir oldincludedir mandir docdir stdocdir libdir noarchlibdir
-@@ -386,7 +338,6 @@
- fi
-
- AC_CHECK_HEADERS(heartbeat/glue_config.h)
--GLUE_HEADER=none
- if test "$ac_cv_header_heartbeat_glue_config_h" = "yes"; then
- GLUE_HEADER=heartbeat/glue_config.h
- else
-@@ -453,15 +404,6 @@
-
- dnl We use this in the RPM specfile...
- AC_SUBST(ac_configure_args)
--cleaned_configure_args=""
--for j in ${ac_configure_args}
--do
-- case $j in
-- *--libdir=*|*--libexecdir=*) ;;
-- *) cleaned_configure_args="$cleaned_configure_args $j";;
-- esac
--done
--AC_SUBST(cleaned_configure_args)
-
- dnl *************************************************************************
- PATH="$PATH:/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin"
---- Heartbeat-3-0-STABLE-3.0.5/configure.in 2011-12-28 11:51:05.601673071 +0100
-+++ Heartbeat-3-0-STABLE-3.0.5/configure.in 2011-12-28 11:54:34.223094385 +0100
-@@ -2002,7 +2002,7 @@
- fi
-
- if test "$GCC" = yes; then
-- CFLAGS="$CFLAGS -ggdb3"
-+ CFLAGS="$CFLAGS"
- if
- cc_supports_flag -funsigned-char
- then
diff --git a/sys-cluster/heartbeat/files/3.0.4-python_tests.patch b/sys-cluster/heartbeat/files/3.0.4-python_tests.patch
deleted file mode 100644
index e6e1071573a9..000000000000
--- a/sys-cluster/heartbeat/files/3.0.4-python_tests.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- a/cts/Makefile.am
-+++ b/cts/Makefile.am
-@@ -21,7 +21,7 @@
-
- ctsdir = @HA_NOARCHDATAHBDIR@/cts
-
--cts_PYTHON = \
-+cts_SCRIPTS = \
- CM_fs.py \
- CM_hb.py \
- CM_LinuxHAv2.py \
-@@ -32,14 +32,12 @@
- extracttests.py \
- getpeinputs.sh \
- OCFIPraTest.py \
-- CIB.py
-+ CIB.py \
-+ CTSproxy.py \
-+ LSBDummy
-
- cts_DATA = README
-
--cts_SCRIPTS = \
-- CTSproxy.py \
-- getpeinputs.sh \
-- LSBDummy
-
- all-local: $(cts_PYTHON)
-
diff --git a/sys-cluster/heartbeat/files/3.0.5-fix_ucast.patch b/sys-cluster/heartbeat/files/3.0.5-fix_ucast.patch
deleted file mode 100644
index 3bec9c89dd86..000000000000
--- a/sys-cluster/heartbeat/files/3.0.5-fix_ucast.patch
+++ /dev/null
@@ -1,145 +0,0 @@
-
-# HG changeset patch
-# User Lars Ellenberg <lars@linbit.com>
-# Date 1392200751 -3600
-# Node ID 37f57a36a2dd1abf8461a9b758e62f6fe7a22f77
-# Parent 6d4324633600dc7ae7aa08c56d86c2fcc767977f
-Medium: fix usage of SO_REUSEPORT in ucast sockets
-
-Linux learned SO_REUSEPORT only with kernel 3.9,
-but some linux headers already define SO_REUSEPORT.
-Which, on older kernels, will result in ENOPROTOOPT,
-"Protocol not available".
-
-Failure to set SO_REUSEPORT is NOT critical in general.
-It *may* be a problem on certain BSDs,
-with more than two nodes, all using ucast.
-
-Refusing to start because of failure to set SO_REUSEPORT is
-not helpful for the vast majority of the clusters out there.
-
-While at it, downgrade "critical" log messages to warnings
-in non-fatal situations.
-
---- a/lib/plugins/HBcomm/ucast.c
-+++ b/lib/plugins/HBcomm/ucast.c
-@@ -461,12 +461,6 @@ static int HB_make_send_sock(struct hb_m
- int sockfd;
- struct ip_private *ei;
- int tos;
--#if defined(SO_BINDTODEVICE)
-- struct ifreq i;
--#endif
--#if defined(SO_REUSEPORT)
-- int i = 1;
--#endif
-
- UCASTASSERT(mp);
- ei = (struct ip_private*)mp->pd;
-@@ -494,6 +488,7 @@ static int HB_make_send_sock(struct hb_m
-
- #if defined(SO_BINDTODEVICE)
- {
-+ struct ifreq i;
- /*
- * We want to send out this particular interface
- *
-@@ -515,12 +510,13 @@ static int HB_make_send_sock(struct hb_m
- #endif
- #if defined(SO_REUSEPORT)
- {
-+ int one = 1;
- /* this is for OpenBSD to allow multiple *
- * ucast connections, e.g. a more than *
- * two node cluster */
-
- if (setsockopt(sockfd, SOL_SOCKET, SO_REUSEPORT,
-- &i, sizeof(i)) == -1) {
-+ &one, sizeof(one)) == -1) {
- PILCallLog(LOG, PIL_CRIT,
- "ucast: error setting option SO_REUSEPORT(w): %s", strerror(errno));
- close(sockfd);
-@@ -548,7 +544,7 @@ static int HB_make_receive_sock(struct h
- int sockfd;
- int bindtries;
- int boundyet = 0;
-- int j;
-+ int one = 1;
-
- UCASTASSERT(mp);
- ei = (struct ip_private*)mp->pd;
-@@ -563,22 +559,19 @@ static int HB_make_receive_sock(struct h
- strerror(errno));
- return -1;
- }
-- /*
-- * Set SO_REUSEADDR on the server socket s. Variable j is used
-- * as a scratch varable.
-- *
-- * 16th February 2000
-- * Added by Horms <horms@vergenet.net>
-- * with thanks to Clinton Work <work@scripty.com>
-- */
-- j = 1;
-+ /*
-+ * Set SO_REUSEADDR on the server socket s.
-+ * Below, also try to set SO_REUSEPORT,
-+ * if known and supported.
-+ */
- if (setsockopt(sockfd, SOL_SOCKET, SO_REUSEADDR,
-- (void *)&j, sizeof j) < 0) {
-+ &one, sizeof(one)) < 0) {
- /* Ignore it. It will almost always be OK anyway. */
-- PILCallLog(LOG, PIL_CRIT,
-+ PILCallLog(LOG, PIL_WARN,
- "ucast: error setting socket option SO_REUSEADDR: %s",
- strerror(errno));
-- }
-+ } else
-+ PILCallLog(LOG, PIL_INFO, "ucast: set SO_REUSEADDR");
- #if defined(SO_BINDTODEVICE)
- {
- /*
-@@ -600,20 +593,32 @@ static int HB_make_receive_sock(struct h
- }
- #endif
- #if defined(SO_REUSEPORT)
-- {
-+ /*
-+ * Needed for OpenBSD for more than two nodes in a ucast cluster
-+ */
-+ if (setsockopt(sockfd, SOL_SOCKET, SO_REUSEPORT,
-+ &one, sizeof(one)) == -1) {
- /*
-- * Needed for OpenBSD for more than two nodes in a ucast cluster
-+ * Linux learned SO_REUSEPORT only with kernel 3.9,
-+ * but some linux headers already define SO_REUSEPORT.
-+ * Which will result in ENOPROTOOPT, "Protocol not available"
-+ * on older kernels.
-+ * Failure to set SO_REUSEPORT is NOT critical in general.
-+ * It *may* be a problem on certain BSDs with more than
-+ * two nodes all using ucast.
-+ * Refusing to start because of failure to set SO_REUSEPORT is
-+ * not helpful for the vast majority of the clusters out there.
- */
-- int i = 1;
-- if (setsockopt(sockfd, SOL_SOCKET, SO_REUSEPORT,
-- &i, sizeof(i)) == -1) {
-+ if (errno == ENOPROTOOPT) {
-+ PILCallLog(LOG, PIL_WARN,
-+ "ucast: error setting option SO_REUSEPORT: %s", strerror(errno));
-+ } else {
- PILCallLog(LOG, PIL_CRIT,
-- "ucast: error setting option SO_REUSEPORT(r) %s", strerror(errno));
-- close(sockfd);
-+ "ucast: error setting option SO_REUSEPORT: %s", strerror(errno));
- return -1;
- }
-- PILCallLog(LOG, PIL_INFO, "ucast: set SO_REUSEPORT(w)");
-- }
-+ } else
-+ PILCallLog(LOG, PIL_INFO, "ucast: set SO_REUSEPORT");
- #endif
-
- /* Try binding a few times before giving up */
-
diff --git a/sys-cluster/heartbeat/files/3.0.6-configure.patch b/sys-cluster/heartbeat/files/3.0.6-configure.patch
deleted file mode 100644
index 36054dd23d3b..000000000000
--- a/sys-cluster/heartbeat/files/3.0.6-configure.patch
+++ /dev/null
@@ -1,103 +0,0 @@
-diff -ru a/configure.ac b/configure.ac
---- a/configure.ac 2015-02-04 15:57:04.000000000 +0100
-+++ b/configure.ac 2017-04-25 13:33:58.668521006 +0200
-@@ -243,9 +243,9 @@
- mandir=`var "$mandir" "$exec_prefix/man"`
- dnl docdir is available in autoconf 2.60+, for older versions preseed
- dnl with the same value that 2.60+ uses
--docdir=`var "$docdir" "${datadir}/doc/${HB_PKG}"`
--libdir=`var "$libdir" "$exec_prefix/lib"`
--libexecdir=`var "$libexecdir" "$exec_prefix/libexec"`
-+dnl docdir=`var "$docdir" "${datadir}/doc/${PACKAGE_NAME}"`
-+dnl libdir=`var "$libdir" "$exec_prefix/lib"`
-+dnl libexecdir=`var "$libexecdir" "$exec_prefix/libexec"`
- noarchlibdir=`var "$noarchlibdir" "$prefix/lib"`
-
-
-@@ -284,53 +284,12 @@
- LIBC=`${LDD} ${tmpOutfile} | grep libc | sed -e 's%.*=> *%%' -e 's% .*$%%'`
- LibCdir=`dirname $LIBC`
- dirlist=`echo $LibCdir | tr '/' ' '`
-- LibDirSuffix=unknown
-- for dir in $dirlist
-- do
-- case $dir in
-- *lib*) LibDirSuffix=$dir; break;;
-- *);;
-- esac
-- done
-- case $LibDirSuffix in
-- unknown) LibDirSuffix=`basename $LibCdir`;;
-- esac
- OutFileType=`file $tmpOutfile`
- rm -f $tmpCfile $tmpOutfile
- else
- AC_MSG_ERROR([Cannot Compile trivial C program])
- fi
--#
--# The code above doesn't work right everywhere
--# (like Fedora and OpenBSD)
--#
--case ${LibDirSuffix} in
-- *lib*) : Cool;;
-- *) : Sigh...
-- case $OutFileType in
-- *64-bit*)
-- case $host_os in
-- openbsd*) LibDirSuffix=lib;;
-- *) LibDirSuffix=lib64;;
-- esac;;
-- *32-bit*) LibDirSuffix=lib;;
-- *) LibDirSuffix=lib;;
-- esac;;
--esac
--#
--# This may not yet be quite right for PPC where the default
--# is to produce 32-bit binaries, even though the OS is 64-bit
--# or for that matter for system Z, But, it's a lot better than
--# it used to be.
--#
--AC_MSG_RESULT($LibDirSuffix)
-
--case $libdir in
-- */*${LibDirSuffix}) : Cool ;;
-- *) : Uh Oh...
-- libdir=`dirname $libdir`/$LibDirSuffix
-- AC_MSG_WARN([Overriding libdir to: $libdir]);;
--esac
- for j in exec_prefix bindir sbindir datadir sysconfdir localstatedir \
- includedir oldincludedir mandir docdir stdocdir libdir noarchlibdir
- do
-@@ -379,7 +338,6 @@
- fi
-
- AC_CHECK_HEADERS(heartbeat/glue_config.h)
--GLUE_HEADER=none
- if test "$ac_cv_header_heartbeat_glue_config_h" = "yes"; then
- GLUE_HEADER=heartbeat/glue_config.h
- else
-@@ -463,15 +421,6 @@
-
- dnl We use this in the RPM specfile...
- AC_SUBST(ac_configure_args)
--cleaned_configure_args=""
--for j in ${ac_configure_args}
--do
-- case $j in
-- *--libdir=*|*--libexecdir=*) ;;
-- *) cleaned_configure_args="$cleaned_configure_args $j";;
-- esac
--done
--AC_SUBST(cleaned_configure_args)
-
- dnl *************************************************************************
- PATH="$PATH:/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin"
-@@ -2087,7 +2036,7 @@
- fi
-
- if test "$GCC" = yes; then
-- CFLAGS="$CFLAGS -ggdb3"
-+ CFLAGS="$CFLAGS"
- if
- cc_supports_flag -funsigned-char
- then
diff --git a/sys-cluster/heartbeat/files/3.0.6-docs.patch b/sys-cluster/heartbeat/files/3.0.6-docs.patch
deleted file mode 100644
index 7c5c9573109f..000000000000
--- a/sys-cluster/heartbeat/files/3.0.6-docs.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-diff -ru a/configure.ac b/configure.ac
---- a/configure.ac 2015-02-04 15:57:04.000000000 +0100
-+++ b/configure.ac 2017-04-25 11:57:33.706753890 +0200
-@@ -574,8 +574,14 @@
- AC_PATH_PROGS(TEST, test)
- PKG_PROG_PKG_CONFIG
-
--dnl xsltproc is required for building the man pages
--AC_PATH_PROGS(XSLTPROC, xsltproc)
-+AC_ARG_ENABLE([doc],
-+ AS_HELP_STRING([--enable-doc],[Build documentation]
-+))
-+AS_IF([test "x$enable_doc" = "xyes"], [
-+ AC_PATH_PROGS(XSLTPROC, xsltproc)
-+])
-+AM_CONDITIONAL([BUILD_DOC], [test "x$enable_doc" = "xyes"] )
-+AC_SUBST(XSLTPROC)
-
- dnl ************************************************************************
- dnl Check whether non-root user can chown.
-diff -ru a/doc/Makefile.am b/doc/Makefile.am
---- a/doc/Makefile.am 2015-02-04 15:57:04.000000000 +0100
-+++ b/doc/Makefile.am 2017-04-25 11:58:35.459257834 +0200
-@@ -33,11 +33,12 @@
-
- doc_DATA = $(OTHER_DOCS)
-
-+if BUILD_DOC
- man_MANS = heartbeat.8 apphbd.8 cl_status.1 \
- hb_standby.1 hb_takeover.1 hb_addnode.1 hb_delnode.1 \
- ha.cf.5 authkeys.5
-
--STYLESHEET_PREFIX ?= http://docbook.sourceforge.net/release/xsl/current
-+STYLESHEET_PREFIX ?= /usr/share/sgml/docbook/xsl-stylesheets
- MANPAGES_STYLESHEET ?= $(STYLESHEET_PREFIX)/manpages/docbook.xsl
- HTML_STYLESHEET ?= $(STYLESHEET_PREFIX)/xhtml/docbook.xsl
- FO_STYLESHEET ?= $(STYLESHEET_PREFIX)/fo/docbook.xsl
-@@ -47,6 +48,12 @@
- XSLTPROC_HTML_OPTIONS ?= $(XSLTPROC_OPTIONS)
- XSLTPROC_FO_OPTIONS ?= $(XSLTPROC_OPTIONS)
-
-+%.5 %.8 %.1: %.xml
-+ $(XSLTPROC) \
-+ $(XSLTPROC_MANPAGES_OPTIONS) \
-+ $(MANPAGES_STYLESHEET) $<
-+endif
-+
- EXTRA_DIST = $(txtfiles) $(htmlfiles) $(man_MANS) $(OTHER_DOCS)
-
- ChangeLog: $(SPECSRC)
-@@ -55,8 +62,3 @@
-
- .html.txt:
- if [ "X$(HTML2TXT)" = "X" ]; then echo "Lynx or w3m or user-defined HTML2TXT required to convert $< to $@" >$@ ; else $(HTML2TXT) -dump $< >$@ ; fi
--
--%.5 %.8 %.1: %.xml
-- $(XSLTPROC) \
-- $(XSLTPROC_MANPAGES_OPTIONS) \
-- $(MANPAGES_STYLESHEET) $<
diff --git a/sys-cluster/heartbeat/files/3.0.6-r1-configure.patch b/sys-cluster/heartbeat/files/3.0.6-r1-configure.patch
deleted file mode 100644
index ab24282e4208..000000000000
--- a/sys-cluster/heartbeat/files/3.0.6-r1-configure.patch
+++ /dev/null
@@ -1,102 +0,0 @@
-diff -ru a/configure.ac b/configure.ac
---- a/configure.ac 2015-02-04 15:57:04.000000000 +0100
-+++ b/configure.ac 2017-04-25 13:33:58.668521006 +0200
-@@ -243,9 +243,9 @@
- mandir=`var "$mandir" "$exec_prefix/man"`
- dnl docdir is available in autoconf 2.60+, for older versions preseed
- dnl with the same value that 2.60+ uses
--docdir=`var "$docdir" "${datadir}/doc/${HB_PKG}"`
--libdir=`var "$libdir" "$exec_prefix/lib"`
-+dnl docdir=`var "$docdir" "${datadir}/doc/${PACKAGE_NAME}"`
-+dnl libdir=`var "$libdir" "$exec_prefix/lib"`
- libexecdir=`var "$libexecdir" "$exec_prefix/libexec"`
- noarchlibdir=`var "$noarchlibdir" "$prefix/lib"`
-
-
-@@ -284,53 +284,12 @@
- LIBC=`${LDD} ${tmpOutfile} | grep libc | sed -e 's%.*=> *%%' -e 's% .*$%%'`
- LibCdir=`dirname $LIBC`
- dirlist=`echo $LibCdir | tr '/' ' '`
-- LibDirSuffix=unknown
-- for dir in $dirlist
-- do
-- case $dir in
-- *lib*) LibDirSuffix=$dir; break;;
-- *);;
-- esac
-- done
-- case $LibDirSuffix in
-- unknown) LibDirSuffix=`basename $LibCdir`;;
-- esac
- OutFileType=`file $tmpOutfile`
- rm -f $tmpCfile $tmpOutfile
- else
- AC_MSG_ERROR([Cannot Compile trivial C program])
- fi
--#
--# The code above doesn't work right everywhere
--# (like Fedora and OpenBSD)
--#
--case ${LibDirSuffix} in
-- *lib*) : Cool;;
-- *) : Sigh...
-- case $OutFileType in
-- *64-bit*)
-- case $host_os in
-- openbsd*) LibDirSuffix=lib;;
-- *) LibDirSuffix=lib64;;
-- esac;;
-- *32-bit*) LibDirSuffix=lib;;
-- *) LibDirSuffix=lib;;
-- esac;;
--esac
--#
--# This may not yet be quite right for PPC where the default
--# is to produce 32-bit binaries, even though the OS is 64-bit
--# or for that matter for system Z, But, it's a lot better than
--# it used to be.
--#
--AC_MSG_RESULT($LibDirSuffix)
-
--case $libdir in
-- */*${LibDirSuffix}) : Cool ;;
-- *) : Uh Oh...
-- libdir=`dirname $libdir`/$LibDirSuffix
-- AC_MSG_WARN([Overriding libdir to: $libdir]);;
--esac
- for j in exec_prefix bindir sbindir datadir sysconfdir localstatedir \
- includedir oldincludedir mandir docdir stdocdir libdir noarchlibdir
- do
-@@ -379,7 +338,6 @@
- fi
-
- AC_CHECK_HEADERS(heartbeat/glue_config.h)
--GLUE_HEADER=none
- if test "$ac_cv_header_heartbeat_glue_config_h" = "yes"; then
- GLUE_HEADER=heartbeat/glue_config.h
- else
-@@ -463,15 +421,6 @@
-
- dnl We use this in the RPM specfile...
- AC_SUBST(ac_configure_args)
--cleaned_configure_args=""
--for j in ${ac_configure_args}
--do
-- case $j in
-- *--libdir=*|*--libexecdir=*) ;;
-- *) cleaned_configure_args="$cleaned_configure_args $j";;
-- esac
--done
--AC_SUBST(cleaned_configure_args)
-
- dnl *************************************************************************
- PATH="$PATH:/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin"
-@@ -2087,7 +2036,7 @@
- fi
-
- if test "$GCC" = yes; then
-- CFLAGS="$CFLAGS -ggdb3"
-+ CFLAGS="$CFLAGS"
- if
- cc_supports_flag -funsigned-char
- then
diff --git a/sys-cluster/heartbeat/files/3.0.6-r1-heartbeat-init b/sys-cluster/heartbeat/files/3.0.6-r1-heartbeat-init
deleted file mode 100644
index 5e15b322f503..000000000000
--- a/sys-cluster/heartbeat/files/3.0.6-r1-heartbeat-init
+++ /dev/null
@@ -1,95 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-HA_DIR=/etc/ha.d
-. $HA_DIR/shellfuncs
-HA_DAEMON_DIR=/usr/libexec/heartbeat
-HA_LIB_DIR=/usr/lib/heartbeat
-HA_SHARE_DIR=/usr/share/heartbeat
-
-depend() {
- use logger
- need net
-}
-
-opts="start stop status reload restart"
-
-CheckBool() {
- case `echo "$1" | tr A-Z a-z` in
- y|yes|enable|on|true|1) true;;
- *) false;;
- esac
-}
-
-# Run pre-startup script if it exists
-RunStartStop() {
- [ -f $HA_DIR/resource.d/startstop ] && $HA_DIR/resource.d/startstop "$@"
-}
-
-start() {
- checkpath -q -d -m 0755 -o root:root /var/run/heartbeat
-
- ebegin "Starting heartbeat"
-
- . $HA_DIR/shellfuncs
-
- # start the log subsystem
- CheckBool "`ha_parameter use_logd`" && \
- ( ${HA_LIB_DIR}/ha_logd -s &>/dev/null || \
- ${HA_LIB_DIR}/ha_logd -d -c /etc/ha.d/ha_logd.cf)
-
- RunStartStop pre-start
-
- CheckBool "`ha_parameter crm`" || \
- ${HA_SHARE_DIR}/ResourceManager verifyallidle
-
- ${HA_DAEMON_DIR}/heartbeat &>/dev/null
- ret=$?
-
- RunStartStop post-start
-
- eend ${ret}
-}
-
-stop() {
- ebegin "Stopping heartbeat"
-
- RunStartStop pre-stop
-
- ${HA_DAEMON_DIR}/heartbeat -k &>/dev/null
- ret=$?
-
- RunStartStop post-stop ${ret}
-
- # stop log subsystem
- CheckBool "`ha_parameter use_logd`" && \
- ( ${HA_LIB_DIR}/ha_logd -s &>/dev/null && \
- ${HA_LIB_DIR}/ha_logd -k &>/dev/null )
-
- eend ${ret}
-}
-
-status() {
- ${HA_DAEMON_DIR}/heartbeat -s
-}
-
-reload() {
- ebegin "Reloading heartbeat"
- ${HA_DAEMON_DIR}/heartbeat -r &>/dev/null
- eend $?
-}
-
-restart() {
- . $HA_DIR/shellfuncs
-
- sleeptime=$(( `ha_parameter deadtime` + 10 ))
-
- svc_stop
-
- ebegin " waiting ${sleeptime}s to allow resource takeover to complete"
- sleep ${sleeptime}
- eend 0
-
- svc_start
-}
diff --git a/sys-cluster/heartbeat/files/heartbeat-init b/sys-cluster/heartbeat/files/heartbeat-init
deleted file mode 100644
index 9316fcc81e8f..000000000000
--- a/sys-cluster/heartbeat/files/heartbeat-init
+++ /dev/null
@@ -1,92 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-HA_DIR=/etc/ha.d
-. $HA_DIR/shellfuncs
-
-depend() {
- use logger
- need net
-}
-
-opts="start stop status reload restart"
-
-CheckBool() {
- case `echo "$1" | tr A-Z a-z` in
- y|yes|enable|on|true|1) true;;
- *) false;;
- esac
-}
-
-# Run pre-startup script if it exists
-RunStartStop() {
- [ -f $HA_DIR/resource.d/startstop ] && $HA_DIR/resource.d/startstop "$@"
-}
-
-start() {
- checkpath -q -d -m 0755 -o root:root /var/run/heartbeat
-
- ebegin "Starting heartbeat"
-
- . $HA_DIR/shellfuncs
-
- # start the log subsystem
- CheckBool "`ha_parameter use_logd`" && \
- ( /usr/lib/heartbeat/ha_logd -s &>/dev/null || \
- /usr/lib/heartbeat/ha_logd -d -c /etc/ha.d/ha_logd.cf)
-
- RunStartStop pre-start
-
- CheckBool "`ha_parameter crm`" || \
- /usr/lib/heartbeat/ResourceManager verifyallidle
-
- /usr/lib/heartbeat/heartbeat &>/dev/null
- ret=$?
-
- RunStartStop post-start
-
- eend ${ret}
-}
-
-stop() {
- ebegin "Stopping heartbeat"
-
- RunStartStop pre-stop
-
- /usr/lib/heartbeat/heartbeat -k &>/dev/null
- ret=$?
-
- RunStartStop post-stop ${ret}
-
- # stop log subsystem
- CheckBool "`ha_parameter use_logd`" && \
- ( /usr/lib/heartbeat/ha_logd -s &>/dev/null && \
- /usr/lib/heartbeat/ha_logd -k &>/dev/null )
-
- eend ${ret}
-}
-
-status() {
- /usr/lib/heartbeat/heartbeat -s
-}
-
-reload() {
- ebegin "Reloading heartbeat"
- /usr/lib/heartbeat/heartbeat -r &>/dev/null
- eend $?
-}
-
-restart() {
- . $HA_DIR/shellfuncs
-
- sleeptime=$(( `ha_parameter deadtime` + 10 ))
-
- svc_stop
-
- ebegin " waiting ${sleeptime}s to allow resource takeover to complete"
- sleep ${sleeptime}
- eend 0
-
- svc_start
-}
diff --git a/sys-cluster/heartbeat/heartbeat-3.0.5-r3.ebuild b/sys-cluster/heartbeat/heartbeat-3.0.5-r3.ebuild
deleted file mode 100644
index d0a16996c2b3..000000000000
--- a/sys-cluster/heartbeat/heartbeat-3.0.5-r3.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-PYTHON_COMPAT=( python2_7 )
-inherit autotools python-single-r1
-
-DESCRIPTION="Heartbeat high availability cluster manager"
-HOMEPAGE="http://www.linux-ha.org/wiki/Heartbeat"
-SRC_URI="http://hg.linux-ha.org/${PN}-STABLE_3_0/archive/STABLE-${PV}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 hppa x86"
-IUSE="doc snmp static-libs"
-
-RDEPEND="sys-cluster/cluster-glue
- dev-libs/glib:2
- virtual/ssh
- net-libs/gnutls
- snmp? ( net-analyzer/net-snmp )
- ${PYTHON_DEPS}
-"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- dev-lang/swig
- doc? ( dev-libs/libxslt app-text/docbook-xsl-stylesheets )"
-
-PDEPEND="sys-cluster/resource-agents"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-S=${WORKDIR}/Heartbeat-3-0-STABLE-${PV}
-
-PATCHES=(
- "${FILESDIR}/3.0.4-fix_configure.patch"
- "${FILESDIR}/3.0.4-docs.patch"
- "${FILESDIR}/3.0.4-python_tests.patch"
- "${FILESDIR}/3.0.5-fix_ucast.patch"
-)
-
-pkg_setup() {
- python-single-r1_pkg_setup
-
- ewarn "If you're upgrading from heartbeat-2.x please follow:"
- ewarn "https://www.gentoo.org/proj/en/cluster/ha-cluster/heartbeat-upgrade.xml"
-}
-
-src_prepare() {
- default
- eautoreconf
-
- cp "${FILESDIR}"/heartbeat-init "${WORKDIR}" || die
- sed -i \
- -e "/ResourceManager/ s/lib/share/" \
- -e "s:lib:$(get_libdir):g" \
- "${WORKDIR}"/heartbeat-init || die
-}
-
-src_configure() {
- econf \
- --disable-fatal-warnings \
- $(use_enable static-libs static) \
- $(use_enable doc) \
- --disable-tipc \
- --enable-dopd \
- $(use_enable snmp)
-}
-
-src_install() {
- default
-
- newinitd "${WORKDIR}/heartbeat-init" heartbeat
-
- # fix collisions
- rm -rf "${D}"/usr/include/heartbeat/{compress,ha_msg}.h || die
-
- if ! use static-libs; then
- find "${D}" -name "*.la" -delete || die
- fi
-
- if use doc ; then
- dodoc README doc/*.txt doc/AUTHORS
- fi
-}
diff --git a/sys-cluster/heartbeat/heartbeat-3.0.6-r1.ebuild b/sys-cluster/heartbeat/heartbeat-3.0.6-r1.ebuild
deleted file mode 100644
index 26457bab784e..000000000000
--- a/sys-cluster/heartbeat/heartbeat-3.0.6-r1.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python2_7 )
-
-inherit autotools python-single-r1
-
-DESCRIPTION="Heartbeat high availability cluster manager"
-HOMEPAGE="http://www.linux-ha.org/wiki/Heartbeat"
-SRC_URI="http://hg.linux-ha.org/${PN}-STABLE_3_0/archive/STABLE-${PV}.tar.bz2 -> ${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
-IUSE="doc snmp static-libs"
-
-RDEPEND="sys-cluster/cluster-glue
- dev-libs/glib:2
- virtual/ssh
- net-libs/gnutls
- snmp? ( net-analyzer/net-snmp )
- ${PYTHON_DEPS}
-"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- dev-lang/swig
- doc? ( dev-libs/libxslt app-text/docbook-xsl-stylesheets )"
-
-PDEPEND="sys-cluster/resource-agents"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-S=${WORKDIR}/Heartbeat-3-0-STABLE-${PV}
-
-PATCHES=(
- "${FILESDIR}/3.0.6-r1-configure.patch"
- "${FILESDIR}/3.0.6-docs.patch"
- "${FILESDIR}/3.0.4-python_tests.patch"
-)
-
-pkg_setup() {
- python-single-r1_pkg_setup
-
- ewarn "If you're upgrading from heartbeat-2.x please follow:"
- ewarn "https://www.gentoo.org/proj/en/cluster/ha-cluster/heartbeat-upgrade.xml"
-}
-
-src_prepare() {
- default
- eautoreconf
-
- cp "${FILESDIR}"/3.0.6-r1-heartbeat-init "${WORKDIR}"/heartbeat-init || die
- sed -i \
- -e "s:HA_LIB_DIR=/usr/lib/:HA_LIB_DIR=/usr/$(get_libdir)/:g" \
- "${WORKDIR}"/heartbeat-init || die
-}
-
-src_configure() {
- econf \
- --disable-fatal-warnings \
- $(use_enable static-libs static) \
- $(use_enable doc) \
- --disable-tipc \
- --enable-dopd \
- $(use_enable snmp)
-}
-
-src_install() {
- default
-
- newinitd "${WORKDIR}/heartbeat-init" heartbeat
-
- # fix collisions
- rm -rf "${D}"/usr/include/heartbeat/{compress,ha_msg}.h || die
-
- if ! use static-libs; then
- find "${D}" -name "*.la" -delete || die
- fi
-
- if use doc ; then
- dodoc README doc/*.txt doc/AUTHORS
- fi
-}
diff --git a/sys-cluster/heartbeat/heartbeat-3.0.6.ebuild b/sys-cluster/heartbeat/heartbeat-3.0.6.ebuild
deleted file mode 100644
index 1d86b2f1ab01..000000000000
--- a/sys-cluster/heartbeat/heartbeat-3.0.6.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python2_7 )
-
-inherit autotools python-single-r1
-
-DESCRIPTION="Heartbeat high availability cluster manager"
-HOMEPAGE="http://www.linux-ha.org/wiki/Heartbeat"
-SRC_URI="http://hg.linux-ha.org/${PN}-STABLE_3_0/archive/STABLE-${PV}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
-IUSE="doc snmp static-libs"
-
-RDEPEND="sys-cluster/cluster-glue
- dev-libs/glib:2
- virtual/ssh
- net-libs/gnutls
- snmp? ( net-analyzer/net-snmp )
- ${PYTHON_DEPS}
-"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- dev-lang/swig
- doc? ( dev-libs/libxslt app-text/docbook-xsl-stylesheets )"
-
-PDEPEND="sys-cluster/resource-agents"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-S=${WORKDIR}/Heartbeat-3-0-STABLE-${PV}
-
-PATCHES=(
- "${FILESDIR}/3.0.6-configure.patch"
- "${FILESDIR}/3.0.6-docs.patch"
- "${FILESDIR}/3.0.4-python_tests.patch"
-)
-
-pkg_setup() {
- python-single-r1_pkg_setup
-
- ewarn "If you're upgrading from heartbeat-2.x please follow:"
- ewarn "https://www.gentoo.org/proj/en/cluster/ha-cluster/heartbeat-upgrade.xml"
-}
-
-src_prepare() {
- default
- eautoreconf
-
- cp "${FILESDIR}"/heartbeat-init "${WORKDIR}" || die
- sed -i \
- -e "/ResourceManager/ s/lib/share/" \
- -e "s:lib:$(get_libdir):g" \
- "${WORKDIR}"/heartbeat-init || die
-}
-
-src_configure() {
- econf \
- --disable-fatal-warnings \
- $(use_enable static-libs static) \
- $(use_enable doc) \
- --disable-tipc \
- --enable-dopd \
- $(use_enable snmp)
-}
-
-src_install() {
- default
-
- newinitd "${WORKDIR}/heartbeat-init" heartbeat
-
- # fix collisions
- rm -rf "${D}"/usr/include/heartbeat/{compress,ha_msg}.h || die
-
- if ! use static-libs; then
- find "${D}" -name "*.la" -delete || die
- fi
-
- if use doc ; then
- dodoc README doc/*.txt doc/AUTHORS
- fi
-}
diff --git a/sys-cluster/heartbeat/metadata.xml b/sys-cluster/heartbeat/metadata.xml
deleted file mode 100644
index f3834ba82253..000000000000
--- a/sys-cluster/heartbeat/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>cluster@gentoo.org</email>
- <name>Gentoo Cluster Project</name>
- </maintainer>
-</pkgmetadata>