diff options
author | Wolfram Schlich <wschlich@gentoo.org> | 2006-06-07 10:22:17 +0000 |
---|---|---|
committer | Wolfram Schlich <wschlich@gentoo.org> | 2006-06-07 10:22:17 +0000 |
commit | 7d5c6029d1c0b9108e7d192044b2dd4a72ceaa61 (patch) | |
tree | 045afc9b8cd657b497adacc6571cf5354e45520d | |
parent | Add ~x86-fbsd keyword. (diff) | |
download | gentoo-2-7d5c6029d1c0b9108e7d192044b2dd4a72ceaa61.tar.gz gentoo-2-7d5c6029d1c0b9108e7d192044b2dd4a72ceaa61.tar.bz2 gentoo-2-7d5c6029d1c0b9108e7d192044b2dd4a72ceaa61.zip |
Fix installation of zabbix_get
(Portage version: 2.1_rc4-r1)
-rw-r--r-- | net-analyzer/zabbix-agent/ChangeLog | 8 | ||||
-rw-r--r-- | net-analyzer/zabbix-agent/files/digest-zabbix-agent-1.1-r1 | 3 | ||||
-rw-r--r-- | net-analyzer/zabbix-agent/zabbix-agent-1.1-r1.ebuild | 63 |
3 files changed, 73 insertions, 1 deletions
diff --git a/net-analyzer/zabbix-agent/ChangeLog b/net-analyzer/zabbix-agent/ChangeLog index f6ed827155fe..350e9061956f 100644 --- a/net-analyzer/zabbix-agent/ChangeLog +++ b/net-analyzer/zabbix-agent/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-analyzer/zabbix-agent # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/zabbix-agent/ChangeLog,v 1.6 2006/06/06 13:03:26 wschlich Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/zabbix-agent/ChangeLog,v 1.7 2006/06/07 10:22:17 wschlich Exp $ + +*zabbix-agent-1.1-r1 (07 Jun 2006) + + 07 Jun 2006; Wolfram Schlich <wschlich@gentoo.org> + +zabbix-agent-1.1-r1.ebuild: + Fix installation of zabbix_get *zabbix-agent-1.1 (06 Jun 2006) diff --git a/net-analyzer/zabbix-agent/files/digest-zabbix-agent-1.1-r1 b/net-analyzer/zabbix-agent/files/digest-zabbix-agent-1.1-r1 new file mode 100644 index 000000000000..70bfbcd9a4ca --- /dev/null +++ b/net-analyzer/zabbix-agent/files/digest-zabbix-agent-1.1-r1 @@ -0,0 +1,3 @@ +MD5 9697e5634547d9614963db04f6cd87d7 zabbix-1.1.tar.gz 1110644 +RMD160 4ef49a92117ef4aa9a2369d49008582f7db14b5f zabbix-1.1.tar.gz 1110644 +SHA256 c544e8b1ba9e3fc62ed283bab058ad753cf3e9ed39ab2aee97c75d483ddfcfa5 zabbix-1.1.tar.gz 1110644 diff --git a/net-analyzer/zabbix-agent/zabbix-agent-1.1-r1.ebuild b/net-analyzer/zabbix-agent/zabbix-agent-1.1-r1.ebuild new file mode 100644 index 000000000000..69b49e66eceb --- /dev/null +++ b/net-analyzer/zabbix-agent/zabbix-agent-1.1-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/zabbix-agent/zabbix-agent-1.1-r1.ebuild,v 1.1 2006/06/07 10:22:17 wschlich Exp $ + +inherit eutils + +MY_P=${PN//-agent/} +MY_PV=${PV//_/} +DESCRIPTION="ZABBIX is software for monitoring of your applications, network and servers. Agent part." +HOMEPAGE="http://www.zabbix.com/" +SRC_URI="mirror://sourceforge/zabbix/${MY_P}-${MY_PV}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" +DEPEND="virtual/libc" + +S=${WORKDIR}/${MY_P}-${MY_PV} + +pkg_preinst() { + enewgroup zabbix + enewuser zabbix -1 -1 /dev/null zabbix +} + +src_compile() { + econf --enable-agent || die "econf failed" + emake || die "emake failed" +} + +src_install() { + dodir \ + /etc/zabbix \ + /var/log/zabbix \ + /var/run/zabbix + keepdir \ + /etc/zabbix \ + /var/log/zabbix \ + /var/run/zabbix + insinto /etc/zabbix + doins \ + ${FILESDIR}/${PV}/zabbix_agent.conf \ + ${FILESDIR}/${PV}/zabbix_agentd.conf + doinitd ${FILESDIR}/${PV}/init.d/zabbix-agentd + dosbin \ + src/zabbix_agent/zabbix_agent \ + src/zabbix_agent/zabbix_agentd + dobin \ + src/zabbix_sender/zabbix_sender \ + src/zabbix_get/zabbix_get + fowners zabbix:zabbix \ + /etc/zabbix \ + /etc/zabbix/zabbix_agent.conf \ + /etc/zabbix/zabbix_agentd.conf \ + /var/log/zabbix \ + /var/run/zabbix + fperms 0750 \ + /etc/zabbix \ + /var/log/zabbix \ + /var/run/zabbix + fperms 0640 \ + /etc/zabbix/zabbix_agent.conf \ + /etc/zabbix/zabbix_agentd.conf +} |