summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2017-03-14 13:09:37 +0000
committerwiz <wiz@pkgsrc.org>2017-03-14 13:09:37 +0000
commit3e58364543672320230d2b6196bad2157c14a029 (patch)
tree61fe04fb79b2c596b6875114f9e03a36cd15741e /net
parent2cf243c95253a9d262f333c172049c6e94e457c6 (diff)
downloadpkgsrc-3e58364543672320230d2b6196bad2157c14a029.tar.gz
Import websocketpp-0.7.0 as net/websocketpp.
WebSocket++ is a header-only C++ library that implements RFC6455 The WebSocket Protocol. It allows integrating WebSocket client and server functionality into C++ programs. It uses interchangeable network transport modules, including one based on raw char buffers, one based on C++ iostreams, and one based on Asio (either via Boost or standalone). End users can write additional transport policies to support other networking or event libraries as needed.
Diffstat (limited to 'net')
-rw-r--r--net/websocketpp/DESCR7
-rw-r--r--net/websocketpp/Makefile16
-rw-r--r--net/websocketpp/PLIST96
-rw-r--r--net/websocketpp/buildlink3.mk17
-rw-r--r--net/websocketpp/distinfo6
5 files changed, 142 insertions, 0 deletions
diff --git a/net/websocketpp/DESCR b/net/websocketpp/DESCR
new file mode 100644
index 00000000000..68e2d747117
--- /dev/null
+++ b/net/websocketpp/DESCR
@@ -0,0 +1,7 @@
+WebSocket++ is a header-only C++ library that implements RFC6455
+The WebSocket Protocol. It allows integrating WebSocket client and
+server functionality into C++ programs. It uses interchangeable
+network transport modules, including one based on raw char buffers,
+one based on C++ iostreams, and one based on Asio (either via Boost
+or standalone). End users can write additional transport policies
+to support other networking or event libraries as needed.
diff --git a/net/websocketpp/Makefile b/net/websocketpp/Makefile
new file mode 100644
index 00000000000..b626b7bc8dc
--- /dev/null
+++ b/net/websocketpp/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2017/03/14 13:09:37 wiz Exp $
+
+DISTNAME= websocketpp-0.7.0
+CATEGORIES= net devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=zaphoyd/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://www.zaphoyd.com/websocketpp
+COMMENT= Header-only C++ library that implements the WebSocket protocol
+#LICENSE= basically BSD, but includes other free software, see COPYING
+
+USE_CMAKE= yes
+USE_LANGUAGES= c c++
+
+.include "../../devel/boost-headers/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/websocketpp/PLIST b/net/websocketpp/PLIST
new file mode 100644
index 00000000000..c63a62a072e
--- /dev/null
+++ b/net/websocketpp/PLIST
@@ -0,0 +1,96 @@
+@comment $NetBSD: PLIST,v 1.1 2017/03/14 13:09:37 wiz Exp $
+include/websocketpp/base64/base64.hpp
+include/websocketpp/client.hpp
+include/websocketpp/close.hpp
+include/websocketpp/common/asio.hpp
+include/websocketpp/common/asio_ssl.hpp
+include/websocketpp/common/chrono.hpp
+include/websocketpp/common/connection_hdl.hpp
+include/websocketpp/common/cpp11.hpp
+include/websocketpp/common/functional.hpp
+include/websocketpp/common/md5.hpp
+include/websocketpp/common/memory.hpp
+include/websocketpp/common/network.hpp
+include/websocketpp/common/platforms.hpp
+include/websocketpp/common/random.hpp
+include/websocketpp/common/regex.hpp
+include/websocketpp/common/stdint.hpp
+include/websocketpp/common/system_error.hpp
+include/websocketpp/common/thread.hpp
+include/websocketpp/common/time.hpp
+include/websocketpp/common/type_traits.hpp
+include/websocketpp/concurrency/basic.hpp
+include/websocketpp/concurrency/none.hpp
+include/websocketpp/config/asio.hpp
+include/websocketpp/config/asio_client.hpp
+include/websocketpp/config/asio_no_tls.hpp
+include/websocketpp/config/asio_no_tls_client.hpp
+include/websocketpp/config/boost_config.hpp
+include/websocketpp/config/core.hpp
+include/websocketpp/config/core_client.hpp
+include/websocketpp/config/debug.hpp
+include/websocketpp/config/debug_asio.hpp
+include/websocketpp/config/debug_asio_no_tls.hpp
+include/websocketpp/config/minimal_client.hpp
+include/websocketpp/config/minimal_server.hpp
+include/websocketpp/connection.hpp
+include/websocketpp/connection_base.hpp
+include/websocketpp/endpoint.hpp
+include/websocketpp/endpoint_base.hpp
+include/websocketpp/error.hpp
+include/websocketpp/extensions/extension.hpp
+include/websocketpp/extensions/permessage_deflate/disabled.hpp
+include/websocketpp/extensions/permessage_deflate/enabled.hpp
+include/websocketpp/frame.hpp
+include/websocketpp/http/constants.hpp
+include/websocketpp/http/impl/parser.hpp
+include/websocketpp/http/impl/request.hpp
+include/websocketpp/http/impl/response.hpp
+include/websocketpp/http/parser.hpp
+include/websocketpp/http/request.hpp
+include/websocketpp/http/response.hpp
+include/websocketpp/impl/connection_impl.hpp
+include/websocketpp/impl/endpoint_impl.hpp
+include/websocketpp/impl/utilities_impl.hpp
+include/websocketpp/logger/basic.hpp
+include/websocketpp/logger/levels.hpp
+include/websocketpp/logger/stub.hpp
+include/websocketpp/logger/syslog.hpp
+include/websocketpp/message_buffer/alloc.hpp
+include/websocketpp/message_buffer/message.hpp
+include/websocketpp/message_buffer/pool.hpp
+include/websocketpp/processors/base.hpp
+include/websocketpp/processors/hybi00.hpp
+include/websocketpp/processors/hybi07.hpp
+include/websocketpp/processors/hybi08.hpp
+include/websocketpp/processors/hybi13.hpp
+include/websocketpp/processors/processor.hpp
+include/websocketpp/random/none.hpp
+include/websocketpp/random/random_device.hpp
+include/websocketpp/roles/client_endpoint.hpp
+include/websocketpp/roles/server_endpoint.hpp
+include/websocketpp/server.hpp
+include/websocketpp/sha1/sha1.hpp
+include/websocketpp/transport/asio/base.hpp
+include/websocketpp/transport/asio/connection.hpp
+include/websocketpp/transport/asio/endpoint.hpp
+include/websocketpp/transport/asio/security/base.hpp
+include/websocketpp/transport/asio/security/none.hpp
+include/websocketpp/transport/asio/security/tls.hpp
+include/websocketpp/transport/base/connection.hpp
+include/websocketpp/transport/base/endpoint.hpp
+include/websocketpp/transport/debug/base.hpp
+include/websocketpp/transport/debug/connection.hpp
+include/websocketpp/transport/debug/endpoint.hpp
+include/websocketpp/transport/iostream/base.hpp
+include/websocketpp/transport/iostream/connection.hpp
+include/websocketpp/transport/iostream/endpoint.hpp
+include/websocketpp/transport/stub/base.hpp
+include/websocketpp/transport/stub/connection.hpp
+include/websocketpp/transport/stub/endpoint.hpp
+include/websocketpp/uri.hpp
+include/websocketpp/utf8_validator.hpp
+include/websocketpp/utilities.hpp
+include/websocketpp/version.hpp
+lib/cmake/websocketpp/websocketpp-config.cmake
+lib/cmake/websocketpp/websocketpp-configVersion.cmake
diff --git a/net/websocketpp/buildlink3.mk b/net/websocketpp/buildlink3.mk
new file mode 100644
index 00000000000..1d176331ce7
--- /dev/null
+++ b/net/websocketpp/buildlink3.mk
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/03/14 13:09:37 wiz Exp $
+
+BUILDLINK_TREE+= websocketpp
+
+.if !defined(WEBSOCKETPP_BUILDLINK3_MK)
+WEBSOCKETPP_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.websocketpp+= websocketpp>=0.7.0
+BUILDLINK_PKGSRCDIR.websocketpp?= ../../net/websocketpp
+
+# only headers
+BUILDLINK_DEPMETHOD.websocketpp?= build
+
+.include "../../devel/boost-headers/buildlink3.mk"
+.endif # WEBSOCKETPP_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -websocketpp
diff --git a/net/websocketpp/distinfo b/net/websocketpp/distinfo
new file mode 100644
index 00000000000..43d4c56cf04
--- /dev/null
+++ b/net/websocketpp/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/03/14 13:09:37 wiz Exp $
+
+SHA1 (websocketpp-0.7.0.tar.gz) = 29a8cd91adcdc86b379efc8c0c08dc9d99bead11
+RMD160 (websocketpp-0.7.0.tar.gz) = 3f81cd3c12c69cbcc0cfb0d9ccf5860fd7c14f75
+SHA512 (websocketpp-0.7.0.tar.gz) = 91a86d4f5120db3f474169bb146f865f82167b1e9eedabec8793b31005e4ce3d22083283bc1b9f9e37fa0da835addcb2b68260a27c753852c06b3b1bb2f3c12e
+Size (websocketpp-0.7.0.tar.gz) = 682271 bytes