Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
From 6433c6e8d81313ec7ef6c8d3abf96fffa537e23e Mon Sep 17 00:00:00 2001
|
||||
From: Luca Ceresoli <luca@lucaceresoli.net>
|
||||
Date: Tue, 1 Apr 2014 14:35:25 +0200
|
||||
Subject: [PATCH] Add missing includes
|
||||
|
||||
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
|
||||
---
|
||||
include/snmp_pp/config_snmp_pp.h.in | 4 ++++
|
||||
include/snmp_pp/smival.h | 1 +
|
||||
2 files changed, 5 insertions(+)
|
||||
|
||||
diff --git a/include/snmp_pp/config_snmp_pp.h.in b/include/snmp_pp/config_snmp_pp.h.in
|
||||
index 89a5b0d..3100713 100644
|
||||
--- a/include/snmp_pp/config_snmp_pp.h.in
|
||||
+++ b/include/snmp_pp/config_snmp_pp.h.in
|
||||
@@ -28,6 +28,10 @@
|
||||
#ifndef _CONFIG_SNMP_PP_H_
|
||||
#define _CONFIG_SNMP_PP_H_
|
||||
|
||||
+#ifdef __linux__
|
||||
+#include <sys/socket.h>
|
||||
+#endif
|
||||
+
|
||||
#define SNMP_PP_VERSION_STRING "@VERSION@"
|
||||
#define SNMP_PP_VERSION @SNMP_PP_MAJOR_VERSION@
|
||||
#define SNMP_PP_RELEASE @SNMP_PP_MINOR_VERSION@
|
||||
diff --git a/include/snmp_pp/smival.h b/include/snmp_pp/smival.h
|
||||
index 7a36fab..7522087 100644
|
||||
--- a/include/snmp_pp/smival.h
|
||||
+++ b/include/snmp_pp/smival.h
|
||||
@@ -59,6 +59,7 @@
|
||||
#define _SMIVALUE
|
||||
|
||||
//----[ includes ]-----------------------------------------------------
|
||||
+#include <string.h>
|
||||
#include "snmp_pp/smi.h"
|
||||
|
||||
#ifdef SNMP_PP_NAMESPACE
|
||||
--
|
||||
1.8.3.2
|
||||
|
||||
31
deprecated/firmware/buildroot/package/snmppp/Config.in
Normal file
31
deprecated/firmware/buildroot/package/snmppp/Config.in
Normal file
@@ -0,0 +1,31 @@
|
||||
config BR2_PACKAGE_SNMPPP
|
||||
bool "snmp++"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on !BR2_STATIC_LIBS
|
||||
help
|
||||
SNMP++v3.x is a C++ API which supports SNMP v1, v2c, and v3.
|
||||
|
||||
http://www.agentpp.com/snmp_pp3_x/snmp_pp3_x.html
|
||||
|
||||
if BR2_PACKAGE_SNMPPP
|
||||
|
||||
config BR2_PACKAGE_SNMPPP_LOGGING
|
||||
bool "enable logging"
|
||||
help
|
||||
Enable logging output for SNMP++.
|
||||
According to the SNMP++ documentation, disabling logging "increases
|
||||
performance drastically and minimizes memory consumption".
|
||||
|
||||
config BR2_PACKAGE_SNMPPP_SNMPV3
|
||||
bool "enable SNMPv3"
|
||||
default y
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
help
|
||||
Enable optional support for SNMP++. This selects OpenSSL.
|
||||
|
||||
endif
|
||||
|
||||
comment "snmp++ needs a toolchain w/ threads, C++, dynamic library"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
BR2_STATIC_LIBS
|
||||
2
deprecated/firmware/buildroot/package/snmppp/snmppp.hash
Normal file
2
deprecated/firmware/buildroot/package/snmppp/snmppp.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally computed:
|
||||
sha256 65d8bef3fb0e28892b7768e4027c2873b5556fc89c5440008508bf8ec91764cd snmp++-3.3.5.tar.gz
|
||||
23
deprecated/firmware/buildroot/package/snmppp/snmppp.mk
Normal file
23
deprecated/firmware/buildroot/package/snmppp/snmppp.mk
Normal file
@@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# snmppp
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SNMPPP_VERSION = 3.3.5
|
||||
SNMPPP_SOURCE = snmp++-$(SNMPPP_VERSION).tar.gz
|
||||
SNMPPP_SITE = http://www.agentpp.com/download
|
||||
SNMPPP_DEPENDENCIES = host-pkgconf
|
||||
SNMPPP_INSTALL_STAGING = YES
|
||||
SNMPPP_CONF_OPTS = $(if $(BR2_PACKAGE_SNMPPP_LOGGING),--enable-logging,--disable-logging)
|
||||
SNMPPP_LICENSE = SNMP++
|
||||
SNMPPP_LICENSE_FILES = src/v3.cpp
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SNMPPP_SNMPV3),y)
|
||||
SNMPPP_CONF_OPTS += --enable-snmpv3
|
||||
SNMPPP_DEPENDENCIES += openssl
|
||||
else
|
||||
SNMPPP_CONF_OPTS += --disable-snmpv3
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user