/[gentoo-x86]/app-emulation/libvirt-snmp/libvirt-snmp-0.0.2-r1.ebuild
Gentoo

Contents of /app-emulation/libvirt-snmp/libvirt-snmp-0.0.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Jun 26 09:34:34 2012 UTC (3 years, 1 month ago) by dev-zero
Branch: MAIN
fix init.d-script to properly stop libvirt-snmp

(Portage version: 2.1.11/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt-snmp/libvirt-snmp-0.0.2.ebuild,v 1.2 2012/05/03 18:49:07 jdhore Exp $
4
5 EAPI=4
6
7 DESCRIPTION="Provides SNMP functionality for libvirt."
8 HOMEPAGE="http://libvirt.org"
9 SRC_URI="http://www.libvirt.org/sources/snmp/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64"
14 IUSE=""
15
16 RDEPEND="app-emulation/libvirt
17 net-analyzer/net-snmp"
18 DEPEND="${RDEPEND}
19 virtual/pkgconfig"
20
21 src_install() {
22 default
23 newinitd "${FILESDIR}/libvirt-snmp.initd-r1" "${PN}"
24 newconfd "${FILESDIR}/libvirt-snmp.confd" "${PN}"
25 }
26
27 pkg_postinst() {
28 elog "This daemon runs as an AgentX sub-daemon for snmpd. You should therefore"
29 elog "enable the AgentX functionality in snmpd by specifying the following"
30 elog "in /etc/snmp/snmpd.conf:"
31 elog " master agentx"
32 elog "It is further recommended to send traps to the localhost as well using"
33 elog "this option:"
34 elog " trap2sink localhost"
35 elog "More information is available here:"
36 elog " http://wiki.libvirt.org/page/Libvirt-snmp"
37 }

  ViewVC Help
Powered by ViewVC 1.1.20