summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortsutsui <tsutsui@pkgsrc.org>2017-02-05 11:21:38 +0000
committertsutsui <tsutsui@pkgsrc.org>2017-02-05 11:21:38 +0000
commitc80311d3974ec0a3ad9d7e0912345f788d5859d9 (patch)
treed4c96d0769216a11f3f23de4e6c8203be895d8d2
parentada0d6d575d993b661265daf39290c8856fe767a (diff)
downloadpkgsrc-c80311d3974ec0a3ad9d7e0912345f788d5859d9.tar.gz
Import ruby-websocket-driver-0.6.5 as www/ruby-websocket-driver.
Websocket-driver module provides a complete implementation of the WebSocket protocols that can be hooked up to any TCP library. It aims to simplify things by decoupling the protocol details from the I/O layer, such that users only need to implement code to stream data in and out of it without needing to know anything about how the protocol actually works. Think of it as a complete WebSocket system with pluggable I/O.
-rw-r--r--www/ruby-websocket-driver/DESCR7
-rw-r--r--www/ruby-websocket-driver/Makefile14
-rw-r--r--www/ruby-websocket-driver/PLIST31
-rw-r--r--www/ruby-websocket-driver/distinfo6
4 files changed, 58 insertions, 0 deletions
diff --git a/www/ruby-websocket-driver/DESCR b/www/ruby-websocket-driver/DESCR
new file mode 100644
index 00000000000..1da607946ab
--- /dev/null
+++ b/www/ruby-websocket-driver/DESCR
@@ -0,0 +1,7 @@
+Websocket-driver module provides a complete implementation of
+the WebSocket protocols that can be hooked up to any TCP library.
+It aims to simplify things by decoupling the protocol details
+from the I/O layer, such that users only need to implement code
+to stream data in and out of it without needing to know anything
+about how the protocol actually works. Think of it as a complete
+WebSocket system with pluggable I/O.
diff --git a/www/ruby-websocket-driver/Makefile b/www/ruby-websocket-driver/Makefile
new file mode 100644
index 00000000000..65393f1e9f0
--- /dev/null
+++ b/www/ruby-websocket-driver/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2017/02/05 11:21:38 tsutsui Exp $
+
+DISTNAME= websocket-driver-0.6.5
+CATEGORIES= www
+
+MAINTAINER= tsutsui@NetBSD.org
+HOMEPAGE= http://github.com/faye/websocket-driver-ruby
+COMMENT= WebSocket protocol handler with pluggable I/O
+LICENSE= mit
+
+DEPENDS+= ${RUBY_PKGPREFIX}-websocket-extensions>=0.1.0:../../www/ruby-websocket-extensions
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/ruby-websocket-driver/PLIST b/www/ruby-websocket-driver/PLIST
new file mode 100644
index 00000000000..19c5085de00
--- /dev/null
+++ b/www/ruby-websocket-driver/PLIST
@@ -0,0 +1,31 @@
+@comment $NetBSD: PLIST,v 1.1 2017/02/05 11:21:38 tsutsui Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_EXTSDIR}/gem.build_complete
+${GEM_EXTSDIR}/websocket_mask.${RUBY_DLEXT}
+${GEM_LIBDIR}/CHANGELOG.md
+${GEM_LIBDIR}/LICENSE.md
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/examples/tcp_server.rb
+${GEM_LIBDIR}/ext/websocket-driver/WebsocketMaskService.java
+${GEM_LIBDIR}/ext/websocket-driver/extconf.rb
+${GEM_LIBDIR}/ext/websocket-driver/websocket_mask.c
+${GEM_LIBDIR}/lib/websocket/driver.rb
+${GEM_LIBDIR}/lib/websocket/driver/client.rb
+${GEM_LIBDIR}/lib/websocket/driver/draft75.rb
+${GEM_LIBDIR}/lib/websocket/driver/draft76.rb
+${GEM_LIBDIR}/lib/websocket/driver/event_emitter.rb
+${GEM_LIBDIR}/lib/websocket/driver/headers.rb
+${GEM_LIBDIR}/lib/websocket/driver/hybi.rb
+${GEM_LIBDIR}/lib/websocket/driver/hybi/frame.rb
+${GEM_LIBDIR}/lib/websocket/driver/hybi/message.rb
+${GEM_LIBDIR}/lib/websocket/driver/proxy.rb
+${GEM_LIBDIR}/lib/websocket/driver/server.rb
+${GEM_LIBDIR}/lib/websocket/driver/stream_reader.rb
+${GEM_LIBDIR}/lib/websocket/http.rb
+${GEM_LIBDIR}/lib/websocket/http/headers.rb
+${GEM_LIBDIR}/lib/websocket/http/request.rb
+${GEM_LIBDIR}/lib/websocket/http/response.rb
+${GEM_LIBDIR}/lib/websocket/mask.rb
+${GEM_LIBDIR}/lib/websocket/websocket_mask.rb
+${GEM_LIBDIR}/lib/websocket_mask.${RUBY_DLEXT}
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/www/ruby-websocket-driver/distinfo b/www/ruby-websocket-driver/distinfo
new file mode 100644
index 00000000000..645a9ddd080
--- /dev/null
+++ b/www/ruby-websocket-driver/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/02/05 11:21:38 tsutsui Exp $
+
+SHA1 (websocket-driver-0.6.5.gem) = 3ef16d4b642e03faf44e0152a53e678a000885c2
+RMD160 (websocket-driver-0.6.5.gem) = 3f86bae3d410d4a975a7da1f51978c3f7711b8ff
+SHA512 (websocket-driver-0.6.5.gem) = 38dfa4b823af74c67ff8aeb35073e737a0c51248562d91dc71baaa31b61299875ff03e43569911a851ef4487b8f62caee218e92f383404f5d5d6cbdf4c82adbd
+Size (websocket-driver-0.6.5.gem) = 22016 bytes