summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Marlowe <mattm@gentoo.org>2005-05-18 02:58:12 +0000
committerMatthew Marlowe <mattm@gentoo.org>2005-05-18 02:58:12 +0000
commit605111966d719a627f600007e94750a55f33124d (patch)
treeab1e6faef5357a3d7dce1d55e7e6efd6215af4d7 /net-analyzer/hyperic-hq-agent
parent4.2.2 bugfix release of Xfce 4. (diff)
downloadgentoo-2-605111966d719a627f600007e94750a55f33124d.tar.gz
gentoo-2-605111966d719a627f600007e94750a55f33124d.tar.bz2
gentoo-2-605111966d719a627f600007e94750a55f33124d.zip
upstream update,removed very old 2.0.22 version,added amd64 support,updated init file to create and switch to user hyperic properly
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-analyzer/hyperic-hq-agent')
-rw-r--r--net-analyzer/hyperic-hq-agent/ChangeLog9
-rw-r--r--net-analyzer/hyperic-hq-agent/Manifest8
-rw-r--r--net-analyzer/hyperic-hq-agent/files/digest-hyperic-hq-agent-2.0.221
-rw-r--r--net-analyzer/hyperic-hq-agent/files/digest-hyperic-hq-agent-2.0.532
-rwxr-xr-xnet-analyzer/hyperic-hq-agent/files/hyperic-hq-agent.init-2.0.2217
-rwxr-xr-xnet-analyzer/hyperic-hq-agent/files/hyperic-hq-agent.init-2.0.5317
-rw-r--r--net-analyzer/hyperic-hq-agent/hyperic-hq-agent-2.0.53.ebuild (renamed from net-analyzer/hyperic-hq-agent/hyperic-hq-agent-2.0.22.ebuild)16
7 files changed, 37 insertions, 33 deletions
diff --git a/net-analyzer/hyperic-hq-agent/ChangeLog b/net-analyzer/hyperic-hq-agent/ChangeLog
index d290c96a1c82..954fe658de5c 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.2 2005/02/15 01:22:13 mattm Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hyperic-hq-agent/ChangeLog,v 1.3 2005/05/18 02:58:12 mattm Exp $
+
+*hyperic-hq-agent-2.0.53 (18 May 2005)
+
+ 18 May 2005; Matthew Marlowe <mattm@gentoo.org>
+ +files/hyperic-hq-agent.init-2.0.53, +hyperic-hq-agent-2.0.53.ebuild:
+ upstream version bump,updated init file to properly switch users,added amd64
+ arch
*hyperic-hq-agent-2.0.31 (14 Feb 2005)
diff --git a/net-analyzer/hyperic-hq-agent/Manifest b/net-analyzer/hyperic-hq-agent/Manifest
index 6a3b4f94f2d2..2f2f2c7e0fc5 100644
--- a/net-analyzer/hyperic-hq-agent/Manifest
+++ b/net-analyzer/hyperic-hq-agent/Manifest
@@ -1,8 +1,8 @@
-MD5 f9baa6a92cac39af826275a2d248b46d ChangeLog 556
-MD5 2f2a26b02f8af6c2c623ddc2b046b9d5 hyperic-hq-agent-2.0.22.ebuild 1471
+MD5 1a65b2c8ca68c39fe342bb1842821076 ChangeLog 805
MD5 eddcfeabec90c590787504b96256b98a metadata.xml 475
MD5 b181f9f7a0e06aa7fc46a9b8fa009146 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 02677473200bf0b361512da078313fd2 hyperic-hq-agent-2.0.53.ebuild 1435
MD5 5beb495bf1760398a007f969dbbcfec2 files/hyperic-hq-agent.init-2.0.31 267
MD5 861e47b262af687131be582de0b37b3a files/digest-hyperic-hq-agent-2.0.31 84
+MD5 554e950604fbc4bce4152eac45bccce7 files/hyperic-hq-agent.init-2.0.53 394
+MD5 088bc23eceee1f896cec195ef1f5cead files/digest-hyperic-hq-agent-2.0.53 170
diff --git a/net-analyzer/hyperic-hq-agent/files/digest-hyperic-hq-agent-2.0.22 b/net-analyzer/hyperic-hq-agent/files/digest-hyperic-hq-agent-2.0.22
deleted file mode 100644
index 4bbe25c31cda..000000000000
--- a/net-analyzer/hyperic-hq-agent/files/digest-hyperic-hq-agent-2.0.22
+++ /dev/null
@@ -1 +0,0 @@
-MD5 bb20cfbbe70d6fceadde45f41258cd05 hyperic-hq-agent-2.0.22.tgz 37570385
diff --git a/net-analyzer/hyperic-hq-agent/files/digest-hyperic-hq-agent-2.0.53 b/net-analyzer/hyperic-hq-agent/files/digest-hyperic-hq-agent-2.0.53
new file mode 100644
index 000000000000..74e295da925c
--- /dev/null
+++ b/net-analyzer/hyperic-hq-agent/files/digest-hyperic-hq-agent-2.0.53
@@ -0,0 +1,2 @@
+MD5 6bf23ea1d8ab01fe1ec67d173d090db4 hyperic-hq-agent-2.0.53-x86-linux.tgz 45348368
+MD5 c6ea79ea85fe57a1f048bdb60bbcbae1 hyperic-hq-agent-2.0.53-amd64-linux.tgz 48985137
diff --git a/net-analyzer/hyperic-hq-agent/files/hyperic-hq-agent.init-2.0.22 b/net-analyzer/hyperic-hq-agent/files/hyperic-hq-agent.init-2.0.22
deleted file mode 100755
index 20268e4bca8b..000000000000
--- a/net-analyzer/hyperic-hq-agent/files/hyperic-hq-agent.init-2.0.22
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/sbin/runscript
-
-depend() {
- need net clock hostname
-}
-
-start() {
- ebegin "Starting Hyperic HQ Agent"
- /opt/hyperic-hq-agent-2.0.22/hq-agent.sh start
- eend $?
-}
-
-stop() {
- ebegin "Stopping Hyperic HQ Agent"
- /opt/hyperic-hq-agent-2.0.22/hq-agent.sh stop
- eend $?
-}
diff --git a/net-analyzer/hyperic-hq-agent/files/hyperic-hq-agent.init-2.0.53 b/net-analyzer/hyperic-hq-agent/files/hyperic-hq-agent.init-2.0.53
new file mode 100755
index 000000000000..c0426c7da730
--- /dev/null
+++ b/net-analyzer/hyperic-hq-agent/files/hyperic-hq-agent.init-2.0.53
@@ -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.0.53/hq-agent.sh -- start
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping Hyperic HQ Agent"
+ start-stop-daemon --stop --quiet --user hyperic --exec /opt/hyperic-hq-agent-2.0.53/hq-agent.sh -- stop
+ eend $?
+}
diff --git a/net-analyzer/hyperic-hq-agent/hyperic-hq-agent-2.0.22.ebuild b/net-analyzer/hyperic-hq-agent/hyperic-hq-agent-2.0.53.ebuild
index 60c764dc5dfe..c31b7721fb7e 100644
--- a/net-analyzer/hyperic-hq-agent/hyperic-hq-agent-2.0.22.ebuild
+++ b/net-analyzer/hyperic-hq-agent/hyperic-hq-agent-2.0.53.ebuild
@@ -1,24 +1,22 @@
# 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.22.ebuild,v 1.1 2005/01/12 22:00:20 mattm Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hyperic-hq-agent/hyperic-hq-agent-2.0.53.ebuild,v 1.1 2005/05/18 02:58:12 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}.tgz"
+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"
+KEYWORDS="~x86 ~amd64"
IUSE=""
AGENT_HOME=/opt/hyperic-hq-agent-${PV}
src_install() {
- dodoc README.txt
-
insinto /etc/init.d
insopts -m0750
newins ${FILESDIR}/hyperic-hq-agent.init-${PV} hyperic-hq-agent
@@ -29,7 +27,7 @@ src_install() {
pkg_preinst() {
enewgroup hyperic
- enewuser hyperic -1 -1 /dev/null hyperic
+ enewuser hyperic -1 /bin/bash ${AGENT_HOME} hyperic
}
pkg_postinst() {
@@ -40,9 +38,7 @@ pkg_postinst() {
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 "4) rc-update add hyperic-hq-agent default"
+ einfo "5) /etc/init.d/hyperic-hq-agent start"
einfo
}