diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-10-27 12:48:57 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-10-27 12:48:57 +0100 |
commit | 70b82ae359a5538711e103b0e8dfb92654296644 (patch) | |
tree | 8412b84ff9ce02a22be5251052b00feefe1d5b70 /app-emulation/libvirt-snmp/libvirt-snmp-0.0.4.ebuild | |
parent | 64e107b9b6058580ff0432107eb37cefb0b2a7d8 (diff) |
gentoo resync : 27.10.2018
Diffstat (limited to 'app-emulation/libvirt-snmp/libvirt-snmp-0.0.4.ebuild')
-rw-r--r-- | app-emulation/libvirt-snmp/libvirt-snmp-0.0.4.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/app-emulation/libvirt-snmp/libvirt-snmp-0.0.4.ebuild b/app-emulation/libvirt-snmp/libvirt-snmp-0.0.4.ebuild new file mode 100644 index 000000000000..f0eb657001f9 --- /dev/null +++ b/app-emulation/libvirt-snmp/libvirt-snmp-0.0.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit eutils + +DESCRIPTION="Provides SNMP functionality for libvirt" +HOMEPAGE="http://libvirt.org" +SRC_URI="http://www.libvirt.org/sources/snmp/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND} + app-emulation/libvirt + net-analyzer/net-snmp" +BDEPEND=" + virtual/pkgconfig" + +src_install() { + default + newinitd "${FILESDIR}/libvirt-snmp.initd-r1" "${PN}" + newconfd "${FILESDIR}/libvirt-snmp.confd" "${PN}" +} + +pkg_postinst() { + elog "This daemon runs as an AgentX sub-daemon for snmpd. You should therefore" + elog "enable the AgentX functionality in snmpd by specifying the following" + elog "in /etc/snmp/snmpd.conf:" + elog " master agentx" + elog "It is further recommended to send traps to the localhost as well using" + elog "this option:" + elog " trap2sink localhost" + elog "More information is available here:" + elog " http://wiki.libvirt.org/page/Libvirt-snmp" +} |