Skip to contentSkip to conversation

netsnmp: enable agentx support by default

PATCH New Gustavo Zacarias 3 participants 8 messages Apr 16, 2013 – Apr 17, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 netsnmp: enable agentx support by default

Enable agentx support by default, it's required for newer versions of quagga.

---
 package/netsnmp/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/netsnmp/Config.in +1 -1
index d5056f9..d94abb7 100644
@@ -17,7 +17,7 @@ config BR2_PACKAGE_NETSNMP_ENABLE_MIBS
 
 config BR2_PACKAGE_NETSNMP_WITH_MIB_MODULES
 	string "Build with these MIB modules"
-	default "host ucd-snmp/dlmod"
+	default "host ucd-snmp/dlmod agentx"
 	depends on BR2_PACKAGE_NETSNMP
 	help
 	  Specify which MIB modules to include.
Signature · 1 line
1.8.1.5
#1 lore raw

PATCH 2/2 quagga: bump to version 0.99.22.1

---
 package/quagga/quagga.mk | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
package/quagga/quagga.mk +2 -5
index fb060ef..42f8506 100644
@@ -4,7 +4,7 @@
 #
 #############################################################
 
-QUAGGA_VERSION = 0.99.21
+QUAGGA_VERSION = 0.99.22.1
 QUAGGA_SITE = http://download.savannah.gnu.org/releases/quagga
 QUAGGA_DEPENDENCIES = host-gawk
 QUAGGA_LICENSE = GPLv2+
@@ -25,12 +25,9 @@ QUAGGA_CONF_OPT += $(if $(BR2_PACKAGE_QUAGGA_TCP_ZERBRA),--enable-tcp-zebra,--di
 QUAGGA_CONF_OPT += $(if $(BR2_PACKAGE_QUAGGA_OPAQUE_LSA),--enable-opaque-lsa,--disable-opaque-lsa)
 
 ifeq ($(BR2_PACKAGE_QUAGGA_SNMP),y)
+QUAGGA_CONF_ENV += ac_cv_path_NETSNMP_CONFIG=$(STAGING_DIR)/usr/bin/net-snmp-config
 QUAGGA_CONF_OPT += --enable-snmp
 QUAGGA_DEPENDENCIES += netsnmp
-# SNMP support tries -lcrypto by default, disable it if we ain't got openssl
-ifneq ($(BR2_PACKAGE_OPENSSL),y)
-QUAGGA_CONF_OPT +=--without-crypto
-endif
 else
 QUAGGA_CONF_OPT +=--disable-snmp
 endif
Signature · 1 line
1.8.1.5
#2 lore raw

PATCH 2/2 quagga: bump to version 0.99.22.1

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

Gustavo> Signed-off-by: Gustavo Zacarias <[email protected]> Gustavo> ---

 Gustavo>  package/quagga/quagga.mk | 7 ++-----

Gustavo> 1 file changed, 2 insertions(+), 5 deletions(-)

Gustavo> diff --git a/package/quagga/quagga.mk b/package/quagga/quagga.mk Gustavo> index fb060ef..42f8506 100644
Gustavo> --- a/package/quagga/quagga.mk
Gustavo> +++ b/package/quagga/quagga.mk
Gustavo> @@ -4,7 +4,7 @@
Gustavo> #
Gustavo> #############################################################

Gustavo> -QUAGGA_VERSION = 0.99.21
Gustavo> +QUAGGA_VERSION = 0.99.22.1

 Gustavo>  QUAGGA_SITE = http://download.savannah.gnu.org/releases/quagga
 Gustavo>  QUAGGA_DEPENDENCIES = host-gawk
 Gustavo>  QUAGGA_LICENSE = GPLv2+

Gustavo> @@ -25,12 +25,9 @@ QUAGGA_CONF_OPT += $(if $(BR2_PACKAGE_QUAGGA_TCP_ZERBRA),--enable-tcp-zebra,--di Gustavo> QUAGGA_CONF_OPT += $(if $(BR2_PACKAGE_QUAGGA_OPAQUE_LSA),--enable-opaque-lsa,--disable-opaque-lsa)

Gustavo> ifeq ($(BR2_PACKAGE_QUAGGA_SNMP),y)
Gustavo> +QUAGGA_CONF_ENV += ac_cv_path_NETSNMP_CONFIG=$(STAGING_DIR)/usr/bin/net-snmp-config Gustavo> QUAGGA_CONF_OPT += --enable-snmp
Gustavo> QUAGGA_DEPENDENCIES += netsnmp
Gustavo> -# SNMP support tries -lcrypto by default, disable it if we ain't got openssl Gustavo> -ifneq ($(BR2_PACKAGE_OPENSSL),y)
Gustavo> -QUAGGA_CONF_OPT +=--without-crypto
Gustavo> -endif

Why? Doesn't it have crypto support any more? Or if it does, shouldn't we ensure it gets built after openssl?

 Gustavo>  else
 Gustavo>  QUAGGA_CONF_OPT +=--disable-snmp
 Gustavo>  endif

Gustavo> --
Gustavo> 1.8.1.5

Gustavo> _______________________________________________ Gustavo> buildroot mailing list
Gustavo> buildroot at busybox.net
Gustavo> http://lists.busybox.net/mailman/listinfo/buildroot

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

PATCH 2/2 quagga: bump to version 0.99.22.1

Quoted 2 lines · Peter Korsgaard

Why? Doesn't it have crypto support any more? Or if it does, shouldn't we ensure it gets built after openssl?

It was a bad default link line regarding net-snmp in the previous versions, fixed by the switch to net-snmp-config. Regards.

#4 lore raw

PATCH 2/2 quagga: bump to version 0.99.22.1

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

Quoted 2 lines · Peter Korsgaard
Quoted 2 lines

Why? Doesn't it have crypto support any more? Or if it does, shouldn't we ensure it gets built after openssl?

Gustavo> It was a bad default link line regarding net-snmp in the Gustavo> previous versions, fixed by the switch to net-snmp-config.

Ok, thanks.

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

PATCH 1/2 netsnmp: enable agentx support by default

In reply to Gustavo Zacarias
Quoted 2 lines · Gustavo Zacarias

Enable agentx support by default, it's required for newer versions of quagga.

Then quagga help text should get a remark that it requires agentx to be
configured in netsnmp.

Regards,
Arnout

Quoted 20 lines
---
  package/netsnmp/Config.in | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
package/netsnmp/Config.in +1 -1
index d5056f9..d94abb7 100644
@@ -17,7 +17,7 @@ config BR2_PACKAGE_NETSNMP_ENABLE_MIBS
 
  config BR2_PACKAGE_NETSNMP_WITH_MIB_MODULES
  	string "Build with these MIB modules"
-	default "host ucd-snmp/dlmod"
+	default "host ucd-snmp/dlmod agentx"
  	depends on BR2_PACKAGE_NETSNMP
  	help
  	  Specify which MIB modules to include.
Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
#7 lore raw

PATCH 1/2 netsnmp: enable agentx support by default

In reply to Gustavo Zacarias
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

Gustavo> Enable agentx support by default, it's required for newer versions of Gustavo> quagga.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard