pkgsrc-WIP-changes archive

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

wip/go-fasthttp: import go-fasthttp-1.3.0



Module Name:	pkgsrc-wip
Committed By:	ng0 <ng0%n0.is@localhost>
Pushed By:	ng0
Date:		Tue May 21 14:04:18 2019 +0000
Changeset:	d790397c430b777625284539be53ab53b2b05aca

Modified Files:
	Makefile
Added Files:
	go-fasthttp/DESCR
	go-fasthttp/Makefile
	go-fasthttp/PLIST
	go-fasthttp/buildlink3.mk
	go-fasthttp/distinfo

Log Message:
wip/go-fasthttp: import go-fasthttp-1.3.0

go-fasthttp is an implementation of Fast HTTP for Go.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d790397c430b777625284539be53ab53b2b05aca

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                  |   1 +
 go-fasthttp/DESCR         |   1 +
 go-fasthttp/Makefile      |  24 +++++++++
 go-fasthttp/PLIST         | 122 ++++++++++++++++++++++++++++++++++++++++++++++
 go-fasthttp/buildlink3.mk |  15 ++++++
 go-fasthttp/distinfo      |   6 +++
 6 files changed, 169 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 2d2d94474b..aecb18324f 100644
--- a/Makefile
+++ b/Makefile
@@ -1169,6 +1169,7 @@ SUBDIR+=	go-collectd
 SUBDIR+=	go-compress
 SUBDIR+=	go-cpuid
 SUBDIR+=	go-dotenv
+SUBDIR+=	go-fasthttp
 SUBDIR+=	go-flags
 SUBDIR+=	go-fsnotify
 SUBDIR+=	go-ghodss-yaml
