[gentoo-commits] repo/gentoo:master commit in: app-emulation/libvirt-snmp/files/, profiles/, app-emulation/libvirt-snmp/
commit: 1d85e08f3911bcc2a6eeb73f91a1085ac966a8d2 Author: Jakov Smolić gentoo org> AuthorDate: Sat Sep 23 00:55:59 2023 + Commit: Jakov Smolić gentoo org> CommitDate: Sat Sep 23 00:55:59 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d85e08f app-emulation/libvirt-snmp: treeclean Closes: https://bugs.gentoo.org/912582 Signed-off-by: Jakov Smolić gentoo.org> app-emulation/libvirt-snmp/Manifest| 1 - .../libvirt-snmp/files/libvirt-snmp.confd | 6 .../libvirt-snmp/files/libvirt-snmp.initd-r1 | 26 --- .../libvirt-snmp/libvirt-snmp-0.0.4.ebuild | 38 -- app-emulation/libvirt-snmp/metadata.xml| 8 - profiles/package.mask | 6 6 files changed, 85 deletions(-) diff --git a/app-emulation/libvirt-snmp/Manifest b/app-emulation/libvirt-snmp/Manifest deleted file mode 100644 index 29aa01ee3da6.. --- a/app-emulation/libvirt-snmp/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST libvirt-snmp-0.0.4.tar.gz 157859 BLAKE2B e2c8fcdd97ba9b55bd4d318c63f7738024c1360ee10aa4e685c2ea6ca02478206febff30f3e1a82eb1a2dadaa52a377cfbce538e12e33f4ea2fe10b1a089945d SHA512 dbf47e7983f9bd6fcff205fffd1f6006268cca774cf427d39dec84dc7de37b545c0dfcbb2c6f171f55d73487cdec13341097137e24de2dea58ce90494d281162 diff --git a/app-emulation/libvirt-snmp/files/libvirt-snmp.confd b/app-emulation/libvirt-snmp/files/libvirt-snmp.confd deleted file mode 100644 index f1685bb5e9d9.. --- a/app-emulation/libvirt-snmp/files/libvirt-snmp.confd +++ /dev/null @@ -1,6 +0,0 @@ - -# Specify the URI where your libvirt instance is listening -LIBVIRT_DEFAULT_URI="qemu:///system" - -# additional options -LIBVIRT_SNMP_OPTIONS="" diff --git a/app-emulation/libvirt-snmp/files/libvirt-snmp.initd-r1 b/app-emulation/libvirt-snmp/files/libvirt-snmp.initd-r1 deleted file mode 100644 index 27b877991ae2.. --- a/app-emulation/libvirt-snmp/files/libvirt-snmp.initd-r1 +++ /dev/null @@ -1,26 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { -need snmpd -use snmptrapd -use libvirtd -} - -start() { -ebegin "Starting libvirt subagent" -start-stop-daemon --start \ ---env LIBVIRT_DEFAULT_URI="${LIBVIRT_DEFAULT_URI}" \ ---exec /usr/bin/libvirtMib_subagent \ --- ${LIBVIRT_SNMP_OPTIONS} -eend $? -} - -stop() { -ebegin "Stopping libvirt subagent" -# "--exec /usr/bin/libvirtMib_subagent" does not work and the name gets truncated -start-stop-daemon --stop \ ---name libvirtMib_suba -eend $? -} diff --git a/app-emulation/libvirt-snmp/libvirt-snmp-0.0.4.ebuild b/app-emulation/libvirt-snmp/libvirt-snmp-0.0.4.ebuild deleted file mode 100644 index 3c8bb226db84.. --- a/app-emulation/libvirt-snmp/libvirt-snmp-0.0.4.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Provides SNMP functionality for libvirt" -HOMEPAGE="https://wiki.libvirt.org/Libvirt-snmp.html; -SRC_URI="https://download.libvirt.org/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; -} diff --git a/app-emulation/libvirt-snmp/metadata.xml b/app-emulation/libvirt-snmp/metadata.xml deleted file mode 100644 index c0ac3e2e06a7.. --- a/app-emulation/libvirt-snmp/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - -https://www.gentoo.org/dtd/metadata.dtd;> - - - - libvirt/libvirt-snmp - - diff --git a/profiles/package.mask b/profiles/package.mask index 843fb7c21761..5e1f7f798f0c 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -264,12 +264,6 @@ dev-ruby/totoridipjp # Removal sometime after 2023-09-23. sci-mathematics/polymake -# Sam James (2023-08-22) -# Broken with new net-analyzer/net-snmp, no reverse dependencies in Gentoo, -# no other distros package this, and upstream have discontinued development. -# Removal on 2023-09-21. Bug
[gentoo-commits] repo/gentoo:master commit in: app-emulation/libvirt-snmp/
commit: 2a71521d78c59043b5b97707475b0e97171719e7 Author: Sam James gentoo org> AuthorDate: Sat Aug 19 12:38:26 2023 + Commit: Sam James gentoo org> CommitDate: Sat Aug 19 12:41:57 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a71521d app-emulation/libvirt-snmp: add gitlab upstream metadata Signed-off-by: Sam James gentoo.org> app-emulation/libvirt-snmp/metadata.xml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app-emulation/libvirt-snmp/metadata.xml b/app-emulation/libvirt-snmp/metadata.xml index bef24d2c2337..c0ac3e2e06a7 100644 --- a/app-emulation/libvirt-snmp/metadata.xml +++ b/app-emulation/libvirt-snmp/metadata.xml @@ -1,5 +1,8 @@ https://www.gentoo.org/dtd/metadata.dtd;> - + + + libvirt/libvirt-snmp +
[gentoo-commits] repo/gentoo:master commit in: app-emulation/libvirt-snmp/
commit: a0fdcd34905c0ede9c99371266c8ed0620e49316 Author: Sam James gentoo org> AuthorDate: Sat Aug 19 12:38:59 2023 + Commit: Sam James gentoo org> CommitDate: Sat Aug 19 12:41:57 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0fdcd34 app-emulation/libvirt-snmp: update HOMEPAGE, SRC_URI Signed-off-by: Sam James gentoo.org> app-emulation/libvirt-snmp/libvirt-snmp-0.0.4.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 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 index f1cd1053e951..3c8bb226db84 100644 --- a/app-emulation/libvirt-snmp/libvirt-snmp-0.0.4.ebuild +++ b/app-emulation/libvirt-snmp/libvirt-snmp-0.0.4.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 DESCRIPTION="Provides SNMP functionality for libvirt" -HOMEPAGE="http://libvirt.org; -SRC_URI="http://www.libvirt.org/sources/snmp/${P}.tar.gz; +HOMEPAGE="https://wiki.libvirt.org/Libvirt-snmp.html; +SRC_URI="https://download.libvirt.org/snmp/${P}.tar.gz; LICENSE="GPL-2" SLOT="0"
[gentoo-commits] repo/gentoo:master commit in: app-emulation/libvirt-snmp/
commit: 0dff03a33268cf3d21ce802262fc8fc8e692c731 Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Aug 6 10:02:27 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Aug 6 10:02:27 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dff03a3 app-emulation/libvirt-snmp: x86 stable wrt bug #691312 Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> app-emulation/libvirt-snmp/libvirt-snmp-0.0.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-emulation/libvirt-snmp/libvirt-snmp-0.0.4.ebuild b/app-emulation/libvirt-snmp/libvirt-snmp-0.0.4.ebuild index 88e7353b2f5..8539f42de69 100644 --- a/app-emulation/libvirt-snmp/libvirt-snmp-0.0.4.ebuild +++ b/app-emulation/libvirt-snmp/libvirt-snmp-0.0.4.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://www.libvirt.org/sources/snmp/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="" DEPEND=""
[gentoo-commits] repo/gentoo:master commit in: app-emulation/libvirt-snmp/
commit: 7abe26da9cfdac6cd6938d58b90b59eb7e8f4957 Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Aug 6 09:39:07 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Aug 6 09:39:07 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7abe26da app-emulation/libvirt-snmp: amd64 stable wrt bug #691312 Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> app-emulation/libvirt-snmp/libvirt-snmp-0.0.4.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 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 index f0eb657001f..88e7353b2f5 100644 --- a/app-emulation/libvirt-snmp/libvirt-snmp-0.0.4.ebuild +++ b/app-emulation/libvirt-snmp/libvirt-snmp-0.0.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="http://www.libvirt.org/sources/snmp/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="" DEPEND=""
[gentoo-commits] repo/gentoo:master commit in: app-emulation/libvirt-snmp/
commit: 7adc959a05f5942c577bc632e89c8b8c545a6438 Author: Matthias Maier gentoo org> AuthorDate: Mon Apr 8 01:32:50 2019 + Commit: Matthias Maier gentoo org> CommitDate: Mon Apr 8 02:29:40 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7adc959a app-emulation/libvirt-snmp: drop old version Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Matthias Maier gentoo.org> app-emulation/libvirt-snmp/Manifest| 1 - .../libvirt-snmp/libvirt-snmp-0.0.3.ebuild | 38 -- 2 files changed, 39 deletions(-) diff --git a/app-emulation/libvirt-snmp/Manifest b/app-emulation/libvirt-snmp/Manifest index 239679fbd52..29aa01ee3da 100644 --- a/app-emulation/libvirt-snmp/Manifest +++ b/app-emulation/libvirt-snmp/Manifest @@ -1,2 +1 @@ -DIST libvirt-snmp-0.0.3.tar.gz 161186 BLAKE2B 1b43e7e81a43d4e969e2e30d7d62776743b3c5fb19929fb1606850946c665ad1ca662bee88743f60f202cd92fc42be1cc2cc94e99bf1d137df61bec09850de93 SHA512 6ffda3594ddc513e05e31e7d347a12e371dca3cc698ca790a70e2d01b2ceac6acb5dd6e3cd19723817b41aa62e0c0a49c01c47cb9ce379ac491856a7e88e5a08 DIST libvirt-snmp-0.0.4.tar.gz 157859 BLAKE2B e2c8fcdd97ba9b55bd4d318c63f7738024c1360ee10aa4e685c2ea6ca02478206febff30f3e1a82eb1a2dadaa52a377cfbce538e12e33f4ea2fe10b1a089945d SHA512 dbf47e7983f9bd6fcff205fffd1f6006268cca774cf427d39dec84dc7de37b545c0dfcbb2c6f171f55d73487cdec13341097137e24de2dea58ce90494d281162 diff --git a/app-emulation/libvirt-snmp/libvirt-snmp-0.0.3.ebuild b/app-emulation/libvirt-snmp/libvirt-snmp-0.0.3.ebuild deleted file mode 100644 index b765a373d5a..000 --- a/app-emulation/libvirt-snmp/libvirt-snmp-0.0.3.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -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" -IUSE="" - -RDEPEND="app-emulation/libvirt - net-analyzer/net-snmp" -DEPEND="${RDEPEND} - 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; -}
[gentoo-commits] repo/gentoo:master commit in: app-emulation/libvirt-snmp/, app-emulation/libvirt-snmp/files/
commit: 872b7c51e1a1edf393e9dcf12049fb55f611ab6b Author: Matthias Maier gentoo org> AuthorDate: Sun Nov 4 05:11:42 2018 + Commit: Matthias Maier gentoo org> CommitDate: Sun Nov 4 05:13:34 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=872b7c51 app-emulation/libvirt-snmp: drop old Signed-off-by: Matthias Maier gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 app-emulation/libvirt-snmp/Manifest| 1 - ...build-rules-to-use-LDADD-to-add-libraries.patch | 81 -- .../libvirt-snmp/libvirt-snmp-0.0.2-r2.ebuild | 42 --- 3 files changed, 124 deletions(-) diff --git a/app-emulation/libvirt-snmp/Manifest b/app-emulation/libvirt-snmp/Manifest index b7eb38bce37..239679fbd52 100644 --- a/app-emulation/libvirt-snmp/Manifest +++ b/app-emulation/libvirt-snmp/Manifest @@ -1,3 +1,2 @@ -DIST libvirt-snmp-0.0.2.tar.gz 152790 BLAKE2B b2e5eee2d67283112556c52921b14029a90d5cedf0c4575e056475191470a4b6bf5d837f1ca942b848f6509da4aa12daa508bbfc5272e1435e73fbfc290e1967 SHA512 13a522c765d278d3b8f8ab9f32f97c8531f6d131afcb0ce62ae397631db92ed3b585ad221a1f2b3bc17907cc4d61adca4a2071b0458a05f2bff5ca06191e1478 DIST libvirt-snmp-0.0.3.tar.gz 161186 BLAKE2B 1b43e7e81a43d4e969e2e30d7d62776743b3c5fb19929fb1606850946c665ad1ca662bee88743f60f202cd92fc42be1cc2cc94e99bf1d137df61bec09850de93 SHA512 6ffda3594ddc513e05e31e7d347a12e371dca3cc698ca790a70e2d01b2ceac6acb5dd6e3cd19723817b41aa62e0c0a49c01c47cb9ce379ac491856a7e88e5a08 DIST libvirt-snmp-0.0.4.tar.gz 157859 BLAKE2B e2c8fcdd97ba9b55bd4d318c63f7738024c1360ee10aa4e685c2ea6ca02478206febff30f3e1a82eb1a2dadaa52a377cfbce538e12e33f4ea2fe10b1a089945d SHA512 dbf47e7983f9bd6fcff205fffd1f6006268cca774cf427d39dec84dc7de37b545c0dfcbb2c6f171f55d73487cdec13341097137e24de2dea58ce90494d281162 diff --git a/app-emulation/libvirt-snmp/files/0001-Fix-build-rules-to-use-LDADD-to-add-libraries.patch b/app-emulation/libvirt-snmp/files/0001-Fix-build-rules-to-use-LDADD-to-add-libraries.patch deleted file mode 100644 index 7aa3560cc0f..000 --- a/app-emulation/libvirt-snmp/files/0001-Fix-build-rules-to-use-LDADD-to-add-libraries.patch +++ /dev/null @@ -1,81 +0,0 @@ -From 810fef8fbf0c4f6383d870a21f729875a8e16f91 Mon Sep 17 00:00:00 2001 -From: Doug Goldstein -Date: Mon, 13 Aug 2012 00:18:04 -0500 -Subject: [libvirt-snmp] [PATCH] Fix build rules to use LDADD to add libraries - -Fix build rules to use LDADD to add libraries to support --as-needed. -Also refactored some of the other automake variables in the same fashion -of the libvirt's automake rules. - -Signed-off-by: Doug Goldstein - configure.ac|4 - src/Makefile.am | 31 --- - 2 files changed, 20 insertions(+), 15 deletions(-) - -diff --git a/configure.ac b/configure.ac -index a2bb1ac..9d7d03c 100644 a/configure.ac -+++ b/configure.ac -@@ -3,6 +3,10 @@ AM_INIT_AUTOMAKE([-Wall -Werror]) - AC_CONFIG_HEADERS([config.h]) - - AC_PREREQ([2.50]) -+ -+AC_PROG_CC -+AM_PROG_CC_C_O -+ - AC_CHECK_FUNCS([memset]) - AC_CHECK_FUNCS([strdup]) - AC_CHECK_HEADERS([stdlib.h]) -diff --git a/src/Makefile.am b/src/Makefile.am -index 6d27bf5..622a280 100644 a/src/Makefile.am -+++ b/src/Makefile.am -@@ -1,19 +1,5 @@ - bin_PROGRAMS=libvirtMib_subagent - --AM_CFLAGS = \ -- $(COVERAGE_CFLAGS) \ -- $(DRIVER_MODULE_CFLAGS) \ -- $(SNMP_CFLAGS) \ -- $(LIBVIRT_CFLAGS) \ -- $(WARN_CFLAGS) \ -- $(LOCK_CHECKING_CFLAGS) -- --AM_LDFLAGS = \ -- $(COVERAGE_LDFLAGS) \ -- $(PTHREAD_LIBS) \ -- $(LIBVIRT_LIBS) \ -- $(SNMP_LIBS) -- - LIBVIRT_OLD_SRCS = \ - threads.c \ - event_poll.c \ -@@ -58,7 +44,22 @@ HDRS = \ - libvirtGuestTable.h - - libvirtMib_subagent_SOURCES=${SRCS} ${HDRS} --libvirtMib_subagent_LDFLAGS=${AM_LDFLAGS} -+ -+libvirtMib_subagent_CFLAGS= \ -+ $(DRIVER_MODULE_CFLAGS) \ -+ $(SNMP_CFLAGS) \ -+ $(LIBVIRT_CFLAGS) \ -+ $(COVERAGE_CFLAGS) \ -+ $(WARN_CFLAGS) \ -+ $(LOCK_CHECKING_CFLAGS) -+ -+libvirtMib_subagent_LDFLAGS= \ -+ $(COVERAGE_LDFLAGS) -+ -+libvirtMib_subagent_LDADD=\ -+ $(PTHREAD_LIBS) \ -+ $(LIBVIRT_LIBS) \ -+ $(SNMP_LIBS) - - if LIBVIRT_OLD - libvirtMib_subagent_SOURCES+=${LIBVIRT_OLD_SRCS} ${LIBVIRT_OLD_HDRS} --- -1.7.8.6 - diff --git a/app-emulation/libvirt-snmp/libvirt-snmp-0.0.2-r2.ebuild b/app-emulation/libvirt-snmp/libvirt-snmp-0.0.2-r2.ebuild deleted file mode 100644 index 76879ca3872..000 --- a/app-emulation/libvirt-snmp/libvirt-snmp-0.0.2-r2.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU
[gentoo-commits] repo/gentoo:master commit in: app-emulation/libvirt-snmp/
commit: 35d6a7ec07732f45812eb876b9484cff35473b22 Author: Michal Privoznik redhat com> AuthorDate: Thu Oct 25 15:31:17 2018 + Commit: Matthias Maier gentoo org> CommitDate: Thu Oct 25 22:23:01 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35d6a7ec app-emulation/libvirt-snmp: version bump to 0.0.4 Signed-off-by: Michal Privoznik redhat.com> Signed-off-by: Matthias Maier gentoo.org> app-emulation/libvirt-snmp/Manifest| 1 + .../libvirt-snmp/libvirt-snmp-0.0.4.ebuild | 40 ++ 2 files changed, 41 insertions(+) diff --git a/app-emulation/libvirt-snmp/Manifest b/app-emulation/libvirt-snmp/Manifest index ea3d956712a..b7eb38bce37 100644 --- a/app-emulation/libvirt-snmp/Manifest +++ b/app-emulation/libvirt-snmp/Manifest @@ -1,2 +1,3 @@ DIST libvirt-snmp-0.0.2.tar.gz 152790 BLAKE2B b2e5eee2d67283112556c52921b14029a90d5cedf0c4575e056475191470a4b6bf5d837f1ca942b848f6509da4aa12daa508bbfc5272e1435e73fbfc290e1967 SHA512 13a522c765d278d3b8f8ab9f32f97c8531f6d131afcb0ce62ae397631db92ed3b585ad221a1f2b3bc17907cc4d61adca4a2071b0458a05f2bff5ca06191e1478 DIST libvirt-snmp-0.0.3.tar.gz 161186 BLAKE2B 1b43e7e81a43d4e969e2e30d7d62776743b3c5fb19929fb1606850946c665ad1ca662bee88743f60f202cd92fc42be1cc2cc94e99bf1d137df61bec09850de93 SHA512 6ffda3594ddc513e05e31e7d347a12e371dca3cc698ca790a70e2d01b2ceac6acb5dd6e3cd19723817b41aa62e0c0a49c01c47cb9ce379ac491856a7e88e5a08 +DIST libvirt-snmp-0.0.4.tar.gz 157859 BLAKE2B e2c8fcdd97ba9b55bd4d318c63f7738024c1360ee10aa4e685c2ea6ca02478206febff30f3e1a82eb1a2dadaa52a377cfbce538e12e33f4ea2fe10b1a089945d SHA512 dbf47e7983f9bd6fcff205fffd1f6006268cca774cf427d39dec84dc7de37b545c0dfcbb2c6f171f55d73487cdec13341097137e24de2dea58ce90494d281162 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 000..f0eb657001f --- /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; +}