summaryrefslogtreecommitdiff
path: root/app-emulation/libvirt-snmp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
commitd87262dd706fec50cd150aab3e93883b6337466d (patch)
tree246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-emulation/libvirt-snmp
parent71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-emulation/libvirt-snmp')
-rw-r--r--app-emulation/libvirt-snmp/Manifest8
-rw-r--r--app-emulation/libvirt-snmp/files/0001-Fix-build-rules-to-use-LDADD-to-add-libraries.patch81
-rw-r--r--app-emulation/libvirt-snmp/files/libvirt-snmp.confd6
-rw-r--r--app-emulation/libvirt-snmp/files/libvirt-snmp.initd-r126
-rw-r--r--app-emulation/libvirt-snmp/libvirt-snmp-0.0.2-r2.ebuild42
-rw-r--r--app-emulation/libvirt-snmp/libvirt-snmp-0.0.3.ebuild38
-rw-r--r--app-emulation/libvirt-snmp/metadata.xml8
7 files changed, 0 insertions, 209 deletions
diff --git a/app-emulation/libvirt-snmp/Manifest b/app-emulation/libvirt-snmp/Manifest
deleted file mode 100644
index 86d3bdfc0843..000000000000
--- a/app-emulation/libvirt-snmp/Manifest
+++ /dev/null
@@ -1,8 +0,0 @@
-AUX 0001-Fix-build-rules-to-use-LDADD-to-add-libraries.patch 2007 BLAKE2B 28b70e11b3b3996da8df26daf335765a1025d4bf676427f7f7acdbbfb535efc14da555242e9346a461531bbe6d3a1625906dda437fe0d3b5c06609bddc3615f5 SHA512 1a5392c908af89e44331ebf36c7a223fc70f6841d8bda9d2912e04921a149fc406ebd47e2cab8c0d8982a2c199c9504c46ba0aa0d4a566cb74f1e90aceeb9e87
-AUX libvirt-snmp.confd 143 BLAKE2B 0781bbd4a4fc0f9f9f32347ae5b730ee643ccfacbc02ddacafca4fe3ba7af3418acd1a677f5d30547f2816717a29091a8305054c87549d675402fb639f12eb39 SHA512 15037f146e7d2f72c83927133b07477a8f0c79df417dc37f3d5a58081f4a9d5c950b5160f4c4b419b68430192a178cb9b8550106d4870ace264448a74de5862e
-AUX libvirt-snmp.initd-r1 639 BLAKE2B 46cc58e561aa341a27381cf1ff7925758dae2a8a119fb789645d5a602631b52d7d3325549da4b5b256f33c94e9a7d90200e5010d326184eab58a2d83d9bb72da SHA512 90db400497ea1ff10ffb0b8fe1ec9cfbbb066cdec0db9669924080ec64fd9b2e878c063eeb8ba7ffea0c3cd1f154a9074daab0bd6951de34e3d1183518dfdb18
-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
-EBUILD libvirt-snmp-0.0.2-r2.ebuild 1113 BLAKE2B 2cea4b7106b3cb699f9e9d4da0bbe5911df8164bcab095ff0d244c5bff9a922494085ccc70526fbc5895ad0a2826e0e2d5aa307b2c0d091f3019148f6290e3bb SHA512 1a8e52780ccbda9e8026ff57b67133b98450572f255a96bdf8be62fad39cfe727ffb83f9e0c4210bce589f0148f9f92407d351c2eca4c6cd9c8564913e8c6723
-EBUILD libvirt-snmp-0.0.3.ebuild 1015 BLAKE2B 7058f15af2b162840b906d2cfea0348f2b3f4b8666f2ec0476a6cda567e1c7ff0fd5f03f145a1a3f4201cc1c55342e418894c406ca308f2f5a8863e086f9be3a SHA512 c10de28493cd604c70f714ed8eb0f79ff0b4b8eb00840cdcc1c7ecc7c9287f393760e6136a5165a4f6976de1a99908bdde19d8b25753bc969390cfb8d898d56b
-MISC metadata.xml 256 BLAKE2B 6c2547727deeea210991f6aad9ba6c5c1e409a50652f665d0dcf12e239ce3beab612375e2c6bc75e1ee02026149d11519ced3974e60ae165b225adf0bdbcd260 SHA512 379c849f353da475a34564fec13fd0bb74e2029b0e00cbfbbf35eb37323a46a0d483788917cfeeeacb91a30867de199eeff9e1e280c2dc9ada84f32cf221dc09
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 7aa3560cc0f0..000000000000
--- 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 <cardoe@cardoe.com>
-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 <cardoe@cardoe.com>
----
- 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/files/libvirt-snmp.confd b/app-emulation/libvirt-snmp/files/libvirt-snmp.confd
deleted file mode 100644
index f1685bb5e9d9..000000000000
--- 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..000000000000
--- 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.2-r2.ebuild b/app-emulation/libvirt-snmp/libvirt-snmp-0.0.2-r2.ebuild
deleted file mode 100644
index 76879ca38720..000000000000
--- 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 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_prepare() {
- epatch "${FILESDIR}"/0001-Fix-build-rules-to-use-LDADD-to-add-libraries.patch
-}
-
-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/libvirt-snmp-0.0.3.ebuild b/app-emulation/libvirt-snmp/libvirt-snmp-0.0.3.ebuild
deleted file mode 100644
index b765a373d5a9..000000000000
--- 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"
-}
diff --git a/app-emulation/libvirt-snmp/metadata.xml b/app-emulation/libvirt-snmp/metadata.xml
deleted file mode 100644
index acd00be69f92..000000000000
--- a/app-emulation/libvirt-snmp/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>dev-zero@gentoo.org</email>
- <name>Tiziano Müller</name>
- </maintainer>
-</pkgmetadata>