From 8585a2ff286b444cf74e7b211b4636792dad4218492378dbdda899161eaa6b7a Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 15 Dec 2017 08:54:39 +0000 Subject: [PATCH] Accepting request 556904 from home:adamm:branches:devel:libraries:c_c++ - New upstream version 4.2.3 * API change: previously ZMQ_POLLOUT on a ZMQ_ROUTER socket returned always true due to how the type works. When ZMQ_ROUTER_MANDATORY is set, sending fails when the peer is not available, but ZMQ_POLLOUT always returns true anyway, which does not make sense. Now when ZMQ_ROUTER_MANDATORY is set, ZMQ_POLLOUT on a ZMQ_ROUTER will return true only if at least one peer is available. Given ZMQ_POLLOUT with ZMQ_ROUTER was not usable at all previously, we do not consider this a breakage warranting a major or minor version increase. * ZMQ_IDENTITY has been renamed to ZMQ_ROUTING_ID and ZMQ_CONNECT_RID has been renamed to ZMQ_CONNTECT_ROUTING_ID to disambiguate. ZMQ_IDENTITY and ZMQ_CONNECT_RID are still available to keep backward compatibility, and will be removed in a future release after further advance notice. * DRAFT API change: zmq_poller_wait, zmq_poller_wait_all and zmq_poller_poll have been changed to be inline with other existing APIs that have a timeout to return EAGAIN instead of ETIMEDOUT as the errno value. * Existing non-DRAFT socket types ZMQ_REP/REQ, ZMQ_ROUTER/DEALER and ZMQPUB/SUB, that were previously declared deprecated, have been reinstated as stable and supported * Curve: all remaining traces of debug output to console are now removed, and new DRAFT events are available to properly debug CURVE, PLAIN, GSSAPI and ZAP events and failures. * for compelete changelog see https://github.com/zeromq/libzmq/releases/tag/v4.2.3 - drop remove_werror.patch: can now be disabled at configure time, if needed. OBS-URL: https://build.opensuse.org/request/show/556904 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zeromq?expand=0&rev=62 --- remove_werror.patch | 13 ------------- zeromq-4.2.2.tar.gz | 3 --- zeromq-4.2.3.tar.gz | 3 +++ zeromq.changes | 34 ++++++++++++++++++++++++++++++++++ zeromq.spec | 9 ++++----- 5 files changed, 41 insertions(+), 21 deletions(-) delete mode 100644 remove_werror.patch delete mode 100644 zeromq-4.2.2.tar.gz create mode 100644 zeromq-4.2.3.tar.gz diff --git a/remove_werror.patch b/remove_werror.patch deleted file mode 100644 index 5b0e292..0000000 --- a/remove_werror.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: zeromq-4.2.2/configure -=================================================================== ---- zeromq-4.2.2.orig/configure -+++ zeromq-4.2.2/configure -@@ -18994,7 +18994,7 @@ fi - - - # By default compiling with -Werror except OSX. --libzmq_werror="yes" -+libzmq_werror="no" - - # By default use DSO visibility - libzmq_dso_visibility="yes" diff --git a/zeromq-4.2.2.tar.gz b/zeromq-4.2.2.tar.gz deleted file mode 100644 index e388154..0000000 --- a/zeromq-4.2.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5b23f4ca9ef545d5bd3af55d305765e3ee06b986263b31967435d285a3e6df6b -size 1236437 diff --git a/zeromq-4.2.3.tar.gz b/zeromq-4.2.3.tar.gz new file mode 100644 index 0000000..6ff84c9 --- /dev/null +++ b/zeromq-4.2.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8f1e2b2aade4dbfde98d82366d61baef2f62e812530160d2e6d0a5bb24e40bc0 +size 1326780 diff --git a/zeromq.changes b/zeromq.changes index b7c59ec..1506cd3 100644 --- a/zeromq.changes +++ b/zeromq.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +Thu Dec 14 08:00:12 UTC 2017 - adam.majer@suse.de + +- New upstream version 4.2.3 + * API change: previously ZMQ_POLLOUT on a ZMQ_ROUTER socket + returned always true due to how the type works. When + ZMQ_ROUTER_MANDATORY is set, sending fails when the peer is + not available, but ZMQ_POLLOUT always returns true anyway, + which does not make sense. Now when ZMQ_ROUTER_MANDATORY is + set, ZMQ_POLLOUT on a ZMQ_ROUTER will return true only if + at least one peer is available. + Given ZMQ_POLLOUT with ZMQ_ROUTER was not usable at all + previously, we do not consider this a breakage warranting a + major or minor version increase. + * ZMQ_IDENTITY has been renamed to ZMQ_ROUTING_ID and + ZMQ_CONNECT_RID has been renamed to ZMQ_CONNTECT_ROUTING_ID + to disambiguate. ZMQ_IDENTITY and ZMQ_CONNECT_RID are still + available to keep backward compatibility, and will be + removed in a future release after further advance notice. + * DRAFT API change: zmq_poller_wait, zmq_poller_wait_all and + zmq_poller_poll have been changed to be inline with other + existing APIs that have a timeout to return EAGAIN instead + of ETIMEDOUT as the errno value. + * Existing non-DRAFT socket types ZMQ_REP/REQ, ZMQ_ROUTER/DEALER + and ZMQPUB/SUB, that were previously declared deprecated, have + been reinstated as stable and supported + * Curve: all remaining traces of debug output to console are now + removed, and new DRAFT events are available to properly debug + CURVE, PLAIN, GSSAPI and ZAP events and failures. + * for compelete changelog see + https://github.com/zeromq/libzmq/releases/tag/v4.2.3 +- drop remove_werror.patch: can now be disabled at configure time, + if needed. + ------------------------------------------------------------------- Thu Jun 1 11:25:58 UTC 2017 - adam.majer@suse.de diff --git a/zeromq.spec b/zeromq.spec index af4f20e..c5c6c40 100644 --- a/zeromq.spec +++ b/zeromq.spec @@ -23,14 +23,13 @@ %bcond_with pgm %endif Name: zeromq -Version: 4.2.2 +Version: 4.2.3 Release: 0 Summary: Lightweight messaging kernel License: LGPL-3.0+ Group: Productivity/Networking/Web/Servers Url: http://www.zeromq.org/ Source: https://github.com/zeromq/libzmq/releases/download/v%{version}/zeromq-%{version}.tar.gz -Patch: remove_werror.patch BuildRequires: asciidoc BuildRequires: gcc-c++ BuildRequires: libunwind-devel @@ -75,8 +74,8 @@ This package holds the shared library part of the ZeroMQ package. %package tools Summary: Tools to work with ZeroMQ -Group: Productivity/Networking/Web/Servers # Conflict old libraries as we collide with them +Group: Productivity/Networking/Web/Servers Conflicts: libzmq1 Conflicts: libzmq2 Conflicts: libzmq3 @@ -105,7 +104,6 @@ This package holds the development files for ZeroMQ. %prep %setup -q -%patch -p1 %build export LIBS=-ldl @@ -117,7 +115,8 @@ export LIBS=-ldl %endif --disable-static \ --disable-dependency-tracking \ - --disable-silent-rules + --disable-silent-rules \ + --disable-Werror make %{?_smp_mflags} %install