pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/go-fasthttp Add www/go-fasthttp version 1.6.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3f30544f73a2
branches:  trunk
changeset: 343569:3f30544f73a2
user:      ng0 <ng0%pkgsrc.org@localhost>
date:      Wed Nov 06 12:32:28 2019 +0000

description:
Add www/go-fasthttp version 1.6.0

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

diffstat:

 www/go-fasthttp/DESCR         |    1 +
 www/go-fasthttp/Makefile      |   29 +++++++++
 www/go-fasthttp/PLIST         |  134 ++++++++++++++++++++++++++++++++++++++++++
 www/go-fasthttp/buildlink3.mk |   21 ++++++
 www/go-fasthttp/distinfo      |    6 +
 5 files changed, 191 insertions(+), 0 deletions(-)

diffs (211 lines):

diff -r fd34598faafd -r 3f30544f73a2 www/go-fasthttp/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/go-fasthttp/DESCR     Wed Nov 06 12:32:28 2019 +0000
@@ -0,0 +1,1 @@
+go-fasthttp is an implementation of Fast HTTP for Go.
diff -r fd34598faafd -r 3f30544f73a2 www/go-fasthttp/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/go-fasthttp/Makefile  Wed Nov 06 12:32:28 2019 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2019/11/06 12:32:28 ng0 Exp $
+
+GITHUB_TAG=            v${PKGVERSION_NOREV}
+DISTNAME=              go-fasthttp-1.6.0
+CATEGORIES=            devel
+MASTER_SITES=          ${MASTER_SITE_GITHUB:=valyala/}
+GITHUB_PROJECT=                fasthttp
+
+MAINTAINER=            ng0%NetBSD.org@localhost
+HOMEPAGE=              https://github.com/valyala/fasthttp/
+COMMENT=               Fast HTTP package for Go
+LICENSE=               mit
+
+GO_SRCPATH=            github.com/valyala/fasthttp
+GO_DIST_BASE=          fasthttp-${PKGVERSION_NOREV}
+
+# This is an sh script, no Bash syntax found.
+SUBST_CLASSES+=                bash
+SUBST_STAGE.bash=      pre-build
+SUBST_FILES.bash=      ${WRKDIR}/src/github.com/valyala/fasthttp/fuzzit.sh
+SUBST_SED.bash=                -e "s,bash,sh,g"
+
+.include "../../devel/go-bytebufferpool/buildlink3.mk"
+.include "../../net/go-tcplisten/buildlink3.mk"
+.include "../../net/go-net/buildlink3.mk"
+.include "../../devel/go-cpuid/buildlink3.mk"
+.include "../../devel/go-compress/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r fd34598faafd -r 3f30544f73a2 www/go-fasthttp/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/go-fasthttp/PLIST     Wed Nov 06 12:32:28 2019 +0000
@@ -0,0 +1,134 @@
+@comment $NetBSD: PLIST,v 1.1 2019/11/06 12:32:28 ng0 Exp $
+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/SECURITY.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_table.go
+gopkg/src/github.com/valyala/fasthttp/bytesconv_table_gen.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/fuzzit.sh
+gopkg/src/github.com/valyala/fasthttp/fuzzit/cookie/cookie_fuzz.go
+gopkg/src/github.com/valyala/fasthttp/fuzzit/request/request_fuzz.go
+gopkg/src/github.com/valyala/fasthttp/fuzzit/response/response_fuzz.go
+gopkg/src/github.com/valyala/fasthttp/fuzzit/url/url_fuzz.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/headers.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_error.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/reuseport/reuseport_windows.go
+gopkg/src/github.com/valyala/fasthttp/reuseport/reuseport_windows_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 -r fd34598faafd -r 3f30544f73a2 www/go-fasthttp/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/go-fasthttp/buildlink3.mk     Wed Nov 06 12:32:28 2019 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/11/06 12:32:28 ng0 Exp $
+
+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?=      ../../www/go-fasthttp
+
+.include "../../devel/go-bytebufferpool/buildlink3.mk"
+.include "../../net/go-tcplisten/buildlink3.mk"
+.include "../../net/go-net/buildlink3.mk"
+.include "../../devel/go-cpuid/buildlink3.mk"
+.include "../../devel/go-compress/buildlink3.mk"
+.endif # GO_FASTHTTP_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -go-fasthttp
diff -r fd34598faafd -r 3f30544f73a2 www/go-fasthttp/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/go-fasthttp/distinfo  Wed Nov 06 12:32:28 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/11/06 12:32:28 ng0 Exp $
+
+SHA1 (go-fasthttp-1.6.0.tar.gz) = 7286338353a394809ba736da22209a0c4ac4f924
+RMD160 (go-fasthttp-1.6.0.tar.gz) = 11998675cc7f178089b9521144c2ad97d13c0882
+SHA512 (go-fasthttp-1.6.0.tar.gz) = c7e75f029f3ad770abd496c42dd051c86622375e408d71e452af7c106974e77f214760dbbd888ccaac6d1455b0538208869459149df135f7ef12985cd4c15c00
+Size (go-fasthttp-1.6.0.tar.gz) = 196720 bytes



Home | Main Index | Thread Index | Old Index