pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/nng net/nng: import version 1.4.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/13233d3292ae
branches:  trunk
changeset: 448661:13233d3292ae
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Fri Mar 12 02:28:08 2021 +0000

description:
net/nng: import version 1.4.0

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.

diffstat:

 net/nng/DESCR                                            |   11 +
 net/nng/Makefile                                         |   20 +
 net/nng/PLIST                                            |  668 +++++++++++++++
 net/nng/distinfo                                         |    7 +
 net/nng/options.mk                                       |   25 +
 net/nng/patches/patch-src_platform_posix_posix__thread.c |   19 +
 6 files changed, 750 insertions(+), 0 deletions(-)

diffs (truncated from 774 to 300 lines):

diff -r 4aa8845aaca5 -r 13233d3292ae net/nng/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/nng/DESCR     Fri Mar 12 02:28:08 2021 +0000
@@ -0,0 +1,11 @@
+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.
diff -r 4aa8845aaca5 -r 13233d3292ae net/nng/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/nng/Makefile  Fri Mar 12 02:28:08 2021 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2021/03/12 02:28:08 khorben Exp $
+
+DISTNAME=      ${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+PKGNAME=       ${GITHUB_PROJECT}-1.4.0
+CATEGORIES=    net
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=nanomsg/}
+GITHUB_PROJECT=        nng
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://nng.nanomsg.org/
+COMMENT=       Light-weight brokerless messaging
+LICENSE=       mit
+
+USE_CMAKE=     yes
+USE_LANGUAGES= c99 c++
+
+.include "options.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r 4aa8845aaca5 -r 13233d3292ae net/nng/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/nng/PLIST     Fri Mar 12 02:28:08 2021 +0000
@@ -0,0 +1,668 @@
+@comment $NetBSD: PLIST,v 1.1 2021/03/12 02:28:08 khorben Exp $
+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/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-version.cmake
+lib/cmake/nng/nng-config.cmake
+lib/cmake/nng/nng-targets-noconfig.cmake
+lib/cmake/nng/nng-targets.cmake
+${PLIST.static}lib/libnng.a
+${PLIST.shared}lib/libnng.so
+${PLIST.shared}lib/libnng.so.1
+${PLIST.shared}lib/libnng.so.${PKGVERSION}
+${PLIST.doc}man/man1/nngcat.1
+${PLIST.doc}man/man3/libnng.3
+${PLIST.doc}man/man3/nng_aio_abort.3
+${PLIST.doc}man/man3/nng_aio_alloc.3
+${PLIST.doc}man/man3/nng_aio_begin.3
+${PLIST.doc}man/man3/nng_aio_cancel.3
+${PLIST.doc}man/man3/nng_aio_count.3
+${PLIST.doc}man/man3/nng_aio_defer.3
+${PLIST.doc}man/man3/nng_aio_finish.3
+${PLIST.doc}man/man3/nng_aio_free.3
+${PLIST.doc}man/man3/nng_aio_get_input.3
+${PLIST.doc}man/man3/nng_aio_get_msg.3
+${PLIST.doc}man/man3/nng_aio_get_output.3
+${PLIST.doc}man/man3/nng_aio_result.3
+${PLIST.doc}man/man3/nng_aio_set_input.3
+${PLIST.doc}man/man3/nng_aio_set_iov.3
+${PLIST.doc}man/man3/nng_aio_set_msg.3
+${PLIST.doc}man/man3/nng_aio_set_output.3
+${PLIST.doc}man/man3/nng_aio_set_timeout.3
+${PLIST.doc}man/man3/nng_aio_stop.3
+${PLIST.doc}man/man3/nng_aio_wait.3
+${PLIST.doc}man/man3/nng_alloc.3
+${PLIST.doc}man/man3/nng_bus_open.3
+${PLIST.doc}man/man3/nng_close.3
+${PLIST.doc}man/man3/nng_ctx_close.3
+${PLIST.doc}man/man3/nng_ctx_get.3
+${PLIST.doc}man/man3/nng_ctx_getopt.3
+${PLIST.doc}man/man3/nng_ctx_id.3
+${PLIST.doc}man/man3/nng_ctx_open.3
+${PLIST.doc}man/man3/nng_ctx_recv.3
+${PLIST.doc}man/man3/nng_ctx_send.3
+${PLIST.doc}man/man3/nng_ctx_set.3
+${PLIST.doc}man/man3/nng_ctx_setopt.3
+${PLIST.doc}man/man3/nng_device.3
+${PLIST.doc}man/man3/nng_dial.3
+${PLIST.doc}man/man3/nng_dialer_close.3
+${PLIST.doc}man/man3/nng_dialer_create.3
+${PLIST.doc}man/man3/nng_dialer_get.3
+${PLIST.doc}man/man3/nng_dialer_getopt.3
+${PLIST.doc}man/man3/nng_dialer_id.3
+${PLIST.doc}man/man3/nng_dialer_set.3
+${PLIST.doc}man/man3/nng_dialer_setopt.3
+${PLIST.doc}man/man3/nng_dialer_start.3
+${PLIST.doc}man/man3/nng_free.3
+${PLIST.doc}man/man3/nng_getopt.3
+${PLIST.doc}man/man3/nng_inproc_register.3
+${PLIST.doc}man/man3/nng_ipc_register.3
+${PLIST.doc}man/man3/nng_listen.3
+${PLIST.doc}man/man3/nng_listener_close.3
+${PLIST.doc}man/man3/nng_listener_create.3
+${PLIST.doc}man/man3/nng_listener_get.3
+${PLIST.doc}man/man3/nng_listener_getopt.3
+${PLIST.doc}man/man3/nng_listener_id.3
+${PLIST.doc}man/man3/nng_listener_set.3
+${PLIST.doc}man/man3/nng_listener_setopt.3
+${PLIST.doc}man/man3/nng_listener_start.3
+${PLIST.doc}man/man3/nng_msg_alloc.3
+${PLIST.doc}man/man3/nng_msg_append.3
+${PLIST.doc}man/man3/nng_msg_body.3
+${PLIST.doc}man/man3/nng_msg_chop.3
+${PLIST.doc}man/man3/nng_msg_clear.3
+${PLIST.doc}man/man3/nng_msg_dup.3
+${PLIST.doc}man/man3/nng_msg_free.3
+${PLIST.doc}man/man3/nng_msg_get_pipe.3
+${PLIST.doc}man/man3/nng_msg_header.3
+${PLIST.doc}man/man3/nng_msg_header_append.3
+${PLIST.doc}man/man3/nng_msg_header_chop.3
+${PLIST.doc}man/man3/nng_msg_header_clear.3
+${PLIST.doc}man/man3/nng_msg_header_insert.3
+${PLIST.doc}man/man3/nng_msg_header_len.3
+${PLIST.doc}man/man3/nng_msg_header_trim.3
+${PLIST.doc}man/man3/nng_msg_insert.3
+${PLIST.doc}man/man3/nng_msg_len.3
+${PLIST.doc}man/man3/nng_msg_realloc.3
+${PLIST.doc}man/man3/nng_msg_set_pipe.3
+${PLIST.doc}man/man3/nng_msg_trim.3
+${PLIST.doc}man/man3/nng_pair_open.3
+${PLIST.doc}man/man3/nng_pipe_close.3
+${PLIST.doc}man/man3/nng_pipe_dialer.3
+${PLIST.doc}man/man3/nng_pipe_get.3
+${PLIST.doc}man/man3/nng_pipe_getopt.3
+${PLIST.doc}man/man3/nng_pipe_id.3
+${PLIST.doc}man/man3/nng_pipe_listener.3
+${PLIST.doc}man/man3/nng_pipe_notify.3
+${PLIST.doc}man/man3/nng_pipe_socket.3
+${PLIST.doc}man/man3/nng_pub_open.3
+${PLIST.doc}man/man3/nng_pull_open.3
+${PLIST.doc}man/man3/nng_push_open.3
+${PLIST.doc}man/man3/nng_recv.3
+${PLIST.doc}man/man3/nng_recv_aio.3
+${PLIST.doc}man/man3/nng_recvmsg.3
+${PLIST.doc}man/man3/nng_rep_open.3
+${PLIST.doc}man/man3/nng_req_open.3
+${PLIST.doc}man/man3/nng_respondent_open.3
+${PLIST.doc}man/man3/nng_send.3
+${PLIST.doc}man/man3/nng_send_aio.3
+${PLIST.doc}man/man3/nng_sendmsg.3
+${PLIST.doc}man/man3/nng_setopt.3
+${PLIST.doc}man/man3/nng_sleep_aio.3
+${PLIST.doc}man/man3/nng_socket_get.3
+${PLIST.doc}man/man3/nng_socket_id.3
+${PLIST.doc}man/man3/nng_socket_set.3
+${PLIST.doc}man/man3/nng_stat_bool.3
+${PLIST.doc}man/man3/nng_stat_child.3
+${PLIST.doc}man/man3/nng_stat_desc.3
+${PLIST.doc}man/man3/nng_stat_find.3
+${PLIST.doc}man/man3/nng_stat_find_dialer.3
+${PLIST.doc}man/man3/nng_stat_find_listener.3
+${PLIST.doc}man/man3/nng_stat_find_socket.3
+${PLIST.doc}man/man3/nng_stat_name.3
+${PLIST.doc}man/man3/nng_stat_next.3
+${PLIST.doc}man/man3/nng_stat_string.3
+${PLIST.doc}man/man3/nng_stat_timestamp.3
+${PLIST.doc}man/man3/nng_stat_type.3
+${PLIST.doc}man/man3/nng_stat_unit.3
+${PLIST.doc}man/man3/nng_stat_value.3
+${PLIST.doc}man/man3/nng_stats_free.3
+${PLIST.doc}man/man3/nng_stats_get.3
+${PLIST.doc}man/man3/nng_strdup.3
+${PLIST.doc}man/man3/nng_strerror.3
+${PLIST.doc}man/man3/nng_strfree.3
+${PLIST.doc}man/man3/nng_sub_open.3
+${PLIST.doc}man/man3/nng_surveyor_open.3
+${PLIST.doc}man/man3/nng_tcp_register.3
+${PLIST.doc}man/man3/nng_tls_register.3
+${PLIST.doc}man/man3/nng_url_clone.3
+${PLIST.doc}man/man3/nng_url_free.3
+${PLIST.doc}man/man3/nng_url_parse.3
+${PLIST.doc}man/man3/nng_version.3
+${PLIST.doc}man/man3/nng_ws_register.3
+${PLIST.doc}man/man3/nng_wss_register.3
+${PLIST.doc}man/man3/nng_zt_register.3
+${PLIST.doc}man/man3compat/nn_allocmsg.3compat
+${PLIST.doc}man/man3compat/nn_bind.3compat
+${PLIST.doc}man/man3compat/nn_close.3compat
+${PLIST.doc}man/man3compat/nn_cmsg.3compat
+${PLIST.doc}man/man3compat/nn_connect.3compat
+${PLIST.doc}man/man3compat/nn_device.3compat
+${PLIST.doc}man/man3compat/nn_errno.3compat
+${PLIST.doc}man/man3compat/nn_freemsg.3compat
+${PLIST.doc}man/man3compat/nn_get_statistic.3compat
+${PLIST.doc}man/man3compat/nn_getsockopt.3compat
+${PLIST.doc}man/man3compat/nn_poll.3compat
+${PLIST.doc}man/man3compat/nn_reallocmsg.3compat
+${PLIST.doc}man/man3compat/nn_recv.3compat
+${PLIST.doc}man/man3compat/nn_recvmsg.3compat
+${PLIST.doc}man/man3compat/nn_send.3compat
+${PLIST.doc}man/man3compat/nn_sendmsg.3compat
+${PLIST.doc}man/man3compat/nn_setsockopt.3compat
+${PLIST.doc}man/man3compat/nn_shutdown.3compat
+${PLIST.doc}man/man3compat/nn_socket.3compat
+${PLIST.doc}man/man3compat/nn_strerror.3compat
+${PLIST.doc}man/man3compat/nn_term.3compat
+${PLIST.doc}man/man3compat/nng_compat.3compat
+${PLIST.doc}man/man3http/nng_http_client_alloc.3http
+${PLIST.doc}man/man3http/nng_http_client_connect.3http
+${PLIST.doc}man/man3http/nng_http_client_free.3http
+${PLIST.doc}man/man3http/nng_http_client_get_tls.3http
+${PLIST.doc}man/man3http/nng_http_client_set_tls.3http
+${PLIST.doc}man/man3http/nng_http_client_transact.3http
+${PLIST.doc}man/man3http/nng_http_conn_close.3http
+${PLIST.doc}man/man3http/nng_http_conn_read.3http
+${PLIST.doc}man/man3http/nng_http_conn_read_all.3http
+${PLIST.doc}man/man3http/nng_http_conn_read_req.3http
+${PLIST.doc}man/man3http/nng_http_conn_read_res.3http
+${PLIST.doc}man/man3http/nng_http_conn_transact.3http
+${PLIST.doc}man/man3http/nng_http_conn_write.3http
+${PLIST.doc}man/man3http/nng_http_conn_write_all.3http
+${PLIST.doc}man/man3http/nng_http_conn_write_req.3http
+${PLIST.doc}man/man3http/nng_http_conn_write_res.3http
+${PLIST.doc}man/man3http/nng_http_handler_alloc.3http
+${PLIST.doc}man/man3http/nng_http_handler_free.3http
+${PLIST.doc}man/man3http/nng_http_handler_get_data.3http
+${PLIST.doc}man/man3http/nng_http_handler_set_data.3http
+${PLIST.doc}man/man3http/nng_http_handler_set_host.3http
+${PLIST.doc}man/man3http/nng_http_handler_set_method.3http
+${PLIST.doc}man/man3http/nng_http_handler_set_tree.3http
+${PLIST.doc}man/man3http/nng_http_hijack.3http
+${PLIST.doc}man/man3http/nng_http_req_add_header.3http
+${PLIST.doc}man/man3http/nng_http_req_alloc.3http
+${PLIST.doc}man/man3http/nng_http_req_copy_data.3http
+${PLIST.doc}man/man3http/nng_http_req_del_header.3http
+${PLIST.doc}man/man3http/nng_http_req_free.3http
+${PLIST.doc}man/man3http/nng_http_req_get_data.3http
+${PLIST.doc}man/man3http/nng_http_req_get_header.3http
+${PLIST.doc}man/man3http/nng_http_req_get_method.3http
+${PLIST.doc}man/man3http/nng_http_req_get_uri.3http
+${PLIST.doc}man/man3http/nng_http_req_get_version.3http
+${PLIST.doc}man/man3http/nng_http_req_reset.3http
+${PLIST.doc}man/man3http/nng_http_req_set_data.3http
+${PLIST.doc}man/man3http/nng_http_req_set_header.3http
+${PLIST.doc}man/man3http/nng_http_req_set_method.3http
+${PLIST.doc}man/man3http/nng_http_req_set_uri.3http
+${PLIST.doc}man/man3http/nng_http_req_set_version.3http
+${PLIST.doc}man/man3http/nng_http_res_add_header.3http
+${PLIST.doc}man/man3http/nng_http_res_alloc.3http
+${PLIST.doc}man/man3http/nng_http_res_alloc_error.3http
+${PLIST.doc}man/man3http/nng_http_res_copy_data.3http
+${PLIST.doc}man/man3http/nng_http_res_del_header.3http
+${PLIST.doc}man/man3http/nng_http_res_free.3http
+${PLIST.doc}man/man3http/nng_http_res_get_data.3http
+${PLIST.doc}man/man3http/nng_http_res_get_header.3http
+${PLIST.doc}man/man3http/nng_http_res_get_reason.3http
+${PLIST.doc}man/man3http/nng_http_res_get_status.3http
+${PLIST.doc}man/man3http/nng_http_res_get_version.3http
+${PLIST.doc}man/man3http/nng_http_res_reset.3http
+${PLIST.doc}man/man3http/nng_http_res_set_data.3http
+${PLIST.doc}man/man3http/nng_http_res_set_header.3http
+${PLIST.doc}man/man3http/nng_http_res_set_reason.3http
+${PLIST.doc}man/man3http/nng_http_res_set_status.3http
+${PLIST.doc}man/man3http/nng_http_res_set_version.3http
+${PLIST.doc}man/man3http/nng_http_server_add_handler.3http
+${PLIST.doc}man/man3http/nng_http_server_del_handler.3http



Home | Main Index | Thread Index | Old Index