Skip to contentSkip to conversation

snmppp: new package

PATCH New Gustavo Zacarias 6 participants 7 messages Oct 14, 2013 – Oct 21, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 snmppp: new package

---
 package/Config.in        |  1 +
 package/snmppp/Config.in | 12 ++++++++++++
 package/snmppp/snmppp.mk | 16 ++++++++++++++++
 3 files changed, 29 insertions(+)
 create mode 100644 package/snmppp/Config.in
 create mode 100644 package/snmppp/snmppp.mk
package/Config.in +1 -0
index df53587..16cb36d 100644
@@ -638,6 +638,7 @@ source "package/omniorb/Config.in"
 source "package/openpgm/Config.in"
 source "package/ortp/Config.in"
 source "package/slirp/Config.in"
+source "package/snmppp/Config.in"
 source "package/usbredir/Config.in"
 source "package/wvstreams/Config.in"
 source "package/zeromq/Config.in"
package/snmppp/Config.in new file +12 -0
new file mode 100644
index 0000000..9757814
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_SNMPPP
+	bool "snmp++"
+	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+	select BR2_PACKAGE_OPENSSL
+	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
+
+comment "snmp++ requires a toolchain with threads and C++ support enabled"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
package/snmppp/snmppp.mk new file +16 -0
new file mode 100644
index 0000000..ea99967
@@ -0,0 +1,16 @@
+################################################################################
+#
+# snmp++
+#
+################################################################################
+
+SNMPPP_VERSION = 3.3.0
+SNMPPP_SOURCE = snmp++v$(SNMPPP_VERSION).tar.gz
+SNMPPP_SITE = http://www.agentpp.com
+SNMPPP_DEPENDENCIES = openssl host-pkgconf
+SNMPPP_INSTALL_STAGING = YES
+SNMPPP_AUTORECONF = YES
+SNMPPP_LICENSE = SNMP++
+SNMPPP_LICENSE_FILES = snmp_pp/snmp_pp.cpp
+
+$(eval $(autotools-package))
Signature · 1 line
1.8.1.5
#1 lore raw

PATCH 1/1 snmppp: new package

Dear Gustavo Zacarias,

package/snmppp/snmppp.mk line 12

Quoted 6 lines · Gustavo Zacarias
package/snmppp/snmppp.mk new file +6 -0
+SNMPPP_VERSION = 3.3.0
+SNMPPP_SOURCE = snmp++v$(SNMPPP_VERSION).tar.gz
+SNMPPP_SITE = http://www.agentpp.com
+SNMPPP_DEPENDENCIES = openssl host-pkgconf
+SNMPPP_INSTALL_STAGING = YES
+SNMPPP_AUTORECONF = YES

Looks good. Could you just add a comment above this autoreconf line to explain why it's needed: we have a tarball release, no patches, so we don't really expect to need autoreconf here.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

PATCH 1/1 snmppp: new package

In reply to Gustavo Zacarias

Hi Gustavo,

Quoted 29 lines · Gustavo Zacarias
---
 package/Config.in        |  1 +
 package/snmppp/Config.in | 12 ++++++++++++
 package/snmppp/snmppp.mk | 16 ++++++++++++++++
 3 files changed, 29 insertions(+)
 create mode 100644 package/snmppp/Config.in
 create mode 100644 package/snmppp/snmppp.mk
package/Config.in +1 -0
index df53587..16cb36d 100644
@@ -638,6 +638,7 @@ source "package/omniorb/Config.in"
 source "package/openpgm/Config.in"
 source "package/ortp/Config.in"
 source "package/slirp/Config.in"
+source "package/snmppp/Config.in"
 source "package/usbredir/Config.in"
 source "package/wvstreams/Config.in"
 source "package/zeromq/Config.in"
package/snmppp/Config.in new file +2 -0
new file mode 100644
index 0000000..9757814
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_SNMPPP
+       bool "snmp++"

package/snmppp/Config.in line 12

Quoted 10 lines
package/snmppp/Config.in new file +10 -0
+       depends on BR2_INSTALL_LIBSTDCPP
+       depends on BR2_TOOLCHAIN_HAS_THREADS
+       select BR2_PACKAGE_OPENSSL
+       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
+
+comment "snmp++ requires a toolchain with threads and C++ support enabled"
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS

This should now be:
snmp++ needs a toolchain w/ threads, C++

See: http://patchwork.ozlabs.org/patch/283094/
(waiting to be merged, but discussed with Peter)

Best regards,
Thomas

#3 lore raw

PATCH 1/1 snmppp: new package

Quoted 5 lines

package/snmppp/Config.in line 12

Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas De Schampheleire <[email protected]> writes:

package/snmppp/Config.in new file +3 -0
+
+comment "snmp++ requires a toolchain with threads and C++ support enabled"
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS

Thomas> This should now be:
Thomas> snmp++ needs a toolchain w/ threads, C++

Ahh yes, sorry - Forgot, will fix.

Thomas> See: http://patchwork.ozlabs.org/patch/283094/
Thomas> (waiting to be merged, but discussed with Peter)

I'll get to it in a moment.

Signature · 1 line
Bye, Peter Korsgaard
#4 lore raw

PATCH 1/1 snmppp: new package

Hello. Is this package already available with Buildroot ? I sould like to check it with one real device that I have.

Regards
SPc.

2013/10/14 Peter Korsgaard <[email protected]>

Quoted 25 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas De Schampheleire <[email protected]>

Quoted 2 lines · writes:

Review

Quoted 2 lines
(quoted diff) +2 -0
+
+comment "snmp++ requires a toolchain with threads and C++ support

enabled"

Quoted 1 line
Quoted 1 line

+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS

Thomas> This should now be:
Thomas> snmp++ needs a toolchain w/ threads, C++

Ahh yes, sorry - Forgot, will fix.

Thomas> See: http://patchwork.ozlabs.org/patch/283094/
Thomas> (waiting to be merged, but discussed with Peter)

I'll get to it in a moment.

--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Signature · 20 lines
Gracias | Regards

Saludos - Greetings - Freundliche Gr??e - Salutations
-- 
*Sergio Pedraja*

twitter: @sergio_pedraja
skype: Sergio Pedraja
http://plus.google.com/u/0/101292256663392735405
http://www.linkedin.com/in/sergiopedraja
http://www.quora.com/Sergio-Pedraja
http://spedraja.wordpress.com
https://www.xing.com/profile/Sergio_Pedraja <http://spedraja.wordpress.com/>
http://www.viadeo.com
http://www.avalonred.com/
-----
No crea todo lo que ve, ni crea que est? vi?ndolo todo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20131021/a25c120e/attachment-0001.html>
#5 lore raw

PATCH 1/1 snmppp: new package

Hi SPC,

Quoted 2 lines · SPC

Hello. Is this package already available with Buildroot ? I sould like to check it with one real device that I have.

The patch adding SNMPPP to Buildroot has been merged about one week ago in the git repository. This means you can start using it a) cloning the up-to-date git repository, b) downloading a daily snapshot or c) downloading the latest release tarball (2013.08.1) and applying by yourself the patch on top of it.

If you need info on how to obtain Buildroot, have a look at the manual:
http://buildroot.net/downloads/manual/manual.html#getting-buildroot

Signature · 1 line
Luca