/[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.2 - (show annotations) (download)
Mon Aug 13 05:32:58 2012 UTC (2 years, 2 months ago) by cardoe
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Fix issue where libraries were being added via LDFLAGS instead of LDADD resulting in --as-needed breaking and LDFLAGS appearing to be ignored.

(Portage version: 2.1.11.9/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-r1.ebuild,v 1.1 2012/06/26 09:34:34 dev-zero 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