Gentoo Archives: gentoo-commits

From: Matthias Maier <tamiko@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/libvirt-snmp/
Date: Thu, 25 Oct 2018 22:23:30
Message-Id: 1540506181.35d6a7ec07732f45812eb876b9484cff35473b22.tamiko@gentoo
1 commit: 35d6a7ec07732f45812eb876b9484cff35473b22
2 Author: Michal Privoznik <mprivozn <AT> redhat <DOT> com>
3 AuthorDate: Thu Oct 25 15:31:17 2018 +0000
4 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 25 22:23:01 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35d6a7ec
7
8 app-emulation/libvirt-snmp: version bump to 0.0.4
9
10 Signed-off-by: Michal Privoznik <mprivozn <AT> redhat.com>
11 Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
12
13 app-emulation/libvirt-snmp/Manifest | 1 +
14 .../libvirt-snmp/libvirt-snmp-0.0.4.ebuild | 40 ++++++++++++++++++++++
15 2 files changed, 41 insertions(+)
16
17 diff --git a/app-emulation/libvirt-snmp/Manifest b/app-emulation/libvirt-snmp/Manifest
18 index ea3d956712a..b7eb38bce37 100644
19 --- a/app-emulation/libvirt-snmp/Manifest
20 +++ b/app-emulation/libvirt-snmp/Manifest
21 @@ -1,2 +1,3 @@
22 DIST libvirt-snmp-0.0.2.tar.gz 152790 BLAKE2B b2e5eee2d67283112556c52921b14029a90d5cedf0c4575e056475191470a4b6bf5d837f1ca942b848f6509da4aa12daa508bbfc5272e1435e73fbfc290e1967 SHA512 13a522c765d278d3b8f8ab9f32f97c8531f6d131afcb0ce62ae397631db92ed3b585ad221a1f2b3bc17907cc4d61adca4a2071b0458a05f2bff5ca06191e1478
23 DIST libvirt-snmp-0.0.3.tar.gz 161186 BLAKE2B 1b43e7e81a43d4e969e2e30d7d62776743b3c5fb19929fb1606850946c665ad1ca662bee88743f60f202cd92fc42be1cc2cc94e99bf1d137df61bec09850de93 SHA512 6ffda3594ddc513e05e31e7d347a12e371dca3cc698ca790a70e2d01b2ceac6acb5dd6e3cd19723817b41aa62e0c0a49c01c47cb9ce379ac491856a7e88e5a08
24 +DIST libvirt-snmp-0.0.4.tar.gz 157859 BLAKE2B e2c8fcdd97ba9b55bd4d318c63f7738024c1360ee10aa4e685c2ea6ca02478206febff30f3e1a82eb1a2dadaa52a377cfbce538e12e33f4ea2fe10b1a089945d SHA512 dbf47e7983f9bd6fcff205fffd1f6006268cca774cf427d39dec84dc7de37b545c0dfcbb2c6f171f55d73487cdec13341097137e24de2dea58ce90494d281162
25
26 diff --git a/app-emulation/libvirt-snmp/libvirt-snmp-0.0.4.ebuild b/app-emulation/libvirt-snmp/libvirt-snmp-0.0.4.ebuild
27 new file mode 100644
28 index 00000000000..f0eb657001f
29 --- /dev/null
30 +++ b/app-emulation/libvirt-snmp/libvirt-snmp-0.0.4.ebuild
31 @@ -0,0 +1,40 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit eutils
38 +
39 +DESCRIPTION="Provides SNMP functionality for libvirt"
40 +HOMEPAGE="http://libvirt.org"
41 +SRC_URI="http://www.libvirt.org/sources/snmp/${P}.tar.gz"
42 +
43 +LICENSE="GPL-2"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE=""
47 +
48 +DEPEND=""
49 +RDEPEND="${DEPEND}
50 + app-emulation/libvirt
51 + net-analyzer/net-snmp"
52 +BDEPEND="
53 + virtual/pkgconfig"
54 +
55 +src_install() {
56 + default
57 + newinitd "${FILESDIR}/libvirt-snmp.initd-r1" "${PN}"
58 + newconfd "${FILESDIR}/libvirt-snmp.confd" "${PN}"
59 +}
60 +
61 +pkg_postinst() {
62 + elog "This daemon runs as an AgentX sub-daemon for snmpd. You should therefore"
63 + elog "enable the AgentX functionality in snmpd by specifying the following"
64 + elog "in /etc/snmp/snmpd.conf:"
65 + elog " master agentx"
66 + elog "It is further recommended to send traps to the localhost as well using"
67 + elog "this option:"
68 + elog " trap2sink localhost"
69 + elog "More information is available here:"
70 + elog " http://wiki.libvirt.org/page/Libvirt-snmp"
71 +}