diff options
author | Matthew Marlowe <mattm@gentoo.org> | 2005-02-15 01:22:13 +0000 |
---|---|---|
committer | Matthew Marlowe <mattm@gentoo.org> | 2005-02-15 01:22:13 +0000 |
commit | f291f04f612e2f91aee2ea7ea764f8f92e505bd5 (patch) | |
tree | 186f943d48d7eb2377728892a7bb55b7f58ef114 /net-analyzer/hyperic-hq-agent | |
parent | make uname check sane, fix perms on disk image, various bugs squashed. Add [s... (diff) | |
download | gentoo-2-f291f04f612e2f91aee2ea7ea764f8f92e505bd5.tar.gz gentoo-2-f291f04f612e2f91aee2ea7ea764f8f92e505bd5.tar.bz2 gentoo-2-f291f04f612e2f91aee2ea7ea764f8f92e505bd5.zip |
new upstream version fixes several bugs
(Portage version: 2.0.51-r15)
Diffstat (limited to 'net-analyzer/hyperic-hq-agent')
5 files changed, 76 insertions, 3 deletions
diff --git a/net-analyzer/hyperic-hq-agent/ChangeLog b/net-analyzer/hyperic-hq-agent/ChangeLog index 09d537f8869a..d290c96a1c82 100644 --- a/net-analyzer/hyperic-hq-agent/ChangeLog +++ b/net-analyzer/hyperic-hq-agent/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-analyzer/hyperic-hq-agent # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hyperic-hq-agent/ChangeLog,v 1.1 2005/01/12 22:00:19 mattm Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hyperic-hq-agent/ChangeLog,v 1.2 2005/02/15 01:22:13 mattm Exp $ + +*hyperic-hq-agent-2.0.31 (14 Feb 2005) + + 14 Feb 2005; Matthew Marlowe <mattm@gentoo.org> + +files/hyperic-hq-agent.init-2.0.31, +hyperic-hq-agent-2.0.31.ebuild: + new upstream version fixes several bugs 12 Jan 2005; Matthew Marlowe <mattm@gentoo.org> : Initial commit of hyperic-hq-agent using latest upstream version. diff --git a/net-analyzer/hyperic-hq-agent/Manifest b/net-analyzer/hyperic-hq-agent/Manifest index 1be6812a7884..3fe55360c7e0 100644 --- a/net-analyzer/hyperic-hq-agent/Manifest +++ b/net-analyzer/hyperic-hq-agent/Manifest @@ -1,5 +1,8 @@ +MD5 6f0990f1c5521511f584b7014bb59f49 ChangeLog 351 MD5 2f2a26b02f8af6c2c623ddc2b046b9d5 hyperic-hq-agent-2.0.22.ebuild 1471 MD5 eddcfeabec90c590787504b96256b98a metadata.xml 475 -MD5 6f0990f1c5521511f584b7014bb59f49 ChangeLog 351 -MD5 88d8935e0b43d887b7f974d1acae0fcb files/hyperic-hq-agent.init-2.0.22 267 +MD5 7bff6124fb087a44afba8cf47dd6b5e6 hyperic-hq-agent-2.0.31.ebuild 1462 MD5 b46aa04c4986f8d6c67c8eaab3771796 files/digest-hyperic-hq-agent-2.0.22 74 +MD5 88d8935e0b43d887b7f974d1acae0fcb files/hyperic-hq-agent.init-2.0.22 267 +MD5 5beb495bf1760398a007f969dbbcfec2 files/hyperic-hq-agent.init-2.0.31 267 +MD5 861e47b262af687131be582de0b37b3a files/digest-hyperic-hq-agent-2.0.31 84 diff --git a/net-analyzer/hyperic-hq-agent/files/digest-hyperic-hq-agent-2.0.31 b/net-analyzer/hyperic-hq-agent/files/digest-hyperic-hq-agent-2.0.31 new file mode 100644 index 000000000000..a3725dc245fd --- /dev/null +++ b/net-analyzer/hyperic-hq-agent/files/digest-hyperic-hq-agent-2.0.31 @@ -0,0 +1 @@ +MD5 a1601224cc04f0db33558e47637eceac hyperic-hq-agent-2.0.31-x86-linux.tgz 35015199 diff --git a/net-analyzer/hyperic-hq-agent/files/hyperic-hq-agent.init-2.0.31 b/net-analyzer/hyperic-hq-agent/files/hyperic-hq-agent.init-2.0.31 new file mode 100755 index 000000000000..e3a34ab341c2 --- /dev/null +++ b/net-analyzer/hyperic-hq-agent/files/hyperic-hq-agent.init-2.0.31 @@ -0,0 +1,17 @@ +#!/sbin/runscript + +depend() { + need net clock hostname +} + +start() { + ebegin "Starting Hyperic HQ Agent" + /opt/hyperic-hq-agent-2.0.31/hq-agent.sh start + eend $? +} + +stop() { + ebegin "Stopping Hyperic HQ Agent" + /opt/hyperic-hq-agent-2.0.31/hq-agent.sh stop + eend $? +} diff --git a/net-analyzer/hyperic-hq-agent/hyperic-hq-agent-2.0.31.ebuild b/net-analyzer/hyperic-hq-agent/hyperic-hq-agent-2.0.31.ebuild new file mode 100644 index 000000000000..c48d2e49b62f --- /dev/null +++ b/net-analyzer/hyperic-hq-agent/hyperic-hq-agent-2.0.31.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hyperic-hq-agent/hyperic-hq-agent-2.0.31.ebuild,v 1.1 2005/02/15 01:22:13 mattm Exp $ + +inherit eutils + +DESCRIPTION="Agent for HQ Monitoring Software by Hyperic LLC" +HOMEPAGE="http://www.hyperic.com/" +SRC_URI="http://download.hyperic.net/downloads/ebuilds/hyperic-hq-agent-${PV}-x86-linux.tgz" + +LICENSE="hyperic" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +AGENT_HOME=/opt/hyperic-hq-agent-${PV} + +src_install() { + + insinto /etc/init.d + insopts -m0750 + newins ${FILESDIR}/hyperic-hq-agent.init-${PV} hyperic-hq-agent + + dodir ${AGENT_HOME} + cp -a ${S}/* ${D}${AGENT_HOME} +} + +pkg_preinst() { + enewgroup hyperic + enewuser hyperic -1 -1 /dev/null hyperic +} + +pkg_postinst() { + chown -R hyperic:hyperic ${AGENT_HOME} + + einfo "You should perform the following before attempting to start the agent:" + einfo "" + einfo "1) read and agree to the _commercial license_ at /usr/portage/licenses/hyperic" + einfo "2) ensure that your server has a license key permitting an additional agent install." + einfo "3) have your server ip, admin username, and admin password available" + einfo "4) run /opt/hyperic-hq-agent-${PV}/hq-agent.sh start and answer setup questions" + einfo "5) run /opt/hyperic-hq-agent-${PV}/hq-agent.sh stop" + einfo "6) rc-update add hyperic-hq-agent default" + einfo "7) /etc/init.d/hyperic-hq-agent start" + einfo +} |