Hello community,

here is the log from the commit of package php5 for openSUSE:Factory checked in 
at 2015-09-24 06:13:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/php5 (Old)
 and      /work/SRC/openSUSE:Factory/.php5.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "php5"

Changes:
--------
--- /work/SRC/openSUSE:Factory/php5/php5.changes        2015-09-08 
17:38:33.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.php5.new/php5.changes   2015-09-24 
06:13:19.000000000 +0200
@@ -1,0 +2,13 @@
+Tue Sep  8 10:28:25 UTC 2015 - [email protected]
+
+- php-odbc-cmp-int-cast.patch renamed to php5-odbc-cmp-int-cast.patch
+  to be consistent with other patch names
+
+-------------------------------------------------------------------
+Mon Sep  7 11:48:21 UTC 2015 - [email protected]
+
+- added php5-fix_net-snmp_disable_MD5.patch:
+  If MD5 was disabled in net-snmp we have to disable the used MD5 
+  function in ext/snmp/snmp.c as well. (bsc#944302)
+
+-------------------------------------------------------------------

Old:
----
  php-odbc-cmp-int-cast.patch

New:
----
  php5-fix_net-snmp_disable_MD5.patch
  php5-odbc-cmp-int-cast.patch

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

Other differences:
------------------
++++++ php5.spec ++++++
--- /var/tmp/diff_new_pack.Ke76kt/_old  2015-09-24 06:13:20.000000000 +0200
+++ /var/tmp/diff_new_pack.Ke76kt/_new  2015-09-24 06:13:20.000000000 +0200
@@ -180,7 +180,10 @@
 Patch17:        php5-per-mod-log.patch
 Patch18:        php5-apache24-updates.patch
 Patch19:        php5-crypto-checks.patch
-Patch20:        php-odbc-cmp-int-cast.patch
+# https://bugs.php.net/bug.php?id=53007
+Patch20:        php5-odbc-cmp-int-cast.patch
+# https://bugs.php.net/bug.php?id=70461
+Patch21:        php5-fix_net-snmp_disable_MD5.patch
 Url:            http://www.php.net
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Summary:        PHP5 Core Files
@@ -1331,6 +1334,7 @@
 %patch18 -p1
 %patch19
 %patch20
+%patch21 -p1
 # Safety check for API version change.
 vapi=`sed -n '/#define PHP_API_VERSION/{s/.* //;p}' main/php.h`
 if test "x${vapi}" != "x%{apiver}"; then


++++++ php5-fix_net-snmp_disable_MD5.patch ++++++
diff -Nurp php-5.5.14-orig/ext/snmp/snmp.c php-5.5.14/ext/snmp/snmp.c
--- php-5.5.14-orig/ext/snmp/snmp.c     2014-06-25 15:06:23.000000000 +0200
+++ php-5.5.14/ext/snmp/snmp.c  2015-09-07 13:57:05.904881566 +0200
@@ -1266,14 +1266,17 @@ static int netsnmp_session_set_sec_level
    Set the authentication protocol in the snmpv3 session */
 static int netsnmp_session_set_auth_protocol(struct snmp_session *s, char 
*prot TSRMLS_DC)
 {
+#ifndef DISABLE_MD5
        if (!strcasecmp(prot, "MD5")) {
                s->securityAuthProto = usmHMACMD5AuthProtocol;
                s->securityAuthProtoLen = USM_AUTH_PROTO_MD5_LEN;
-       } else if (!strcasecmp(prot, "SHA")) {
+       } else
+#endif
+       if (!strcasecmp(prot, "SHA")) {
                s->securityAuthProto = usmHMACSHA1AuthProtocol;
                s->securityAuthProtoLen = USM_AUTH_PROTO_SHA_LEN;
        } else {
-               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown 
authentication protocol '%s'", prot);
+               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown or 
unsupported authentication protocol '%s'", prot);
                return (-1);
        }
        return (0);
++++++ php-odbc-cmp-int-cast.patch -> php5-odbc-cmp-int-cast.patch ++++++



Reply via email to