* [Buildroot] [PATCH] snmppp: new package
@ 2013-10-14 13:47 Gustavo Zacarias
2013-10-14 16:38 ` Thomas Petazzoni
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Gustavo Zacarias @ 2013-10-14 13:47 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
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
diff --git a/package/Config.in b/package/Config.in
index df53587..16cb36d 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/snmppp/Config.in b/package/snmppp/Config.in
new file mode 100644
index 0000000..9757814
--- /dev/null
+++ b/package/snmppp/Config.in
@@ -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
diff --git a/package/snmppp/snmppp.mk b/package/snmppp/snmppp.mk
new file mode 100644
index 0000000..ea99967
--- /dev/null
+++ b/package/snmppp/snmppp.mk
@@ -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))
--
1.8.1.5
^ permalink raw reply related [flat|nested] 7+ messages in thread* [Buildroot] [PATCH] snmppp: new package
2013-10-14 13:47 [Buildroot] [PATCH] snmppp: new package Gustavo Zacarias
@ 2013-10-14 16:38 ` Thomas Petazzoni
2013-10-14 19:41 ` Thomas De Schampheleire
2013-10-14 20:11 ` Peter Korsgaard
2 siblings, 0 replies; 7+ messages in thread
From: Thomas Petazzoni @ 2013-10-14 16:38 UTC (permalink / raw)
To: buildroot
Dear Gustavo Zacarias,
On Mon, 14 Oct 2013 10:47:15 -0300, Gustavo Zacarias wrote:
> +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
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] [PATCH] snmppp: new package
2013-10-14 13:47 [Buildroot] [PATCH] snmppp: new package Gustavo Zacarias
2013-10-14 16:38 ` Thomas Petazzoni
@ 2013-10-14 19:41 ` Thomas De Schampheleire
2013-10-14 20:32 ` Peter Korsgaard
2013-10-14 20:11 ` Peter Korsgaard
2 siblings, 1 reply; 7+ messages in thread
From: Thomas De Schampheleire @ 2013-10-14 19:41 UTC (permalink / raw)
To: buildroot
Hi Gustavo,
On Mon, Oct 14, 2013 at 3:47 PM, Gustavo Zacarias
<gustavo@zacarias.com.ar> wrote:
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
> 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
>
> diff --git a/package/Config.in b/package/Config.in
> index df53587..16cb36d 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -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"
> diff --git a/package/snmppp/Config.in b/package/snmppp/Config.in
> new file mode 100644
> index 0000000..9757814
> --- /dev/null
> +++ b/package/snmppp/Config.in
> @@ -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
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] [PATCH] snmppp: new package
2013-10-14 13:47 [Buildroot] [PATCH] snmppp: new package Gustavo Zacarias
2013-10-14 16:38 ` Thomas Petazzoni
2013-10-14 19:41 ` Thomas De Schampheleire
@ 2013-10-14 20:11 ` Peter Korsgaard
2 siblings, 0 replies; 7+ messages in thread
From: Peter Korsgaard @ 2013-10-14 20:11 UTC (permalink / raw)
To: buildroot
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Committed with a comment about why we need AUTORECONF added, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-10-21 10:49 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-14 13:47 [Buildroot] [PATCH] snmppp: new package Gustavo Zacarias
2013-10-14 16:38 ` Thomas Petazzoni
2013-10-14 19:41 ` Thomas De Schampheleire
2013-10-14 20:32 ` Peter Korsgaard
2013-10-20 22:41 ` SPC
2013-10-21 10:49 ` Luca Ceresoli
2013-10-14 20:11 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox