1 |
commit: e0dbdf6147d2b00e227df109b2ec17718d46705e |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 3 16:59:58 2019 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 3 17:05:10 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0dbdf61 |
7 |
|
8 |
net-analyzer/bsnmp: remove last rited pkg |
9 |
|
10 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
11 |
|
12 |
net-analyzer/bsnmp/Manifest | 2 - |
13 |
net-analyzer/bsnmp/bsnmp-1.11a.ebuild | 45 ------------ |
14 |
net-analyzer/bsnmp/bsnmp-1.12-r1.ebuild | 50 ------------- |
15 |
net-analyzer/bsnmp/bsnmp-1.12.ebuild | 46 ------------ |
16 |
net-analyzer/bsnmp/files/bsnmp-1.10-gcc34.patch | 12 --- |
17 |
net-analyzer/bsnmp/files/bsnmp-1.12-mibII.patch | 13 ---- |
18 |
net-analyzer/bsnmp/files/bsnmpd.init | 11 --- |
19 |
net-analyzer/bsnmp/files/snmpd.config | 98 ------------------------- |
20 |
net-analyzer/bsnmp/files/werror.patch | 11 --- |
21 |
net-analyzer/bsnmp/metadata.xml | 5 -- |
22 |
10 files changed, 293 deletions(-) |
23 |
|
24 |
diff --git a/net-analyzer/bsnmp/Manifest b/net-analyzer/bsnmp/Manifest |
25 |
deleted file mode 100644 |
26 |
index 20ada3975bc..00000000000 |
27 |
--- a/net-analyzer/bsnmp/Manifest |
28 |
+++ /dev/null |
29 |
@@ -1,2 +0,0 @@ |
30 |
-DIST bsnmp-1.11a.tar.gz 408165 BLAKE2B 11240fddb1b449927749baddc0c6a6e0d03c85a51fe6f3901e0b915f6060743875224de319c652f5aa70ed5f0a6d2a4ecea059a5d4d4441dff409bfa9be9a1bd SHA512 8b3695a147b5a3c012509f73c0627c8f7b66d99c54c53636d2add2d3427acf331bc4168ee88b8cad2536c1a15901fc38c4acd51e7630c48f4972504d94e8dc08 |
31 |
-DIST bsnmp-1.12.tar.gz 418653 BLAKE2B 87ec6325b2daade01ed46e6c1b5bdccaef310065e00a82b947c33d7451ec5485faa34d88b7371cb114fd4e70eee4746cb13ffaed2586bd35ed581883e1f748c3 SHA512 c2c292e21632ea475d30aafaf7f66566389bccabfd20886a27bc4af98dba24139568c0eaddd36710655abac9ca6a38525136e06f2cf7be8b9db8ca656b2021c9 |
32 |
|
33 |
diff --git a/net-analyzer/bsnmp/bsnmp-1.11a.ebuild b/net-analyzer/bsnmp/bsnmp-1.11a.ebuild |
34 |
deleted file mode 100644 |
35 |
index f19dc60cea7..00000000000 |
36 |
--- a/net-analyzer/bsnmp/bsnmp-1.11a.ebuild |
37 |
+++ /dev/null |
38 |
@@ -1,45 +0,0 @@ |
39 |
-# Copyright 1999-2018 Gentoo Foundation |
40 |
-# Distributed under the terms of the GNU General Public License v2 |
41 |
- |
42 |
-EAPI=0 |
43 |
- |
44 |
-inherit eutils flag-o-matic |
45 |
- |
46 |
-DESCRIPTION="Mini-SNMP Daemon and Library" |
47 |
-HOMEPAGE="http://people.freebsd.org/~harti/" |
48 |
-SRC_URI="http://people.freebsd.org/~harti/bsnmp/${P}.tar.gz" |
49 |
- |
50 |
-LICENSE="BSD" |
51 |
-SLOT="0" |
52 |
-KEYWORDS="" |
53 |
-IUSE="tcpd" |
54 |
- |
55 |
-DEPEND="dev-libs/libbegemot |
56 |
- tcpd? ( sys-apps/tcp-wrappers )" |
57 |
- |
58 |
-src_unpack() { |
59 |
- unpack ${A} |
60 |
- cd "${S}" |
61 |
- |
62 |
- epatch "${FILESDIR}/${PN}-1.10-gcc34.patch" |
63 |
-} |
64 |
- |
65 |
-src_compile() { |
66 |
- if use elibc_glibc; then |
67 |
- # bsnmp is bsd-based, without this it will fail |
68 |
- append-flags "-D_BSD_SOURCE" |
69 |
- fi |
70 |
- |
71 |
- filter-flags -fno-inline |
72 |
- |
73 |
- econf \ |
74 |
- --with-libbegemot=/usr \ |
75 |
- $(use_with tcpd tcpwrappers) \ |
76 |
- || die "econf failed" |
77 |
- |
78 |
- emake -j1 || die "emake failed" |
79 |
-} |
80 |
- |
81 |
-src_install() { |
82 |
- einstall || die "make install failed" |
83 |
-} |
84 |
|
85 |
diff --git a/net-analyzer/bsnmp/bsnmp-1.12-r1.ebuild b/net-analyzer/bsnmp/bsnmp-1.12-r1.ebuild |
86 |
deleted file mode 100644 |
87 |
index fdd92f44ff9..00000000000 |
88 |
--- a/net-analyzer/bsnmp/bsnmp-1.12-r1.ebuild |
89 |
+++ /dev/null |
90 |
@@ -1,50 +0,0 @@ |
91 |
-# Copyright 1999-2019 Gentoo Authors |
92 |
-# Distributed under the terms of the GNU General Public License v2 |
93 |
- |
94 |
-EAPI=0 |
95 |
- |
96 |
-inherit eutils flag-o-matic |
97 |
- |
98 |
-DESCRIPTION="Mini-SNMP Daemon and Library" |
99 |
-HOMEPAGE="http://people.freebsd.org/~harti/" |
100 |
-SRC_URI="http://people.freebsd.org/~harti/bsnmp/${P}.tar.gz" |
101 |
- |
102 |
-LICENSE="BSD GPL-2" # GPL-2 init script |
103 |
-SLOT="0" |
104 |
-KEYWORDS="" |
105 |
-IUSE="tcpd" |
106 |
- |
107 |
-DEPEND="dev-libs/libbegemot |
108 |
- tcpd? ( sys-apps/tcp-wrappers )" |
109 |
- |
110 |
-src_unpack() { |
111 |
- unpack ${A} |
112 |
- cd "${S}" |
113 |
- |
114 |
- epatch "${FILESDIR}/${PN}-1.10-gcc34.patch" |
115 |
- epatch "${FILESDIR}/werror.patch" |
116 |
- epatch "${FILESDIR}/${P}-mibII.patch" |
117 |
-} |
118 |
- |
119 |
-src_compile() { |
120 |
- if use elibc_glibc; then |
121 |
- # bsnmp is bsd-based, without this it will fail |
122 |
- append-flags "-D_BSD_SOURCE" |
123 |
- fi |
124 |
- |
125 |
- filter-flags -fno-inline |
126 |
- |
127 |
- econf \ |
128 |
- --with-libbegemot=/usr \ |
129 |
- $(use_with tcpd tcpwrappers) \ |
130 |
- || die "econf failed" |
131 |
- |
132 |
- emake -j1 || die "emake failed" |
133 |
-} |
134 |
- |
135 |
-src_install() { |
136 |
- einstall || die "make install failed" |
137 |
- newinitd "${FILESDIR}"/bsnmpd.init bsnmpd || die |
138 |
- insinto /etc |
139 |
- doins "${FILESDIR}"/snmpd.config |
140 |
-} |
141 |
|
142 |
diff --git a/net-analyzer/bsnmp/bsnmp-1.12.ebuild b/net-analyzer/bsnmp/bsnmp-1.12.ebuild |
143 |
deleted file mode 100644 |
144 |
index 57b8a2e3afd..00000000000 |
145 |
--- a/net-analyzer/bsnmp/bsnmp-1.12.ebuild |
146 |
+++ /dev/null |
147 |
@@ -1,46 +0,0 @@ |
148 |
-# Copyright 1999-2019 Gentoo Authors |
149 |
-# Distributed under the terms of the GNU General Public License v2 |
150 |
- |
151 |
-EAPI=0 |
152 |
- |
153 |
-inherit eutils flag-o-matic |
154 |
- |
155 |
-DESCRIPTION="Mini-SNMP Daemon and Library" |
156 |
-HOMEPAGE="http://people.freebsd.org/~harti/" |
157 |
-SRC_URI="http://people.freebsd.org/~harti/bsnmp/${P}.tar.gz" |
158 |
- |
159 |
-LICENSE="BSD" |
160 |
-SLOT="0" |
161 |
-KEYWORDS="" |
162 |
-IUSE="tcpd" |
163 |
- |
164 |
-DEPEND="dev-libs/libbegemot |
165 |
- tcpd? ( sys-apps/tcp-wrappers )" |
166 |
- |
167 |
-src_unpack() { |
168 |
- unpack ${A} |
169 |
- cd "${S}" |
170 |
- |
171 |
- epatch "${FILESDIR}/${PN}-1.10-gcc34.patch" |
172 |
- epatch "${FILESDIR}/werror.patch" |
173 |
-} |
174 |
- |
175 |
-src_compile() { |
176 |
- if use elibc_glibc; then |
177 |
- # bsnmp is bsd-based, without this it will fail |
178 |
- append-flags "-D_BSD_SOURCE" |
179 |
- fi |
180 |
- |
181 |
- filter-flags -fno-inline |
182 |
- |
183 |
- econf \ |
184 |
- --with-libbegemot=/usr \ |
185 |
- $(use_with tcpd tcpwrappers) \ |
186 |
- || die "econf failed" |
187 |
- |
188 |
- emake -j1 || die "emake failed" |
189 |
-} |
190 |
- |
191 |
-src_install() { |
192 |
- einstall || die "make install failed" |
193 |
-} |
194 |
|
195 |
diff --git a/net-analyzer/bsnmp/files/bsnmp-1.10-gcc34.patch b/net-analyzer/bsnmp/files/bsnmp-1.10-gcc34.patch |
196 |
deleted file mode 100644 |
197 |
index f1220b83d52..00000000000 |
198 |
--- a/net-analyzer/bsnmp/files/bsnmp-1.10-gcc34.patch |
199 |
+++ /dev/null |
200 |
@@ -1,12 +0,0 @@ |
201 |
-diff -ur -x '*~' bsnmp-1.10/snmp_ntp/snmp_ntp.c bsnmp-1.10-fix/snmp_ntp/snmp_ntp.c |
202 |
---- bsnmp-1.10/snmp_ntp/snmp_ntp.c 2005-05-23 11:03:48.000000000 +0200 |
203 |
-+++ bsnmp-1.10-fix/snmp_ntp/snmp_ntp.c 2005-07-10 01:58:35.557888936 +0200 |
204 |
-@@ -360,6 +360,8 @@ |
205 |
- free(rpkt); |
206 |
- return (-1); |
207 |
- } |
208 |
-+ |
209 |
-+ return (-1); |
210 |
- } |
211 |
- |
212 |
- /* |
213 |
|
214 |
diff --git a/net-analyzer/bsnmp/files/bsnmp-1.12-mibII.patch b/net-analyzer/bsnmp/files/bsnmp-1.12-mibII.patch |
215 |
deleted file mode 100644 |
216 |
index c93191823d6..00000000000 |
217 |
--- a/net-analyzer/bsnmp/files/bsnmp-1.12-mibII.patch |
218 |
+++ /dev/null |
219 |
@@ -1,13 +0,0 @@ |
220 |
-diff --git a/snmp_mibII/Makefile.in b/snmp_mibII/Makefile.in |
221 |
-index d14c179..3a99850 100755 |
222 |
---- a/snmp_mibII/Makefile.in |
223 |
-+++ b/snmp_mibII/Makefile.in |
224 |
-@@ -10,7 +10,7 @@ MOD= mibII |
225 |
- SRCS= ${MOD}_tree.c mibII.c mibII_ifmib.c mibII_ip.c \ |
226 |
- mibII_interfaces.c mibII_ipaddr.c mibII_ifstack.c \ |
227 |
- mibII_rcvaddr.c mibII_nettomedia.c mibII_tcp.c mibII_udp.c \ |
228 |
-- mibII_route.c |
229 |
-+ mibII_route.c mibII_begemot.c |
230 |
- INCS= snmp_${MOD}.h |
231 |
- DEFS= mibII_tree.def |
232 |
- MAN3= snmp_mibII.3 |
233 |
|
234 |
diff --git a/net-analyzer/bsnmp/files/bsnmpd.init b/net-analyzer/bsnmp/files/bsnmpd.init |
235 |
deleted file mode 100644 |
236 |
index 947e542a043..00000000000 |
237 |
--- a/net-analyzer/bsnmp/files/bsnmpd.init |
238 |
+++ /dev/null |
239 |
@@ -1,11 +0,0 @@ |
240 |
-#!/sbin/openrc-run |
241 |
-# Copyright 1999-2012 Gentoo Foundation |
242 |
-# Distributed under the terms of the GNU General Public License v2 |
243 |
- |
244 |
-description="Mini-SNMP Daemon" |
245 |
-command="/usr/bin/bsnmpd" |
246 |
-pidfile="/var/run/snmpd.pid" |
247 |
- |
248 |
-depend() { |
249 |
- use net |
250 |
-} |
251 |
|
252 |
diff --git a/net-analyzer/bsnmp/files/snmpd.config b/net-analyzer/bsnmp/files/snmpd.config |
253 |
deleted file mode 100644 |
254 |
index 26f9f1aeb16..00000000000 |
255 |
--- a/net-analyzer/bsnmp/files/snmpd.config |
256 |
+++ /dev/null |
257 |
@@ -1,98 +0,0 @@ |
258 |
-# $FreeBSD: src/etc/snmpd.config,v 1.9.10.1.8.1 2012/03/03 06:15:13 kensmith Exp $ |
259 |
-# |
260 |
-# Example configuration file for bsnmpd(1). |
261 |
-# |
262 |
- |
263 |
-# |
264 |
-# Set some common variables |
265 |
-# |
266 |
-location := "Room 200" |
267 |
-contact := "sysmeister@×××××××.com" |
268 |
-system := 1 # FreeBSD |
269 |
-traphost := localhost |
270 |
-trapport := 162 |
271 |
- |
272 |
-# Change this! |
273 |
-read := "public" |
274 |
-# Uncomment begemotSnmpdCommunityString.0.2 below that sets the community |
275 |
-# string to enable write access. |
276 |
-write := "geheim" |
277 |
-trap := "mytrap" |
278 |
- |
279 |
-# |
280 |
-# Configuration |
281 |
-# |
282 |
-%snmpd |
283 |
-begemotSnmpdDebugDumpPdus = 2 |
284 |
-begemotSnmpdDebugSyslogPri = 7 |
285 |
- |
286 |
-# |
287 |
-# Set the read and write communities. |
288 |
-# |
289 |
-# The default value of the community strings is NULL (note, that this is |
290 |
-# different from the empty string). This disables both read and write access. |
291 |
-# To enable read access only the read community string must be set. Setting |
292 |
-# the write community string enables both read and write access with that |
293 |
-# string. |
294 |
-# |
295 |
-# Be sure to understand the security implications of SNMPv2 - the community |
296 |
-# strings are readable on the wire! |
297 |
-# |
298 |
-begemotSnmpdCommunityString.0.1 = $(read) |
299 |
-# begemotSnmpdCommunityString.0.2 = $(write) |
300 |
-begemotSnmpdCommunityDisable = 1 |
301 |
- |
302 |
-# open standard SNMP ports |
303 |
-begemotSnmpdPortStatus.0.0.0.0.161 = 1 |
304 |
- |
305 |
-# open a unix domain socket |
306 |
-begemotSnmpdLocalPortStatus."/var/run/snmpd.sock" = 1 |
307 |
-begemotSnmpdLocalPortType."/var/run/snmpd.sock" = 4 |
308 |
- |
309 |
-# send traps to the traphost |
310 |
-begemotTrapSinkStatus.[$(traphost)].$(trapport) = 4 |
311 |
-begemotTrapSinkVersion.[$(traphost)].$(trapport) = 2 |
312 |
-begemotTrapSinkComm.[$(traphost)].$(trapport) = $(trap) |
313 |
- |
314 |
-sysContact = $(contact) |
315 |
-sysLocation = $(location) |
316 |
-sysObjectId = 1.3.6.1.4.1.12325.1.1.2.1.$(system) |
317 |
- |
318 |
-snmpEnableAuthenTraps = 2 |
319 |
- |
320 |
-# |
321 |
-# Load MIB-2 module |
322 |
-# |
323 |
-begemotSnmpdModulePath."mibII" = "/usr/lib/libsnmp_mibII.so.3.0" |
324 |
- |
325 |
-# Force a polling rate for the 64-bit interface counters in case |
326 |
-# the automatic computation is wrong (which may be the case if an interface |
327 |
-# announces the wrong bit rate via its MIB). |
328 |
-#%mibII |
329 |
-#begemotIfForcePoll = 2000 |
330 |
- |
331 |
-# |
332 |
-# Netgraph module |
333 |
-# |
334 |
-#begemotSnmpdModulePath."netgraph" = "/usr/lib/snmp_netgraph.so" |
335 |
-# |
336 |
-#%netgraph |
337 |
-#begemotNgControlNodeName = "snmpd" |
338 |
- |
339 |
-# |
340 |
-# pf(4) module |
341 |
-# |
342 |
-#begemotSnmpdModulePath."pf" = "/usr/lib/snmp_pf.so" |
343 |
- |
344 |
-# |
345 |
-# Host resources module |
346 |
-# This requires the mibII module. |
347 |
-# |
348 |
-#begemotSnmpdModulePath."hostres" = "/usr/lib/snmp_hostres.so" |
349 |
- |
350 |
-# |
351 |
-# Bridge module |
352 |
-# This requires the mibII module. |
353 |
-# |
354 |
-#begemotSnmpdModulePath."bridge" = "/usr/lib/snmp_bridge.so" |
355 |
- |
356 |
|
357 |
diff --git a/net-analyzer/bsnmp/files/werror.patch b/net-analyzer/bsnmp/files/werror.patch |
358 |
deleted file mode 100644 |
359 |
index 7a0968e8444..00000000000 |
360 |
--- a/net-analyzer/bsnmp/files/werror.patch |
361 |
+++ /dev/null |
362 |
@@ -1,11 +0,0 @@ |
363 |
---- bsnmp-1.12/config/Makefile.pre.old 2012-04-26 10:45:58.000000000 -0400 |
364 |
-+++ bsnmp-1.12/config/Makefile.pre 2012-04-26 10:46:11.000000000 -0400 |
365 |
-@@ -53,7 +53,7 @@ |
366 |
- # Assume a Posix-ish make that passes MAKEFLAGS in the environment. |
367 |
- SUBMAKE= $(MAKE) --no-print-directory |
368 |
- |
369 |
--WARNS= -Wsystem-headers -Werror -Wall -Wno-format-y2k -W \ |
370 |
-+WARNS= -Wsystem-headers -Wall -Wno-format-y2k -W \ |
371 |
- -Wstrict-prototypes -Wmissing-prototypes \ |
372 |
- -Wpointer-arith -Wreturn-type -Wcast-qual \ |
373 |
- -Wwrite-strings -Wswitch -Wshadow -Wcast-align \ |
374 |
|
375 |
diff --git a/net-analyzer/bsnmp/metadata.xml b/net-analyzer/bsnmp/metadata.xml |
376 |
deleted file mode 100644 |
377 |
index 6f49eba8f49..00000000000 |
378 |
--- a/net-analyzer/bsnmp/metadata.xml |
379 |
+++ /dev/null |
380 |
@@ -1,5 +0,0 @@ |
381 |
-<?xml version="1.0" encoding="UTF-8"?> |
382 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
383 |
-<pkgmetadata> |
384 |
-<!-- maintainer-needed --> |
385 |
-</pkgmetadata> |