Hello community,

here is the log from the commit of package net-snmp for openSUSE:Factory 
checked in at 2014-05-22 20:38:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/net-snmp (Old)
 and      /work/SRC/openSUSE:Factory/.net-snmp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "net-snmp"

Changes:
--------
--- /work/SRC/openSUSE:Factory/net-snmp/net-snmp.changes        2014-02-26 
23:20:39.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.net-snmp.new/net-snmp.changes   2014-05-22 
20:38:44.000000000 +0200
@@ -1,0 +2,24 @@
+Sat May 17 18:57:58 UTC 2014 - [email protected]
+
+- recompress .tar.gz - it has trailing garbage, hope we can readd
+  source url on next update
+
+-------------------------------------------------------------------
+Fri May 16 12:25:59 UTC 2014 - [email protected]
+
+- update to upstream version 5.7.2.1, fixing one security issue:
+  * A denial of service attack vector was discovered on the Linux
+    implementation of the ICMP-MIB. (CVE-2014-2284, bnc#866942)
+
+-------------------------------------------------------------------
+Wed May 14 22:06:00 CEST 2014 - [email protected]
+
+- net-snmp-5.7.2-fix-mib-representation-of-timeout-values.patch:
+  fix mib representation of timeout values (bnc#833153) 
+
+-------------------------------------------------------------------
+Thu May  8 11:47:01 CEST 2014 - [email protected]
+
+- use _rundir macro 
+
+-------------------------------------------------------------------

Old:
----
  net-snmp-5.7.2.tar.gz

New:
----
  net-snmp-5.7.2-fix-mib-representation-of-timeout-values.patch
  net-snmp-5.7.2.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ net-snmp.spec ++++++
--- /var/tmp/diff_new_pack.40LqAy/_old  2014-05-22 20:38:47.000000000 +0200
+++ /var/tmp/diff_new_pack.40LqAy/_new  2014-05-22 20:38:47.000000000 +0200
@@ -26,11 +26,14 @@
 %endif
 %define netsnmp_check 1
 %define netsnmp_logfile /var/log/net-snmpd.log
-%define netsnmp_agentx_socket_dir_fhs /var/run/agentx
+%if ! %{defined _rundir}
+%define _rundir %{_localstatedir}/run
+%endif
+%define netsnmp_agentx_socket_dir_fhs %{_rundir}/agentx
 %define netsnmp_agentx_socket_dir_rfc /var/agentx
 
 Name:           net-snmp
-Version:        5.7.2
+Version:        5.7.2.1
 Release:        0
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  openssl-devel
@@ -46,7 +49,8 @@
 Requires:       perl-TermReadKey
 PreReq:         %insserv_prereq %fillup_prereq /sbin/chkconfig
 Url:            http://sourceforge.net/projects/net-snmp
-Source:         
http://sourceforge.net/projects/net-snmp/files/net-snmp/%{version}/%{pkg_name}-%{version}.tar.gz
+#Source:         
http://sourceforge.net/projects/net-snmp/files/net-snmp/%{version}/%{pkg_name}-%{version}.tar.gz
+Source:         %{pkg_name}-%{version}.tar.gz
 Source1:        rc.snmpd
 Source2:        snmpd.conf
 Source3:        README.SUSE
@@ -63,7 +67,8 @@
 Patch6:         net-snmp-5.7.2-perl-tk-warning.patch
 Patch7:         net-snmp-5.7.2-velocity-mib.patch
 Patch8:         net-snmp-5.7.2-build-fix-for-strlcat.patch
-Patch23:        
net-snmp-5.7.2-fix-snmpd-crashing-when-an-agentx-disconnects.patch
+Patch9:         
net-snmp-5.7.2-fix-snmpd-crashing-when-an-agentx-disconnects.patch
+Patch10:        net-snmp-5.7.2-fix-mib-representation-of-timeout-values.patch
 #
 Summary:        SNMP Daemon
 License:        BSD-3-Clause and MIT
@@ -86,10 +91,6 @@
 to net-snmp in November 2000.
 
 
-Authors:
---------
-    Wes Hardaker <[email protected]>
-
 %define library_name libsnmp30
 
 %package     -n libsnmp30
@@ -114,11 +115,6 @@
 
 This package holds the shared libraries from the net-snmp package.
 
-
-Authors:
---------
-    Wes Hardaker <[email protected]>
-
 %package devel
 Requires:       %{library_name} = %{version}
 # for mib2c
@@ -152,10 +148,6 @@
 from the net-snmp package.
 
 
-Authors:
---------
-    Wes Hardaker <[email protected]>
-
 %package     -n snmp-mibs
 #
 Summary:        MIB files from net-snmp
@@ -177,10 +169,6 @@
 This package holds the MIB files from the net-snmp package.
 
 
-Authors:
---------
-    Wes Hardaker <[email protected]>
-
 %package     -n perl-SNMP
 Requires:       %{pkg_name} = %{version}
 Requires:       perl-base = %{perl_version}
@@ -193,10 +181,6 @@
 The Perl5 'SNMP' Extension Module v3.1.0 for the UCD SNMPv3 library.
 
 
-Authors:
---------
-    G.S. Marzot <[email protected]>
-
 %package python
 Summary:        The Python 'netsnmp' module for the Net-SNMP
 License:        BSD-3-Clause and MIT
@@ -208,11 +192,6 @@
 Net-SNMP toolkit library.
 
 
-Authors:
---------
-    G.S. Marzot <[email protected]>
-
-
 %prep
 %setup -q -n %{pkg_name}-%{version}
 %patch1 -p1
@@ -222,7 +201,8 @@
 %patch6 -p1
 %patch7 -p1
 %patch8 -p1
-%patch23 -p1
+%patch9 -p1
+%patch10 -p1
 
 %build
 MIBS="misc/ipfwacc ucd-snmp/diskio etherlike-mib rmon-mib velocity smux \

++++++ net-snmp-5.7.2-fix-mib-representation-of-timeout-values.patch ++++++
commit 78dac6e37943d1ad99841898806ea60b0eede636
Author: Wes Hardaker <[email protected]>
Date:   Mon Jul 22 12:39:00 2013 -0700

    fix bug number #a2478: fix mib representation of timeout values

commit 390303059fbd98b1ee7621ddd4ad4c11d100fff9
Author: Magnus Fromreide <[email protected]>
Date:   Sun Jul 28 21:28:14 2013 +0200

    Revert 78dac6e37943d1ad99841898806ea60b0eede636 and resolve a2478 in a way 
that avoids truncating snmpTargetAddrTimeout.

commit 96302af7fc3108c208227432f0f0b75f3e7b906d
Author: Magnus Fromreide <[email protected]>
Date:   Wed Aug 28 10:59:05 2013 +0200

    Correct conversion factor from microseconds to centiseconds.

Index: net-snmp-5.7.2/agent/mibgroup/target/snmpTargetAddrEntry.h
===================================================================
--- net-snmp-5.7.2.orig/agent/mibgroup/target/snmpTargetAddrEntry.h
+++ net-snmp-5.7.2/agent/mibgroup/target/snmpTargetAddrEntry.h
@@ -51,7 +51,7 @@ config_add_mib(SNMPv2-TM)
          int             tDomainLen;
          unsigned char  *tAddress;
          size_t          tAddressLen;
-         int             timeout;
+         int             timeout;      /* Timeout in centiseconds */
          int             retryCount;
          char           *tagList;
          char           *params;
Index: net-snmp-5.7.2/agent/mibgroup/target/target.c
===================================================================
--- net-snmp-5.7.2.orig/agent/mibgroup/target/target.c
+++ net-snmp-5.7.2/agent/mibgroup/target/target.c
@@ -240,7 +240,7 @@ get_target_sessions(char *taglist, Targe
                             }
 #endif
                             memset(&thissess, 0, sizeof(thissess));
-                            thissess.timeout = (targaddrs->timeout) * 1000;
+                            thissess.timeout = (targaddrs->timeout) * 10000;
                             thissess.retries = targaddrs->retryCount;
                             DEBUGMSGTL(("target_sessions",
                                         "timeout: %d -> %ld\n",
Index: net-snmp-5.7.2/agent/mibgroup/notification/snmpNotifyTable.c
===================================================================
--- net-snmp-5.7.2.orig/agent/mibgroup/notification/snmpNotifyTable.c
+++ net-snmp-5.7.2/agent/mibgroup/notification/snmpNotifyTable.c
@@ -331,7 +331,7 @@ notifyTable_register_notifications(int m
     ptr->tAddressLen = t->remote_length;
     ptr->tAddress = t->remote;
 
-    ptr->timeout = ss->timeout / 1000;
+    ptr->timeout = ss->timeout / 10000;
     ptr->retryCount = ss->retries;
     SNMP_FREE(ptr->tagList);
     ptr->tagList = strdup(ptr->name);
++++++ net-snmp-5.7.2.tar.gz -> net-snmp-5.7.2.1.tar.gz ++++++
++++ 2024 lines of diff (skipped)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to