pkgsrc/net/zeromq/Makefile

30 lines
775 B
Makefile
Raw Normal View History

zeromq: updated to 4.2.5 0MQ version 4.2.5 stable: * Fixed 3018 - fix backward-incompatible change in the NULL auth mechanism that slipped in 4.2.3 and made connections with a ZAP domain set on a socket but without a working ZAP handler fail. See ZMQ_ZAP_ENFORCE_DOMAIN and RFC27. * Fixed 3016 - clarify in zmq_close manpage that the operation will complete asynchronously. * Fixed 3012 - fix CMake build problem when using LIBZMQ_WERROR and a compiler other than GCC. 0MQ version 4.2.4 stable: * New DRAFT (see NEWS for 4.2.0) socket options: - ZMQ_LOOPBACK_FASTPATH to enable faster TCP loopback on Windows - ZMQ_METADATA to set application-specific metadata on a socket See doc/zmq_setsockopt.txt and doc/zmq_getsockopt.txt for details. * New DRAFT (see NEWS for 4.2.0) context options: - ZMQ_ZERO_COPY_RECV to disable zero-copy receive to save memory at the expense of slower performance See doc/zmq_ctx_set.txt and doc/zmq_ctx_get.txt for details. * New DRAFT API zmq_stopwatch_intermediate which returns the time elapsed without stopping the stopwatch. * TIPC: support addressing TIPC Port Identity addresses. * Added CMake option to disable tests: BUILD_TESTS * Added CMake and autotools make targets to support clang-formatter: make clang-format, clang-format-check and clang-format-diff to help developers make sure their code conforms to the style guidelines * For distributors: a new test framework has been added, which includes a copy of the Unity source code. This source code library is distributed under the MIT license and thus is compatible with libzmq's LGPL3. * Fixed 2867 - add ZeroMQConfig.cmake.in to distributable tarball * Fixed 2868 - fix OpenBSD build * Fixed 2870 - fix VC++ 11.0 (VS2012) build * Fixed 2879 - prevent duplicate connections on PUB sockets * Fixed 2872 - fix CMake tests on Windows * Fixed 2895 - fix assert on Windows with POLL * Fixed 2920 - fix Windows build with Intel compiler * Fixed 2930 - use std::atomic when available with VC++ and VS2015 * Fixed 2910 - fix race condition with ZMQ_LINGER socket option * Fixed 2927 - add support for ZMQ_XPUB_NODROP on ZMQ_RADIO * Fixed 2820 - further clarify ZMQ_XPUB_VERBOSE(R) documentation. * Fixed 2911 - ZMQ_DISH over UDP triggers errno_assert() after hitting watermark * Fixed 2942 - ZMQ_PUB crash when due to high volume of subscribe and unsubscribe messages, an unmatched unsubscribe message is received in certain conditions * Fixed 2946 - fix Windows CMake build when BUILD_SHARED is off * Fixed 2960 - fix build with GCC 8 * Fixed 2967 - fix race condition on thread safe sockets due to pthread condvar timeouts on OSX * Fixed 2977 - fix TIPC build-time availability check to be more relaxed * Fixed 2966 - add support for WindRiver VxWorks 6.x * Fixed 2963 - fix some PVS Studio static analysis warnings * Fixed 2983 - fix MinGW cross-compilation * Fixed 2991 - fix mutex assert at shutdown when the zmq context is part of a class declared as a global static
2018-07-14 20:19:16 +02:00
# $NetBSD: Makefile,v 1.29 2018/07/14 18:19:16 adam Exp $
zeromq: updated to 4.2.5 0MQ version 4.2.5 stable: * Fixed 3018 - fix backward-incompatible change in the NULL auth mechanism that slipped in 4.2.3 and made connections with a ZAP domain set on a socket but without a working ZAP handler fail. See ZMQ_ZAP_ENFORCE_DOMAIN and RFC27. * Fixed 3016 - clarify in zmq_close manpage that the operation will complete asynchronously. * Fixed 3012 - fix CMake build problem when using LIBZMQ_WERROR and a compiler other than GCC. 0MQ version 4.2.4 stable: * New DRAFT (see NEWS for 4.2.0) socket options: - ZMQ_LOOPBACK_FASTPATH to enable faster TCP loopback on Windows - ZMQ_METADATA to set application-specific metadata on a socket See doc/zmq_setsockopt.txt and doc/zmq_getsockopt.txt for details. * New DRAFT (see NEWS for 4.2.0) context options: - ZMQ_ZERO_COPY_RECV to disable zero-copy receive to save memory at the expense of slower performance See doc/zmq_ctx_set.txt and doc/zmq_ctx_get.txt for details. * New DRAFT API zmq_stopwatch_intermediate which returns the time elapsed without stopping the stopwatch. * TIPC: support addressing TIPC Port Identity addresses. * Added CMake option to disable tests: BUILD_TESTS * Added CMake and autotools make targets to support clang-formatter: make clang-format, clang-format-check and clang-format-diff to help developers make sure their code conforms to the style guidelines * For distributors: a new test framework has been added, which includes a copy of the Unity source code. This source code library is distributed under the MIT license and thus is compatible with libzmq's LGPL3. * Fixed 2867 - add ZeroMQConfig.cmake.in to distributable tarball * Fixed 2868 - fix OpenBSD build * Fixed 2870 - fix VC++ 11.0 (VS2012) build * Fixed 2879 - prevent duplicate connections on PUB sockets * Fixed 2872 - fix CMake tests on Windows * Fixed 2895 - fix assert on Windows with POLL * Fixed 2920 - fix Windows build with Intel compiler * Fixed 2930 - use std::atomic when available with VC++ and VS2015 * Fixed 2910 - fix race condition with ZMQ_LINGER socket option * Fixed 2927 - add support for ZMQ_XPUB_NODROP on ZMQ_RADIO * Fixed 2820 - further clarify ZMQ_XPUB_VERBOSE(R) documentation. * Fixed 2911 - ZMQ_DISH over UDP triggers errno_assert() after hitting watermark * Fixed 2942 - ZMQ_PUB crash when due to high volume of subscribe and unsubscribe messages, an unmatched unsubscribe message is received in certain conditions * Fixed 2946 - fix Windows CMake build when BUILD_SHARED is off * Fixed 2960 - fix build with GCC 8 * Fixed 2967 - fix race condition on thread safe sockets due to pthread condvar timeouts on OSX * Fixed 2977 - fix TIPC build-time availability check to be more relaxed * Fixed 2966 - add support for WindRiver VxWorks 6.x * Fixed 2963 - fix some PVS Studio static analysis warnings * Fixed 2983 - fix MinGW cross-compilation * Fixed 2991 - fix mutex assert at shutdown when the zmq context is part of a class declared as a global static
2018-07-14 20:19:16 +02:00
DISTNAME= zeromq-4.2.5
CATEGORIES= net devel
Update net/zeromq to 4.2.1. 0MQ version 4.2.1 stable, released on 2016/12/31 ============================================= * New DRAFT (see NEWS for 4.2.0) Socket Monitor events: - ZMQ_EVENT_HANDSHAKE_SUCCEED - ZMQ_EVENT_HANDSHAKE_FAILED These events trigger when the ZMTP security mechanism handshake is completed. See doc/zmq_socket_monitor.txt for more information. * New DRAFT (see NEWS for 4.2.0) Context options: - ZMQ_MSG_T_SIZE See doc/zmq_ctx_get.txt for more information. * Fixed #2268 - improved compatibility with mingw32 * Fixed #2254 - ZMQ_PUB compatibility with libzmq 2.x broken * Fixed #2245 - added support for VS2017, Windows SDK 10.0.14393.0, toolset v141 * Fixed #2242 - file descriptors leaks on fork+exec * Fixed #2239 - retired poller item crash from reaper thread * Fixed #2234 - improved compatibility with AIX 7.1 * Fixed #2225 - cannot pick select for poller * Fixed #2217 - CMake build uses library version as the ABI version * Fixed #2208 - added support for ZMQ_TOS on IPv6 * Fixed #2200 - no documentation for ZMQ_SOCKS_PROXY * Fixed #2199 - no documentation for zmq_curve_public * Fixed #2196 - fixed build and runtime errors on kFreeBSD 0MQ version 4.2.0 stable, released on 2016/11/04 ============================================= * For Pieter. Thanks for making all of this possible. "Tell them I was a writer. A maker of software. A humanist. A father. And many things. But above all, a writer. Thank You. :)" - Pieter Hintjens * This release introduces new APIs, but it is ABI compatible with libzmq 4.1.2 and up. * Note for ARM and SPARC users: an alignment problem in zmq_msg_t that could in some cases and on some CPUs cause a SIGBUS error was solved, but it requires a rebuild of your application against the 4.2.0 version of include/zmq.h. To clarify, this change does not affect the internals of the library but only the public definition of zmq_msg_t, so there is no ABI incompatibility. * Security with Curve is now available by default thanks to Tweetnacl sources: https://tweetnacl.cr.yp.to/index.html Libsodium is still fully supported but has to be enabled with the build flag --with-libsodium. Distribution and package maintainers are encouraged to use libsodium so that the security implementation can be audited and maintained separately. * New Context options: - ZMQ_MAX_MSGSZ - ZMQ_BLOCKY See doc/zmq_ctx_set.txt and doc/zmq_ctx_get.txt for details. * New Socket options: - ZMQ_HANDSHAKE_IVL - ZMQ_SOCKS_PROXY - ZMQ_XPUB_NODROP - ZMQ_XPUB_MANUAL - ZMQ_XPUB_WELCOME_MSG - ZMQ_STREAM_NOTIFY - ZMQ_INVERT_MATCHING - ZMQ_HEARTBEAT_IVL - ZMQ_HEARTBEAT_TTL - ZMQ_HEARTBEAT_TIMEOUT - ZMQ_XPUB_VERBOSER - ZMQ_CONNECT_TIMEOUT - ZMQ_TCP_MAXRT - ZMQ_THREAD_SAFE - ZMQ_MULTICAST_MAXTPDU - ZMQ_VMCI_BUFFER_SIZE - ZMQ_VMCI_BUFFER_MIN_SIZE - ZMQ_VMCI_BUFFER_MAX_SIZE - ZMQ_VMCI_CONNECT_TIMEOUT - ZMQ_USE_FD See doc/zmq_setsockopt.txt and doc/zmq_getsockopt.txt for details. * New CURVE helper function to derive z85 public key from secret key: zmq_curve_public * New cross-platform atomic counter helper functions: zmq_atomic_counter_new, zmq_atomic_counter_set, zmq_atomic_counter_inc, zmq_atomic_counter_dec, zmq_atomic_counter_value, zmq_atomic_counter_destroy See doc/zmq_atomic_*.txt for details. * New DRAFT APIs early-release mechanism. New APIs will be introduced early in public releases, and until they are stabilized and guaranteed not to change anymore they will be unavailable unless the new build flag --enable-drafts is used. This will allow developers and early adopters to test new APIs before they are finalized. NOTE: as the name implies, NO GUARANTEE is made on the stability of these APIs. They might change or disappear entirely. Distributions are recommended NOT to build with them. New socket types have been introduced in DRAFT state: ZMQ_SERVER, ZMQ_CLIENT, ZMQ_RADIO, ZMQ_DISH, ZMQ_GATHER, ZMQ_SCATTER, ZMQ_DGRAM All these sockets are THREAD SAFE, unlike the existing socket types. They do NOT support multipart messages (ZMQ_SNDMORE/ZMQ_RCVMORE). ZMQ_RADIO, ZMQ_DISH and ZMQ_DGRAM also support UDP as transport, both unicast and multicast. See doc/zmq_udp.txt for more details. New methods to support the new socket types functionality: zmq_join, zmq_leave, zmq_msg_set_routing_id, zmq_msg_routing_id, zmq_msg_set_group, zmq_msg_group See doc/zmq_socket.txt for more details. New poller mechanism and APIs have been introduced in DRAFT state: zmq_poller_new, zmq_poller_destroy, zmq_poller_add, zmq_poller_modify, zmq_poller_remove, zmq_poller_wait, zmq_poller_wait_all, zmq_poller_add_fd zmq_poller_modify_fd, zmq_poller_remove_fd and a new supporting struct typedef: zmq_poller_event_t They support existing socket type, new thread-safe socket types and file descriptors (cross-platform). Documentation will be made available in the future before these APIs are declared stable. New cross-platform timers helper functions have been introduced in DRAFT state: zmq_timers_new, zmq_timers_destroy, zmq_timers_add, zmq_timers_cancel, zmq_timers_set_interval, zmq_timers_reset, zmq_timers_timeout, zmq_timers_execute and a new supporting callback typedef: zmq_timer_fn * Many, many bug fixes. The most important fixes are backported and captured in the 4.1.x and 4.0.x changelogs. 0MQ version 4.2.0 rc1, released on 2016/11/01 ============================================= * Many changes, see ChangeLog. 0MQ version 4.1.6 stable, released on 2016/11/01 ================================================ * Fixed #2051 - getifaddrs can fail with ECONNREFUSED * Fixed #2091 - testutil.hpp fails to build on Windows XP * Fixed #2096 - add tests/CMakeLists.in and version.rc.in to dist tar * Fixed #2107 - zmq_connect with IPv6 "source:port;dest:port" broken * Fixed #2117 - ctx_term assert with inproc zmq_router connect-before-bind * Fixed #2158 - Socket monitor uses internal Pair from multiple threads * Fixed #2161 - messages dropped due to HWM race * Fixed #1325 - alignment issue with zmq_msg_t causes SIGBUS on SPARC and ARM 0MQ version 4.1.5 stable, released on 2016/06/17 ================================================ * Fixed #1673 - CMake on Windows put PDB in wrong directory. * Fixed #1723 - Family is not set when resolving NIC on Android. * Fixed #1608 - Windows 7 TCP slow start issue. * Fixed #1806 - uninitialised read in curve getsockopt. * Fixed #1807 - build broken with GCC 6. * Fixed #1831 - potential assertion failure with latest libsodium. * Fixed #1850 - detection issues with tweetnacl/libsodium. * Fixed #1877 - Avoid terminating connections prematurely * Fixed #1887 - zmq_bind IPv4 fallback still tries IPv6 * Fixed #1866 - fails to build on SunOS 5.10 / Solaris 10 * Fixed #919 - ZMQ_LINGER (related to #1877) * Fixed #114 - cannot unbind with same endpoint with IPv6 enabled. * Fixed #1952 - CMake scripts not part of release tarballs * Fixed #1542 - Fix a crash on Windows when port 5905 is in use. * Fixed #2021 - Fix building on sparc32.
2017-02-02 11:09:53 +01:00
MASTER_SITES= ${MASTER_SITE_GITHUB:=zeromq/}
zeromq: updated to 4.2.5 0MQ version 4.2.5 stable: * Fixed 3018 - fix backward-incompatible change in the NULL auth mechanism that slipped in 4.2.3 and made connections with a ZAP domain set on a socket but without a working ZAP handler fail. See ZMQ_ZAP_ENFORCE_DOMAIN and RFC27. * Fixed 3016 - clarify in zmq_close manpage that the operation will complete asynchronously. * Fixed 3012 - fix CMake build problem when using LIBZMQ_WERROR and a compiler other than GCC. 0MQ version 4.2.4 stable: * New DRAFT (see NEWS for 4.2.0) socket options: - ZMQ_LOOPBACK_FASTPATH to enable faster TCP loopback on Windows - ZMQ_METADATA to set application-specific metadata on a socket See doc/zmq_setsockopt.txt and doc/zmq_getsockopt.txt for details. * New DRAFT (see NEWS for 4.2.0) context options: - ZMQ_ZERO_COPY_RECV to disable zero-copy receive to save memory at the expense of slower performance See doc/zmq_ctx_set.txt and doc/zmq_ctx_get.txt for details. * New DRAFT API zmq_stopwatch_intermediate which returns the time elapsed without stopping the stopwatch. * TIPC: support addressing TIPC Port Identity addresses. * Added CMake option to disable tests: BUILD_TESTS * Added CMake and autotools make targets to support clang-formatter: make clang-format, clang-format-check and clang-format-diff to help developers make sure their code conforms to the style guidelines * For distributors: a new test framework has been added, which includes a copy of the Unity source code. This source code library is distributed under the MIT license and thus is compatible with libzmq's LGPL3. * Fixed 2867 - add ZeroMQConfig.cmake.in to distributable tarball * Fixed 2868 - fix OpenBSD build * Fixed 2870 - fix VC++ 11.0 (VS2012) build * Fixed 2879 - prevent duplicate connections on PUB sockets * Fixed 2872 - fix CMake tests on Windows * Fixed 2895 - fix assert on Windows with POLL * Fixed 2920 - fix Windows build with Intel compiler * Fixed 2930 - use std::atomic when available with VC++ and VS2015 * Fixed 2910 - fix race condition with ZMQ_LINGER socket option * Fixed 2927 - add support for ZMQ_XPUB_NODROP on ZMQ_RADIO * Fixed 2820 - further clarify ZMQ_XPUB_VERBOSE(R) documentation. * Fixed 2911 - ZMQ_DISH over UDP triggers errno_assert() after hitting watermark * Fixed 2942 - ZMQ_PUB crash when due to high volume of subscribe and unsubscribe messages, an unmatched unsubscribe message is received in certain conditions * Fixed 2946 - fix Windows CMake build when BUILD_SHARED is off * Fixed 2960 - fix build with GCC 8 * Fixed 2967 - fix race condition on thread safe sockets due to pthread condvar timeouts on OSX * Fixed 2977 - fix TIPC build-time availability check to be more relaxed * Fixed 2966 - add support for WindRiver VxWorks 6.x * Fixed 2963 - fix some PVS Studio static analysis warnings * Fixed 2983 - fix MinGW cross-compilation * Fixed 2991 - fix mutex assert at shutdown when the zmq context is part of a class declared as a global static
2018-07-14 20:19:16 +02:00
GITHUB_PROJECT= libzmq
GITHUB_RELEASE= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
2011-05-06 06:34:50 +02:00
HOMEPAGE= http://www.zeromq.org/
COMMENT= The ZeroMQ messaging library
LICENSE= gnu-lgpl-v3
2018-01-16 10:15:28 +01:00
USE_LANGUAGES= c c99 gnu++11
zeromq: updated to 4.2.5 0MQ version 4.2.5 stable: * Fixed 3018 - fix backward-incompatible change in the NULL auth mechanism that slipped in 4.2.3 and made connections with a ZAP domain set on a socket but without a working ZAP handler fail. See ZMQ_ZAP_ENFORCE_DOMAIN and RFC27. * Fixed 3016 - clarify in zmq_close manpage that the operation will complete asynchronously. * Fixed 3012 - fix CMake build problem when using LIBZMQ_WERROR and a compiler other than GCC. 0MQ version 4.2.4 stable: * New DRAFT (see NEWS for 4.2.0) socket options: - ZMQ_LOOPBACK_FASTPATH to enable faster TCP loopback on Windows - ZMQ_METADATA to set application-specific metadata on a socket See doc/zmq_setsockopt.txt and doc/zmq_getsockopt.txt for details. * New DRAFT (see NEWS for 4.2.0) context options: - ZMQ_ZERO_COPY_RECV to disable zero-copy receive to save memory at the expense of slower performance See doc/zmq_ctx_set.txt and doc/zmq_ctx_get.txt for details. * New DRAFT API zmq_stopwatch_intermediate which returns the time elapsed without stopping the stopwatch. * TIPC: support addressing TIPC Port Identity addresses. * Added CMake option to disable tests: BUILD_TESTS * Added CMake and autotools make targets to support clang-formatter: make clang-format, clang-format-check and clang-format-diff to help developers make sure their code conforms to the style guidelines * For distributors: a new test framework has been added, which includes a copy of the Unity source code. This source code library is distributed under the MIT license and thus is compatible with libzmq's LGPL3. * Fixed 2867 - add ZeroMQConfig.cmake.in to distributable tarball * Fixed 2868 - fix OpenBSD build * Fixed 2870 - fix VC++ 11.0 (VS2012) build * Fixed 2879 - prevent duplicate connections on PUB sockets * Fixed 2872 - fix CMake tests on Windows * Fixed 2895 - fix assert on Windows with POLL * Fixed 2920 - fix Windows build with Intel compiler * Fixed 2930 - use std::atomic when available with VC++ and VS2015 * Fixed 2910 - fix race condition with ZMQ_LINGER socket option * Fixed 2927 - add support for ZMQ_XPUB_NODROP on ZMQ_RADIO * Fixed 2820 - further clarify ZMQ_XPUB_VERBOSE(R) documentation. * Fixed 2911 - ZMQ_DISH over UDP triggers errno_assert() after hitting watermark * Fixed 2942 - ZMQ_PUB crash when due to high volume of subscribe and unsubscribe messages, an unmatched unsubscribe message is received in certain conditions * Fixed 2946 - fix Windows CMake build when BUILD_SHARED is off * Fixed 2960 - fix build with GCC 8 * Fixed 2967 - fix race condition on thread safe sockets due to pthread condvar timeouts on OSX * Fixed 2977 - fix TIPC build-time availability check to be more relaxed * Fixed 2966 - add support for WindRiver VxWorks 6.x * Fixed 2963 - fix some PVS Studio static analysis warnings * Fixed 2983 - fix MinGW cross-compilation * Fixed 2991 - fix mutex assert at shutdown when the zmq context is part of a class declared as a global static
2018-07-14 20:19:16 +02:00
USE_LIBTOOL= yes
Update net/zeromq to 4.2.1. 0MQ version 4.2.1 stable, released on 2016/12/31 ============================================= * New DRAFT (see NEWS for 4.2.0) Socket Monitor events: - ZMQ_EVENT_HANDSHAKE_SUCCEED - ZMQ_EVENT_HANDSHAKE_FAILED These events trigger when the ZMTP security mechanism handshake is completed. See doc/zmq_socket_monitor.txt for more information. * New DRAFT (see NEWS for 4.2.0) Context options: - ZMQ_MSG_T_SIZE See doc/zmq_ctx_get.txt for more information. * Fixed #2268 - improved compatibility with mingw32 * Fixed #2254 - ZMQ_PUB compatibility with libzmq 2.x broken * Fixed #2245 - added support for VS2017, Windows SDK 10.0.14393.0, toolset v141 * Fixed #2242 - file descriptors leaks on fork+exec * Fixed #2239 - retired poller item crash from reaper thread * Fixed #2234 - improved compatibility with AIX 7.1 * Fixed #2225 - cannot pick select for poller * Fixed #2217 - CMake build uses library version as the ABI version * Fixed #2208 - added support for ZMQ_TOS on IPv6 * Fixed #2200 - no documentation for ZMQ_SOCKS_PROXY * Fixed #2199 - no documentation for zmq_curve_public * Fixed #2196 - fixed build and runtime errors on kFreeBSD 0MQ version 4.2.0 stable, released on 2016/11/04 ============================================= * For Pieter. Thanks for making all of this possible. "Tell them I was a writer. A maker of software. A humanist. A father. And many things. But above all, a writer. Thank You. :)" - Pieter Hintjens * This release introduces new APIs, but it is ABI compatible with libzmq 4.1.2 and up. * Note for ARM and SPARC users: an alignment problem in zmq_msg_t that could in some cases and on some CPUs cause a SIGBUS error was solved, but it requires a rebuild of your application against the 4.2.0 version of include/zmq.h. To clarify, this change does not affect the internals of the library but only the public definition of zmq_msg_t, so there is no ABI incompatibility. * Security with Curve is now available by default thanks to Tweetnacl sources: https://tweetnacl.cr.yp.to/index.html Libsodium is still fully supported but has to be enabled with the build flag --with-libsodium. Distribution and package maintainers are encouraged to use libsodium so that the security implementation can be audited and maintained separately. * New Context options: - ZMQ_MAX_MSGSZ - ZMQ_BLOCKY See doc/zmq_ctx_set.txt and doc/zmq_ctx_get.txt for details. * New Socket options: - ZMQ_HANDSHAKE_IVL - ZMQ_SOCKS_PROXY - ZMQ_XPUB_NODROP - ZMQ_XPUB_MANUAL - ZMQ_XPUB_WELCOME_MSG - ZMQ_STREAM_NOTIFY - ZMQ_INVERT_MATCHING - ZMQ_HEARTBEAT_IVL - ZMQ_HEARTBEAT_TTL - ZMQ_HEARTBEAT_TIMEOUT - ZMQ_XPUB_VERBOSER - ZMQ_CONNECT_TIMEOUT - ZMQ_TCP_MAXRT - ZMQ_THREAD_SAFE - ZMQ_MULTICAST_MAXTPDU - ZMQ_VMCI_BUFFER_SIZE - ZMQ_VMCI_BUFFER_MIN_SIZE - ZMQ_VMCI_BUFFER_MAX_SIZE - ZMQ_VMCI_CONNECT_TIMEOUT - ZMQ_USE_FD See doc/zmq_setsockopt.txt and doc/zmq_getsockopt.txt for details. * New CURVE helper function to derive z85 public key from secret key: zmq_curve_public * New cross-platform atomic counter helper functions: zmq_atomic_counter_new, zmq_atomic_counter_set, zmq_atomic_counter_inc, zmq_atomic_counter_dec, zmq_atomic_counter_value, zmq_atomic_counter_destroy See doc/zmq_atomic_*.txt for details. * New DRAFT APIs early-release mechanism. New APIs will be introduced early in public releases, and until they are stabilized and guaranteed not to change anymore they will be unavailable unless the new build flag --enable-drafts is used. This will allow developers and early adopters to test new APIs before they are finalized. NOTE: as the name implies, NO GUARANTEE is made on the stability of these APIs. They might change or disappear entirely. Distributions are recommended NOT to build with them. New socket types have been introduced in DRAFT state: ZMQ_SERVER, ZMQ_CLIENT, ZMQ_RADIO, ZMQ_DISH, ZMQ_GATHER, ZMQ_SCATTER, ZMQ_DGRAM All these sockets are THREAD SAFE, unlike the existing socket types. They do NOT support multipart messages (ZMQ_SNDMORE/ZMQ_RCVMORE). ZMQ_RADIO, ZMQ_DISH and ZMQ_DGRAM also support UDP as transport, both unicast and multicast. See doc/zmq_udp.txt for more details. New methods to support the new socket types functionality: zmq_join, zmq_leave, zmq_msg_set_routing_id, zmq_msg_routing_id, zmq_msg_set_group, zmq_msg_group See doc/zmq_socket.txt for more details. New poller mechanism and APIs have been introduced in DRAFT state: zmq_poller_new, zmq_poller_destroy, zmq_poller_add, zmq_poller_modify, zmq_poller_remove, zmq_poller_wait, zmq_poller_wait_all, zmq_poller_add_fd zmq_poller_modify_fd, zmq_poller_remove_fd and a new supporting struct typedef: zmq_poller_event_t They support existing socket type, new thread-safe socket types and file descriptors (cross-platform). Documentation will be made available in the future before these APIs are declared stable. New cross-platform timers helper functions have been introduced in DRAFT state: zmq_timers_new, zmq_timers_destroy, zmq_timers_add, zmq_timers_cancel, zmq_timers_set_interval, zmq_timers_reset, zmq_timers_timeout, zmq_timers_execute and a new supporting callback typedef: zmq_timer_fn * Many, many bug fixes. The most important fixes are backported and captured in the 4.1.x and 4.0.x changelogs. 0MQ version 4.2.0 rc1, released on 2016/11/01 ============================================= * Many changes, see ChangeLog. 0MQ version 4.1.6 stable, released on 2016/11/01 ================================================ * Fixed #2051 - getifaddrs can fail with ECONNREFUSED * Fixed #2091 - testutil.hpp fails to build on Windows XP * Fixed #2096 - add tests/CMakeLists.in and version.rc.in to dist tar * Fixed #2107 - zmq_connect with IPv6 "source:port;dest:port" broken * Fixed #2117 - ctx_term assert with inproc zmq_router connect-before-bind * Fixed #2158 - Socket monitor uses internal Pair from multiple threads * Fixed #2161 - messages dropped due to HWM race * Fixed #1325 - alignment issue with zmq_msg_t causes SIGBUS on SPARC and ARM 0MQ version 4.1.5 stable, released on 2016/06/17 ================================================ * Fixed #1673 - CMake on Windows put PDB in wrong directory. * Fixed #1723 - Family is not set when resolving NIC on Android. * Fixed #1608 - Windows 7 TCP slow start issue. * Fixed #1806 - uninitialised read in curve getsockopt. * Fixed #1807 - build broken with GCC 6. * Fixed #1831 - potential assertion failure with latest libsodium. * Fixed #1850 - detection issues with tweetnacl/libsodium. * Fixed #1877 - Avoid terminating connections prematurely * Fixed #1887 - zmq_bind IPv4 fallback still tries IPv6 * Fixed #1866 - fails to build on SunOS 5.10 / Solaris 10 * Fixed #919 - ZMQ_LINGER (related to #1877) * Fixed #114 - cannot unbind with same endpoint with IPv6 enabled. * Fixed #1952 - CMake scripts not part of release tarballs * Fixed #1542 - Fix a crash on Windows when port 5905 is in use. * Fixed #2021 - Fix building on sparc32.
2017-02-02 11:09:53 +01:00
USE_TOOLS+= gmake pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-libsodium=${BUILDLINK_PREFIX.libsodium}
PKGCONFIG_OVERRIDE+= src/libzmq.pc.in
zeromq: updated to 4.2.5 0MQ version 4.2.5 stable: * Fixed 3018 - fix backward-incompatible change in the NULL auth mechanism that slipped in 4.2.3 and made connections with a ZAP domain set on a socket but without a working ZAP handler fail. See ZMQ_ZAP_ENFORCE_DOMAIN and RFC27. * Fixed 3016 - clarify in zmq_close manpage that the operation will complete asynchronously. * Fixed 3012 - fix CMake build problem when using LIBZMQ_WERROR and a compiler other than GCC. 0MQ version 4.2.4 stable: * New DRAFT (see NEWS for 4.2.0) socket options: - ZMQ_LOOPBACK_FASTPATH to enable faster TCP loopback on Windows - ZMQ_METADATA to set application-specific metadata on a socket See doc/zmq_setsockopt.txt and doc/zmq_getsockopt.txt for details. * New DRAFT (see NEWS for 4.2.0) context options: - ZMQ_ZERO_COPY_RECV to disable zero-copy receive to save memory at the expense of slower performance See doc/zmq_ctx_set.txt and doc/zmq_ctx_get.txt for details. * New DRAFT API zmq_stopwatch_intermediate which returns the time elapsed without stopping the stopwatch. * TIPC: support addressing TIPC Port Identity addresses. * Added CMake option to disable tests: BUILD_TESTS * Added CMake and autotools make targets to support clang-formatter: make clang-format, clang-format-check and clang-format-diff to help developers make sure their code conforms to the style guidelines * For distributors: a new test framework has been added, which includes a copy of the Unity source code. This source code library is distributed under the MIT license and thus is compatible with libzmq's LGPL3. * Fixed 2867 - add ZeroMQConfig.cmake.in to distributable tarball * Fixed 2868 - fix OpenBSD build * Fixed 2870 - fix VC++ 11.0 (VS2012) build * Fixed 2879 - prevent duplicate connections on PUB sockets * Fixed 2872 - fix CMake tests on Windows * Fixed 2895 - fix assert on Windows with POLL * Fixed 2920 - fix Windows build with Intel compiler * Fixed 2930 - use std::atomic when available with VC++ and VS2015 * Fixed 2910 - fix race condition with ZMQ_LINGER socket option * Fixed 2927 - add support for ZMQ_XPUB_NODROP on ZMQ_RADIO * Fixed 2820 - further clarify ZMQ_XPUB_VERBOSE(R) documentation. * Fixed 2911 - ZMQ_DISH over UDP triggers errno_assert() after hitting watermark * Fixed 2942 - ZMQ_PUB crash when due to high volume of subscribe and unsubscribe messages, an unmatched unsubscribe message is received in certain conditions * Fixed 2946 - fix Windows CMake build when BUILD_SHARED is off * Fixed 2960 - fix build with GCC 8 * Fixed 2967 - fix race condition on thread safe sockets due to pthread condvar timeouts on OSX * Fixed 2977 - fix TIPC build-time availability check to be more relaxed * Fixed 2966 - add support for WindRiver VxWorks 6.x * Fixed 2963 - fix some PVS Studio static analysis warnings * Fixed 2983 - fix MinGW cross-compilation * Fixed 2991 - fix mutex assert at shutdown when the zmq context is part of a class declared as a global static
2018-07-14 20:19:16 +02:00
TEST_TARGET= check
Update zeromq to 2.1.6. 0MQ version 2.1.6 (Stable), released on 2011/04/26 ================================================== Bug fixes --------- * Fixed memory leak with threads on Windows. * Assert during SUB socket termination fixed. Changes ------- * Checks zmq_msg_t validity at each operation. * Inproc performance tests now work on Windows. * PGM wire format specification improved in zmq_pgm(7) * Added thread latency/throughput performance examples. * Added "--with-system-pgm" configure option to use already installed OpenPGM. 0MQ version 2.1.5 (Broken), released on 2011/04/20 ================================================== Note that this version contained a malformed patch and is not usable. It is not available for download, but is available in the git via the 2.1.5 tag. 0MQ version 2.1.4 (Stable), released on 2011/03/30 ================================================== Bug fixes --------- * Fix to OpenPGM which was asserting on small messages (Steven McCoy). Changes ------- * Upgraded OpenPGM to version 5.1.115 (Pieter Hintjens). * OpenPGM build changed to not install OpenPGM artifacts. 0MQ version 2.1.3 (Stable), released on 2011/03/21 ================================================== Bug fixes --------- * Fix to PUSH sockets, which would sometimes deliver tail frames of a multipart message to new subscribers (Martin Sustrik). * Fix to PUB sockets, which would sometimes deliver tail frames of a multipart message to new subscribers (Martin Sustrik). * Windows build was broken due to EPROTONOSUPPORT not being defined. This has now been fixed (Martin Sustrik). * Various fixes to make OpenVMS port work (Brett Cameron). * Corrected Reference Manual to note that ZMQ_LINGER socket option may be set at any time, not just before connecting/binding (Pieter Hintjens). * Fix to C++ binding to properly close sockets (Guido Goldstein). * Removed obsolete assert from pgm_socket.cpp (Martin Sustrik). Changes ------- * Removed stand-alone devices (/devices subdirectory) from distribution. These undocumented programs remain available in older packages (Pieter Hintjens). * OpenPGM default rate raised to 40mbps by default (Steven McCoy). * ZMQ_DEALER and ZMQ_ROUTER macros provided to ease upgrade to 0MQ/3.0. These are scheduled to replace ZMQ_XREQ and ZMQ_XREP (Pieter Hintjens). * Added man page for zmq_device(3) which was hereto undocumented (Pieter Hintjens). * Removed zmq_queue(3), zmq_forwarder(3), zmq_streamer(3) man pages (Pieter Hintjens). OpenPGM Integration ------------------- * Upgraded OpenPGM to version 5.1.114 (Steven McCoy, Mikko Koppanen). * Build system now calls OpenPGM build process directly, allowing easier future upgrades of OpenPGM (Mikko Koppanen). * Build system allows configuration with arbitrary versions of OpenPGM (./configure --with-pgm=libpgm-x.y.z) (Mikko Koppanen). * OpenPGM uses new PGM_ODATA_MAX_RTE controlling original data instead of PGM_TXW_MAX_RTE covering entire channel (Steven McCoy). Building -------- * 0MQ builds properly on FreeBSD (Mikko Koppanen). 0MQ version 2.1.2 (rc2), released on 2011/03/06 =============================================== Bug fixes --------- * 0MQ now correctly handles durable inproc sockets; previously it ignored explicit identities on inproc sockets. * Various memory leaks were fixed. * OpenPGM sender/receiver creation fixed. 0MQ version 2.1.1 (rc1), released on 2011/02/23 =============================================== New functionality ----------------- * New socket option ZMQ_RECONNECT_IVL_MAX added, allows for exponential back-off strategy when reconnecting. * New socket option ZMQ_RECOVERY_IVL_MSEC added, as a fine-grained counterpart to ZMQ_RECOVERY_IVL (for multicast transports). * If memory is exhausted, 0MQ warns with an explicit message before aborting the process. * Size of inproc HWM and SWAP is sum of peers' HWMs and SWAPs (Douglas Greager, Martin Sustrik). Bug fixes --------- * 0MQ no longer asserts in mailbox.cpp when multiple peers connect with the same identity. * 0MQ no longer asserts when rejecting an oversized message. * 0MQ no longer asserts in pipe.cpp when the swap fills up. * zmq_poll now works correctly with an empty poll set. * Many more. Building -------- * 0MQ now builds correctly on CentOS, Debian 6, and SunOS/gcc3. * Added WithOpenPGM configuration into MSVC builds. Known issues ------------ * OpenPGM integration is still not fully stable. 0MQ version 2.1.0 (Beta), released on 2010/12/01 ================================================ New functionality ----------------- * New semantics for zmq_close () and zmq_term () ensure that all messages are sent before the application terminates. This behaviour may be modified using the new ZMQ_LINGER socket option; for further details refer to the reference manual. * The new socket options ZMQ_FD and ZMQ_EVENTS provide a way to integrate 0MQ sockets into existing poll/event loops. * Sockets may now be migrated between OS threads, as long as the application ensures that a full memory barrier is issued. * The 0MQ ABI exported by libzmq.so has been formalised; DSO symbol visibility is used on supported platforms to ensure that only public ABI symbols are exported. The library ABI version has been set to 1.0.0 for this release. * OpenPGM has been updated to version 5.0.92. This version no longer depends on GLIB, and integration with 0MQ should be much improved. * zmq_poll() now honors timeouts precisely, and no longer returns if no events are signaled. * Blocking calls now return EINTR if interrupted by the delivery of a signal; this also means that language bindings which previously had problems with handling SIGINT/^C should now work correctly. * The ZMQ_TYPE socket option was added; this allows retrieval of the socket type after creation. * Added a ZMQ_VERSION macro to zmq.h for compile-time API version detection. * The ZMQ_RECONNECT_IVL and ZMQ_BACKLOG socket options have been added. Bug fixes --------- * Forwarder and streamer devices now handle multi-part messages correctly. * 0MQ no longer asserts when malformed data is received on the wire. * 0MQ internal timers now work correctly if the TSC jumps backwards. * The internal signalling functionality (mailbox) has been improved to automatically resize socket buffers on POSIX systems. * Many more. Building -------- * 0MQ now builds correctly with many more non-GCC compilers (Sun Studio, Intel ICC, CLang). * AIX and HP-UX builds should work now. * FD_SETSIZE has been set to 1024 by default for MSVC builds. * Windows builds using GCC (MinGW) now work out of the box. Distribution ------------ * A simple framework for regression tests has been added, along with a few basic self-tests. The tests can be run using "make check".
2011-05-06 07:30:34 +02:00
.include "../../mk/bsd.prefs.mk"
2014-07-07 15:21:27 +02:00
.if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS"
.include "../../devel/libuuid/buildlink3.mk"
.endif
.include "../../security/libsodium/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"