Hello community,

here is the log from the commit of package net-snmp for openSUSE:Factory 
checked in at 2014-09-24 13:09:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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-09-17 
17:24:24.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.net-snmp.new/net-snmp.changes   2014-09-24 
13:09:14.000000000 +0200
@@ -1,0 +2,11 @@
+Mon Sep 15 14:29:16 UTC 2014 - lchiqui...@suse.com
+
+- update to upstream version 5.7.3.pre5
+- remove patches that are now present in the upstream release:
+  * net-snmp-5.7.2-build-fix-for-strlcat.patch
+  * net-snmp-5.7.2-fix-mib-representation-of-timeout-values.patch
+  * net-snmp-5.7.2-fix-perl-trap-handler.patch
+- net-snmp-5.7.2-fix-snmptrapd-remote-denial-of-service.patch:
+  refresh and add patch header
+
+-------------------------------------------------------------------

Old:
----
  net-snmp-5.7.2-build-fix-for-strlcat.patch
  net-snmp-5.7.2-fix-mib-representation-of-timeout-values.patch
  net-snmp-5.7.2-fix-perl-trap-handler.patch
  net-snmp-5.7.2.1.tar.gz

New:
----
  net-snmp-5.7.3.pre5.tar.gz

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

Other differences:
------------------
++++++ net-snmp.spec ++++++
--- /var/tmp/diff_new_pack.XVnn8W/_old  2014-09-24 13:09:16.000000000 +0200
+++ /var/tmp/diff_new_pack.XVnn8W/_new  2014-09-24 13:09:16.000000000 +0200
@@ -32,8 +32,10 @@
 %define netsnmp_agentx_socket_dir_fhs %{_rundir}/agentx
 %define netsnmp_agentx_socket_dir_rfc /var/agentx
 
+%define tarver  5.7.3.pre5
+
 Name:           net-snmp
-Version:        5.7.2.1
+Version:        5.7.3
 Release:        0
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  openssl-devel
@@ -50,7 +52,7 @@
 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:         %{pkg_name}-%{version}.tar.gz
+Source:         %{pkg_name}-%{tarver}.tar.gz
 Source1:        rc.snmpd
 Source2:        snmpd.conf
 Source3:        README.SUSE
@@ -66,10 +68,7 @@
 Patch5:         net-snmp-5.7.2-net-snmp-config-headercheck.patch
 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
 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
-Patch11:        net-snmp-5.7.2-fix-perl-trap-handler.patch
 Patch12:        net-snmp-5.7.2-fix-snmptrapd-remote-denial-of-service.patch
 #
 Summary:        SNMP Daemon
@@ -195,17 +194,14 @@
 
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
+%setup -q -n %{pkg_name}-%{tarver}
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
-%patch8 -p1
 %patch9 -p1
-%patch10 -p1
-%patch11 -p1
 %patch12 -p1
 
 %build

++++++ net-snmp-5.7.2-fix-snmptrapd-remote-denial-of-service.patch ++++++
--- /var/tmp/diff_new_pack.XVnn8W/_old  2014-09-24 13:09:16.000000000 +0200
+++ /var/tmp/diff_new_pack.XVnn8W/_new  2014-09-24 13:09:16.000000000 +0200
@@ -1,6 +1,23 @@
---- net-snmp-5.7.2.1-orig/snmplib/mib.c        2014-02-20 01:36:42.000000000 
+0100
-+++ net-snmp-5.7.2.1-patched/snmplib/mib.c     2014-09-02 15:07:17.902832000 
+0200
-@@ -464,17 +464,16 @@
+commit 7f4a7b891332899cea26e95be0337aae01648742
+Author: Jan Safranek <jsafra...@users.sourceforge.net>
+Date:   Thu Jul 31 13:46:49 2014 +0200
+
+    Added checks for printing variables with wrong types.
+    
+    When -OQ command line argument is used, variable formatter preffers the 
type
+    of the varible parsed from a MIB file instead of checking type of the 
variable
+    as parsed from SNMP message.
+    
+    This can lead to crashes when incoming packets contains a variable with
+    NULL type, while the MIB says the variable should be non-NULL, like 
Integer.
+    The formatter then tries to interpret the NULL (from packet) as Integer 
(from
+    MIB file).
+
+Index: net-snmp-5.7.3.pre5/snmplib/mib.c
+===================================================================
+--- net-snmp-5.7.3.pre5.orig/snmplib/mib.c
++++ net-snmp-5.7.3.pre5/snmplib/mib.c
+@@ -464,17 +464,16 @@ sprint_realloc_octet_string(u_char ** bu
      u_char         *cp;
      int             output_format, cnt;
  
@@ -26,7 +43,7 @@
      }
  
  
