summaryrefslogtreecommitdiff
path: root/www/ruby-websocket-extensions
diff options
context:
space:
mode:
authortsutsui <tsutsui@pkgsrc.org>2017-02-05 11:13:00 +0000
committertsutsui <tsutsui@pkgsrc.org>2017-02-05 11:13:00 +0000
commitf1af26728890e42f7c9a14a1e0c0162d438812a4 (patch)
tree7f74a89ef99ce0ae4613be41187cf044e54947fd /www/ruby-websocket-extensions
parent5b9e118331fe8f7561ba7fe7d13961c40630ccfc (diff)
downloadpkgsrc-f1af26728890e42f7c9a14a1e0c0162d438812a4.tar.gz
Import ruby-websocket-extensions-0.1.2 as www/ruby-websocket-extensions.
A minimal framework that supports the implementation of WebSocket extensions in a way that's decoupled from the main protocol. This library aims to allow a WebSocket extension to be written and used with any protocol library, by defining abstract representations of frames and messages that allow modules to co-operate. websocket-extensions provides a container for registering extension plugins, and provides all the functions required to negotiate which extensions to use during a session via the Sec-WebSocket-Extensions header.
Diffstat (limited to 'www/ruby-websocket-extensions')
-rw-r--r--www/ruby-websocket-extensions/DESCR10
-rw-r--r--www/ruby-websocket-extensions/Makefile12
-rw-r--r--www/ruby-websocket-extensions/PLIST7
-rw-r--r--www/ruby-websocket-extensions/distinfo6
4 files changed, 35 insertions, 0 deletions
diff --git a/www/ruby-websocket-extensions/DESCR b/www/ruby-websocket-extensions/DESCR
new file mode 100644
index 00000000000..10fcf037b4f
--- /dev/null
+++ b/www/ruby-websocket-extensions/DESCR
@@ -0,0 +1,10 @@
+A minimal framework that supports the implementation of WebSocket
+extensions in a way that's decoupled from the main protocol.
+This library aims to allow a WebSocket extension to be written and
+used with any protocol library, by defining abstract representations
+of frames and messages that allow modules to co-operate.
+
+websocket-extensions provides a container for registering extension
+plugins, and provides all the functions required to negotiate which
+extensions to use during a session via the Sec-WebSocket-Extensions
+header.
diff --git a/www/ruby-websocket-extensions/Makefile b/www/ruby-websocket-extensions/Makefile
new file mode 100644
index 00000000000..d7ac39d8c0d
--- /dev/null
+++ b/www/ruby-websocket-extensions/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1 2017/02/05 11:13:00 tsutsui Exp $
+
+DISTNAME= websocket-extensions-0.1.2
+CATEGORIES= www
+
+MAINTAINER= tsutsui@NetBSD.org
+HOMEPAGE= http://github.com/faye/websocket-extensions-ruby
+COMMENT= Generic extension manager for WebSocket connections
+LICENSE= mit
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/ruby-websocket-extensions/PLIST b/www/ruby-websocket-extensions/PLIST
new file mode 100644
index 00000000000..85685033841
--- /dev/null
+++ b/www/ruby-websocket-extensions/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2017/02/05 11:13:00 tsutsui Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/CHANGELOG.md
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/lib/websocket/extensions.rb
+${GEM_LIBDIR}/lib/websocket/extensions/parser.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/www/ruby-websocket-extensions/distinfo b/www/ruby-websocket-extensions/distinfo
new file mode 100644
index 00000000000..c35c24c7047
--- /dev/null
+++ b/www/ruby-websocket-extensions/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/02/05 11:13:00 tsutsui Exp $
+
+SHA1 (websocket-extensions-0.1.2.gem) = e4651ba3050313c355378a7135726cf24760e113
+RMD160 (websocket-extensions-0.1.2.gem) = f7134eb5da716c10cbe98ac6f4a4f8c17851b028
+SHA512 (websocket-extensions-0.1.2.gem) = 6d3d1b966d8a447ca06d271bf7dd28d8c303f5f1f74d4845a87a44dab26b4306a25b1e581e2a1da25e78f0569014b305652112d312c5ecaaeb07a18266474607
+Size (websocket-extensions-0.1.2.gem) = 10752 bytes