diff options
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/go-fasthttp/Makefile | 25 | ||||
-rw-r--r-- | www/go-fasthttp/distinfo | 7 | ||||
-rw-r--r-- | www/go-fasthttp/pkg-descr | 7 | ||||
-rw-r--r-- | www/go-fasthttp/pkg-plist | 95 |
5 files changed, 135 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index e75096c9d91a..b272840d63ad 100644 --- a/www/Makefile +++ b/www/Makefile @@ -208,6 +208,7 @@ SUBDIR += glpi SUBDIR += gnome-user-share SUBDIR += gnome-web-photo + SUBDIR += go-fasthttp SUBDIR += go-www SUBDIR += gohugo SUBDIR += google-appengine diff --git a/www/go-fasthttp/Makefile b/www/go-fasthttp/Makefile new file mode 100644 index 000000000000..e4780ec83480 --- /dev/null +++ b/www/go-fasthttp/Makefile @@ -0,0 +1,25 @@ +# $FreeBSD$ + +PORTNAME= fasthttp +PORTVERSION= 20160617 +DISTVERSIONPREFIX= v +CATEGORIES= www net +PKGNAMEPREFIX= go- + +MAINTAINER= guy.tabrar@me.com +COMMENT= Fast HTTP package for Go, tuned for high performance + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= go-compress>=0:archivers/go-compress \ + go-cpuid>=0:devel/go-cpuid \ + go-crc32>=0:devel/go-crc32 +RUN_DEPENDS:= ${BUILD_DEPENDS} + +USE_GITHUB= yes +GH_ACCOUNT= valyala +USES= go +GO_PKGNAME= github.com/valyala/fasthttp + +.include <bsd.port.mk> diff --git a/www/go-fasthttp/distinfo b/www/go-fasthttp/distinfo new file mode 100644 index 000000000000..e4b6a11b8753 --- /dev/null +++ b/www/go-fasthttp/distinfo @@ -0,0 +1,7 @@ +TIMESTAMP = 1486758925 +SHA256 (valyala-fasthttp-v20160617_GH0.tar.gz) = 342253f1cab10aae3c5a4ac2daa8207fec23fdcff044d5c910ee393f792b225c +SIZE (valyala-fasthttp-v20160617_GH0.tar.gz) = 148822 +SHA256 (klauspost-compress-461e8fd_GH0.tar.gz) = 50be4f688309711340d5edd401f17e52cfc21f76e76198804e4bcc4735207ea6 +SIZE (klauspost-compress-461e8fd_GH0.tar.gz) = 2725602 +SHA256 (golang-snappy-7db9049_GH0.tar.gz) = 75a608d786217e48d85593681dcbf4ebe7fae96fde9d6fd7109f6fa04f4ac3fe +SIZE (golang-snappy-7db9049_GH0.tar.gz) = 62042 diff --git a/www/go-fasthttp/pkg-descr b/www/go-fasthttp/pkg-descr new file mode 100644 index 000000000000..37b0c4c39238 --- /dev/null +++ b/www/go-fasthttp/pkg-descr @@ -0,0 +1,7 @@ +A fast HTTP implementation for Go. + +Currently fasthttp is successfully used by VertaMedia in a production +serving up to 200K rps from more than 1.5M concurrent keep-alive +connections per physical server. + +WWW: https://github.com/valyala/fasthttp diff --git a/www/go-fasthttp/pkg-plist b/www/go-fasthttp/pkg-plist new file mode 100644 index 000000000000..30d241f34f2b --- /dev/null +++ b/www/go-fasthttp/pkg-plist @@ -0,0 +1,95 @@ +%%GO_LIBDIR%%/%%GO_PKGNAME%%.a +%%GO_SRCDIR%%/%%GO_PKGNAME%%/LICENSE +%%GO_SRCDIR%%/%%GO_PKGNAME%%/README.md +%%GO_SRCDIR%%/%%GO_PKGNAME%%/TODO +%%GO_SRCDIR%%/%%GO_PKGNAME%%/args.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/args_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/args_timing_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/bytebuffer.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/bytebuffer_example_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/bytebuffer_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/bytebuffer_timing_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/bytesconv.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/bytesconv_32.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/bytesconv_32_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/bytesconv_64.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/bytesconv_64_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/bytesconv_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/bytesconv_timing_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/client.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/client_example_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/client_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/client_timing_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/compress.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/compress_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/cookie.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/cookie_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/cookie_timing_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/doc.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/examples/README.md +%%GO_SRCDIR%%/%%GO_PKGNAME%%/examples/fileserver/.gitignore +%%GO_SRCDIR%%/%%GO_PKGNAME%%/examples/fileserver/Makefile +%%GO_SRCDIR%%/%%GO_PKGNAME%%/examples/fileserver/README.md +%%GO_SRCDIR%%/%%GO_PKGNAME%%/examples/fileserver/fileserver.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/examples/fileserver/ssl-cert-snakeoil.key +%%GO_SRCDIR%%/%%GO_PKGNAME%%/examples/fileserver/ssl-cert-snakeoil.pem +%%GO_SRCDIR%%/%%GO_PKGNAME%%/examples/helloworldserver/.gitignore +%%GO_SRCDIR%%/%%GO_PKGNAME%%/examples/helloworldserver/Makefile +%%GO_SRCDIR%%/%%GO_PKGNAME%%/examples/helloworldserver/README.md +%%GO_SRCDIR%%/%%GO_PKGNAME%%/examples/helloworldserver/helloworldserver.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/expvarhandler/expvar.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/expvarhandler/expvar_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/fasthttpadaptor/adaptor.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/fasthttpadaptor/adaptor_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/fasthttputil/doc.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/fasthttputil/inmemory_listener.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/fasthttputil/inmemory_listener_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/fasthttputil/inmemory_listener_timing_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/fasthttputil/pipeconns.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/fasthttputil/pipeconns_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/fasthttputil/ssl-cert-snakeoil.key +%%GO_SRCDIR%%/%%GO_PKGNAME%%/fasthttputil/ssl-cert-snakeoil.pem +%%GO_SRCDIR%%/%%GO_PKGNAME%%/fs.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/fs_example_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/fs_handler_example_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/fs_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/header.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/header_regression_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/header_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/header_timing_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/http.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/http_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/nocopy.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/peripconn.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/peripconn_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/requestctx_setbodystreamwriter_example_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/reuseport/LICENSE +%%GO_SRCDIR%%/%%GO_PKGNAME%%/reuseport/reuseport.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/reuseport/reuseport_bsd.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/reuseport/reuseport_example_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/reuseport/reuseport_linux.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/reuseport/reuseport_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/server.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/server_example_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/server_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/server_timing_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/ssl-cert-snakeoil.key +%%GO_SRCDIR%%/%%GO_PKGNAME%%/ssl-cert-snakeoil.pem +%%GO_SRCDIR%%/%%GO_PKGNAME%%/status.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/stream.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/stream_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/stream_timing_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/strings.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/tcpdialer.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/timer.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/uri.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/uri_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/uri_timing_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/uri_unix.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/uri_windows.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/uri_windows_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/userdata.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/userdata_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/userdata_timing_test.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/workerpool.go +%%GO_SRCDIR%%/%%GO_PKGNAME%%/workerpool_test.go |