Project

General

Profile

Feature #4686

Bump NET-SNMP to 5.7.2.1

Added by Ken Mays over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
OI-Userland
Target version:
-
Start date:
2014-03-13
Due date:
% Done:

0%

Estimated time:
1.00 h
Difficulty:
Medium
Tags:
snmp

Description

Net-SNMP is a suite of software for using and deploying the SNMP protocol. It supports IPv4, IPv6, IPX, AAL5, Unix domain sockets and other transports. It contains a generic client library, a suite of command line applications, a highly extensible SNMP agent, perl modules and python modules.

Ref src: http://sourceforge.net/projects/net-snmp/files/net-snmp/5.7.2.1/

Affects pkgs:
system/management/snmp/net-snmp


Files

net-snmp-5.7.2.1-patches-kenmays-031314.tar.bz2 (16 KB) net-snmp-5.7.2.1-patches-kenmays-031314.tar.bz2 Revised patches for Net-SNMP 5.7.2.1 Ken Mays, 2014-03-13 07:23 PM

Related issues

Related to OpenIndiana Distribution - Feature #4684: Net-SNMP 5.4.4Closed2014-03-13

Actions
Related to OpenIndiana Distribution - Bug #4190: Update to Net-SNMP 5.4.1.2Resolved2013-10-082013-10-31

Actions

History

#1

Updated by Alexander Pyhalov over 6 years ago

After massaging these patches so that they apply and build at least starts, I receive

/bin/bash ../../libtool  --mode=compile /usr/gcc/4.7/bin/gcc -I../../include -I/export/home/alp/srcs/oi-userland/components/net-snmp/net-snmp-5.7.2.1/include -I. -I../../agent -I/export/home/alp/srcs/oi-userland/components/net-snmp/net-snmp-5.7.2.1/agent -I../../agent/mibgroup -I/export/home/alp/srcs/oi-userland/components/net-snmp/net-snmp-5.7.2.1/agent/mibgroup -I../../snmplib -I/export/home/alp/srcs/oi-userland/components/net-snmp/net-snmp-5.7.2.1/snmplib -DFALSE_SHARING_ALIGN=64  -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -m32 -O3  -Usolaris2 -Dsolaris2=solaris2  -c -o ip-mib/data_access/systemstats_solaris2.lo ip-mib/data_access/systemstats_solaris2.c
libtool: compile:  /usr/gcc/4.7/bin/gcc -I../../include -I/export/home/alp/srcs/oi-userland/components/net-snmp/net-snmp-5.7.2.1/include -I. -I../../agent -I/export/home/alp/srcs/oi-userland/components/net-snmp/net-snmp-5.7.2.1/agent -I../../agent/mibgroup -I/export/home/alp/srcs/oi-userland/components/net-snmp/net-snmp-5.7.2.1/agent/mibgroup -I../../snmplib -I/export/home/alp/srcs/oi-userland/components/net-snmp/net-snmp-5.7.2.1/snmplib -DFALSE_SHARING_ALIGN=64 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -m32 -O3 -Usolaris2 -Dsolaris2=solaris2 -c ip-mib/data_access/systemstats_solaris2.c  -fPIC -DPIC -o ip-mib/data_access/.libs/systemstats_solaris2.o
ip-mib/data_access/systemstats_solaris2.c: In function '_systemstats':
ip-mib/data_access/systemstats_solaris2.c:57:5: warning: incompatible implicit declaration of built-in function 'bzero' [enabled by default]
ip-mib/data_access/systemstats_solaris2.c: In function '_insert_entry':
ip-mib/data_access/systemstats_solaris2.c:127:9: error: too few arguments to function 'netsnmp_access_systemstats_entry_create'
In file included from ip-mib/data_access/systemstats_solaris2.c:6:0:
../../include/net-snmp/data_access/systemstats.h:87:1: note: declared here
ip-mib/data_access/systemstats_solaris2.c:162:14: error: 'netsnmp_ipstats' has no member named 'OutNoRoutes'
ip-mib/data_access/systemstats_solaris2.c:167:14: error: 'netsnmp_ipstats' has no member named 'OutDiscards'
ip-mib/data_access/systemstats_solaris2.c:168:14: error: 'netsnmp_ipstats' has no member named 'OutFragOKs'
ip-mib/data_access/systemstats_solaris2.c:169:14: error: 'netsnmp_ipstats' has no member named 'OutFragFails'
ip-mib/data_access/systemstats_solaris2.c:170:14: error: 'netsnmp_ipstats' has no member named 'OutFragCreates'
ip-mib/data_access/systemstats_solaris2.c: At top level:
ip-mib/data_access/systemstats_solaris2.c:214:1: error: redefinition of 'netsnmp_access_systemstats_arch_init'
ip-mib/data_access/systemstats_solaris2.c:15:1: note: previous definition of 'netsnmp_access_systemstats_arch_init' was here
ip-mib/data_access/systemstats_solaris2.c:225:1: error: redefinition of 'netsnmp_access_systemstats_container_arch_load'
ip-mib/data_access/systemstats_solaris2.c:26:1: note: previous definition of 'netsnmp_access_systemstats_container_arch_load' was here
ip-mib/data_access/systemstats_solaris2.c:253:1: error: redefinition of '_systemstats'
ip-mib/data_access/systemstats_solaris2.c:51:1: note: previous definition of '_systemstats' was here
ip-mib/data_access/systemstats_solaris2.c:272:1: error: redefinition of '_add_ipstats'
ip-mib/data_access/systemstats_solaris2.c:70:1: note: previous definition of '_add_ipstats' was here
ip-mib/data_access/systemstats_solaris2.c:326:1: error: redefinition of '_insert_entry'
ip-mib/data_access/systemstats_solaris2.c:124:1: note: previous definition of '_insert_entry' was here
make[3]: *** [ip-mib/data_access/systemstats_solaris2.lo] Error 1
make[3]: Leaving directory `/export/home/alp/srcs/oi-userland/components/net-snmp/build/i86/agent/mibgroup'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/export/home/alp/srcs/oi-userland/components/net-snmp/build/i86/agent'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/export/home/alp/srcs/oi-userland/components/net-snmp/build/i86'
gmake: *** [/export/home/alp/srcs/oi-userland/components/net-snmp/build/i86/.built] Error 2

netsnmp_ipstats_s doesn't contain these fields. It has HCOutNoRoutes, HCOutDiscards and so on, but they have different type.

#2

Updated by Alexander Pyhalov over 6 years ago

Current version (with error on compilation): https://github.com/pyhalov/oi-userland/compare/net-snmp-572

#3

Updated by Ken Mays over 6 years ago

003.solaris-ip-mib.patch requires refinement.

#4

Updated by Ken Mays over 6 years ago

  • Status changed from New to Closed

Going to align this work with upstream patches for Net-SNMP 5.4.1.x for better team collaboration, testing, and evaluation.

See for the latest binaries and upstream patches.
Src: http://sourceforge.net/projects/net-snmp/files/net-snmp/EndOfLine/5.1.4.2/
Patches: https://hg.openindiana.org/upstream/oracle/userland-gate/file/d716b9b5961b/components/net-snmp/patches

Also available in: Atom PDF