-@@ -742,16 +741,16 @@
+@@ -742,16 +741,16 @@ sprint_realloc_float(u_char ** buf, size
                       const struct enum_list *enums,
                       const char *hint, const char *units)
  {
@@ -51,7 +68,7 @@
      }
  
      if (!netsnmp_ds_get_boolean(NETSNMP_DS_LIBRARY_ID, 
NETSNMP_DS_LIB_QUICK_PRINT)) {
-@@ -812,17 +811,16 @@
+@@ -812,17 +811,16 @@ sprint_realloc_double(u_char ** buf, siz
                        const struct enum_list *enums,
                        const char *hint, const char *units)
  {
@@ -77,7 +94,7 @@
      }
  
      if (!netsnmp_ds_get_boolean(NETSNMP_DS_LIBRARY_ID, 
NETSNMP_DS_LIB_QUICK_PRINT)) {
-@@ -887,20 +885,21 @@
+@@ -887,20 +885,21 @@ sprint_realloc_counter64(u_char ** buf,
  {
      char            a64buf[I64CHARSZ + 1];
  
@@ -107,7 +124,7 @@
      }
  
      if (!netsnmp_ds_get_boolean(NETSNMP_DS_LIBRARY_ID, 
NETSNMP_DS_LIB_QUICK_PRINT)) {
-@@ -988,23 +987,25 @@
+@@ -988,23 +987,25 @@ sprint_realloc_opaque(u_char ** buf, siz
                        const struct enum_list *enums,
                        const char *hint, const char *units)
  {
@@ -141,7 +158,7 @@
  #ifdef NETSNMP_WITH_OPAQUE_SPECIAL_TYPES
      switch (var->type) {
      case ASN_OPAQUE_COUNTER64:
-@@ -1080,17 +1081,16 @@
+@@ -1080,17 +1081,16 @@ sprint_realloc_object_identifier(u_char
  {
      int             buf_overflow = 0;
  
@@ -167,7 +184,7 @@
      }
  
      if (!netsnmp_ds_get_boolean(NETSNMP_DS_LIBRARY_ID, 
NETSNMP_DS_LIB_QUICK_PRINT)) {
-@@ -1150,16 +1150,16 @@
+@@ -1150,16 +1150,16 @@ sprint_realloc_timeticks(u_char ** buf,
  {
      char            timebuf[40];
  
@@ -192,7 +209,7 @@
      }
  
      if (netsnmp_ds_get_boolean(NETSNMP_DS_LIBRARY_ID, 
NETSNMP_DS_LIB_NUMERIC_TIMETICKS)) {
-@@ -1298,17 +1298,18 @@
+@@ -1317,17 +1317,18 @@ sprint_realloc_integer(u_char ** buf, si
  {
      char           *enum_string = NULL;
  
@@ -219,7 +236,7 @@
      for (; enums; enums = enums->next) {
          if (enums->value == *var->val.integer) {
              enum_string = enums->label;
-@@ -1401,16 +1402,16 @@
+@@ -1420,16 +1421,16 @@ sprint_realloc_uinteger(u_char ** buf, s
  {
      char           *enum_string = NULL;
  
@@ -244,7 +261,7 @@
      }
  
      for (; enums; enums = enums->next) {
-@@ -1498,17 +1499,16 @@
+@@ -1517,17 +1518,16 @@ sprint_realloc_gauge(u_char ** buf, size
  {
      char            tmp[32];
  
@@ -270,7 +287,7 @@
      }
  
      if (!netsnmp_ds_get_boolean(NETSNMP_DS_LIBRARY_ID, 
NETSNMP_DS_LIB_QUICK_PRINT)) {
-@@ -1571,16 +1571,16 @@
+@@ -1590,16 +1590,16 @@ sprint_realloc_counter(u_char ** buf, si
  {
      char            tmp[32];
  
@@ -295,7 +312,7 @@
      }
  
      if (!netsnmp_ds_get_boolean(NETSNMP_DS_LIBRARY_ID, 
NETSNMP_DS_LIB_QUICK_PRINT)) {
-@@ -1634,16 +1634,16 @@
+@@ -1653,16 +1653,16 @@ sprint_realloc_networkaddress(u_char **
  {
      size_t          i;
  
@@ -320,7 +337,7 @@
      }
  
      if (!netsnmp_ds_get_boolean(NETSNMP_DS_LIBRARY_ID, 
NETSNMP_DS_LIB_QUICK_PRINT)) {
-@@ -1700,16 +1700,16 @@
+@@ -1719,16 +1719,16 @@ sprint_realloc_ipaddress(u_char ** buf,
  {
      u_char         *ip = var->val.string;
  
@@ -345,7 +362,7 @@
      }
  
      if (!netsnmp_ds_get_boolean(NETSNMP_DS_LIBRARY_ID, 
NETSNMP_DS_LIB_QUICK_PRINT)) {
-@@ -1758,20 +1758,20 @@
+@@ -1777,20 +1777,20 @@ sprint_realloc_null(u_char ** buf, size_
                      const struct enum_list *enums,
                      const char *hint, const char *units)
  {
@@ -377,7 +394,7 @@
  }
  
  
-@@ -1806,16 +1806,16 @@
+@@ -1825,16 +1825,16 @@ sprint_realloc_bitstring(u_char ** buf,
      u_char         *cp;
      char           *enum_string;
  
@@ -402,7 +419,7 @@
      }
  
      if (netsnmp_ds_get_boolean(NETSNMP_DS_LIBRARY_ID, 
NETSNMP_DS_LIB_QUICK_PRINT)) {
-@@ -1890,16 +1890,16 @@
+@@ -1909,16 +1909,16 @@ sprint_realloc_nsapaddress(u_char ** buf
                             const struct enum_list *enums, const char *hint,
                             const char *units)
  {

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to