diff options
author | Matthew Marlowe <mattm@gentoo.org> | 2006-02-04 04:01:54 +0000 |
---|---|---|
committer | Matthew Marlowe <mattm@gentoo.org> | 2006-02-04 04:01:54 +0000 |
commit | f44defd2745f700f08fe66da7c892deae1877b2e (patch) | |
tree | a2b6e80deee992a64a49334854cd491ac3d297fb /net-analyzer/hyperic-hq-agent | |
parent | touchup crappy DESCRIPTION (diff) | |
download | gentoo-2-f44defd2745f700f08fe66da7c892deae1877b2e.tar.gz gentoo-2-f44defd2745f700f08fe66da7c892deae1877b2e.tar.bz2 gentoo-2-f44defd2745f700f08fe66da7c892deae1877b2e.zip |
new upstream version
(Portage version: 2.1_pre3-r1)
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 1d84b77c7430..cbd629cb5ad4 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-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hyperic-hq-agent/ChangeLog,v 1.12 2006/01/12 18:04:18 mattm Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hyperic-hq-agent/ChangeLog,v 1.13 2006/02/04 04:01:54 mattm Exp $ + +*hyperic-hq-agent-2.5.15 (04 Feb 2006) + + 04 Feb 2006; Matthew Marlowe <mattm@gentoo.org> + +files/hyperic-hq-agent.init-2.5.15, +hyperic-hq-agent-2.5.15.ebuild: + new upstream version 12 Jan 2006; Matthew Marlowe <mattm@gentoo.org> -files/hyperic-hq-agent.init-2.1.20, -hyperic-hq-agent-2.1.20.ebuild, diff --git a/net-analyzer/hyperic-hq-agent/Manifest b/net-analyzer/hyperic-hq-agent/Manifest index 0c290e327587..fb7627862dac 100644 --- a/net-analyzer/hyperic-hq-agent/Manifest +++ b/net-analyzer/hyperic-hq-agent/Manifest @@ -1,8 +1,10 @@ MD5 62b31070810e0a2d9ad2584c118b23eb ChangeLog 2531 MD5 ce71d392ac9834394255eea0c2249d4f files/digest-hyperic-hq-agent-2.1.30 170 MD5 ff32d0144cb00995d1b486ce8e783d09 files/digest-hyperic-hq-agent-2.5.10 170 +MD5 0e70192468dcc335e940d94fa17192fd files/digest-hyperic-hq-agent-2.5.15 170 MD5 91c27a181eb4abb096e19ab78d2e317f files/hyperic-hq-agent.init-2.1.30 348 MD5 3bb51c17d0bcda9eaf6372bc14134002 files/hyperic-hq-agent.init-2.5.10 348 MD5 7030b9ebbe756e02468ee370eefc5f8a hyperic-hq-agent-2.1.30.ebuild 1390 MD5 8fdc89bd2293f415957add65c976b2c1 hyperic-hq-agent-2.5.10.ebuild 1392 +MD5 8fdc89bd2293f415957add65c976b2c1 hyperic-hq-agent-2.5.15.ebuild 1392 MD5 eddcfeabec90c590787504b96256b98a metadata.xml 475 diff --git a/net-analyzer/hyperic-hq-agent/files/digest-hyperic-hq-agent-2.5.15 b/net-analyzer/hyperic-hq-agent/files/digest-hyperic-hq-agent-2.5.15 new file mode 100644 index 000000000000..1536ee5f889a --- /dev/null +++ b/net-analyzer/hyperic-hq-agent/files/digest-hyperic-hq-agent-2.5.15 @@ -0,0 +1,2 @@ +MD5 e25e50f859e364f90a8d9dd8225b8d79 hyperic-hq-agent-2.5.15-amd64-linux.tgz 49360637 +MD5 55e91412476834b4cc993de40186afbd hyperic-hq-agent-2.5.15-x86-linux.tgz 45700122 diff --git a/net-analyzer/hyperic-hq-agent/files/hyperic-hq-agent.init-2.5.15 b/net-analyzer/hyperic-hq-agent/files/hyperic-hq-agent.init-2.5.15 new file mode 100755 index 000000000000..fdc4442db29e --- /dev/null +++ b/net-analyzer/hyperic-hq-agent/files/hyperic-hq-agent.init-2.5.15 @@ -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.5.15/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.5.15.ebuild b/net-analyzer/hyperic-hq-agent/hyperic-hq-agent-2.5.15.ebuild new file mode 100644 index 000000000000..96f8f86e30d6 --- /dev/null +++ b/net-analyzer/hyperic-hq-agent/hyperic-hq-agent-2.5.15.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2006 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.5.15.ebuild,v 1.1 2006/02/04 04:01:54 mattm Exp $ + +inherit eutils + +DESCRIPTION="Agent for HQ Monitoring Software by Hyperic LLC" +HOMEPAGE="http://www.hyperic.com/" +SRC_URI="x86? ( +http://dl.hyperic.net/2.5/hyperic-hq-agent-${PV}-x86-linux.tgz ) amd64? ( +http://dl.hyperic.net/2.5/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 -pPR ${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 +} |