1 |
commit: 872b7c51e1a1edf393e9dcf12049fb55f611ab6b |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 4 05:11:42 2018 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 4 05:13:34 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=872b7c51 |
7 |
|
8 |
app-emulation/libvirt-snmp: drop old |
9 |
|
10 |
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
app-emulation/libvirt-snmp/Manifest | 1 - |
14 |
...build-rules-to-use-LDADD-to-add-libraries.patch | 81 ---------------------- |
15 |
.../libvirt-snmp/libvirt-snmp-0.0.2-r2.ebuild | 42 ----------- |
16 |
3 files changed, 124 deletions(-) |
17 |
|
18 |
diff --git a/app-emulation/libvirt-snmp/Manifest b/app-emulation/libvirt-snmp/Manifest |
19 |
index b7eb38bce37..239679fbd52 100644 |
20 |
--- a/app-emulation/libvirt-snmp/Manifest |
21 |
+++ b/app-emulation/libvirt-snmp/Manifest |
22 |
@@ -1,3 +1,2 @@ |
23 |
-DIST libvirt-snmp-0.0.2.tar.gz 152790 BLAKE2B b2e5eee2d67283112556c52921b14029a90d5cedf0c4575e056475191470a4b6bf5d837f1ca942b848f6509da4aa12daa508bbfc5272e1435e73fbfc290e1967 SHA512 13a522c765d278d3b8f8ab9f32f97c8531f6d131afcb0ce62ae397631db92ed3b585ad221a1f2b3bc17907cc4d61adca4a2071b0458a05f2bff5ca06191e1478 |
24 |
DIST libvirt-snmp-0.0.3.tar.gz 161186 BLAKE2B 1b43e7e81a43d4e969e2e30d7d62776743b3c5fb19929fb1606850946c665ad1ca662bee88743f60f202cd92fc42be1cc2cc94e99bf1d137df61bec09850de93 SHA512 6ffda3594ddc513e05e31e7d347a12e371dca3cc698ca790a70e2d01b2ceac6acb5dd6e3cd19723817b41aa62e0c0a49c01c47cb9ce379ac491856a7e88e5a08 |
25 |
DIST libvirt-snmp-0.0.4.tar.gz 157859 BLAKE2B e2c8fcdd97ba9b55bd4d318c63f7738024c1360ee10aa4e685c2ea6ca02478206febff30f3e1a82eb1a2dadaa52a377cfbce538e12e33f4ea2fe10b1a089945d SHA512 dbf47e7983f9bd6fcff205fffd1f6006268cca774cf427d39dec84dc7de37b545c0dfcbb2c6f171f55d73487cdec13341097137e24de2dea58ce90494d281162 |
26 |
|
27 |
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 |
28 |
deleted file mode 100644 |
29 |
index 7aa3560cc0f..00000000000 |
30 |
--- a/app-emulation/libvirt-snmp/files/0001-Fix-build-rules-to-use-LDADD-to-add-libraries.patch |
31 |
+++ /dev/null |
32 |
@@ -1,81 +0,0 @@ |
33 |
-From 810fef8fbf0c4f6383d870a21f729875a8e16f91 Mon Sep 17 00:00:00 2001 |
34 |
-From: Doug Goldstein <cardoe@××××××.com> |
35 |
-Date: Mon, 13 Aug 2012 00:18:04 -0500 |
36 |
-Subject: [libvirt-snmp] [PATCH] Fix build rules to use LDADD to add libraries |
37 |
- |
38 |
-Fix build rules to use LDADD to add libraries to support --as-needed. |
39 |
-Also refactored some of the other automake variables in the same fashion |
40 |
-of the libvirt's automake rules. |
41 |
- |
42 |
-Signed-off-by: Doug Goldstein <cardoe@××××××.com> |
43 |
---- |
44 |
- configure.ac | 4 ++++ |
45 |
- src/Makefile.am | 31 ++++++++++++++++--------------- |
46 |
- 2 files changed, 20 insertions(+), 15 deletions(-) |
47 |
- |
48 |
-diff --git a/configure.ac b/configure.ac |
49 |
-index a2bb1ac..9d7d03c 100644 |
50 |
---- a/configure.ac |
51 |
-+++ b/configure.ac |
52 |
-@@ -3,6 +3,10 @@ AM_INIT_AUTOMAKE([-Wall -Werror]) |
53 |
- AC_CONFIG_HEADERS([config.h]) |
54 |
- |
55 |
- AC_PREREQ([2.50]) |
56 |
-+ |
57 |
-+AC_PROG_CC |
58 |
-+AM_PROG_CC_C_O |
59 |
-+ |
60 |
- AC_CHECK_FUNCS([memset]) |
61 |
- AC_CHECK_FUNCS([strdup]) |
62 |
- AC_CHECK_HEADERS([stdlib.h]) |
63 |
-diff --git a/src/Makefile.am b/src/Makefile.am |
64 |
-index 6d27bf5..622a280 100644 |
65 |
---- a/src/Makefile.am |
66 |
-+++ b/src/Makefile.am |
67 |
-@@ -1,19 +1,5 @@ |
68 |
- bin_PROGRAMS=libvirtMib_subagent |
69 |
- |
70 |
--AM_CFLAGS = \ |
71 |
-- $(COVERAGE_CFLAGS) \ |
72 |
-- $(DRIVER_MODULE_CFLAGS) \ |
73 |
-- $(SNMP_CFLAGS) \ |
74 |
-- $(LIBVIRT_CFLAGS) \ |
75 |
-- $(WARN_CFLAGS) \ |
76 |
-- $(LOCK_CHECKING_CFLAGS) |
77 |
-- |
78 |
--AM_LDFLAGS = \ |
79 |
-- $(COVERAGE_LDFLAGS) \ |
80 |
-- $(PTHREAD_LIBS) \ |
81 |
-- $(LIBVIRT_LIBS) \ |
82 |
-- $(SNMP_LIBS) |
83 |
-- |
84 |
- LIBVIRT_OLD_SRCS = \ |
85 |
- threads.c \ |
86 |
- event_poll.c \ |
87 |
-@@ -58,7 +44,22 @@ HDRS = \ |
88 |
- libvirtGuestTable.h |
89 |
- |
90 |
- libvirtMib_subagent_SOURCES=${SRCS} ${HDRS} |
91 |
--libvirtMib_subagent_LDFLAGS=${AM_LDFLAGS} |
92 |
-+ |
93 |
-+libvirtMib_subagent_CFLAGS= \ |
94 |
-+ $(DRIVER_MODULE_CFLAGS) \ |
95 |
-+ $(SNMP_CFLAGS) \ |
96 |
-+ $(LIBVIRT_CFLAGS) \ |
97 |
-+ $(COVERAGE_CFLAGS) \ |
98 |
-+ $(WARN_CFLAGS) \ |
99 |
-+ $(LOCK_CHECKING_CFLAGS) |
100 |
-+ |
101 |
-+libvirtMib_subagent_LDFLAGS= \ |
102 |
-+ $(COVERAGE_LDFLAGS) |
103 |
-+ |
104 |
-+libvirtMib_subagent_LDADD= \ |
105 |
-+ $(PTHREAD_LIBS) \ |
106 |
-+ $(LIBVIRT_LIBS) \ |
107 |
-+ $(SNMP_LIBS) |
108 |
- |
109 |
- if LIBVIRT_OLD |
110 |
- libvirtMib_subagent_SOURCES+=${LIBVIRT_OLD_SRCS} ${LIBVIRT_OLD_HDRS} |
111 |
--- |
112 |
-1.7.8.6 |
113 |
- |
114 |
|
115 |
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 |
116 |
deleted file mode 100644 |
117 |
index 76879ca3872..00000000000 |
118 |
--- a/app-emulation/libvirt-snmp/libvirt-snmp-0.0.2-r2.ebuild |
119 |
+++ /dev/null |
120 |
@@ -1,42 +0,0 @@ |
121 |
-# Copyright 1999-2014 Gentoo Foundation |
122 |
-# Distributed under the terms of the GNU General Public License v2 |
123 |
- |
124 |
-EAPI=4 |
125 |
- |
126 |
-inherit eutils |
127 |
- |
128 |
-DESCRIPTION="Provides SNMP functionality for libvirt" |
129 |
-HOMEPAGE="http://libvirt.org" |
130 |
-SRC_URI="http://www.libvirt.org/sources/snmp/${P}.tar.gz" |
131 |
- |
132 |
-LICENSE="GPL-2" |
133 |
-SLOT="0" |
134 |
-KEYWORDS="~amd64" |
135 |
-IUSE="" |
136 |
- |
137 |
-RDEPEND="app-emulation/libvirt |
138 |
- net-analyzer/net-snmp" |
139 |
-DEPEND="${RDEPEND} |
140 |
- virtual/pkgconfig" |
141 |
- |
142 |
-src_prepare() { |
143 |
- epatch "${FILESDIR}"/0001-Fix-build-rules-to-use-LDADD-to-add-libraries.patch |
144 |
-} |
145 |
- |
146 |
-src_install() { |
147 |
- default |
148 |
- newinitd "${FILESDIR}/libvirt-snmp.initd-r1" "${PN}" |
149 |
- newconfd "${FILESDIR}/libvirt-snmp.confd" "${PN}" |
150 |
-} |
151 |
- |
152 |
-pkg_postinst() { |
153 |
- elog "This daemon runs as an AgentX sub-daemon for snmpd. You should therefore" |
154 |
- elog "enable the AgentX functionality in snmpd by specifying the following" |
155 |
- elog "in /etc/snmp/snmpd.conf:" |
156 |
- elog " master agentx" |
157 |
- elog "It is further recommended to send traps to the localhost as well using" |
158 |
- elog "this option:" |
159 |
- elog " trap2sink localhost" |
160 |
- elog "More information is available here:" |
161 |
- elog " http://wiki.libvirt.org/page/Libvirt-snmp" |
162 |
-} |