app-emulation/libvirt-snmp: drop old
authorMatthias Maier <tamiko@gentoo.org>
Sun, 4 Nov 2018 05:11:42 +0000 (00:11 -0500)
committerMatthias Maier <tamiko@gentoo.org>
Sun, 4 Nov 2018 05:13:34 +0000 (00:13 -0500)
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

app-emulation/libvirt-snmp/Manifest
app-emulation/libvirt-snmp/files/0001-Fix-build-rules-to-use-LDADD-to-add-libraries.patch [deleted file]
app-emulation/libvirt-snmp/libvirt-snmp-0.0.2-r2.ebuild [deleted file]

index b7eb38bce372fa5dd700e0551449b6f89b74db9d..239679fbd5203a3ff4917b04be229b0940ff759e 100644 (file)
@@ -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 (file)
index 7aa3560..0000000
+++ /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/libvirt-snmp-0.0.2-r2.ebuild b/app-emulation/libvirt-snmp/libvirt-snmp-0.0.2-r2.ebuild
deleted file mode 100644 (file)
index 76879ca..0000000
+++ /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"
-}