Tue Dec 28 12:04:09 2021 UTC ()
nanomsg: updated to 1.1.5

Release 1.1.5
This release is a minor bug fix release, and includes some improvements to the CMake logic that should make incorporating nanomsg into larger projects easier.

Release 1.1.4
This release is primarily a bug-fix release for Windows platforms, but it also adds support for building on Android.

The main change in this release is a fix for the IPC transport on Windows, which was subject to crashing if the remote peer breaks messages into smaller pieces. As some other SP implementations do this to avoid data copies, this fix is very important.

A fix for leaking handles on Windows is included.

Support for compilation on Android using the NDK and the bundled cmake and toolchain file from Android is now present.

Release 1.1.3
This is the last planned release for nanomsg. (New effort is focued on the NNG project -- see github.com/nanomsg/nng for details.)

The following changes are present:

CMake exported target, easing inclusion in larger projects (see demos/CMakeLists.txt for an example)
Windows no longer uses a single fixed TCP port for eventfd (this should improve reliability)
Fix for an assertion failure in efd_unsignal
The ABI version is separate from the library version now.
Fixed a crash when calling nn_term without first opening a socket.
Fix for building Windows tests on case-sensitive file systems.
CI/CD improvements: switch to CircleCI, and use CodeCov for coverage analysis.

Release 1.1.2
This is just a very minor compilation fix for version 1.1.1.

Version 1.1.1 did not compile on Linux, but this version will.

Release 1.1.1
** THIS RELEASE HAS A COMPILE BUG ON LINUX. Use 1.1.2 INSTEAD **

This is a bug fix release for 1.1.0.

Two main issues are resolved:

nanomsg no longer wakes up every 100 msec even when no I/O is pending

Some users noticed that nanomsg was performing wakeups regardless of
whether I/O was available or not. This had a detrimental effect on power usage.

nanomsg no longer crashes when accept fails on Windows

In some circumstances an outstanding accept() operation that got aborted
(for example due to the socket closing) could wind up crashing the application.
This was a race, and it is closed now.

We also fixed a few compilation warnings on Windows.

Release 1.1.0
This release is primarily a bug fix release for nanomsg, and rolls up a number of stability improvements, particularly for the inproc transport. A port to support Windows Subsystem for Linux is provided as well. There are no changes to the ABI.


(adam)
diff -r1.4 -r1.5 pkgsrc/net/nanomsg/Makefile
diff -r1.1 -r1.2 pkgsrc/net/nanomsg/PLIST
diff -r1.3 -r1.4 pkgsrc/net/nanomsg/distinfo

cvs diff -r1.4 -r1.5 pkgsrc/net/nanomsg/Makefile (expand / switch to unified diff)

--- pkgsrc/net/nanomsg/Makefile 2020/01/26 17:31:52 1.4
+++ pkgsrc/net/nanomsg/Makefile 2021/12/28 12:04:09 1.5
@@ -1,17 +1,19 @@ @@ -1,17 +1,19 @@
1# $NetBSD: Makefile,v 1.4 2020/01/26 17:31:52 rillig Exp $ 1# $NetBSD: Makefile,v 1.5 2021/12/28 12:04:09 adam Exp $
2 2
3DISTNAME= nanomsg-1.0.0 3DISTNAME= nanomsg-1.1.5
4PKGREVISION= 1 
5CATEGORIES= net 4CATEGORIES= net
6MASTER_SITES= ${MASTER_SITE_GITHUB:=nanomsg/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=nanomsg/}
7 6
8MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://nanomsg.org/ 8HOMEPAGE= https://nanomsg.org/
10COMMENT= Scalability protocols library 9COMMENT= Scalability protocols library
11LICENSE= x11 10LICENSE= x11
12 11
13USE_CMAKE= yes 12USE_CMAKE= yes
 13TEST_TARGET= test
 14# For Darwin
 15TEST_ENV+= DYLD_LIBRARY_PATH=${WRKSRC}
