svn commit: r434469 - in head/www: . go-fasthttp
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Feb 20 15:16:07 UTC 2017
Author: sunpoet
Date: Mon Feb 20 15:16:06 2017
New Revision: 434469
URL: https://svnweb.freebsd.org/changeset/ports/434469
Log:
Add go-fasthttp 20160617
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
- While I'm here:
- Use DISTVERSIONPREFIX
- Add LICENSE_FILE
- Add missing RUN_DEPENDS
- Remove GH_PROJECT
PR: 217212
Submitted by: Guy Tabrar <guy.tabrar at me.com>
Added:
head/www/go-fasthttp/
head/www/go-fasthttp/Makefile (contents, props changed)
head/www/go-fasthttp/distinfo (contents, props changed)
head/www/go-fasthttp/pkg-descr (contents, props changed)
head/www/go-fasthttp/pkg-plist (contents, props changed)
Modified:
head/www/Makefile
Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile Mon Feb 20 15:15:48 2017 (r434468)
+++ head/www/Makefile Mon Feb 20 15:16:06 2017 (r434469)
@@ -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
Added: head/www/go-fasthttp/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/go-fasthttp/Makefile Mon Feb 20 15:16:06 2017 (r434469)
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME= fasthttp
+PORTVERSION= 20160617
+DISTVERSIONPREFIX= v
+CATEGORIES= www net
+PKGNAMEPREFIX= go-
+
+MAINTAINER= guy.tabrar at 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>
Added: head/www/go-fasthttp/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/go-fasthttp/distinfo Mon Feb 20 15:16:06 2017 (r434469)
@@ -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
Added: head/www/go-fasthttp/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/go-fasthttp/pkg-descr Mon Feb 20 15:16:06 2017 (r434469)
@@ -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
Added: head/www/go-fasthttp/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/go-fasthttp/pkg-plist Mon Feb 20 15:16:06 2017 (r434469)
@@ -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
More information about the svn-ports-all
mailing list