Fri Mar 12 02:28:08 2021 UTC ()
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.


(khorben)
diff -r0 -r1.1 pkgsrc/net/nng/DESCR
diff -r0 -r1.1 pkgsrc/net/nng/Makefile
diff -r0 -r1.1 pkgsrc/net/nng/PLIST
diff -r0 -r1.1 pkgsrc/net/nng/distinfo
diff -r0 -r1.1 pkgsrc/net/nng/options.mk
diff -r0 -r1.1 pkgsrc/net/nng/patches/patch-src_platform_posix_posix__thread.c

File Added: pkgsrc/net/nng/DESCR
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.

File Added: pkgsrc/net/nng/Makefile
# $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
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"

File Added: pkgsrc/net/nng/PLIST
@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
${PLIST.doc}man/man3http/nng_http_server_get_addr.3http
${PLIST.doc}man/man3http/nng_http_server_get_tls.3http
${PLIST.doc}man/man3http/nng_http_server_hold.3http
${PLIST.doc}man/man3http/nng_http_server_release.3http
${PLIST.doc}man/man3http/nng_http_server_set_tls.3http
${PLIST.doc}man/man3http/nng_http_server_start.3http
${PLIST.doc}man/man3http/nng_http_server_stop.3http
${PLIST.doc}man/man3str/nng_stream_close.3str
${PLIST.doc}man/man3str/nng_stream_dialer_alloc.3str
${PLIST.doc}man/man3str/nng_stream_dialer_close.3str
${PLIST.doc}man/man3str/nng_stream_dialer_dial.3str
${PLIST.doc}man/man3str/nng_stream_dialer_free.3str
${PLIST.doc}man/man3str/nng_stream_dialer_get.3str
${PLIST.doc}man/man3str/nng_stream_dialer_set.3str
${PLIST.doc}man/man3str/nng_stream_free.3str
${PLIST.doc}man/man3str/nng_stream_get.3str
${PLIST.doc}man/man3str/nng_stream_listener_accept.3str
${PLIST.doc}man/man3str/nng_stream_listener_alloc.3str
${PLIST.doc}man/man3str/nng_stream_listener_close.3str
${PLIST.doc}man/man3str/nng_stream_listener_free.3str
${PLIST.doc}man/man3str/nng_stream_listener_get.3str
${PLIST.doc}man/man3str/nng_stream_listener_listen.3str
${PLIST.doc}man/man3str/nng_stream_listener_set.3str
${PLIST.doc}man/man3str/nng_stream_recv.3str
${PLIST.doc}man/man3str/nng_stream_send.3str
${PLIST.doc}man/man3str/nng_stream_set.3str
${PLIST.doc}man/man3supp/nng_clock.3supp
${PLIST.doc}man/man3supp/nng_cv_alloc.3supp
${PLIST.doc}man/man3supp/nng_cv_free.3supp
${PLIST.doc}man/man3supp/nng_cv_until.3supp
${PLIST.doc}man/man3supp/nng_cv_wait.3supp
${PLIST.doc}man/man3supp/nng_cv_wake.3supp
${PLIST.doc}man/man3supp/nng_cv_wake1.3supp
${PLIST.doc}man/man3supp/nng_msleep.3supp
${PLIST.doc}man/man3supp/nng_mtx_alloc.3supp
${PLIST.doc}man/man3supp/nng_mtx_free.3supp
${PLIST.doc}man/man3supp/nng_mtx_lock.3supp
${PLIST.doc}man/man3supp/nng_mtx_unlock.3supp
${PLIST.doc}man/man3supp/nng_opts_parse.3supp
${PLIST.doc}man/man3supp/nng_random.3supp
${PLIST.doc}man/man3supp/nng_thread_create.3supp
${PLIST.doc}man/man3supp/nng_thread_destroy.3supp
${PLIST.doc}man/man3supp/nng_thread_set_name.3supp
${PLIST.doc}man/man3tls/nng_tls_config_alloc.3tls
${PLIST.doc}man/man3tls/nng_tls_config_auth_mode.3tls
${PLIST.doc}man/man3tls/nng_tls_config_ca_chain.3tls
${PLIST.doc}man/man3tls/nng_tls_config_ca_file.3tls
${PLIST.doc}man/man3tls/nng_tls_config_cert_key_file.3tls
${PLIST.doc}man/man3tls/nng_tls_config_free.3tls
${PLIST.doc}man/man3tls/nng_tls_config_hold.3tls
${PLIST.doc}man/man3tls/nng_tls_config_own_cert.3tls
${PLIST.doc}man/man3tls/nng_tls_config_server_name.3tls
${PLIST.doc}man/man3tls/nng_tls_engine_description.3tls
${PLIST.doc}man/man3tls/nng_tls_engine_fips_mode.3tls
${PLIST.doc}man/man3tls/nng_tls_engine_name.3tls
${PLIST.doc}man/man5/nng_aio.5
${PLIST.doc}man/man5/nng_ctx.5
${PLIST.doc}man/man5/nng_dialer.5
${PLIST.doc}man/man5/nng_duration.5
${PLIST.doc}man/man5/nng_iov.5
${PLIST.doc}man/man5/nng_ipc_options.5
${PLIST.doc}man/man5/nng_listener.5
${PLIST.doc}man/man5/nng_msg.5
${PLIST.doc}man/man5/nng_options.5
${PLIST.doc}man/man5/nng_pipe.5
${PLIST.doc}man/man5/nng_sockaddr.5
${PLIST.doc}man/man5/nng_sockaddr_abstract.5
${PLIST.doc}man/man5/nng_sockaddr_in.5
${PLIST.doc}man/man5/nng_sockaddr_in6.5
${PLIST.doc}man/man5/nng_sockaddr_inproc.5
${PLIST.doc}man/man5/nng_sockaddr_ipc.5
${PLIST.doc}man/man5/nng_sockaddr_zt.5
${PLIST.doc}man/man5/nng_socket.5
${PLIST.doc}man/man5/nng_stat.5
${PLIST.doc}man/man5/nng_stream.5
${PLIST.doc}man/man5/nng_stream_dialer.5
${PLIST.doc}man/man5/nng_stream_listener.5
${PLIST.doc}man/man5/nng_tcp_options.5
${PLIST.doc}man/man5/nng_tls_config.5
${PLIST.doc}man/man5/nng_tls_engine.5
${PLIST.doc}man/man5/nng_tls_options.5
${PLIST.doc}man/man5/nng_url.5
${PLIST.doc}man/man7/nng.7
${PLIST.doc}man/man7/nng_bus.7
${PLIST.doc}man/man7/nng_inproc.7
${PLIST.doc}man/man7/nng_ipc.7
${PLIST.doc}man/man7/nng_pair.7
${PLIST.doc}man/man7/nng_pub.7
${PLIST.doc}man/man7/nng_pull.7
${PLIST.doc}man/man7/nng_push.7
${PLIST.doc}man/man7/nng_rep.7
${PLIST.doc}man/man7/nng_req.7
${PLIST.doc}man/man7/nng_respondent.7
${PLIST.doc}man/man7/nng_sub.7
${PLIST.doc}man/man7/nng_surveyor.7
${PLIST.doc}man/man7/nng_tcp.7
${PLIST.doc}man/man7/nng_tls.7
${PLIST.doc}man/man7/nng_ws.7
${PLIST.doc}man/man7/nng_zerotier.7
${PLIST.doc}share/doc/nng/libnng.3.html
${PLIST.doc}share/doc/nng/nn_allocmsg.3compat.html
${PLIST.doc}share/doc/nng/nn_bind.3compat.html
${PLIST.doc}share/doc/nng/nn_close.3compat.html
${PLIST.doc}share/doc/nng/nn_cmsg.3compat.html
${PLIST.doc}share/doc/nng/nn_connect.3compat.html
${PLIST.doc}share/doc/nng/nn_device.3compat.html
${PLIST.doc}share/doc/nng/nn_errno.3compat.html
${PLIST.doc}share/doc/nng/nn_freemsg.3compat.html
${PLIST.doc}share/doc/nng/nn_get_statistic.3compat.html
${PLIST.doc}share/doc/nng/nn_getsockopt.3compat.html
${PLIST.doc}share/doc/nng/nn_poll.3compat.html
${PLIST.doc}share/doc/nng/nn_reallocmsg.3compat.html
${PLIST.doc}share/doc/nng/nn_recv.3compat.html
${PLIST.doc}share/doc/nng/nn_recvmsg.3compat.html
${PLIST.doc}share/doc/nng/nn_send.3compat.html
${PLIST.doc}share/doc/nng/nn_sendmsg.3compat.html
${PLIST.doc}share/doc/nng/nn_setsockopt.3compat.html
${PLIST.doc}share/doc/nng/nn_shutdown.3compat.html
${PLIST.doc}share/doc/nng/nn_socket.3compat.html
${PLIST.doc}share/doc/nng/nn_strerror.3compat.html
${PLIST.doc}share/doc/nng/nn_term.3compat.html
${PLIST.doc}share/doc/nng/nng.7.html
${PLIST.doc}share/doc/nng/nng_aio.5.html
${PLIST.doc}share/doc/nng/nng_aio_abort.3.html
${PLIST.doc}share/doc/nng/nng_aio_alloc.3.html
${PLIST.doc}share/doc/nng/nng_aio_begin.3.html
${PLIST.doc}share/doc/nng/nng_aio_cancel.3.html
${PLIST.doc}share/doc/nng/nng_aio_count.3.html
${PLIST.doc}share/doc/nng/nng_aio_defer.3.html
${PLIST.doc}share/doc/nng/nng_aio_finish.3.html
${PLIST.doc}share/doc/nng/nng_aio_free.3.html
${PLIST.doc}share/doc/nng/nng_aio_get_input.3.html
${PLIST.doc}share/doc/nng/nng_aio_get_msg.3.html
${PLIST.doc}share/doc/nng/nng_aio_get_output.3.html
${PLIST.doc}share/doc/nng/nng_aio_result.3.html
${PLIST.doc}share/doc/nng/nng_aio_set_input.3.html
${PLIST.doc}share/doc/nng/nng_aio_set_iov.3.html
${PLIST.doc}share/doc/nng/nng_aio_set_msg.3.html
${PLIST.doc}share/doc/nng/nng_aio_set_output.3.html
${PLIST.doc}share/doc/nng/nng_aio_set_timeout.3.html
${PLIST.doc}share/doc/nng/nng_aio_stop.3.html
${PLIST.doc}share/doc/nng/nng_aio_wait.3.html
${PLIST.doc}share/doc/nng/nng_alloc.3.html
${PLIST.doc}share/doc/nng/nng_bus.7.html
${PLIST.doc}share/doc/nng/nng_bus_open.3.html
${PLIST.doc}share/doc/nng/nng_clock.3supp.html
${PLIST.doc}share/doc/nng/nng_close.3.html
${PLIST.doc}share/doc/nng/nng_compat.3compat.html
${PLIST.doc}share/doc/nng/nng_ctx.5.html
${PLIST.doc}share/doc/nng/nng_ctx_close.3.html
${PLIST.doc}share/doc/nng/nng_ctx_get.3.html
${PLIST.doc}share/doc/nng/nng_ctx_getopt.3.html
${PLIST.doc}share/doc/nng/nng_ctx_id.3.html
${PLIST.doc}share/doc/nng/nng_ctx_open.3.html
${PLIST.doc}share/doc/nng/nng_ctx_recv.3.html
${PLIST.doc}share/doc/nng/nng_ctx_send.3.html
${PLIST.doc}share/doc/nng/nng_ctx_set.3.html
${PLIST.doc}share/doc/nng/nng_ctx_setopt.3.html
${PLIST.doc}share/doc/nng/nng_cv_alloc.3supp.html
${PLIST.doc}share/doc/nng/nng_cv_free.3supp.html
${PLIST.doc}share/doc/nng/nng_cv_until.3supp.html
${PLIST.doc}share/doc/nng/nng_cv_wait.3supp.html
${PLIST.doc}share/doc/nng/nng_cv_wake.3supp.html
${PLIST.doc}share/doc/nng/nng_cv_wake1.3supp.html
${PLIST.doc}share/doc/nng/nng_device.3.html
${PLIST.doc}share/doc/nng/nng_dial.3.html
${PLIST.doc}share/doc/nng/nng_dialer.5.html
${PLIST.doc}share/doc/nng/nng_dialer_close.3.html
${PLIST.doc}share/doc/nng/nng_dialer_create.3.html
${PLIST.doc}share/doc/nng/nng_dialer_get.3.html
${PLIST.doc}share/doc/nng/nng_dialer_getopt.3.html
${PLIST.doc}share/doc/nng/nng_dialer_id.3.html
${PLIST.doc}share/doc/nng/nng_dialer_set.3.html
${PLIST.doc}share/doc/nng/nng_dialer_setopt.3.html
${PLIST.doc}share/doc/nng/nng_dialer_start.3.html
${PLIST.doc}share/doc/nng/nng_duration.5.html
${PLIST.doc}share/doc/nng/nng_free.3.html
${PLIST.doc}share/doc/nng/nng_getopt.3.html
${PLIST.doc}share/doc/nng/nng_http_client_alloc.3http.html
${PLIST.doc}share/doc/nng/nng_http_client_connect.3http.html
${PLIST.doc}share/doc/nng/nng_http_client_free.3http.html
${PLIST.doc}share/doc/nng/nng_http_client_get_tls.3http.html
${PLIST.doc}share/doc/nng/nng_http_client_set_tls.3http.html
${PLIST.doc}share/doc/nng/nng_http_client_transact.3http.html
${PLIST.doc}share/doc/nng/nng_http_conn_close.3http.html
${PLIST.doc}share/doc/nng/nng_http_conn_read.3http.html
${PLIST.doc}share/doc/nng/nng_http_conn_read_all.3http.html
${PLIST.doc}share/doc/nng/nng_http_conn_read_req.3http.html
${PLIST.doc}share/doc/nng/nng_http_conn_read_res.3http.html
${PLIST.doc}share/doc/nng/nng_http_conn_transact.3http.html
${PLIST.doc}share/doc/nng/nng_http_conn_write.3http.html
${PLIST.doc}share/doc/nng/nng_http_conn_write_all.3http.html
${PLIST.doc}share/doc/nng/nng_http_conn_write_req.3http.html
${PLIST.doc}share/doc/nng/nng_http_conn_write_res.3http.html
${PLIST.doc}share/doc/nng/nng_http_handler_alloc.3http.html
${PLIST.doc}share/doc/nng/nng_http_handler_free.3http.html
${PLIST.doc}share/doc/nng/nng_http_handler_get_data.3http.html
${PLIST.doc}share/doc/nng/nng_http_handler_set_data.3http.html
${PLIST.doc}share/doc/nng/nng_http_handler_set_host.3http.html
${PLIST.doc}share/doc/nng/nng_http_handler_set_method.3http.html
${PLIST.doc}share/doc/nng/nng_http_handler_set_tree.3http.html
${PLIST.doc}share/doc/nng/nng_http_hijack.3http.html
${PLIST.doc}share/doc/nng/nng_http_req_add_header.3http.html
${PLIST.doc}share/doc/nng/nng_http_req_alloc.3http.html
${PLIST.doc}share/doc/nng/nng_http_req_copy_data.3http.html
${PLIST.doc}share/doc/nng/nng_http_req_del_header.3http.html
${PLIST.doc}share/doc/nng/nng_http_req_free.3http.html
${PLIST.doc}share/doc/nng/nng_http_req_get_data.3http.html
${PLIST.doc}share/doc/nng/nng_http_req_get_header.3http.html
${PLIST.doc}share/doc/nng/nng_http_req_get_method.3http.html
${PLIST.doc}share/doc/nng/nng_http_req_get_uri.3http.html
${PLIST.doc}share/doc/nng/nng_http_req_get_version.3http.html
${PLIST.doc}share/doc/nng/nng_http_req_reset.3http.html
${PLIST.doc}share/doc/nng/nng_http_req_set_data.3http.html
${PLIST.doc}share/doc/nng/nng_http_req_set_header.3http.html
${PLIST.doc}share/doc/nng/nng_http_req_set_method.3http.html
${PLIST.doc}share/doc/nng/nng_http_req_set_uri.3http.html
${PLIST.doc}share/doc/nng/nng_http_req_set_version.3http.html
${PLIST.doc}share/doc/nng/nng_http_res_add_header.3http.html
${PLIST.doc}share/doc/nng/nng_http_res_alloc.3http.html
${PLIST.doc}share/doc/nng/nng_http_res_alloc_error.3http.html
${PLIST.doc}share/doc/nng/nng_http_res_copy_data.3http.html
${PLIST.doc}share/doc/nng/nng_http_res_del_header.3http.html
${PLIST.doc}share/doc/nng/nng_http_res_free.3http.html
${PLIST.doc}share/doc/nng/nng_http_res_get_data.3http.html
${PLIST.doc}share/doc/nng/nng_http_res_get_header.3http.html
${PLIST.doc}share/doc/nng/nng_http_res_get_reason.3http.html
${PLIST.doc}share/doc/nng/nng_http_res_get_status.3http.html
${PLIST.doc}share/doc/nng/nng_http_res_get_version.3http.html
${PLIST.doc}share/doc/nng/nng_http_res_reset.3http.html
${PLIST.doc}share/doc/nng/nng_http_res_set_data.3http.html
${PLIST.doc}share/doc/nng/nng_http_res_set_header.3http.html
${PLIST.doc}share/doc/nng/nng_http_res_set_reason.3http.html
${PLIST.doc}share/doc/nng/nng_http_res_set_status.3http.html
${PLIST.doc}share/doc/nng/nng_http_res_set_version.3http.html
${PLIST.doc}share/doc/nng/nng_http_server_add_handler.3http.html
${PLIST.doc}share/doc/nng/nng_http_server_del_handler.3http.html
${PLIST.doc}share/doc/nng/nng_http_server_get_addr.3http.html
${PLIST.doc}share/doc/nng/nng_http_server_get_tls.3http.html
${PLIST.doc}share/doc/nng/nng_http_server_hold.3http.html
${PLIST.doc}share/doc/nng/nng_http_server_release.3http.html
${PLIST.doc}share/doc/nng/nng_http_server_set_tls.3http.html
${PLIST.doc}share/doc/nng/nng_http_server_start.3http.html
${PLIST.doc}share/doc/nng/nng_http_server_stop.3http.html
${PLIST.doc}share/doc/nng/nng_inproc.7.html
${PLIST.doc}share/doc/nng/nng_inproc_register.3.html
${PLIST.doc}share/doc/nng/nng_iov.5.html
${PLIST.doc}share/doc/nng/nng_ipc.7.html
${PLIST.doc}share/doc/nng/nng_ipc_options.5.html
${PLIST.doc}share/doc/nng/nng_ipc_register.3.html
${PLIST.doc}share/doc/nng/nng_listen.3.html
${PLIST.doc}share/doc/nng/nng_listener.5.html
${PLIST.doc}share/doc/nng/nng_listener_close.3.html
${PLIST.doc}share/doc/nng/nng_listener_create.3.html
${PLIST.doc}share/doc/nng/nng_listener_get.3.html
${PLIST.doc}share/doc/nng/nng_listener_getopt.3.html
${PLIST.doc}share/doc/nng/nng_listener_id.3.html
${PLIST.doc}share/doc/nng/nng_listener_set.3.html
${PLIST.doc}share/doc/nng/nng_listener_setopt.3.html
${PLIST.doc}share/doc/nng/nng_listener_start.3.html
${PLIST.doc}share/doc/nng/nng_msg.5.html
${PLIST.doc}share/doc/nng/nng_msg_alloc.3.html
${PLIST.doc}share/doc/nng/nng_msg_append.3.html
${PLIST.doc}share/doc/nng/nng_msg_body.3.html
${PLIST.doc}share/doc/nng/nng_msg_chop.3.html
${PLIST.doc}share/doc/nng/nng_msg_clear.3.html
${PLIST.doc}share/doc/nng/nng_msg_dup.3.html
${PLIST.doc}share/doc/nng/nng_msg_free.3.html
${PLIST.doc}share/doc/nng/nng_msg_get_pipe.3.html
${PLIST.doc}share/doc/nng/nng_msg_header.3.html
${PLIST.doc}share/doc/nng/nng_msg_header_append.3.html
${PLIST.doc}share/doc/nng/nng_msg_header_chop.3.html
${PLIST.doc}share/doc/nng/nng_msg_header_clear.3.html
${PLIST.doc}share/doc/nng/nng_msg_header_insert.3.html
${PLIST.doc}share/doc/nng/nng_msg_header_len.3.html
${PLIST.doc}share/doc/nng/nng_msg_header_trim.3.html
${PLIST.doc}share/doc/nng/nng_msg_insert.3.html
${PLIST.doc}share/doc/nng/nng_msg_len.3.html
${PLIST.doc}share/doc/nng/nng_msg_realloc.3.html
${PLIST.doc}share/doc/nng/nng_msg_set_pipe.3.html
${PLIST.doc}share/doc/nng/nng_msg_trim.3.html
${PLIST.doc}share/doc/nng/nng_msleep.3supp.html
${PLIST.doc}share/doc/nng/nng_mtx_alloc.3supp.html
${PLIST.doc}share/doc/nng/nng_mtx_free.3supp.html
${PLIST.doc}share/doc/nng/nng_mtx_lock.3supp.html
${PLIST.doc}share/doc/nng/nng_mtx_unlock.3supp.html
${PLIST.doc}share/doc/nng/nng_options.5.html
${PLIST.doc}share/doc/nng/nng_opts_parse.3supp.html
${PLIST.doc}share/doc/nng/nng_pair.7.html
${PLIST.doc}share/doc/nng/nng_pair_open.3.html
${PLIST.doc}share/doc/nng/nng_pipe.5.html
${PLIST.doc}share/doc/nng/nng_pipe_close.3.html
${PLIST.doc}share/doc/nng/nng_pipe_dialer.3.html
${PLIST.doc}share/doc/nng/nng_pipe_get.3.html
${PLIST.doc}share/doc/nng/nng_pipe_getopt.3.html
${PLIST.doc}share/doc/nng/nng_pipe_id.3.html
${PLIST.doc}share/doc/nng/nng_pipe_listener.3.html
${PLIST.doc}share/doc/nng/nng_pipe_notify.3.html
${PLIST.doc}share/doc/nng/nng_pipe_socket.3.html
${PLIST.doc}share/doc/nng/nng_pub.7.html
${PLIST.doc}share/doc/nng/nng_pub_open.3.html
${PLIST.doc}share/doc/nng/nng_pull.7.html
${PLIST.doc}share/doc/nng/nng_pull_open.3.html
${PLIST.doc}share/doc/nng/nng_push.7.html
${PLIST.doc}share/doc/nng/nng_push_open.3.html
${PLIST.doc}share/doc/nng/nng_random.3supp.html
${PLIST.doc}share/doc/nng/nng_recv.3.html
${PLIST.doc}share/doc/nng/nng_recv_aio.3.html
${PLIST.doc}share/doc/nng/nng_recvmsg.3.html
${PLIST.doc}share/doc/nng/nng_rep.7.html
${PLIST.doc}share/doc/nng/nng_rep_open.3.html
${PLIST.doc}share/doc/nng/nng_req.7.html
${PLIST.doc}share/doc/nng/nng_req_open.3.html
${PLIST.doc}share/doc/nng/nng_respondent.7.html
${PLIST.doc}share/doc/nng/nng_respondent_open.3.html
${PLIST.doc}share/doc/nng/nng_send.3.html
${PLIST.doc}share/doc/nng/nng_send_aio.3.html
${PLIST.doc}share/doc/nng/nng_sendmsg.3.html
${PLIST.doc}share/doc/nng/nng_setopt.3.html
${PLIST.doc}share/doc/nng/nng_sleep_aio.3.html
${PLIST.doc}share/doc/nng/nng_sockaddr.5.html
${PLIST.doc}share/doc/nng/nng_sockaddr_abstract.5.html
${PLIST.doc}share/doc/nng/nng_sockaddr_in.5.html
${PLIST.doc}share/doc/nng/nng_sockaddr_in6.5.html
${PLIST.doc}share/doc/nng/nng_sockaddr_inproc.5.html
${PLIST.doc}share/doc/nng/nng_sockaddr_ipc.5.html
${PLIST.doc}share/doc/nng/nng_sockaddr_zt.5.html
${PLIST.doc}share/doc/nng/nng_socket.5.html
${PLIST.doc}share/doc/nng/nng_socket_get.3.html
${PLIST.doc}share/doc/nng/nng_socket_id.3.html
${PLIST.doc}share/doc/nng/nng_socket_set.3.html
${PLIST.doc}share/doc/nng/nng_stat.5.html
${PLIST.doc}share/doc/nng/nng_stat_bool.3.html
${PLIST.doc}share/doc/nng/nng_stat_child.3.html
${PLIST.doc}share/doc/nng/nng_stat_desc.3.html
${PLIST.doc}share/doc/nng/nng_stat_find.3.html
${PLIST.doc}share/doc/nng/nng_stat_find_dialer.3.html
${PLIST.doc}share/doc/nng/nng_stat_find_listener.3.html
${PLIST.doc}share/doc/nng/nng_stat_find_socket.3.html
${PLIST.doc}share/doc/nng/nng_stat_name.3.html
${PLIST.doc}share/doc/nng/nng_stat_next.3.html
${PLIST.doc}share/doc/nng/nng_stat_string.3.html
${PLIST.doc}share/doc/nng/nng_stat_timestamp.3.html
${PLIST.doc}share/doc/nng/nng_stat_type.3.html
${PLIST.doc}share/doc/nng/nng_stat_unit.3.html
${PLIST.doc}share/doc/nng/nng_stat_value.3.html
${PLIST.doc}share/doc/nng/nng_stats_free.3.html
${PLIST.doc}share/doc/nng/nng_stats_get.3.html
${PLIST.doc}share/doc/nng/nng_strdup.3.html
${PLIST.doc}share/doc/nng/nng_stream.5.html
${PLIST.doc}share/doc/nng/nng_stream_close.3str.html
${PLIST.doc}share/doc/nng/nng_stream_dialer.5.html
${PLIST.doc}share/doc/nng/nng_stream_dialer_alloc.3str.html
${PLIST.doc}share/doc/nng/nng_stream_dialer_close.3str.html
${PLIST.doc}share/doc/nng/nng_stream_dialer_dial.3str.html
${PLIST.doc}share/doc/nng/nng_stream_dialer_free.3str.html
${PLIST.doc}share/doc/nng/nng_stream_dialer_get.3str.html
${PLIST.doc}share/doc/nng/nng_stream_dialer_set.3str.html
${PLIST.doc}share/doc/nng/nng_stream_free.3str.html
${PLIST.doc}share/doc/nng/nng_stream_get.3str.html
${PLIST.doc}share/doc/nng/nng_stream_listener.5.html
${PLIST.doc}share/doc/nng/nng_stream_listener_accept.3str.html
${PLIST.doc}share/doc/nng/nng_stream_listener_alloc.3str.html
${PLIST.doc}share/doc/nng/nng_stream_listener_close.3str.html
${PLIST.doc}share/doc/nng/nng_stream_listener_free.3str.html
${PLIST.doc}share/doc/nng/nng_stream_listener_get.3str.html
${PLIST.doc}share/doc/nng/nng_stream_listener_listen.3str.html
${PLIST.doc}share/doc/nng/nng_stream_listener_set.3str.html
${PLIST.doc}share/doc/nng/nng_stream_recv.3str.html
${PLIST.doc}share/doc/nng/nng_stream_send.3str.html
${PLIST.doc}share/doc/nng/nng_stream_set.3str.html
${PLIST.doc}share/doc/nng/nng_strerror.3.html
${PLIST.doc}share/doc/nng/nng_strfree.3.html
${PLIST.doc}share/doc/nng/nng_sub.7.html
${PLIST.doc}share/doc/nng/nng_sub_open.3.html
${PLIST.doc}share/doc/nng/nng_surveyor.7.html
${PLIST.doc}share/doc/nng/nng_surveyor_open.3.html
${PLIST.doc}share/doc/nng/nng_tcp.7.html
${PLIST.doc}share/doc/nng/nng_tcp_options.5.html
${PLIST.doc}share/doc/nng/nng_tcp_register.3.html
${PLIST.doc}share/doc/nng/nng_thread_create.3supp.html
${PLIST.doc}share/doc/nng/nng_thread_destroy.3supp.html
${PLIST.doc}share/doc/nng/nng_thread_set_name.3supp.html
${PLIST.doc}share/doc/nng/nng_tls.7.html
${PLIST.doc}share/doc/nng/nng_tls_config.5.html
${PLIST.doc}share/doc/nng/nng_tls_config_alloc.3tls.html
${PLIST.doc}share/doc/nng/nng_tls_config_auth_mode.3tls.html
${PLIST.doc}share/doc/nng/nng_tls_config_ca_chain.3tls.html
${PLIST.doc}share/doc/nng/nng_tls_config_ca_file.3tls.html
${PLIST.doc}share/doc/nng/nng_tls_config_cert_key_file.3tls.html
${PLIST.doc}share/doc/nng/nng_tls_config_free.3tls.html
${PLIST.doc}share/doc/nng/nng_tls_config_hold.3tls.html
${PLIST.doc}share/doc/nng/nng_tls_config_own_cert.3tls.html
${PLIST.doc}share/doc/nng/nng_tls_config_server_name.3tls.html
${PLIST.doc}share/doc/nng/nng_tls_engine.5.html
${PLIST.doc}share/doc/nng/nng_tls_engine_description.3tls.html
${PLIST.doc}share/doc/nng/nng_tls_engine_fips_mode.3tls.html
${PLIST.doc}share/doc/nng/nng_tls_engine_name.3tls.html
${PLIST.doc}share/doc/nng/nng_tls_options.5.html
${PLIST.doc}share/doc/nng/nng_tls_register.3.html
${PLIST.doc}share/doc/nng/nng_url.5.html
${PLIST.doc}share/doc/nng/nng_url_clone.3.html
${PLIST.doc}share/doc/nng/nng_url_free.3.html
${PLIST.doc}share/doc/nng/nng_url_parse.3.html
${PLIST.doc}share/doc/nng/nng_version.3.html
${PLIST.doc}share/doc/nng/nng_ws.7.html
${PLIST.doc}share/doc/nng/nng_ws_register.3.html
${PLIST.doc}share/doc/nng/nng_wss_register.3.html
${PLIST.doc}share/doc/nng/nng_zerotier.7.html
${PLIST.doc}share/doc/nng/nng_zt_register.3.html
${PLIST.doc}share/doc/nng/nngcat.1.html

