From 002d8c19aa58c5bc6260747994b1e42297ba001d Mon Sep 17 00:00:00 2001 From: Wolfram Schlich Date: Wed, 7 Jun 2006 10:22:17 +0000 Subject: [PATCH] Fix installation of zabbix_get Package-Manager: portage-2.1_rc4-r1 --- net-analyzer/zabbix-agent/ChangeLog | 8 ++- net-analyzer/zabbix-agent/Manifest | 15 +++-- .../files/digest-zabbix-agent-1.1-r1 | 3 + .../zabbix-agent/zabbix-agent-1.1-r1.ebuild | 63 +++++++++++++++++++ 4 files changed, 84 insertions(+), 5 deletions(-) create mode 100644 net-analyzer/zabbix-agent/files/digest-zabbix-agent-1.1-r1 create mode 100644 net-analyzer/zabbix-agent/zabbix-agent-1.1-r1.ebuild 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 + +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/Manifest b/net-analyzer/zabbix-agent/Manifest index a96cce6cc964..9cac4d543cfa 100644 --- a/net-analyzer/zabbix-agent/Manifest +++ b/net-analyzer/zabbix-agent/Manifest @@ -49,6 +49,10 @@ EBUILD zabbix-agent-1.0.ebuild 1698 RMD160 9ab635beaf04cb6f35900e314191a9707f4e6 MD5 751f71a8ed7d19a38c8200d97a863776 zabbix-agent-1.0.ebuild 1698 RMD160 9ab635beaf04cb6f35900e314191a9707f4e6d67 zabbix-agent-1.0.ebuild 1698 SHA256 6362bf0a2ae75027378209495da0eeac6a07e9f30b7b8d2704996d00ec450674 zabbix-agent-1.0.ebuild 1698 +EBUILD zabbix-agent-1.1-r1.ebuild 1531 RMD160 6ff6f1facc779f54058bd1aae22079fa8781f795 SHA1 9e370c479b74b22485978f38b3c78e6314583789 SHA256 35f6133edb5740df2a4d25963e8d2a72c0a96078c17b5b6343a288fd3f1f9284 +MD5 32e3072e52b97e9ae3aad3685c7fa3bb zabbix-agent-1.1-r1.ebuild 1531 +RMD160 6ff6f1facc779f54058bd1aae22079fa8781f795 zabbix-agent-1.1-r1.ebuild 1531 +SHA256 35f6133edb5740df2a4d25963e8d2a72c0a96078c17b5b6343a288fd3f1f9284 zabbix-agent-1.1-r1.ebuild 1531 EBUILD zabbix-agent-1.1.ebuild 1531 RMD160 a6f79dc52193bc2fdf4d0dfc191d2a14177fdd06 SHA1 8739d976f5d4941edbc95b6273f7b5f88d444b0d SHA256 9d07e84e9bf77aa4ff17291287b4c24fa9357a8c18d7acdf073ef7cec0d7edfe MD5 f92de9a9edf7f24bd92a1d44488cb721 zabbix-agent-1.1.ebuild 1531 RMD160 a6f79dc52193bc2fdf4d0dfc191d2a14177fdd06 zabbix-agent-1.1.ebuild 1531 @@ -57,10 +61,10 @@ EBUILD zabbix-agent-1.1_alpha7.ebuild 1739 RMD160 4128da163b3795dd05f96415909d84 MD5 b1db95a637a4d01f39e5f20b09dbfeeb zabbix-agent-1.1_alpha7.ebuild 1739 RMD160 4128da163b3795dd05f96415909d845523e58be2 zabbix-agent-1.1_alpha7.ebuild 1739 SHA256 7ddd148eed89435d337a2f17df5485ddd5939789dd844981ab7aa2c12db6277f zabbix-agent-1.1_alpha7.ebuild 1739 -MISC ChangeLog 2451 RMD160 43132e3b6e2ef25b28344e1c0bb42b90e0bc5665 SHA1 aea0bf53bda300afa94930c7b9765f10754c6719 SHA256 d345733399e9ac9b0fa389a07fc21da1aaf9c1c4e3a83c332b8a554e93e980c9 -MD5 742c6cbb430d4784e17fb1562674c538 ChangeLog 2451 -RMD160 43132e3b6e2ef25b28344e1c0bb42b90e0bc5665 ChangeLog 2451 -SHA256 d345733399e9ac9b0fa389a07fc21da1aaf9c1c4e3a83c332b8a554e93e980c9 ChangeLog 2451 +MISC ChangeLog 2605 RMD160 70340d8bb80dc70e4e0b2cf82815dc4b4d0c2789 SHA1 3f806a443dc5b90fcf3f2518631272f45c6dcca9 SHA256 48f5355ac89e27e326f79d39c8cf893ade0c2f0c6c760543d56dbd5f761559fe +MD5 bc4bbb97c5f3582aa0856f16a14077d4 ChangeLog 2605 +RMD160 70340d8bb80dc70e4e0b2cf82815dc4b4d0c2789 ChangeLog 2605 +SHA256 48f5355ac89e27e326f79d39c8cf893ade0c2f0c6c760543d56dbd5f761559fe ChangeLog 2605 MISC metadata.xml 630 RMD160 0ceb5472b6bc0efd1fa4a09f52d3ef953b0cb13c SHA1 88bffe8fc9f05440edecef1fdc65f4c6dbb6f735 SHA256 770d0897320974215ae8d520cc2f56761e9b53dfa85e9e3081bff1427d8aa03c MD5 d86acab58212886771ef2bf837a2e8b9 metadata.xml 630 RMD160 0ceb5472b6bc0efd1fa4a09f52d3ef953b0cb13c metadata.xml 630 @@ -71,6 +75,9 @@ SHA256 44d3e310b473f769188b35497731e2d306a2b89d947c5f4fc68b2fdc86b53af4 files/di MD5 468575e431380e5de6ca61194b44b4c8 files/digest-zabbix-agent-1.1 235 RMD160 7779f80429bddb622445164ae2a84d8740f115b7 files/digest-zabbix-agent-1.1 235 SHA256 0da858ef9c249d9fe814beefe60ef90c8012f70f022b2f575e6d716d2736971a files/digest-zabbix-agent-1.1 235 +MD5 468575e431380e5de6ca61194b44b4c8 files/digest-zabbix-agent-1.1-r1 235 +RMD160 7779f80429bddb622445164ae2a84d8740f115b7 files/digest-zabbix-agent-1.1-r1 235 +SHA256 0da858ef9c249d9fe814beefe60ef90c8012f70f022b2f575e6d716d2736971a files/digest-zabbix-agent-1.1-r1 235 MD5 4990ea7476a1a66671f7faf9b1c93719 files/digest-zabbix-agent-1.1_alpha7 68 RMD160 a7f96c94c87207b1892c72dc1af24655ec5acd60 files/digest-zabbix-agent-1.1_alpha7 68 SHA256 2d4b8595b2103d43be706e78f1fc1cb549bfe7a8cb33841424bb6bb19132cf2b files/digest-zabbix-agent-1.1_alpha7 68 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 +} -- 2.26.2