From 0d24386eace33965bcb5be6c8b62ea26a0de2ec9 Mon Sep 17 00:00:00 2001 From: Matthew Marlowe Date: Tue, 22 Nov 2005 04:29:13 +0000 Subject: major upstream bump Package-Manager: portage-2.0.51.22-r3 --- net-analyzer/hyperic-hq-agent/ChangeLog | 8 +++- net-analyzer/hyperic-hq-agent/Manifest | 5 ++- .../files/digest-hyperic-hq-agent-2.5.10 | 2 + .../files/hyperic-hq-agent.init-2.5.10 | 17 ++++++++ .../hyperic-hq-agent-2.5.10.ebuild | 46 ++++++++++++++++++++++ 5 files changed, 76 insertions(+), 2 deletions(-) create mode 100644 net-analyzer/hyperic-hq-agent/files/digest-hyperic-hq-agent-2.5.10 create mode 100755 net-analyzer/hyperic-hq-agent/files/hyperic-hq-agent.init-2.5.10 create mode 100644 net-analyzer/hyperic-hq-agent/hyperic-hq-agent-2.5.10.ebuild (limited to 'net-analyzer/hyperic-hq-agent') diff --git a/net-analyzer/hyperic-hq-agent/ChangeLog b/net-analyzer/hyperic-hq-agent/ChangeLog index cd821d9f2b97..29a5d10299e5 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.9 2005/11/01 21:42:20 mattm Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hyperic-hq-agent/ChangeLog,v 1.10 2005/11/22 04:29:13 mattm Exp $ + +*hyperic-hq-agent-2.5.10 (22 Nov 2005) + + 22 Nov 2005; Matthew Marlowe + +files/hyperic-hq-agent.init-2.5.10, +hyperic-hq-agent-2.5.10.ebuild: + major upstream bump 01 Nov 2005; Matthew Marlowe -files/hyperic-hq-agent.init-2.0.31, -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 79bf9a147a12..a0c0de1335e6 100644 --- a/net-analyzer/hyperic-hq-agent/Manifest +++ b/net-analyzer/hyperic-hq-agent/Manifest @@ -1,7 +1,10 @@ -MD5 1ba80b3c131294cf37a6411920d5f4d7 ChangeLog 2003 +MD5 136bbd42017794559ad8b127b5c4dd0f ChangeLog 2189 +MD5 b876f0b8e2744a417693efeac4e73c8e hyperic-hq-agent-2.5.10.ebuild 1392 MD5 0c2dbe9d74fdfa74a42d2c96ef530d69 hyperic-hq-agent-2.1.20.ebuild 1433 MD5 eddcfeabec90c590787504b96256b98a metadata.xml 475 MD5 7030b9ebbe756e02468ee370eefc5f8a hyperic-hq-agent-2.1.30.ebuild 1390 +MD5 3bb51c17d0bcda9eaf6372bc14134002 files/hyperic-hq-agent.init-2.5.10 348 +MD5 41b05dc44543c95002050d16f7f4cf9b files/digest-hyperic-hq-agent-2.5.10 170 MD5 a4787c9f8776138e109b4a4c59449f1f files/digest-hyperic-hq-agent-2.1.20 170 MD5 ba765bbf467ce7c13508be7c15e56e15 files/hyperic-hq-agent.init-2.1.20 348 MD5 91c27a181eb4abb096e19ab78d2e317f files/hyperic-hq-agent.init-2.1.30 348 diff --git a/net-analyzer/hyperic-hq-agent/files/digest-hyperic-hq-agent-2.5.10 b/net-analyzer/hyperic-hq-agent/files/digest-hyperic-hq-agent-2.5.10 new file mode 100644 index 000000000000..beedb1bde83f --- /dev/null +++ b/net-analyzer/hyperic-hq-agent/files/digest-hyperic-hq-agent-2.5.10 @@ -0,0 +1,2 @@ +MD5 3f75e4a326354b206e32aa1b4a48f232 hyperic-hq-agent-2.5.10-x86-linux.tgz 45590839 +MD5 6bb8b49f66fa3d70d06783de5a2767a2 hyperic-hq-agent-2.5.10-amd64-linux.tgz 49247176 diff --git a/net-analyzer/hyperic-hq-agent/files/hyperic-hq-agent.init-2.5.10 b/net-analyzer/hyperic-hq-agent/files/hyperic-hq-agent.init-2.5.10 new file mode 100755 index 000000000000..5139fd0a34eb --- /dev/null +++ b/net-analyzer/hyperic-hq-agent/files/hyperic-hq-agent.init-2.5.10 @@ -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.10/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.10.ebuild b/net-analyzer/hyperic-hq-agent/hyperic-hq-agent-2.5.10.ebuild new file mode 100644 index 000000000000..c1280e04cd7f --- /dev/null +++ b/net-analyzer/hyperic-hq-agent/hyperic-hq-agent-2.5.10.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.5.10.ebuild,v 1.1 2005/11/22 04:29:13 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 -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 +} -- cgit v1.2.3-65-gdbad