File Added: pkgsrc/net/nng/distinfo
$NetBSD: distinfo,v 1.1 2021/03/12 02:28:08 khorben Exp $

SHA1 (nng-1.4.0.tar.gz) = d1c94aac6d46d9743e0c5693b8caade211860622
RMD160 (nng-1.4.0.tar.gz) = 2022db8af9990f2bdb62c7366cb8e30627173aa1
SHA512 (nng-1.4.0.tar.gz) = f573facbb5feee250d674e20d0d02dcf505b4c5c7b66f008c13f0c6d8864f2d8450cb36ae74772ac09944936aef4a06544e69eb6484bfc2856cc9f91c6aee2c2
Size (nng-1.4.0.tar.gz) = 710306 bytes
SHA1 (patch-src_platform_posix_posix__thread.c) = c54d183a7e6329550e4246bc764f1d2528669338

File Added: pkgsrc/net/nng/options.mk
# $NetBSD: options.mk,v 1.1 2021/03/12 02:28:08 khorben Exp $


PKG_OPTIONS_VAR=	PKG_OPTIONS.nng
PKG_SUPPORTED_OPTIONS=	doc static
PKG_SUGGESTED_OPTIONS+=	doc

.include "../../mk/bsd.options.mk"

PLIST_VARS+=		doc shared static

