pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/go-websocket Add go-websocket package
details: https://anonhg.NetBSD.org/pkgsrc/rev/6ebe59e079ed
branches: trunk
changeset: 366680:6ebe59e079ed
user: gavan <gavan%pkgsrc.org@localhost>
date: Thu Aug 17 02:03:23 2017 +0000
description:
Add go-websocket package
diffstat:
net/go-websocket/DESCR | 1 +
net/go-websocket/Makefile | 20 ++++++++++++++++++++
net/go-websocket/PLIST | 39 +++++++++++++++++++++++++++++++++++++++
net/go-websocket/buildlink3.mk | 17 +++++++++++++++++
net/go-websocket/distinfo | 6 ++++++
5 files changed, 83 insertions(+), 0 deletions(-)
diffs (103 lines):
diff -r 26e58b981a9e -r 6ebe59e079ed net/go-websocket/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/go-websocket/DESCR Thu Aug 17 02:03:23 2017 +0000
@@ -0,0 +1,1 @@
+The Gorilla WebSocket package provides a complete and tested implementation of the WebSocket protocol. The package API is stable.
diff -r 26e58b981a9e -r 6ebe59e079ed net/go-websocket/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/go-websocket/Makefile Thu Aug 17 02:03:23 2017 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2017/08/17 02:03:23 gavan Exp $
+
+DISTNAME= websocket-1.0.0
+PKGNAME= go-${DISTNAME}
+MASTER_SITES= ${MASTER_SITE_GITHUB:=gorilla/}
+CATEGORIES= net
+GITHUB_TAG= v${PKGVERSION_NOREV}
+GITHUB_PROJECT= ${PKGBASE:S/^go-//}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/gorilla/websocket
+COMMENT= A WebSocket implementation for Go.
+LICENSE= 2-clause-bsd
+
+GO_DIST_BASE= ${DISTNAME}
+GO_SRCPATH= github.com/gorilla/websocket
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
+
diff -r 26e58b981a9e -r 6ebe59e079ed net/go-websocket/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/go-websocket/PLIST Thu Aug 17 02:03:23 2017 +0000
@@ -0,0 +1,39 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/17 02:03:23 gavan Exp $
+bin/autobahn
+bin/chat
+bin/command
+bin/filewatch
+gopkg/pkg/${GO_PLATFORM}/github.com/gorilla/websocket.a
+gopkg/src/github.com/gorilla/websocket/AUTHORS
+gopkg/src/github.com/gorilla/websocket/LICENSE
+gopkg/src/github.com/gorilla/websocket/README.md
+gopkg/src/github.com/gorilla/websocket/bench_test.go
+gopkg/src/github.com/gorilla/websocket/client.go
+gopkg/src/github.com/gorilla/websocket/client_server_test.go
+gopkg/src/github.com/gorilla/websocket/client_test.go
+gopkg/src/github.com/gorilla/websocket/conn.go
+gopkg/src/github.com/gorilla/websocket/conn_test.go
+gopkg/src/github.com/gorilla/websocket/doc.go
+gopkg/src/github.com/gorilla/websocket/example_test.go
+gopkg/src/github.com/gorilla/websocket/examples/autobahn/README.md
+gopkg/src/github.com/gorilla/websocket/examples/autobahn/fuzzingclient.json
+gopkg/src/github.com/gorilla/websocket/examples/autobahn/server.go
+gopkg/src/github.com/gorilla/websocket/examples/chat/README.md
+gopkg/src/github.com/gorilla/websocket/examples/chat/conn.go
+gopkg/src/github.com/gorilla/websocket/examples/chat/home.html
+gopkg/src/github.com/gorilla/websocket/examples/chat/hub.go
+gopkg/src/github.com/gorilla/websocket/examples/chat/main.go
+gopkg/src/github.com/gorilla/websocket/examples/command/README.md
+gopkg/src/github.com/gorilla/websocket/examples/command/home.html
+gopkg/src/github.com/gorilla/websocket/examples/command/main.go
+gopkg/src/github.com/gorilla/websocket/examples/echo/README.md
+gopkg/src/github.com/gorilla/websocket/examples/echo/client.go
+gopkg/src/github.com/gorilla/websocket/examples/echo/server.go
+gopkg/src/github.com/gorilla/websocket/examples/filewatch/README.md
+gopkg/src/github.com/gorilla/websocket/examples/filewatch/main.go
+gopkg/src/github.com/gorilla/websocket/json.go
+gopkg/src/github.com/gorilla/websocket/json_test.go
+gopkg/src/github.com/gorilla/websocket/server.go
+gopkg/src/github.com/gorilla/websocket/server_test.go
+gopkg/src/github.com/gorilla/websocket/util.go
+gopkg/src/github.com/gorilla/websocket/util_test.go
diff -r 26e58b981a9e -r 6ebe59e079ed net/go-websocket/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/go-websocket/buildlink3.mk Thu Aug 17 02:03:23 2017 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/08/17 02:03:23 gavan Exp $
+
+BUILDLINK_TREE+= go-websocket
+
+.if !defined(GO_WEBSOCKET_BUILDLINK3_MK)
+GO_WEBSOCKET_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-websocket= ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-websocket?= build
+
+BUILDLINK_API_DEPENDS.go-websocket+= go-websocket>=1.0.0
+BUILDLINK_PKGSRCDIR.go-websocket?= ../../net/go-websocket
+
+.endif # GO_WEBSOCKET_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -go-websocket
+
diff -r 26e58b981a9e -r 6ebe59e079ed net/go-websocket/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/go-websocket/distinfo Thu Aug 17 02:03:23 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/08/17 02:03:23 gavan Exp $
+
+SHA1 (websocket-1.0.0.tar.gz) = 3141c89bb3aebe10ce3029ce48c31aab694fb8fd
+RMD160 (websocket-1.0.0.tar.gz) = 45886d3c8b6d05baec3ecf7f912b904d742b226d
+SHA512 (websocket-1.0.0.tar.gz) = 3f84074c4fef3169d41b163759eef4372ee0d6eb590e8c5e5a5ab1bc5480d0b4e77edd8897ee08fabe755fc78819450dd0ce10a3ad2a7f8a731d34bbceee624d
+Size (websocket-1.0.0.tar.gz) = 31197 bytes
Home |
Main Index |
Thread Index |
Old Index