summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2010-06-21 14:35:34 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2010-06-21 14:35:34 +0000
commitde915059c9a1e73fdf3df4795ad8291a47bd22af (patch)
tree35bfb29d8a8a70c7b23a1a5f29f1feff9b269941 /sys-cluster/heartbeat
parentVersion Bump, fixing bug 212689, 232292, 246414, thanks rei4dan for working o... (diff)
downloadhistorical-de915059c9a1e73fdf3df4795ad8291a47bd22af.tar.gz
historical-de915059c9a1e73fdf3df4795ad8291a47bd22af.tar.bz2
historical-de915059c9a1e73fdf3df4795ad8291a47bd22af.zip
Version bump.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'sys-cluster/heartbeat')
-rw-r--r--sys-cluster/heartbeat/ChangeLog11
-rw-r--r--sys-cluster/heartbeat/Manifest19
-rw-r--r--sys-cluster/heartbeat/files/3.0.3-docs.patch57
-rw-r--r--sys-cluster/heartbeat/files/3.0.3-fix_configure.patch102
-rw-r--r--sys-cluster/heartbeat/files/3.0.3-python_tests.patch29
-rw-r--r--sys-cluster/heartbeat/heartbeat-3.0.3.ebuild81
6 files changed, 296 insertions, 3 deletions
diff --git a/sys-cluster/heartbeat/ChangeLog b/sys-cluster/heartbeat/ChangeLog
index 6a19ae44dedf..f5dce8791cf8 100644
--- a/sys-cluster/heartbeat/ChangeLog
+++ b/sys-cluster/heartbeat/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-cluster/heartbeat
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/ChangeLog,v 1.81 2009/11/18 17:36:35 ssuominen Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/ChangeLog,v 1.82 2010/06/21 14:35:33 xarthisius Exp $
+
+*heartbeat-3.0.3 (21 Jun 2010)
+
+ 21 Jun 2010; Kacper Kowalik <xarthisius@gentoo.org>
+ +files/3.0.3-docs.patch, +files/3.0.3-fix_configure.patch,
+ +files/3.0.3-python_tests.patch, +heartbeat-3.0.3.ebuild:
+ Version bump.
18 Nov 2009; Samuli Suominen <ssuominen@gentoo.org>
heartbeat-2.0.8.ebuild, +files/heartbeat-2.0.8-asneeded.patch:
diff --git a/sys-cluster/heartbeat/Manifest b/sys-cluster/heartbeat/Manifest
index 5b216031043a..98b4ebcb761d 100644
--- a/sys-cluster/heartbeat/Manifest
+++ b/sys-cluster/heartbeat/Manifest
@@ -1,9 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX 3.0.3-docs.patch 1728 RMD160 95e043df6208ce0899e5473e5e34d63cf49face6 SHA1 46a19d06b9cf06f72a3f5292c2083ff21cbec69b SHA256 035698b8a53e7a59a29a1bf81e64f96c56f6b231d195da85d107985303fe0fe0
+AUX 3.0.3-fix_configure.patch 2884 RMD160 5e89cbcd5e5231fc45e1d408239147d3282f819c SHA1 1663dd485d14d87459b93911b0ce7a9ac2f9a248 SHA256 cd24c4cfe0a5905837e9daf5643456caba46a53872fce8cfa566608c37403ad8
+AUX 3.0.3-python_tests.patch 464 RMD160 f89b045be69ade44f454330ec6940fdaa80b863d SHA1 3fbd36b9f433b1b2ae3f40e620bb7b2f8bab98d4 SHA256 4adecb3af45c651bd28bc315e1e8607c2a1829a7295b155e1ad61e65afe0efaf
AUX heartbeat-2.0.7-update-resources-failcount.patch 6648 RMD160 71e59accbad7883af4dae8d129ff15cdb59105fc SHA1 cc644a7d69c3d999bc440083723951cce1011b67 SHA256 0a08f4e45037724a3cc0877a16452d351535cee2d43dcb4a4bbd47c6c9ab7f3f
AUX heartbeat-2.0.8-asneeded.patch 2605 RMD160 ba2280ad11d37d123d1a7310cb23e55911aa14b1 SHA1 a864ead82e18c9a7722aa5021e11b7c951abebd0 SHA256 669b0b63c7f5b53671f110d33a0922e1b89fa3ceb6ae1fb44f4a674375778231
AUX heartbeat-2.0.8-crm-leaks.patch 16011 RMD160 f5cd30e246a36329d2fb81d798c0c07b21a71645 SHA1 583882aa32fe4168392699dfefc03557a11af5da SHA256 559d192f47de95288d7a09c4d669801b623ab47b1ad39104ddde6d2d86b9bba0
AUX heartbeat-2.0.8-delay.patch 328 RMD160 fa5b28027ee1ddaed4b3938326bf33ea156b1b6e SHA1 ec5f8f59390644e12c6f1f93e96871a6887f1596 SHA256 65afacc1a2b73170cd0167cee14eb280128de1dbcb5c59249d40be81737c024c
AUX heartbeat-2.0.8-glibc.patch 532 RMD160 16e4fff7ccb75ac06c804998a8e92d4576dfee50 SHA1 183a7018eeef4c08187b9e858bda20f5312180de SHA256 786b9e86d7f6917f11bcbe0ee2a18a908ee2bae70fd3276c39540992677227ca
AUX heartbeat-init 1770 RMD160 583e9081777c7143b0376a04150f1e125e63cd69 SHA1 2f6b3d17a335b99bc64eedf945490eb40c44fc23 SHA256 18c4dce7af12445ff207fabab83c70665b9724da224cb75b56d27a057ebb2f26
+DIST STABLE-3.0.3.tar.bz2 536734 RMD160 5a63e8de46fc080b9b891d1f8cad4631340dd641 SHA1 3b21e28b7c957226db01539cde30bb3f29869aaf SHA256 d31473ae0e2be22410d594d6286a26d630195b9467810b97975b077be189a9a8
DIST heartbeat-1.2.5.tar.gz 2107371 RMD160 0e94fa64339b9b77e11ffe92cffa66fef4f4f2b0 SHA1 eeea454bcf0e12dd1135f6544c95584fa2e66770 SHA256 46f88a69324012317a4426dc93654ab28947b77675826686624d15cd5a4e357f
DIST heartbeat-2.0.7.tar.gz 3327126 RMD160 8fe70e64fc6714fef4e501ae0b240d870a51cf75 SHA1 c0caf848b90d2fc76e0a390aaf59352d580d714a SHA256 008214f51fd0c49e168d1bb262cb5c967bc166f99d0c8ff3a2623c8ba51a0ab3
DIST heartbeat-2.0.8.tar.gz 3502095 RMD160 76f3a56cbbafac8c35a87266b73d46a86de86feb SHA1 1805fc4c6218f05006c506d532728c6664d5a35c SHA256 b8425098e1243976f1e9deedfbf763fd42f0461bdd8933b0b8a94f0626912c91
@@ -11,5 +18,15 @@ EBUILD heartbeat-1.2.5-r1.ebuild 2036 RMD160 336e598ab184b9c95b24e245335f953c165
EBUILD heartbeat-1.2.5.ebuild 1986 RMD160 c42f9d01c43438c765bf4ef878d15cd1bbc39e0f SHA1 51b01db70e00ff119522f98df1548ef2045729e1 SHA256 0e8cf23a0b470931879f48ec67f30a4b36dd51802165f2e868cbcbd2bf56dcde
EBUILD heartbeat-2.0.7-r2.ebuild 3565 RMD160 2275d514ffee4b55d200316f5dcb67221f11061c SHA1 d728b403714f8344a8e4b87eff07865563b75aba SHA256 6f8523742df6c27727fc36965e5a174ccb9a7c190f524aae37f40426f58bf6a3
EBUILD heartbeat-2.0.8.ebuild 3971 RMD160 3403af471ac7da9a9656ad77faa9064c70b91190 SHA1 07ffcba570f0bf7dc4909477da0296880c4c82f4 SHA256 afc6d36d4503dd5bcc1a0c26522ad6bb3337d3e91eadf52c0761c5e53191f90c
-MISC ChangeLog 13098 RMD160 35aef3d73cede52bb2154361db423b762a135035 SHA1 2165aac7efef5f8c21b27f436c53b89ab2345eae SHA256 e2171830cd5bda96cd935250523dac08f5944fcc391c31f0356f6c0d42001acc
+EBUILD heartbeat-3.0.3.ebuild 1808 RMD160 f4fa7decc2289138961e329d218df7947803d369 SHA1 a048baa137ef40d4c150413f5bed954d9f2a0e55 SHA256 a798be23bf38f6eee832468c923cccff2a57519966b504618779225eb78624f7
+MISC ChangeLog 13323 RMD160 4080854bb9ea13d8b4f303a9672b7d90d83c9f1b SHA1 b72e3189f56a832dee70e950a6ea663497e7c285 SHA256 acda575d992a8d1d834ae6b5323fd67213faff6985db4d4a22907ce215a95a3d
MISC metadata.xml 533 RMD160 7e69dc1ae8397093dcc3ae717e578ae1cb0b522d SHA1 cf5d6f65fc453d8f99951cb853c1783ca22c62ee SHA256 8d29fb1d7f036f812707240c5d68cda93a2ccc6bf59c70625a7685597e1325ae
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.15 (GNU/Linux)
+
+iJwEAQECAAYFAkwfeL8ACgkQIiMqcbOVdxTYzwP+K2jZe/3SNLpF+5dFlaLwP6ht
+f+sZcMJw6zzyeJLx0KTDdujQ/hO7Qem+YEQRmCsQU1xUjGvsdEWrJslNqHYt2VnD
+pjw/E/U3KEU8mp5J6VdMEdotAh7ei058sQq5LNCjEbLlcntM8SBKGJ1o2xVtR6Tt
+7UhdtVwolY/F4MqhNIc=
+=uXyv
+-----END PGP SIGNATURE-----
diff --git a/sys-cluster/heartbeat/files/3.0.3-docs.patch b/sys-cluster/heartbeat/files/3.0.3-docs.patch
new file mode 100644
index 000000000000..3fdcfbda58ff
--- /dev/null
+++ b/sys-cluster/heartbeat/files/3.0.3-docs.patch
@@ -0,0 +1,57 @@
+--- configure.in
++++ 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.
+--- doc/Makefile.am
++++ 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.3-fix_configure.patch b/sys-cluster/heartbeat/files/3.0.3-fix_configure.patch
new file mode 100644
index 000000000000..3b41c83f5991
--- /dev/null
+++ b/sys-cluster/heartbeat/files/3.0.3-fix_configure.patch
@@ -0,0 +1,102 @@
+--- configure.in
++++ configure.in
+@@ -243,11 +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}"`
+-stdocdir="${docdir}/stonith"
+-libdir=`var "$libdir" "$exec_prefix/lib"`
+-libexecdir=`var "$libexecdir" "$exec_prefix/libexec"`
+-noarchlibdir=`var "$noarchlibdir" "$prefix/lib"`
++dnl docdir=`var "$docdir" "${datadir}/doc/${PACKAGE_NAME}"`
++dnl stdocdir="${docdir}/stonith"
++dnl libexecdir=`var "$libexecdir" "$exec_prefix/libexec"`
+
+
+
+@@ -285,60 +283,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
+ do
+@@ -387,7 +336,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
+@@ -454,15 +402,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"
diff --git a/sys-cluster/heartbeat/files/3.0.3-python_tests.patch b/sys-cluster/heartbeat/files/3.0.3-python_tests.patch
new file mode 100644
index 000000000000..a91c7ec3fe2a
--- /dev/null
+++ b/sys-cluster/heartbeat/files/3.0.3-python_tests.patch
@@ -0,0 +1,29 @@
+--- cts/Makefile.am
++++ 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/heartbeat-3.0.3.ebuild b/sys-cluster/heartbeat/heartbeat-3.0.3.ebuild
new file mode 100644
index 000000000000..902addc32037
--- /dev/null
+++ b/sys-cluster/heartbeat/heartbeat-3.0.3.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/heartbeat-3.0.3.ebuild,v 1.1 2010/06/21 14:35:33 xarthisius Exp $
+
+EAPI="2"
+
+PYTHON_DEPEND="2"
+inherit python autotools multilib eutils base
+
+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 ~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 )
+ dev-lang/swig
+ "
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+PDEPEND="sys-cluster/resource-agents"
+
+S="${WORKDIR}/Heartbeat-3-0-STABLE-${PV}"
+
+PATCHES=(
+ "${FILESDIR}/${PV}-fix_configure.patch"
+ "${FILESDIR}/${PV}-docs.patch"
+ "${FILESDIR}/${PV}-python_tests.patch"
+)
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ base_src_prepare
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ --disable-fatal-warnings \
+ $(use_enable static-libs static) \
+ $(use_enable doc) \
+ --disable-tipc \
+ --enable-libnet \
+ --enable-ipmilan \
+ --enable-dopd \
+ --libdir=/usr/$(get_libdir) \
+ --localstatedir=/var \
+ --docdir=/usr/share/doc/${PF} \
+ $(use_enable snmp) \
+ --with-group-id=65 --with-ccmuser-id=65
+}
+
+src_install() {
+ base_src_install
+
+ cp "${FILESDIR}"/heartbeat-init "${T}/" || die
+ sed -i \
+ -e "s:%libdir%:$(get_libdir):" \
+ "${T}/heartbeat-init" || die
+ newinitd "${T}/heartbeat-init" heartbeat || die
+
+ # fix collisions
+ rm -rf "${D}"/usr/include/heartbeat/{compress,ha_msg}.h
+
+ if use doc ; then
+ dodoc README doc/*.txt doc/AUTHORS || die
+ fi
+}