diff options
Diffstat (limited to 'net-analyzer/hyperic-hq-agent')
5 files changed, 74 insertions, 1 deletions
diff --git a/net-analyzer/hyperic-hq-agent/ChangeLog b/net-analyzer/hyperic-hq-agent/ChangeLog index 79bf5872dad7..3afad2b94786 100644 --- a/net-analyzer/hyperic-hq-agent/ChangeLog +++ b/net-analyzer/hyperic-hq-agent/ChangeLog @@ -1,6 +1,13 @@ # 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.4 2005/05/18 22:24:40 mattm Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hyperic-hq-agent/ChangeLog,v 1.5 2005/06/20 21:43:15 mattm Exp $ + +*hyperic-hq-agent-2.1.20 (20 Jun 2005) + + 20 Jun 2005; Matthew Marlowe <mattm@gentoo.org> + +files/hyperic-hq-agent.init-2.1.20, +hyperic-hq-agent-2.1.20.ebuild: + Major new upstream version of server. + Old agents are no longer compatible. 18 May 2005; Matthew Marlowe <mattm@gentoo.org> files/hyperic-hq-agent.init-2.0.53: diff --git a/net-analyzer/hyperic-hq-agent/Manifest b/net-analyzer/hyperic-hq-agent/Manifest index ba3d4c3f0504..a1b982b20778 100644 --- a/net-analyzer/hyperic-hq-agent/Manifest +++ b/net-analyzer/hyperic-hq-agent/Manifest @@ -1,7 +1,10 @@ MD5 9bf3c86cff649b0487e5d168ffb013fb ChangeLog 944 +MD5 b9def0696c4956c2d53cf13f9afb4e47 hyperic-hq-agent-2.1.20.ebuild 1435 MD5 eddcfeabec90c590787504b96256b98a metadata.xml 475 MD5 b181f9f7a0e06aa7fc46a9b8fa009146 hyperic-hq-agent-2.0.31.ebuild 1462 MD5 b9def0696c4956c2d53cf13f9afb4e47 hyperic-hq-agent-2.0.53.ebuild 1435 +MD5 ba765bbf467ce7c13508be7c15e56e15 files/hyperic-hq-agent.init-2.1.20 348 +MD5 a4787c9f8776138e109b4a4c59449f1f files/digest-hyperic-hq-agent-2.1.20 170 MD5 5beb495bf1760398a007f969dbbcfec2 files/hyperic-hq-agent.init-2.0.31 267 MD5 861e47b262af687131be582de0b37b3a files/digest-hyperic-hq-agent-2.0.31 84 MD5 642c45c94133a144bcb205beca029096 files/hyperic-hq-agent.init-2.0.53 348 diff --git a/net-analyzer/hyperic-hq-agent/files/digest-hyperic-hq-agent-2.1.20 b/net-analyzer/hyperic-hq-agent/files/digest-hyperic-hq-agent-2.1.20 new file mode 100644 index 000000000000..f98d14668b45 --- /dev/null +++ b/net-analyzer/hyperic-hq-agent/files/digest-hyperic-hq-agent-2.1.20 @@ -0,0 +1,2 @@ +MD5 29d2c009d5d38508f54ac30fc9b43fe3 hyperic-hq-agent-2.1.20-x86-linux.tgz 46244342 +MD5 2279b6ad7f5432522c166cc771c3e869 hyperic-hq-agent-2.1.20-amd64-linux.tgz 49863307 diff --git a/net-analyzer/hyperic-hq-agent/files/hyperic-hq-agent.init-2.1.20 b/net-analyzer/hyperic-hq-agent/files/hyperic-hq-agent.init-2.1.20 new file mode 100755 index 000000000000..f405afeb9f0e --- /dev/null +++ b/net-analyzer/hyperic-hq-agent/files/hyperic-hq-agent.init-2.1.20 @@ -0,0 +1,17 @@ +#!/sbin/runscript + +depend() { + need net clock hostname +} + +start() { + ebegin "Starting Hyperic HQ Agent" + start-stop-daemon --start --quiet --chuid hyperic:hyperic --exec /opt/hyperic-hq-agent-2.1.20/hq-agent.sh -- start + eend $? +} + +stop() { + ebegin "Stopping Hyperic HQ Agent" + start-stop-daemon --stop --quiet --user hyperic --retry 5 + eend $? +} diff --git a/net-analyzer/hyperic-hq-agent/hyperic-hq-agent-2.1.20.ebuild b/net-analyzer/hyperic-hq-agent/hyperic-hq-agent-2.1.20.ebuild new file mode 100644 index 000000000000..7af65e0161f3 --- /dev/null +++ b/net-analyzer/hyperic-hq-agent/hyperic-hq-agent-2.1.20.ebuild @@ -0,0 +1,44 @@ +# 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.1.20.ebuild,v 1.1 2005/06/20 21:43:15 mattm Exp $ + +inherit eutils + +DESCRIPTION="Agent for HQ Monitoring Software by Hyperic LLC" +HOMEPAGE="http://www.hyperic.com/" +SRC_URI="x86? ( http://download.hyperic.net/downloads/ebuilds/hyperic-hq-agent-${PV}-x86-linux.tgz ) amd64? ( http://download.hyperic.net/downloads/ebuilds/hyperic-hq-agent-${PV}-amd64-linux.tgz )" + +LICENSE="hyperic" +SLOT="0" +KEYWORDS="~x86 ~amd64" +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 /bin/bash ${AGENT_HOME} 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) rc-update add hyperic-hq-agent default" + einfo "5) /etc/init.d/hyperic-hq-agent start" + einfo +} |