[Buildroot] [git commit] agentpp: new package
Peter Korsgaard
peter at korsgaard.com
Mon Apr 7 23:28:55 UTC 2014
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]
Signed-off-by: Luca Ceresoli <luca at lucaceresoli.net>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/Config.in | 1 +
package/agentpp/Config.in | 20 ++++++++++++++++++++
package/agentpp/agentpp.mk | 20 ++++++++++++++++++++
3 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/package/Config.in b/package/Config.in
index cc28d51..f35e1c7 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/agentpp/Config.in b/package/agentpp/Config.in
new file mode 100644
index 0000000..1442a45
--- /dev/null
+++ b/package/agentpp/Config.in
@@ -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
diff --git a/package/agentpp/agentpp.mk b/package/agentpp/agentpp.mk
new file mode 100644
index 0000000..46cdc1d
--- /dev/null
+++ b/package/agentpp/agentpp.mk
@@ -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))
More information about the buildroot
mailing list