diff --git a/go-fasthttp/DESCR b/go-fasthttp/DESCR
new file mode 100644
index 0000000000..a8ab024c89
--- /dev/null
+++ b/go-fasthttp/DESCR
@@ -0,0 +1 @@
+go-fasthttp is an implementation of Fast HTTP for Go.
diff --git a/go-fasthttp/Makefile b/go-fasthttp/Makefile
new file mode 100644
index 0000000000..67a0b9569e
--- /dev/null
+++ b/go-fasthttp/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD$
+
+DISTNAME=		go-fasthttp-${GITHUB_TAG}
+PKGNAME=		go-fasthttp-1.3.0
+GITHUB_PROJECT=		fasthttp
+CATEGORIES=		devel
+MASTER_SITES=		${MASTER_SITE_GITHUB:=valyala/}
+GITHUB_TAG=		46469b532d0621287a2184a890564a59a3d528f3
+
+MAINTAINER=		ng0%n0.is@localhost
+HOMEPAGE=		https://github.com/valyala/fasthttp/
+COMMENT=		Fast HTTP package for Go
+LICENSE=		mit
+
+GO_SRCPATH=		github.com/valyala/fasthttp
+GO_DIST_BASE=		${GITHUB_PROJECT}-${GITHUB_TAG}*
+
+.include "../../wip/go-bytebufferpool/buildlink3.mk"
+.include "../../wip/go-tcplisten/buildlink3.mk"
+.include "../../net/go-net/buildlink3.mk"
+.include "../../wip/go-cpuid/buildlink3.mk"
+.include "../../wip/go-compress/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-fasthttp/PLIST b/go-fasthttp/PLIST
new file mode 100644
index 0000000000..f4dc70a05c
--- /dev/null
+++ b/go-fasthttp/PLIST
@@ -0,0 +1,122 @@
+@comment $NetBSD$
+bin/fileserver
+bin/helloworldserver
+bin/multidomain
+gopkg/pkg/${GO_PLATFORM}/github.com/valyala/fasthttp.a
+gopkg/pkg/${GO_PLATFORM}/github.com/valyala/fasthttp/expvarhandler.a
+gopkg/pkg/${GO_PLATFORM}/github.com/valyala/fasthttp/fasthttpadaptor.a
+gopkg/pkg/${GO_PLATFORM}/github.com/valyala/fasthttp/fasthttpproxy.a
+gopkg/pkg/${GO_PLATFORM}/github.com/valyala/fasthttp/fasthttputil.a
+gopkg/pkg/${GO_PLATFORM}/github.com/valyala/fasthttp/pprofhandler.a
+gopkg/pkg/${GO_PLATFORM}/github.com/valyala/fasthttp/reuseport.a
+gopkg/pkg/${GO_PLATFORM}/github.com/valyala/fasthttp/stackless.a
+gopkg/src/github.com/valyala/fasthttp/LICENSE
+gopkg/src/github.com/valyala/fasthttp/README.md
+gopkg/src/github.com/valyala/fasthttp/TODO
+gopkg/src/github.com/valyala/fasthttp/allocation_test.go
+gopkg/src/github.com/valyala/fasthttp/args.go
+gopkg/src/github.com/valyala/fasthttp/args_test.go
+gopkg/src/github.com/valyala/fasthttp/args_timing_test.go
+gopkg/src/github.com/valyala/fasthttp/bytesconv.go
+gopkg/src/github.com/valyala/fasthttp/bytesconv_32.go
+gopkg/src/github.com/valyala/fasthttp/bytesconv_32_test.go
+gopkg/src/github.com/valyala/fasthttp/bytesconv_64.go
+gopkg/src/github.com/valyala/fasthttp/bytesconv_64_test.go
+gopkg/src/github.com/valyala/fasthttp/bytesconv_test.go
+gopkg/src/github.com/valyala/fasthttp/bytesconv_timing_test.go
+gopkg/src/github.com/valyala/fasthttp/client.go
+gopkg/src/github.com/valyala/fasthttp/client_example_test.go
+gopkg/src/github.com/valyala/fasthttp/client_test.go
+gopkg/src/github.com/valyala/fasthttp/client_timing_test.go
+gopkg/src/github.com/valyala/fasthttp/coarseTime.go
+gopkg/src/github.com/valyala/fasthttp/coarseTime_test.go
+gopkg/src/github.com/valyala/fasthttp/compress.go
+gopkg/src/github.com/valyala/fasthttp/compress_test.go
+gopkg/src/github.com/valyala/fasthttp/cookie.go
+gopkg/src/github.com/valyala/fasthttp/cookie_test.go
+gopkg/src/github.com/valyala/fasthttp/cookie_timing_test.go
+gopkg/src/github.com/valyala/fasthttp/doc.go
+gopkg/src/github.com/valyala/fasthttp/examples/README.md
+gopkg/src/github.com/valyala/fasthttp/examples/fileserver/.gitignore
+gopkg/src/github.com/valyala/fasthttp/examples/fileserver/Makefile
+gopkg/src/github.com/valyala/fasthttp/examples/fileserver/README.md
+gopkg/src/github.com/valyala/fasthttp/examples/fileserver/fileserver.go
+gopkg/src/github.com/valyala/fasthttp/examples/fileserver/ssl-cert-snakeoil.key
+gopkg/src/github.com/valyala/fasthttp/examples/fileserver/ssl-cert-snakeoil.pem
+gopkg/src/github.com/valyala/fasthttp/examples/helloworldserver/.gitignore
+gopkg/src/github.com/valyala/fasthttp/examples/helloworldserver/Makefile
+gopkg/src/github.com/valyala/fasthttp/examples/helloworldserver/README.md
+gopkg/src/github.com/valyala/fasthttp/examples/helloworldserver/helloworldserver.go
+gopkg/src/github.com/valyala/fasthttp/examples/multidomain/Makefile
+gopkg/src/github.com/valyala/fasthttp/examples/multidomain/README.md
+gopkg/src/github.com/valyala/fasthttp/examples/multidomain/multidomain.go
+gopkg/src/github.com/valyala/fasthttp/expvarhandler/expvar.go
+gopkg/src/github.com/valyala/fasthttp/expvarhandler/expvar_test.go
+gopkg/src/github.com/valyala/fasthttp/fasthttpadaptor/adaptor.go
+gopkg/src/github.com/valyala/fasthttp/fasthttpadaptor/adaptor_test.go
+gopkg/src/github.com/valyala/fasthttp/fasthttpproxy/socks5.go
+gopkg/src/github.com/valyala/fasthttp/fasthttputil/doc.go
+gopkg/src/github.com/valyala/fasthttp/fasthttputil/ecdsa.key
+gopkg/src/github.com/valyala/fasthttp/fasthttputil/ecdsa.pem
+gopkg/src/github.com/valyala/fasthttp/fasthttputil/inmemory_listener.go
+gopkg/src/github.com/valyala/fasthttp/fasthttputil/inmemory_listener_test.go
+gopkg/src/github.com/valyala/fasthttp/fasthttputil/inmemory_listener_timing_test.go
+gopkg/src/github.com/valyala/fasthttp/fasthttputil/pipeconns.go
+gopkg/src/github.com/valyala/fasthttp/fasthttputil/pipeconns_test.go
+gopkg/src/github.com/valyala/fasthttp/fasthttputil/rsa.key
+gopkg/src/github.com/valyala/fasthttp/fasthttputil/rsa.pem
+gopkg/src/github.com/valyala/fasthttp/fs.go
+gopkg/src/github.com/valyala/fasthttp/fs_example_test.go
+gopkg/src/github.com/valyala/fasthttp/fs_handler_example_test.go
+gopkg/src/github.com/valyala/fasthttp/fs_test.go
+gopkg/src/github.com/valyala/fasthttp/go.mod
+gopkg/src/github.com/valyala/fasthttp/go.sum
+gopkg/src/github.com/valyala/fasthttp/header.go
+gopkg/src/github.com/valyala/fasthttp/header_regression_test.go
+gopkg/src/github.com/valyala/fasthttp/header_test.go
+gopkg/src/github.com/valyala/fasthttp/header_timing_test.go
+gopkg/src/github.com/valyala/fasthttp/http.go
+gopkg/src/github.com/valyala/fasthttp/http_test.go
+gopkg/src/github.com/valyala/fasthttp/lbclient.go
+gopkg/src/github.com/valyala/fasthttp/lbclient_example_test.go
+gopkg/src/github.com/valyala/fasthttp/methods.go
+gopkg/src/github.com/valyala/fasthttp/nocopy.go
+gopkg/src/github.com/valyala/fasthttp/peripconn.go
+gopkg/src/github.com/valyala/fasthttp/peripconn_test.go
+gopkg/src/github.com/valyala/fasthttp/pprofhandler/pprof.go
+gopkg/src/github.com/valyala/fasthttp/requestctx_setbodystreamwriter_example_test.go
+gopkg/src/github.com/valyala/fasthttp/reuseport/LICENSE
+gopkg/src/github.com/valyala/fasthttp/reuseport/reuseport.go
+gopkg/src/github.com/valyala/fasthttp/reuseport/reuseport_example_test.go
+gopkg/src/github.com/valyala/fasthttp/reuseport/reuseport_test.go
+gopkg/src/github.com/valyala/fasthttp/server.go
+gopkg/src/github.com/valyala/fasthttp/server_example_test.go
+gopkg/src/github.com/valyala/fasthttp/server_test.go
+gopkg/src/github.com/valyala/fasthttp/server_timing_test.go
+gopkg/src/github.com/valyala/fasthttp/ssl-cert-snakeoil.key
+gopkg/src/github.com/valyala/fasthttp/ssl-cert-snakeoil.pem
+gopkg/src/github.com/valyala/fasthttp/stackless/doc.go
+gopkg/src/github.com/valyala/fasthttp/stackless/func.go
+gopkg/src/github.com/valyala/fasthttp/stackless/func_test.go
+gopkg/src/github.com/valyala/fasthttp/stackless/func_timing_test.go
+gopkg/src/github.com/valyala/fasthttp/stackless/writer.go
+gopkg/src/github.com/valyala/fasthttp/stackless/writer_test.go
+gopkg/src/github.com/valyala/fasthttp/status.go
+gopkg/src/github.com/valyala/fasthttp/stream.go
+gopkg/src/github.com/valyala/fasthttp/stream_test.go
+gopkg/src/github.com/valyala/fasthttp/stream_timing_test.go
+gopkg/src/github.com/valyala/fasthttp/strings.go
+gopkg/src/github.com/valyala/fasthttp/tcpdialer.go
+gopkg/src/github.com/valyala/fasthttp/testdata/test.png
+gopkg/src/github.com/valyala/fasthttp/timer.go
+gopkg/src/github.com/valyala/fasthttp/uri.go
+gopkg/src/github.com/valyala/fasthttp/uri_test.go
+gopkg/src/github.com/valyala/fasthttp/uri_timing_test.go
+gopkg/src/github.com/valyala/fasthttp/uri_unix.go
+gopkg/src/github.com/valyala/fasthttp/uri_windows.go
+gopkg/src/github.com/valyala/fasthttp/uri_windows_test.go
+gopkg/src/github.com/valyala/fasthttp/userdata.go
+gopkg/src/github.com/valyala/fasthttp/userdata_test.go
+gopkg/src/github.com/valyala/fasthttp/userdata_timing_test.go
+gopkg/src/github.com/valyala/fasthttp/workerpool.go
+gopkg/src/github.com/valyala/fasthttp/workerpool_test.go
diff --git a/go-fasthttp/buildlink3.mk b/go-fasthttp/buildlink3.mk
new file mode 100644
index 0000000000..97301176b8
--- /dev/null
+++ b/go-fasthttp/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-fasthttp
+
+.if !defined(GO_FASTHTTP_BUILDLINK3_MK)
+GO_FASTHTTP_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-fasthttp=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-fasthttp?=		build
+
+BUILDLINK_API_DEPENDS.go-fasthttp+=	go-fasthttp>=1.3.0
+BUILDLINK_PKGSRCDIR.go-fasthttp?=	../../wip/go-fasthttp
+.endif	# GO_FASTHTTP_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-fasthttp
diff --git a/go-fasthttp/distinfo b/go-fasthttp/distinfo
new file mode 100644
index 0000000000..14aa574842
--- /dev/null
+++ b/go-fasthttp/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-fasthttp-46469b532d0621287a2184a890564a59a3d528f3-46469b532d0621287a2184a890564a59a3d528f3.tar.gz) = 75c56bf2813f89dd5f1089446bdf2fe3dbfd9019
+RMD160 (go-fasthttp-46469b532d0621287a2184a890564a59a3d528f3-46469b532d0621287a2184a890564a59a3d528f3.tar.gz) = 9cdb3b200e246875987fd953c2df6038a71d9994
+SHA512 (go-fasthttp-46469b532d0621287a2184a890564a59a3d528f3-46469b532d0621287a2184a890564a59a3d528f3.tar.gz) = 2c4cd3994708aa6136b2895e3c0457822a16bb445d87ce2c2320b203d760bc3118e370c384c80b442f39060f4bd62991a94760903707da371f0f650fbe9f3b77
+Size (go-fasthttp-46469b532d0621287a2184a890564a59a3d528f3-46469b532d0621287a2184a890564a59a3d528f3.tar.gz) = 182586 bytes


Home | Main Index | Thread Index | Old Index