BSD Ports

net/nng1 1.12.5 FreeBSD

Lightweight, broker-less messaging (1.X)

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Port added
Last update
Commit
d6d43e3b16
License
MIT
Categories
net

Description

NNG, like its predecessors nanomsg (and to some extent ZeroMQ), is a lightweight, broker-less library, offering a simple API to solve common recurring messaging problems, such as publish/subscribe, RPC-style request/reply, or service discovery. The API frees the programmer from worrying about details like connection management, retries, and other common considerations, so that they can focus on the application instead of the plumbing.

NNG is implemented in C, requiring only C99 and CMake to build. It can be built as a shared or a static library, and is readily embeddable. It is also designed to be easy to port to new platforms if your platform is not already supported.

This is version 1.X of nng.

Version history 1

  1. 1.12.5 d6d43e3b16

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install nng1

From the ports tree:

cd /usr/ports/net/nng1/ && make install clean

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

RUN_DEPENDS=	nng1>0:net/nng1
LIB_DEPENDS=	libnng.so:net/nng1

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest-----
FreeBSD:14:quarterly--n/a--
FreeBSD:15:latest--n/a--
FreeBSD:15:quarterly--n/an/an/a
FreeBSD:16:latest--n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependency graph

Ports that need it on the left, what it needs to run on the right (to build, as it needs nothing to run); at most 8 of each. "Dependencies" below lists them all.

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 15

Configuration

No options to configure.

USES
cmake
Service scripts
none
Conflicts with
nng*

Files

pkg-plist 43
  • bin/nngcat
  • include/nng/compat/nanomsg/bus.h
  • include/nng/compat/nanomsg/inproc.h
  • include/nng/compat/nanomsg/ipc.h
  • include/nng/compat/nanomsg/nn.h
  • include/nng/compat/nanomsg/pair.h
  • include/nng/compat/nanomsg/pipeline.h
  • include/nng/compat/nanomsg/pubsub.h
  • include/nng/compat/nanomsg/reqrep.h
  • include/nng/compat/nanomsg/survey.h
  • include/nng/compat/nanomsg/tcp.h
  • include/nng/compat/nanomsg/ws.h
  • include/nng/nng.h
  • include/nng/protocol/bus0/bus.h
  • include/nng/protocol/pair0/pair.h
  • include/nng/protocol/pair1/pair.h
  • include/nng/protocol/pipeline0/pull.h
  • include/nng/protocol/pipeline0/push.h
  • include/nng/protocol/pubsub0/pub.h
  • include/nng/protocol/pubsub0/sub.h
  • include/nng/protocol/reqrep0/rep.h
  • include/nng/protocol/reqrep0/req.h
  • include/nng/protocol/survey0/respond.h
  • include/nng/protocol/survey0/survey.h
  • include/nng/supplemental/http/http.h
  • include/nng/supplemental/tls/engine.h
  • include/nng/supplemental/tls/tls.h
  • include/nng/supplemental/util/idhash.h
  • include/nng/supplemental/util/options.h
  • include/nng/supplemental/util/platform.h
  • include/nng/transport/inproc/inproc.h
  • include/nng/transport/ipc/ipc.h
  • include/nng/transport/tcp/tcp.h
  • include/nng/transport/tls/tls.h
  • include/nng/transport/ws/websocket.h
  • include/nng/transport/zerotier/zerotier.h
  • lib/cmake/nng/nng-config.cmake
  • lib/cmake/nng/nng-config-version.cmake
  • lib/cmake/nng/nng-targets.cmake
  • lib/cmake/nng/nng-targets-.cmake
  • lib/libnng.so
  • lib/libnng.so.
  • lib/libnng.so..12.4
distinfo 1
FileSizeSHA256
nanomsg-nng-v1.12.5_GH0.tar.gz772367757511e3bf7a013a24a5a91069f8f2855f06e386aa52cbcff15813ef0103e80f

Commit history 1

DateCommitCreditsLog message
d6d43e3b16 Muhammad Moinur Rahman net/nng1: New port
NNG, like its predecessors nanomsg (and to some extent ZeroMQ), is a lightweight, broker-less library, offering a simple API to solve common recurring messaging problems, such as publish/subscribe, RPC-style request/reply, or service discovery. The API frees the programmer from worrying about details like connection management, retries, and other common considerations, so that they can focus on the application instead of the plumbing. NNG is implemented in C, requiring only C99 and CMake to build. It can be built as a shared or a static library, and is readily embeddable. It is also designed to be easy to port to new platforms if your platform is not already supported. This is version 1.X of nng. WWW: https://nanomsg.github.io/nng/