.if !empty(PKG_OPTIONS:Mdoc)
.include "../../lang/ruby/rubyversion.mk"
BUILD_DEPENDS+=		${RUBY_PKGPREFIX}-asciidoctor-[0-9]*:../../textproc/ruby-asciidoctor
CMAKE_ARGS+=		-DNNG_ENABLE_DOC=1
CMAKE_ARGS+=		-DASCIIDOCTOR=${PREFIX}/bin/asciidoctor${RUBY_VER}
PLIST.doc=		yes
.endif

.if !empty(PKG_OPTIONS:Mstatic)
PLIST.static=		yes
.else
CMAKE_ARGS+=		-DBUILD_SHARED_LIBS:BOOL=ON
PLIST.shared=		yes
.endif

File Added: pkgsrc/net/nng/patches/patch-src_platform_posix_posix__thread.c
$NetBSD: patch-src_platform_posix_posix__thread.c,v 1.1 2021/03/12 02:28:08 khorben Exp $

Build fix for NetBSD

--- src/platform/posix/posix_thread.c.orig	2021-02-08 01:38:21.000000000 +0000
+++ src/platform/posix/posix_thread.c
@@ -262,6 +262,12 @@ nni_plat_thr_set_name(nni_plat_thr *thr,
 	if ((thr == NULL) || (pthread_self() == thr->tid)) {
         	pthread_setname_np(name);
 	}
+#elif defined(__NetBSD__)
+	if (thr == NULL) {
+		pthread_setname_np(pthread_self(), "%s", name);
+	} else {
+		pthread_setname_np(thr->tid, "%s", name);
+	}
 #else
 	if (thr == NULL) {
 		pthread_setname_np(pthread_self(), name);