diff options
author | Brian Jackson <iggy@gentoo.org> | 2003-07-22 14:09:58 +0000 |
---|---|---|
committer | Brian Jackson <iggy@gentoo.org> | 2003-07-22 14:09:58 +0000 |
commit | 04e695bb6296251c416cc28e7a04007e3020d6f8 (patch) | |
tree | fa1ffa9c3858625adcf37e9dc7ae342218a79948 /sys-cluster/heartbeat | |
parent | added new init script to stable and beta ebuilds, version bumped beta ebuild (diff) | |
download | gentoo-2-04e695bb6296251c416cc28e7a04007e3020d6f8.tar.gz gentoo-2-04e695bb6296251c416cc28e7a04007e3020d6f8.tar.bz2 gentoo-2-04e695bb6296251c416cc28e7a04007e3020d6f8.zip |
added new init script to stable and beta ebuilds, version bumped beta ebuild
Diffstat (limited to 'sys-cluster/heartbeat')
-rw-r--r-- | sys-cluster/heartbeat/ChangeLog | 14 | ||||
-rw-r--r-- | sys-cluster/heartbeat/Manifest | 8 | ||||
-rw-r--r-- | sys-cluster/heartbeat/files/digest-heartbeat-1.0.3-r1 | 1 | ||||
-rw-r--r-- | sys-cluster/heartbeat/files/digest-heartbeat-1.1.2 | 1 | ||||
-rw-r--r-- | sys-cluster/heartbeat/files/heartbeat-init | 54 | ||||
-rw-r--r-- | sys-cluster/heartbeat/heartbeat-1.0.3-r1.ebuild | 35 | ||||
-rw-r--r-- | sys-cluster/heartbeat/heartbeat-1.0.3.ebuild | 4 | ||||
-rw-r--r-- | sys-cluster/heartbeat/heartbeat-1.1.2.ebuild | 35 |
8 files changed, 145 insertions, 7 deletions
diff --git a/sys-cluster/heartbeat/ChangeLog b/sys-cluster/heartbeat/ChangeLog index 024c9d69b093..913b44e176ec 100644 --- a/sys-cluster/heartbeat/ChangeLog +++ b/sys-cluster/heartbeat/ChangeLog @@ -1,6 +1,18 @@ # ChangeLog for sys-cluster/heartbeat # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/ChangeLog,v 1.3 2003/07/05 03:23:06 iggy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/ChangeLog,v 1.4 2003/07/22 14:09:23 iggy Exp $ + +*heartbeat-1.1.2 (22 Jul 2003) + + 22 Jul 2003; <iggy@gentoo.org> heartbeat-1.1.2.ebuild, + heartbeat-1.1.2.ebuild: + version bump the beta version of heartbeat, and add new init script + +*heartbeat-1.0.3-r1 (22 Jul 2003) + + 22 Jul 2003; <iggy@gentoo.org> heartbeat-1.0.3-r1.ebuild, + heartbeat-1.0.3.ebuild: + added new heartbeat init script 04 Jul 2003; ,,, <iggy@gentoo.org> heartbeat-1.0.3.ebuild, heartbeat-1.1.1.ebuild: diff --git a/sys-cluster/heartbeat/Manifest b/sys-cluster/heartbeat/Manifest index a40a003b8b04..0c7ff78031ec 100644 --- a/sys-cluster/heartbeat/Manifest +++ b/sys-cluster/heartbeat/Manifest @@ -1,9 +1,9 @@ -MD5 b905130daef8b737593f65f077644946 heartbeat-1.0.3-r1.ebuild 684 -MD5 c5bc648a26202ab37d1af273dee6b626 heartbeat-1.0.3.ebuild 618 +MD5 48977fb3cd832a30b0f4d9dd1aa4355a heartbeat-1.0.3-r1.ebuild 687 +MD5 6d9f7479c8a035bdb81cb1461a8a68e2 heartbeat-1.0.3.ebuild 618 MD5 40abdad5406a22ec918224bd8be52305 heartbeat-1.1.1.ebuild 619 -MD5 ed98d6434fb898cca020b39d8250f0aa ChangeLog 747 +MD5 6fa727d955c63787ee0d0fd0498a1b6b ChangeLog 933 MD5 5161e76bc0f80fa0964d4234bbd1b6f0 metadata.xml 418 -MD5 67b8c075c1f6f0b50e8eb0f9ea738ab4 heartbeat-1.1.2.ebuild 685 +MD5 d1e394332a7ae264dee6748643146381 heartbeat-1.1.2.ebuild 685 MD5 17bda87e72648bff482c04144ac9ed9d files/digest-heartbeat-1.0.3 68 MD5 8c8a4b3733ac7f91e9e3835a6f4d2a50 files/digest-heartbeat-1.1.1 68 MD5 771d80cc7931bc1b45cd6399ad4977b4 files/digest-heartbeat-1.1.2 68 diff --git a/sys-cluster/heartbeat/files/digest-heartbeat-1.0.3-r1 b/sys-cluster/heartbeat/files/digest-heartbeat-1.0.3-r1 new file mode 100644 index 000000000000..507bd1a3d4fa --- /dev/null +++ b/sys-cluster/heartbeat/files/digest-heartbeat-1.0.3-r1 @@ -0,0 +1 @@ +MD5 0453cb64e008d53b84b7f58e522d68c3 heartbeat-1.0.3.tar.gz 1100360 diff --git a/sys-cluster/heartbeat/files/digest-heartbeat-1.1.2 b/sys-cluster/heartbeat/files/digest-heartbeat-1.1.2 new file mode 100644 index 000000000000..3d59bbd7adb7 --- /dev/null +++ b/sys-cluster/heartbeat/files/digest-heartbeat-1.1.2 @@ -0,0 +1 @@ +MD5 47c4c9979b95b179cb76c918fcf085b2 heartbeat-1.1.2.tar.gz 1149722 diff --git a/sys-cluster/heartbeat/files/heartbeat-init b/sys-cluster/heartbeat/files/heartbeat-init new file mode 100644 index 000000000000..3eba095b245b --- /dev/null +++ b/sys-cluster/heartbeat/files/heartbeat-init @@ -0,0 +1,54 @@ +#!/sbin/runscript +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later + +HA_DIR=/etc/ha.d + +depend() { + use logger + need net +} + +checkconfig() { + [ ! -f /etc/ha.d/ha.cf ] && \ + eerror "You need a heartbeat config file" && return 1 + + if [ -f $HA_DIR/ipresources -a ! -f $HA_DIR/haresources ] ; then + cat $HA_DIR/ipresources >> $HA_DIR/haresources + fi +} + +# Run pre-startup script if it exists +RunStartStop() { + + [ -f $HA_DIR/resource.d/startstop ] && $HA_DIR/resource.d/startstop "$@" + +} + +start() { + checkconfig + ebegin "Starting Heartbeat" + + RunStartStop pre-start + + /usr/bin/heartbeat 2>&1 + /usr/bin/ResourceManager verifyallidle + + RunStartStop post-start + + eend $? +} + +stop() { + ebegin "Stopping Heartbeat" + /usr/bin/heartbeat -k &> /dev/null + eend $? +} + +restart() { + heartbeat -r +} + +status() { + heartbeat -s +} diff --git a/sys-cluster/heartbeat/heartbeat-1.0.3-r1.ebuild b/sys-cluster/heartbeat/heartbeat-1.0.3-r1.ebuild new file mode 100644 index 000000000000..811ccdb4bf2c --- /dev/null +++ b/sys-cluster/heartbeat/heartbeat-1.0.3-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/heartbeat-1.0.3-r1.ebuild,v 1.1 2003/07/22 14:09:23 iggy Exp $ + +DESCRIPTION="Heartbeat high availability cluster manager" +HOMEPAGE="http://www.linux-ha.org" +SRC_URI="http://www.linux-ha.org/download/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" + +KEYWORDS="x86" + +IUSE="" + +DEPEND="dev-libs/popt + dev-libs/glib + net-libs/libnet + snmp? ( virtual/snmp )" + +src_compile() { + + econf || die + + emake || die + +} + +src_install() { + + make DESTDIR=${D} install || die + exeinto /etc/init.d + newexe ${FILESDIR}/heartbeat-init heartbeat + +} diff --git a/sys-cluster/heartbeat/heartbeat-1.0.3.ebuild b/sys-cluster/heartbeat/heartbeat-1.0.3.ebuild index 59b1c642b5ad..514e60db3b96 100644 --- a/sys-cluster/heartbeat/heartbeat-1.0.3.ebuild +++ b/sys-cluster/heartbeat/heartbeat-1.0.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/heartbeat-1.0.3.ebuild,v 1.2 2003/07/05 03:23:06 iggy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/heartbeat-1.0.3.ebuild,v 1.3 2003/07/22 14:09:23 iggy Exp $ DESCRIPTION="Heartbeat high availability cluster manager" HOMEPAGE="http://www.linux-ha.org" @@ -9,7 +9,7 @@ LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86" +KEYWORDS="x86" IUSE="" diff --git a/sys-cluster/heartbeat/heartbeat-1.1.2.ebuild b/sys-cluster/heartbeat/heartbeat-1.1.2.ebuild new file mode 100644 index 000000000000..23f69b061eb7 --- /dev/null +++ b/sys-cluster/heartbeat/heartbeat-1.1.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/heartbeat/heartbeat-1.1.2.ebuild,v 1.1 2003/07/22 14:09:23 iggy Exp $ + +DESCRIPTION="Heartbeat high availability cluster manager" +HOMEPAGE="http://www.linux-ha.org" +SRC_URI="http://www.linux-ha.org/download/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" + +KEYWORDS="~x86" + +IUSE="" + +DEPEND="dev-libs/popt + dev-libs/glib + net-libs/libnet + snmp? ( virtual/snmp )" + +src_compile() { + + econf || die + + emake || die + +} + +src_install() { + + make DESTDIR=${D} install || die + exeinto /etc/init.d + newexe ${FILESDIR}/heartbeat-init heartbeat + +} |