pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/hs-websockets www/hs-websockets: import hs-websock...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/15905c7bd5c7
branches:  trunk
changeset: 374542:15905c7bd5c7
user:      pho <pho%pkgsrc.org@localhost>
date:      Wed Feb 23 16:21:08 2022 +0000

description:
www/hs-websockets: import hs-websockets-0.12.7.3

This library allows you to write WebSocket-capable servers.

An example server:
https://github.com/jaspervdj/websockets/blob/master/example/server.lhs

An example client:
https://github.com/jaspervdj/websockets/blob/master/example/client.hs

See also:
* The specification of the WebSocket protocol:
  http://www.whatwg.org/specs/web-socket-protocol/
* The JavaScript API for dealing with WebSockets:
  http://www.w3.org/TR/websockets/

diffstat:

 www/hs-websockets/DESCR         |  13 +++++++
 www/hs-websockets/Makefile      |  22 +++++++++++++
 www/hs-websockets/PLIST         |  68 +++++++++++++++++++++++++++++++++++++++++
 www/hs-websockets/buildlink3.mk |  25 +++++++++++++++
 www/hs-websockets/distinfo      |   5 +++
 5 files changed, 133 insertions(+), 0 deletions(-)

diffs (153 lines):

diff -r aa9487dd413f -r 15905c7bd5c7 www/hs-websockets/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/hs-websockets/DESCR   Wed Feb 23 16:21:08 2022 +0000
@@ -0,0 +1,13 @@
+This library allows you to write WebSocket-capable servers.
+
+An example server:
+https://github.com/jaspervdj/websockets/blob/master/example/server.lhs
+
+An example client:
+https://github.com/jaspervdj/websockets/blob/master/example/client.hs
+
+See also:
+* The specification of the WebSocket protocol:
+  http://www.whatwg.org/specs/web-socket-protocol/
+* The JavaScript API for dealing with WebSockets:
+  http://www.w3.org/TR/websockets/
diff -r aa9487dd413f -r 15905c7bd5c7 www/hs-websockets/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/hs-websockets/Makefile        Wed Feb 23 16:21:08 2022 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2022/02/23 16:21:08 pho Exp $
+
+DISTNAME=      websockets-0.12.7.3
+CATEGORIES=    www
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+COMMENT=       Sensible and clean way to write WebSocket-capable servers in Haskell
+LICENSE=       modified-bsd
+
+.include "../../devel/hs-async/buildlink3.mk"
+.include "../../textproc/hs-attoparsec/buildlink3.mk"
+.include "../../converters/hs-base64-bytestring/buildlink3.mk"
+.include "../../devel/hs-bytestring-builder/buildlink3.mk"
+.include "../../textproc/hs-case-insensitive/buildlink3.mk"
+.include "../../time/hs-clock/buildlink3.mk"
+.include "../../security/hs-entropy/buildlink3.mk"
+.include "../../net/hs-network/buildlink3.mk"
+.include "../../devel/hs-random/buildlink3.mk"
+.include "../../security/hs-SHA/buildlink3.mk"
+.include "../../devel/hs-streaming-commons/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r aa9487dd413f -r 15905c7bd5c7 www/hs-websockets/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/hs-websockets/PLIST   Wed Feb 23 16:21:08 2022 +0000
@@ -0,0 +1,68 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/23 16:21:08 pho Exp $
+lib/websockets-${PKGVERSION}/${HS_VERSION}/package-description
+lib/websockets-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Client.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Client.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Client.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Connection.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Connection.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Connection.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Connection/Options.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Connection/Options.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Connection/Options.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Extensions.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Extensions.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Extensions.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Extensions/Description.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Extensions/Description.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Extensions/Description.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Extensions/PermessageDeflate.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Extensions/PermessageDeflate.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Extensions/PermessageDeflate.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Extensions/StrictUnicode.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Extensions/StrictUnicode.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Extensions/StrictUnicode.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Http.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Http.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Http.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Hybi13.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Hybi13.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Hybi13.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Hybi13/Demultiplex.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Hybi13/Demultiplex.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Hybi13/Demultiplex.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Hybi13/Mask.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Hybi13/Mask.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Hybi13/Mask.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Protocol.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Protocol.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Protocol.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Server.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Server.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Server.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Stream.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Stream.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Stream.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Types.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Types.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Types.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+share/doc/${HS_PLATFORM}/websockets-${PKGVERSION}/LICENCE
+share/doc/${HS_PLATFORM}/websockets-${PKGVERSION}/html/Network-WebSockets-Client.html
+share/doc/${HS_PLATFORM}/websockets-${PKGVERSION}/html/Network-WebSockets-Connection.html
+share/doc/${HS_PLATFORM}/websockets-${PKGVERSION}/html/Network-WebSockets-Extensions.html
+share/doc/${HS_PLATFORM}/websockets-${PKGVERSION}/html/Network-WebSockets-Stream.html
+share/doc/${HS_PLATFORM}/websockets-${PKGVERSION}/html/Network-WebSockets.html
+share/doc/${HS_PLATFORM}/websockets-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/websockets-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/websockets-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/websockets-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/websockets-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/websockets-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/websockets-${PKGVERSION}/html/synopsis.png
+share/doc/${HS_PLATFORM}/websockets-${PKGVERSION}/html/websockets.haddock
diff -r aa9487dd413f -r 15905c7bd5c7 www/hs-websockets/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/hs-websockets/buildlink3.mk   Wed Feb 23 16:21:08 2022 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/23 16:21:08 pho Exp $
+
+BUILDLINK_TREE+=       hs-websockets
+
+.if !defined(HS_WEBSOCKETS_BUILDLINK3_MK)
+HS_WEBSOCKETS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-websockets+=  hs-websockets>=0.12.7
+BUILDLINK_ABI_DEPENDS.hs-websockets+=  hs-websockets>=0.12.7.3
+BUILDLINK_PKGSRCDIR.hs-websockets?=    ../../www/hs-websockets
+
+.include "../../devel/hs-async/buildlink3.mk"
+.include "../../textproc/hs-attoparsec/buildlink3.mk"
+.include "../../converters/hs-base64-bytestring/buildlink3.mk"
+.include "../../devel/hs-bytestring-builder/buildlink3.mk"
+.include "../../textproc/hs-case-insensitive/buildlink3.mk"
+.include "../../time/hs-clock/buildlink3.mk"
+.include "../../security/hs-entropy/buildlink3.mk"
+.include "../../net/hs-network/buildlink3.mk"
+.include "../../devel/hs-random/buildlink3.mk"
+.include "../../security/hs-SHA/buildlink3.mk"
+.include "../../devel/hs-streaming-commons/buildlink3.mk"
+.endif # HS_WEBSOCKETS_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -hs-websockets
diff -r aa9487dd413f -r 15905c7bd5c7 www/hs-websockets/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/hs-websockets/distinfo        Wed Feb 23 16:21:08 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/02/23 16:21:08 pho Exp $
+
+BLAKE2s (websockets-0.12.7.3.tar.gz) = 3cf265d0a06a5f79ba4c566c59b7274c499790a14d2c7893f9ad31d7d5f1d5f7
+SHA512 (websockets-0.12.7.3.tar.gz) = 9eb9147ff7b545c6e3e859055ff0ca51c16d7e2f0e8603279409b3e74db7ec858c33e586d8f40e3059ac8acf96d8c7502e1b5fe298d3d7fa4cad507e13a2b300
+Size (websockets-0.12.7.3.tar.gz) = 40077 bytes



Home | Main Index | Thread Index | Old Index