Skip to contentSkip to conversation

agentpp: new package

Buildroot Peter Korsgaard 1 participant 1 message Apr 7, 2014

lore
Share & tools
lore
#0 lore raw

commit: http://git.buildroot.net/buildroot/commit/?id=c5210ca0e62a520b2d0d7b935300f02b68f18600
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

[Peter: add threads dependency, style fixes]
---
 package/Config.in          |    1 +
 package/agentpp/Config.in  |   20 ++++++++++++++++++++
 package/agentpp/agentpp.mk |   20 ++++++++++++++++++++
 3 files changed, 41 insertions(+), 0 deletions(-)
package/Config.in +1 -0
index cc28d51..f35e1c7 100644
@@ -700,6 +700,7 @@ source "package/mediastreamer/Config.in"
 endmenu
 
 menu "Networking"
+source "package/agentpp/Config.in"
 source "package/c-ares/Config.in"
 source "package/cppzmq/Config.in"
 source "package/czmq/Config.in"
package/agentpp/Config.in new file +20 -0
new file mode 100644
index 0000000..1442a45
@@ -0,0 +1,20 @@
+config BR2_PACKAGE_AGENTPP
+	bool "agent++"
+	select BR2_PACKAGE_SNMPPP
+	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_TOOLCHAIN_HAS_THREADS # snmp++
+	help
+	  AGENT++ is a set of C++ classes which provides a complete protocol
+	  engine and dispatch table for the development of SNMP agents.
+	  AGENT++ is a multilingual API which supports SNMPv1, SNMPv2c, and
+	  SNMPv3. It provides various C++ classes implementing prototypes for
+	  scalar and table SNMP managed objects that can be customized by
+	  derivation. Additional classes support the development of proxy
+	  agents as well as sending notifications.
+
+	  SNMPv3 support is enabled if SNMP++ enables it.
+
+	  http://www.agentpp.com/agentpp3_5/agentpp3_5.html
+
+comment "agent++ needs a toolchain w/ threads, C++"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
package/agentpp/agentpp.mk new file +20 -0
new file mode 100644
index 0000000..46cdc1d
@@ -0,0 +1,20 @@
+################################################################################
+#
+# agentpp
+#
+################################################################################
+
+AGENTPP_VERSION = 4.0.2
+AGENTPP_SOURCE = agent++-$(AGENTPP_VERSION).tar.gz
+AGENTPP_SITE = http://www.agentpp.com
+AGENTPP_LICENSE = Apache-2.0
+AGENTPP_LICENSE_FILES = LICENSE-2_0.txt
+AGENTPP_INSTALL_STAGING = YES
+AGENTPP_DEPENDENCIES = host-pkgconf snmppp
+AGENTPP_CONF_OPT += \
+	--disable-proxy \
+	--disable-forwarder \
+	--disable-rpath \
+	--disable-dependency-tracking
+
+$(eval $(autotools-package))