summaryrefslogtreecommitdiff
path: root/net-analyzer/bsnmp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-11-10 13:21:36 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-11-10 13:21:36 +0000
commit77398e424e45d9e98c1cef3c43bdadb9d56e81ef (patch)
tree5aeffd3fc7b92fc615bd2c222fa8831aeda1925b /net-analyzer/bsnmp
parentbd4aeefe33e63f613512604e47bfca7b2187697d (diff)
gentoo resync : 10.11.2019
Diffstat (limited to 'net-analyzer/bsnmp')
-rw-r--r--net-analyzer/bsnmp/Manifest11
-rw-r--r--net-analyzer/bsnmp/bsnmp-1.11a.ebuild45
-rw-r--r--net-analyzer/bsnmp/bsnmp-1.12-r1.ebuild50
-rw-r--r--net-analyzer/bsnmp/bsnmp-1.12.ebuild46
-rw-r--r--net-analyzer/bsnmp/files/bsnmp-1.10-gcc34.patch12
-rw-r--r--net-analyzer/bsnmp/files/bsnmp-1.12-mibII.patch13
-rw-r--r--net-analyzer/bsnmp/files/bsnmpd.init11
-rw-r--r--net-analyzer/bsnmp/files/snmpd.config98
-rw-r--r--net-analyzer/bsnmp/files/werror.patch11
-rw-r--r--net-analyzer/bsnmp/metadata.xml5
10 files changed, 0 insertions, 302 deletions
diff --git a/net-analyzer/bsnmp/Manifest b/net-analyzer/bsnmp/Manifest
deleted file mode 100644
index 926a18d307fc..000000000000
--- a/net-analyzer/bsnmp/Manifest
+++ /dev/null
@@ -1,11 +0,0 @@
-AUX bsnmp-1.10-gcc34.patch 311 BLAKE2B e0759cbafb17d415999301d6cb0e10b0cf9b2ce1ef953ddf47cb10783f1ac878fdc829999066e68d785f04347d6ed13864c94036edb1984fa7b5022ac253c43c SHA512 59d032c9779b3ed0e94891955fa80468b9a156002dd7f2d0d617aef161c22d4925d877e71d7a3f7c5acd7886ee503158deb26189bc62c94e706904ed6ccbfa32
-AUX bsnmp-1.12-mibII.patch 465 BLAKE2B a8349fd462a89070faa1553e6ae71be85fdc1d6a37abe5779693893e3972b10dee872db828a05702d5878c1e9a1795bce0b9cef9dfec67c0ee45b24aeeab7433 SHA512 d3d9950285864736ba606399724add0f033b718c7c707e65fa8e556dd81d86291d8755b9f8de12792c547f715d8c634e89a3ced94c1c8012804462bedca286e8
-AUX bsnmpd.init 239 BLAKE2B 0d4587060ee4866b15b0e435ae4040c75de4f4559b299f5d89c4722e48f94c5135686aa9cf51f6ddacd9c68b41d3f80c180bfdab3531e3a0bbed04ccbdf5352c SHA512 c10f543c37a873a69e93d7362709208726eea98aae8fafd108040d9f4d1d4d4c22d40ab7bfbf115d6598471c8ad332766a844a7bd4ec1424215bf0decec15e00
-AUX snmpd.config 2426 BLAKE2B e6031d307de5c70ff992cdb38586f328dfc76582ef93b9dfb4efe21e8382767744bace0d062ae696819149235cc44dc7ace93c442c1706dbc0ad8638470905fb SHA512 3fb763b93ba4bc11d1a03ef147f7303294ca26073bc10b55f22a7eb5107fd58f819079a1af9d2d8827e4cb5d5b645b3c44636482ea0855db3235be07a5f2d80b
-AUX werror.patch 532 BLAKE2B 46bd51ccd573d385745b568945e1e42ff8887af89d4aaaa3dafd15079e9ad269eea358f0651fb6f17011d2156d37694e9245d15be9df85f43971d2da95178df3 SHA512 2de595316841e7602b0950bcbe53c85af049c9474b12518119704df56663734616b64a16a8d1ccb34fbd240b0cd19afa6dc70289673ede9c8062f2becd0c98a3
-DIST bsnmp-1.11a.tar.gz 408165 BLAKE2B 11240fddb1b449927749baddc0c6a6e0d03c85a51fe6f3901e0b915f6060743875224de319c652f5aa70ed5f0a6d2a4ecea059a5d4d4441dff409bfa9be9a1bd SHA512 8b3695a147b5a3c012509f73c0627c8f7b66d99c54c53636d2add2d3427acf331bc4168ee88b8cad2536c1a15901fc38c4acd51e7630c48f4972504d94e8dc08
-DIST bsnmp-1.12.tar.gz 418653 BLAKE2B 87ec6325b2daade01ed46e6c1b5bdccaef310065e00a82b947c33d7451ec5485faa34d88b7371cb114fd4e70eee4746cb13ffaed2586bd35ed581883e1f748c3 SHA512 c2c292e21632ea475d30aafaf7f66566389bccabfd20886a27bc4af98dba24139568c0eaddd36710655abac9ca6a38525136e06f2cf7be8b9db8ca656b2021c9
-EBUILD bsnmp-1.11a.ebuild 836 BLAKE2B 1a3c27bc8c31f2bc3c62a949e92601c2f2ce399cfbc87d4d114d510087c11d0cd210881ab83f64d10b382cfb901e31f960b32be1bc0ac8e73251645f2a908d1d SHA512 e441784d65460217e765779d6101b19f1e87cae073545af05f2084a6088d1e4234af2e972fae24da274b383ac313980dd4dc125b5a01ad3dcd9742cdce367425
-EBUILD bsnmp-1.12-r1.ebuild 1031 BLAKE2B 9239e81c30721efc4e263ac124856c198d79061ff82dff7b7be85558c3a710edb086a4ce13984a04dfff1654c43fe92a0a9d24a089573d6f883abf65785d4c99 SHA512 3ee8f319ebbf173829aa53e7a4841997986393768f38e1337d8a6ecd95802f896306ac6dfd4b4f09ee819768b4e2011f585d25d9331d49c9fae177475e583034
-EBUILD bsnmp-1.12.ebuild 868 BLAKE2B 635988bc56ce9d251ae7863ed8c2bd41fc8e15d7ecde628919d1dbe7fb417a154a120e192514dc15e38cdb817b999a7ac0946778d461e832e289aa879f730474 SHA512 0c4ebbcd485155bbf80d6635ff8c62e85c9799ec6068769d9f4edcc3eb3cdc024a4e5e6ade1d439bf4b1c2c7e449bf46a495c6c40f91abbd721634d7796ba94a
-MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
diff --git a/net-analyzer/bsnmp/bsnmp-1.11a.ebuild b/net-analyzer/bsnmp/bsnmp-1.11a.ebuild
deleted file mode 100644
index f19dc60cea7a..000000000000
--- a/net-analyzer/bsnmp/bsnmp-1.11a.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit eutils flag-o-matic
-
-DESCRIPTION="Mini-SNMP Daemon and Library"
-HOMEPAGE="http://people.freebsd.org/~harti/"
-SRC_URI="http://people.freebsd.org/~harti/bsnmp/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS=""
-IUSE="tcpd"
-
-DEPEND="dev-libs/libbegemot
- tcpd? ( sys-apps/tcp-wrappers )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/${PN}-1.10-gcc34.patch"
-}
-
-src_compile() {
- if use elibc_glibc; then
- # bsnmp is bsd-based, without this it will fail
- append-flags "-D_BSD_SOURCE"
- fi
-
- filter-flags -fno-inline
-
- econf \
- --with-libbegemot=/usr \
- $(use_with tcpd tcpwrappers) \
- || die "econf failed"
-
- emake -j1 || die "emake failed"
-}
-
-src_install() {
- einstall || die "make install failed"
-}
diff --git a/net-analyzer/bsnmp/bsnmp-1.12-r1.ebuild b/net-analyzer/bsnmp/bsnmp-1.12-r1.ebuild
deleted file mode 100644
index fdd92f44ff94..000000000000
--- a/net-analyzer/bsnmp/bsnmp-1.12-r1.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit eutils flag-o-matic
-
-DESCRIPTION="Mini-SNMP Daemon and Library"
-HOMEPAGE="http://people.freebsd.org/~harti/"
-SRC_URI="http://people.freebsd.org/~harti/bsnmp/${P}.tar.gz"
-
-LICENSE="BSD GPL-2" # GPL-2 init script
-SLOT="0"
-KEYWORDS=""
-IUSE="tcpd"
-
-DEPEND="dev-libs/libbegemot
- tcpd? ( sys-apps/tcp-wrappers )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/${PN}-1.10-gcc34.patch"
- epatch "${FILESDIR}/werror.patch"
- epatch "${FILESDIR}/${P}-mibII.patch"
-}
-
-src_compile() {
- if use elibc_glibc; then
- # bsnmp is bsd-based, without this it will fail
- append-flags "-D_BSD_SOURCE"
- fi
-
- filter-flags -fno-inline
-
- econf \
- --with-libbegemot=/usr \
- $(use_with tcpd tcpwrappers) \
- || die "econf failed"
-
- emake -j1 || die "emake failed"
-}
-
-src_install() {
- einstall || die "make install failed"
- newinitd "${FILESDIR}"/bsnmpd.init bsnmpd || die
- insinto /etc
- doins "${FILESDIR}"/snmpd.config
-}
diff --git a/net-analyzer/bsnmp/bsnmp-1.12.ebuild b/net-analyzer/bsnmp/bsnmp-1.12.ebuild
deleted file mode 100644
index 57b8a2e3afd5..000000000000
--- a/net-analyzer/bsnmp/bsnmp-1.12.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit eutils flag-o-matic
-
-DESCRIPTION="Mini-SNMP Daemon and Library"
-HOMEPAGE="http://people.freebsd.org/~harti/"
-SRC_URI="http://people.freebsd.org/~harti/bsnmp/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS=""
-IUSE="tcpd"
-
-DEPEND="dev-libs/libbegemot
- tcpd? ( sys-apps/tcp-wrappers )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/${PN}-1.10-gcc34.patch"
- epatch "${FILESDIR}/werror.patch"
-}
-
-src_compile() {
- if use elibc_glibc; then
- # bsnmp is bsd-based, without this it will fail
- append-flags "-D_BSD_SOURCE"
- fi
-
- filter-flags -fno-inline
-
- econf \
- --with-libbegemot=/usr \
- $(use_with tcpd tcpwrappers) \
- || die "econf failed"
-
- emake -j1 || die "emake failed"
-}
-
-src_install() {
- einstall || die "make install failed"
-}
diff --git a/net-analyzer/bsnmp/files/bsnmp-1.10-gcc34.patch b/net-analyzer/bsnmp/files/bsnmp-1.10-gcc34.patch
deleted file mode 100644
index f1220b83d521..000000000000
--- a/net-analyzer/bsnmp/files/bsnmp-1.10-gcc34.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur -x '*~' bsnmp-1.10/snmp_ntp/snmp_ntp.c bsnmp-1.10-fix/snmp_ntp/snmp_ntp.c
---- bsnmp-1.10/snmp_ntp/snmp_ntp.c 2005-05-23 11:03:48.000000000 +0200
-+++ bsnmp-1.10-fix/snmp_ntp/snmp_ntp.c 2005-07-10 01:58:35.557888936 +0200
-@@ -360,6 +360,8 @@
- free(rpkt);
- return (-1);
- }
-+
-+ return (-1);
- }
-
- /*
diff --git a/net-analyzer/bsnmp/files/bsnmp-1.12-mibII.patch b/net-analyzer/bsnmp/files/bsnmp-1.12-mibII.patch
deleted file mode 100644
index c93191823d6e..000000000000
--- a/net-analyzer/bsnmp/files/bsnmp-1.12-mibII.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/snmp_mibII/Makefile.in b/snmp_mibII/Makefile.in
-index d14c179..3a99850 100755
---- a/snmp_mibII/Makefile.in
-+++ b/snmp_mibII/Makefile.in
-@@ -10,7 +10,7 @@ MOD= mibII
- SRCS= ${MOD}_tree.c mibII.c mibII_ifmib.c mibII_ip.c \
- mibII_interfaces.c mibII_ipaddr.c mibII_ifstack.c \
- mibII_rcvaddr.c mibII_nettomedia.c mibII_tcp.c mibII_udp.c \
-- mibII_route.c
-+ mibII_route.c mibII_begemot.c
- INCS= snmp_${MOD}.h
- DEFS= mibII_tree.def
- MAN3= snmp_mibII.3
diff --git a/net-analyzer/bsnmp/files/bsnmpd.init b/net-analyzer/bsnmp/files/bsnmpd.init
deleted file mode 100644
index 947e542a0437..000000000000
--- a/net-analyzer/bsnmp/files/bsnmpd.init
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="Mini-SNMP Daemon"
-command="/usr/bin/bsnmpd"
-pidfile="/var/run/snmpd.pid"
-
-depend() {
- use net
-}
diff --git a/net-analyzer/bsnmp/files/snmpd.config b/net-analyzer/bsnmp/files/snmpd.config
deleted file mode 100644
index 26f9f1aeb163..000000000000
--- a/net-analyzer/bsnmp/files/snmpd.config
+++ /dev/null
@@ -1,98 +0,0 @@
-# $FreeBSD: src/etc/snmpd.config,v 1.9.10.1.8.1 2012/03/03 06:15:13 kensmith Exp $
-#
-# Example configuration file for bsnmpd(1).
-#
-
-#
-# Set some common variables
-#
-location := "Room 200"
-contact := "sysmeister@example.com"
-system := 1 # FreeBSD
-traphost := localhost
-trapport := 162
-
-# Change this!
-read := "public"
-# Uncomment begemotSnmpdCommunityString.0.2 below that sets the community
-# string to enable write access.
-write := "geheim"
-trap := "mytrap"
-
-#
-# Configuration
-#
-%snmpd
-begemotSnmpdDebugDumpPdus = 2
-begemotSnmpdDebugSyslogPri = 7
-
-#
-# Set the read and write communities.
-#
-# The default value of the community strings is NULL (note, that this is
-# different from the empty string). This disables both read and write access.
-# To enable read access only the read community string must be set. Setting
-# the write community string enables both read and write access with that
-# string.
-#
-# Be sure to understand the security implications of SNMPv2 - the community
-# strings are readable on the wire!
-#
-begemotSnmpdCommunityString.0.1 = $(read)
-# begemotSnmpdCommunityString.0.2 = $(write)
-begemotSnmpdCommunityDisable = 1
-
-# open standard SNMP ports
-begemotSnmpdPortStatus.0.0.0.0.161 = 1
-
-# open a unix domain socket
-begemotSnmpdLocalPortStatus."/var/run/snmpd.sock" = 1
-begemotSnmpdLocalPortType."/var/run/snmpd.sock" = 4
-
-# send traps to the traphost
-begemotTrapSinkStatus.[$(traphost)].$(trapport) = 4
-begemotTrapSinkVersion.[$(traphost)].$(trapport) = 2
-begemotTrapSinkComm.[$(traphost)].$(trapport) = $(trap)
-
-sysContact = $(contact)
-sysLocation = $(location)
-sysObjectId = 1.3.6.1.4.1.12325.1.1.2.1.$(system)
-
-snmpEnableAuthenTraps = 2
-
-#
-# Load MIB-2 module
-#
-begemotSnmpdModulePath."mibII" = "/usr/lib/libsnmp_mibII.so.3.0"
-
-# Force a polling rate for the 64-bit interface counters in case
-# the automatic computation is wrong (which may be the case if an interface
-# announces the wrong bit rate via its MIB).
-#%mibII
-#begemotIfForcePoll = 2000
-
-#
-# Netgraph module
-#
-#begemotSnmpdModulePath."netgraph" = "/usr/lib/snmp_netgraph.so"
-#
-#%netgraph
-#begemotNgControlNodeName = "snmpd"
-
-#
-# pf(4) module
-#
-#begemotSnmpdModulePath."pf" = "/usr/lib/snmp_pf.so"
-
-#
-# Host resources module
-# This requires the mibII module.
-#
-#begemotSnmpdModulePath."hostres" = "/usr/lib/snmp_hostres.so"
-
-#
-# Bridge module
-# This requires the mibII module.
-#
-#begemotSnmpdModulePath."bridge" = "/usr/lib/snmp_bridge.so"
-
diff --git a/net-analyzer/bsnmp/files/werror.patch b/net-analyzer/bsnmp/files/werror.patch
deleted file mode 100644
index 7a0968e84441..000000000000
--- a/net-analyzer/bsnmp/files/werror.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- bsnmp-1.12/config/Makefile.pre.old 2012-04-26 10:45:58.000000000 -0400
-+++ bsnmp-1.12/config/Makefile.pre 2012-04-26 10:46:11.000000000 -0400
-@@ -53,7 +53,7 @@
- # Assume a Posix-ish make that passes MAKEFLAGS in the environment.
- SUBMAKE= $(MAKE) --no-print-directory
-
--WARNS= -Wsystem-headers -Werror -Wall -Wno-format-y2k -W \
-+WARNS= -Wsystem-headers -Wall -Wno-format-y2k -W \
- -Wstrict-prototypes -Wmissing-prototypes \
- -Wpointer-arith -Wreturn-type -Wcast-qual \
- -Wwrite-strings -Wswitch -Wshadow -Wcast-align \
diff --git a/net-analyzer/bsnmp/metadata.xml b/net-analyzer/bsnmp/metadata.xml
deleted file mode 100644
index 6f49eba8f496..000000000000
--- a/net-analyzer/bsnmp/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<!-- maintainer-needed -->
-</pkgmetadata>