BSD Ports

net/nanomsg 1.1.5 MidnightBSD

Socket library that provides several common communication patterns

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
net

Description

nanomsg is a socket library that provides several common communication patterns. It aims to make the networking layer fast, scalable, and easy to use. Implemented in C, it works on a wide range of operating systems with no further dependencies.

The communication patterns, also called "scalability protocols", are basic blocks for building distributed systems. By combining them you can create a vast array of distributed applications. The following scalability protocols are currently available:

* PAIR -- simple one-to-one communication * BUS -- simple many-to-many communication * REQREP -- allows to build clusters of stateless services to process user requests * PUBSUB -- distributes messages to large sets of interested subscribers * PIPELINE -- aggregates messages from multiple sources and load balances them among many destinations * SURVEY -- allows to query state of multiple applications in single go

In the other systems

The newest version among them is 1.2.5, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDnet/nanomsg1.1.5 behind since 2026-08-03no data-[email protected]-
FreeBSDnet/nanomsg1.1.5_3 behind since 2026-08-03none known-[email protected]2026-09-13
OpenBSDnet/nanomsg1.2.2 behind since 2026-08-03no data-The OpenBSD ports mailing-list <[email protected]>-
NetBSDnet/nanomsg1.2.5 newestnone known-[email protected]2026-09-07
DragonFlynet/nanomsg1.1.5_2 behind since 2026-08-03none known-[email protected]-
HardenedBSDnet/nanomsg1.1.5_3 behind since 2026-08-03no data-[email protected]-
GhostBSDnet/nanomsg1.1.5_3 behind since 2026-08-03no data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install nanomsg

From mports:

cd /usr/mports/net/nanomsg && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	nanomsg>0:net/nanomsg
LIB_DEPENDS=	libnanomsg.so:net/nanomsg

Dependencies

No port depends on this one.

Configuration

Options name: net_nanomsg

OptionDefaultDescription
DOCSoffBuild and/or install HTML and manpages
USES
cmake pathfix
Service scripts
none

Files

Manual pages 36
  • nanocat(1)
  • nanomsg(7)
  • nn_allocmsg(3)
  • nn_bind(3)
  • nn_bus(7)
  • nn_close(3)
  • nn_cmsg(3)
  • nn_connect(3)
  • nn_device(3)
  • nn_env(7)
  • nn_errno(3)
  • nn_freemsg(3)
  • nn_get_statistic(3)
  • nn_getsockopt(3)
  • nn_inproc(7)
  • nn_ipc(7)
  • nn_pair(7)
  • nn_pipeline(7)
  • nn_poll(3)
  • nn_pubsub(7)
  • nn_reallocmsg(3)
  • nn_recv(3)
  • nn_recvmsg(3)
  • nn_reqrep(7)
  • nn_send(3)
  • nn_sendmsg(3)
  • nn_setsockopt(3)
  • nn_shutdown(3)
  • nn_socket(3)
  • nn_strerror(3)
  • nn_survey(7)
  • nn_symbol(3)
  • nn_symbol_info(3)
  • nn_tcp(7)
  • nn_term(3)
  • nn_ws(7)
pkg-plist 56
  • bin/nanocat
  • include/nanomsg/bus.h
  • include/nanomsg/inproc.h
  • include/nanomsg/ipc.h
  • include/nanomsg/nn.h
  • include/nanomsg/pair.h
  • include/nanomsg/pipeline.h
  • include/nanomsg/pubsub.h
  • include/nanomsg/reqrep.h
  • include/nanomsg/survey.h
  • include/nanomsg/tcp.h
  • include/nanomsg/ws.h
  • lib/cmake/nanomsg-1.1.5/nanomsg-config-version.cmake
  • lib/cmake/nanomsg-1.1.5/nanomsg-config.cmake
  • lib/cmake/nanomsg-1.1.5/nanomsg-target-.cmake
  • lib/cmake/nanomsg-1.1.5/nanomsg-target.cmake
  • lib/libnanomsg.so
  • lib/libnanomsg.so.5
  • lib/libnanomsg.so.5.1.0
  • libdata/pkgconfig/nanomsg.pc
  • share/man/man1/nanocat.1.gz
  • share/man/man3/nn_allocmsg.3.gz
  • share/man/man3/nn_bind.3.gz
  • share/man/man3/nn_close.3.gz
  • share/man/man3/nn_cmsg.3.gz
  • share/man/man3/nn_connect.3.gz
  • share/man/man3/nn_device.3.gz
  • share/man/man3/nn_errno.3.gz
  • share/man/man3/nn_freemsg.3.gz
  • share/man/man3/nn_get_statistic.3.gz
  • share/man/man3/nn_getsockopt.3.gz
  • share/man/man3/nn_poll.3.gz
  • share/man/man3/nn_reallocmsg.3.gz
  • share/man/man3/nn_recv.3.gz
  • share/man/man3/nn_recvmsg.3.gz
  • share/man/man3/nn_send.3.gz
  • share/man/man3/nn_sendmsg.3.gz
  • share/man/man3/nn_setsockopt.3.gz
  • share/man/man3/nn_shutdown.3.gz
  • share/man/man3/nn_socket.3.gz
  • share/man/man3/nn_strerror.3.gz
  • share/man/man3/nn_symbol.3.gz
  • share/man/man3/nn_symbol_info.3.gz
  • share/man/man3/nn_term.3.gz
  • share/man/man7/nanomsg.7.gz
  • share/man/man7/nn_bus.7.gz
  • share/man/man7/nn_env.7.gz
  • share/man/man7/nn_inproc.7.gz
  • share/man/man7/nn_ipc.7.gz
  • share/man/man7/nn_pair.7.gz
  • share/man/man7/nn_pipeline.7.gz
  • share/man/man7/nn_pubsub.7.gz
  • share/man/man7/nn_reqrep.7.gz
  • share/man/man7/nn_survey.7.gz
  • share/man/man7/nn_tcp.7.gz
  • share/man/man7/nn_ws.7.gz
distinfo 1
FileSizeSHA256
nanomsg-nanomsg-1.1.5_GH0.tar.gz310739218b31ae1534ab897cb5c419973603de9ca1a5f54df2e724ab4a188eb416df5a