svn commit: r474973 - in head/net: . nng

Steve Wills swills at FreeBSD.org
Thu Jul 19 19:45:07 UTC 2018


Author: swills
Date: Thu Jul 19 19:45:05 2018
New Revision: 474973
URL: https://svnweb.freebsd.org/changeset/ports/474973

Log:
  net/nng: create 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.
  
  WWW: https://nanomsg.github.io/nng/

Added:
  head/net/nng/
  head/net/nng/Makefile   (contents, props changed)
  head/net/nng/distinfo   (contents, props changed)
  head/net/nng/pkg-descr   (contents, props changed)
  head/net/nng/pkg-plist   (contents, props changed)
Modified:
  head/net/Makefile   (contents, props changed)

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Thu Jul 19 19:30:35 2018	(r474972)
+++ head/net/Makefile	Thu Jul 19 19:45:05 2018	(r474973)
@@ -532,6 +532,7 @@
     SUBDIR += nload
     SUBDIR += nmsg
     SUBDIR += nncp
+    SUBDIR += nng
     SUBDIR += nocatsplash
     SUBDIR += norm
     SUBDIR += nph

Added: head/net/nng/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/nng/Makefile	Thu Jul 19 19:45:05 2018	(r474973)
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+PORTNAME=	nng
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.0.1
+CATEGORIES=	net
+
+MAINTAINER=	swills at FreeBSD.org
+COMMENT=	Lightweight, broker-less messaging
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+USES=		cmake:outsource
+USE_GITHUB=	yes
+GH_ACCOUNT=	nanomsg
+
+CMAKE_ARGS+=	-DBUILD_SHARED_LIBS:BOOL=ON
+USE_LDCONFIG=	yes
+
+.include <bsd.port.mk>

Added: head/net/nng/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/nng/distinfo	Thu Jul 19 19:45:05 2018	(r474973)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1532027540
+SHA256 (nanomsg-nng-v1.0.1_GH0.tar.gz) = c08ef670d472eb6fd50a2f863c6a4432b2963addd47f35d54cfb9fd7c543895b
+SIZE (nanomsg-nng-v1.0.1_GH0.tar.gz) = 541020

Added: head/net/nng/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/nng/pkg-descr	Thu Jul 19 19:45:05 2018	(r474973)
@@ -0,0 +1,13 @@
+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.
+
+WWW: https://nanomsg.github.io/nng/

Added: head/net/nng/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/nng/pkg-plist	Thu Jul 19 19:45:05 2018	(r474973)
@@ -0,0 +1,37 @@
+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/tls.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/ws/websocket.h
+lib/cmake/nng/nng-config-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/nng/nng-config.cmake
+lib/libnng.so
+lib/libnng.so.1
+lib/libnng.so.1.0.0


More information about the svn-ports-all mailing list