Accepting request 85368 from net-snmp:factory

Update to version 5.7.1.

OBS-URL: https://build.opensuse.org/request/show/85368
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/net-snmp?expand=0&rev=52
This commit is contained in:
Sascha Peilicke 2011-09-29 10:53:00 +00:00 committed by Git OBS Bridge
parent f130029335
commit 19ded43fc3
6 changed files with 47 additions and 6 deletions

View File

@ -1,4 +1,4 @@
libsnmp30
arch ppc package net-snmp-devel
net-snmp-devel
requires -net-snmp-<targettype>
requires "libsnmp30-<targettype> = <version>"

View File

@ -0,0 +1,23 @@
Index: net-snmp-5.7.1.rc1/agent/mibgroup/agentx/master_admin.c
===================================================================
--- net-snmp-5.7.1.rc1.orig/agent/mibgroup/agentx/master_admin.c
+++ net-snmp-5.7.1.rc1/agent/mibgroup/agentx/master_admin.c
@@ -135,11 +135,16 @@ close_agentx_session(netsnmp_session * s
* requests, so that the delegated request will be completed and
* further requests can be processed
*/
- netsnmp_remove_delegated_requests_for_session(session);
+ while (netsnmp_remove_delegated_requests_for_session(session)) {
+ DEBUGMSGTL(("agentx/master", "Continue removing delegated requests\n"));
+ }
+
if (session->subsession != NULL) {
netsnmp_session *subsession = session->subsession;
for(; subsession; subsession = subsession->next) {
- netsnmp_remove_delegated_requests_for_session(subsession);
+ while (netsnmp_remove_delegated_requests_for_session(subsession)) {
+ DEBUGMSGTL(("agentx/master", "Continue removing delegated subsession requests\n"));
+ }
}
}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:697fca5463332adeb377f02e922d6ac82b4275b9d7f4eb9bea05d61702117916
size 4378578

3
net-snmp-5.7.1.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:36c61f5b7a950d1aa21da11a1371f91fd38596147a41170c7b529be924319d1f
size 4382983

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Thu Sep 29 00:44:40 UTC 2011 - lchiquitto@suse.com
- update to version 5.7.1: minor release including some bug fixes
-------------------------------------------------------------------
Fri Sep 16 17:24:39 UTC 2011 - jengelh@medozas.de
- enable net-snmp-devel on all baselib architectures
-------------------------------------------------------------------
Wed Sep 14 18:33:18 UTC 2011 - lchiquitto@suse.com
- make sure all delegated requests are removed before closing an
AgentX session (bnc#670789)
-------------------------------------------------------------------
Fri Sep 9 20:41:31 UTC 2011 - lchiquitto@suse.com

View File

@ -45,7 +45,7 @@ Obsoletes: net-snmp-64bit
%endif
#
Url: http://sourceforge.net/projects/net-snmp
Source: %{pkg_name}-%{version}.rc1.tar.bz2
Source: %{pkg_name}-%{version}.tar.bz2
Source1: rc.snmpd
Source2: snmpd.conf
Source3: README.SUSE
@ -62,6 +62,7 @@ Patch5: net-snmp-5.6.1-net-snmp-config-headercheck.patch
Patch6: net-snmp-5.5.0-perl-tk-warning.patch
Patch7: net-snmp-5.7.0-velocity-mib.patch
Patch8: net-snmp-5.7.0-recognize-reiserfs.patch
Patch9: net-snmp-5.7.1-agentx-crash.patch
#
Summary: SNMP Daemon
@ -195,7 +196,7 @@ Authors:
G.S. Marzot <gmarzot@nortelnetworks.com>
%prep
%setup -q -n %{pkg_name}-%{version}.rc1
%setup -q -n %{pkg_name}-%{version}
%patch1 -p1
%patch2 -p1
%patch3 -p1
@ -203,6 +204,7 @@ Authors:
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%build
MIBS="misc/ipfwacc ucd-snmp/diskio etherlike-mib rmon-mib velocity smux \