14 16
15PKGCONFIG_OVERRIDE+= src/pkgconfig.in 17PKGCONFIG_OVERRIDE+= src/pkgconfig.in
16 18
17.include "../../mk/bsd.pkg.mk" 19.include "../../mk/bsd.pkg.mk"

cvs diff -r1.1 -r1.2 pkgsrc/net/nanomsg/PLIST (expand / switch to unified diff)

--- pkgsrc/net/nanomsg/PLIST 2016/06/18 08:16:27 1.1
+++ pkgsrc/net/nanomsg/PLIST 2021/12/28 12:04:09 1.2
@@ -1,17 +1,21 @@ @@ -1,17 +1,21 @@
1@comment $NetBSD: PLIST,v 1.1 2016/06/18 08:16:27 kamil Exp $ 1@comment $NetBSD: PLIST,v 1.2 2021/12/28 12:04:09 adam Exp $
2bin/nanocat 2bin/nanocat
3include/nanomsg/bus.h 3include/nanomsg/bus.h
4include/nanomsg/inproc.h 4include/nanomsg/inproc.h
5include/nanomsg/ipc.h 5include/nanomsg/ipc.h
6include/nanomsg/nn.h 6include/nanomsg/nn.h
7include/nanomsg/pair.h 7include/nanomsg/pair.h
8include/nanomsg/pipeline.h 8include/nanomsg/pipeline.h
9include/nanomsg/pubsub.h 9include/nanomsg/pubsub.h
10include/nanomsg/reqrep.h 10include/nanomsg/reqrep.h
11include/nanomsg/survey.h 11include/nanomsg/survey.h
12include/nanomsg/tcp.h 12include/nanomsg/tcp.h
13include/nanomsg/ws.h 13include/nanomsg/ws.h
 14lib/cmake/${PKGNAME}/nanomsg-config-version.cmake
 15lib/cmake/${PKGNAME}/nanomsg-config.cmake
 16lib/cmake/${PKGNAME}/nanomsg-target-noconfig.cmake
 17lib/cmake/${PKGNAME}/nanomsg-target.cmake
14lib/libnanomsg.so 18lib/libnanomsg.so
15lib/libnanomsg.so.${PKGVERSION} 19lib/libnanomsg.so.5
16lib/libnanomsg.so.5.0.0 20lib/libnanomsg.so.5.1.0
17lib/pkgconfig/nanomsg.pc 21lib/pkgconfig/nanomsg.pc

cvs diff -r1.3 -r1.4 pkgsrc/net/nanomsg/distinfo (expand / switch to unified diff)

--- pkgsrc/net/nanomsg/distinfo 2021/10/26 11:06:04 1.3
+++ pkgsrc/net/nanomsg/distinfo 2021/12/28 12:04:09 1.4
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.3 2021/10/26 11:06:04 nia Exp $ 1$NetBSD: distinfo,v 1.4 2021/12/28 12:04:09 adam Exp $
2 2
3BLAKE2s (nanomsg-1.0.0.tar.gz) = 6f108cc584894a553d7b27bef32bd40b5b8f0d5aedce37fd873d550c76a1ea77 3BLAKE2s (nanomsg-1.1.5.tar.gz) = 4aee7ed15ba7e05b194c54e879003627c5693b5c5090ded58532fb9463bd4f72
4SHA512 (nanomsg-1.0.0.tar.gz) = 06fc4eadac29439024bd24230c73f43ddc46e6b6848ad75952b67bf301066be5752a844173597c1b42e55c1ebb66a2d2cb7693e4cbfc07584b4398597cbc9200 4SHA512 (nanomsg-1.1.5.tar.gz) = 773b8e169a7accac21414c63972423a249164f5b843c6c65c1b03a2eb90d21da788a98debdeb396dab795e52d30605696bc2cf65e5e05687bf115438d5b22717
5Size (nanomsg-1.0.0.tar.gz) = 305040 bytes 5Size (nanomsg-1.1.5.tar.gz) = 310739 bytes