Index: head/www/erlang-cowboy/Makefile =================================================================== --- head/www/erlang-cowboy/Makefile (revision 435132) +++ head/www/erlang-cowboy/Makefile (revision 435133) @@ -1,25 +1,25 @@ # $FreeBSD$ PORTNAME= cowboy -PORTVERSION= 1.0.4 +PORTVERSION= 1.1.2 CATEGORIES= www PKGNAMEPREFIX= erlang- MAINTAINER= olgeni@FreeBSD.org COMMENT= Small, fast and modular HTTP server written in Erlang LICENSE= ISCL USES= erlang:rebar USE_GITHUB= yes GH_ACCOUNT= ninenines ERL_BUILD_DEPS= www/erlang-cowlib ERL_RUN_DEPS= www/erlang-cowlib \ net/erlang-ranch post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR} .include Index: head/www/erlang-cowboy/distinfo =================================================================== --- head/www/erlang-cowboy/distinfo (revision 435132) +++ head/www/erlang-cowboy/distinfo (revision 435133) @@ -1,2 +1,3 @@ -SHA256 (ninenines-cowboy-1.0.4_GH0.tar.gz) = 86dedf20ccb91fcba51b0e8d859108ef46b2738694e20aa9d7fa7229ec4f7284 -SIZE (ninenines-cowboy-1.0.4_GH0.tar.gz) = 4827845 +TIMESTAMP = 1488210406 +SHA256 (ninenines-cowboy-1.1.2_GH0.tar.gz) = d607498fc9e00d8026cc1a410f7f148c3fbef56601bf7213a2fc29ac66eea5a9 +SIZE (ninenines-cowboy-1.1.2_GH0.tar.gz) = 4837721 Index: head/www/erlang-cowboy/files/patch-rebar.config =================================================================== --- head/www/erlang-cowboy/files/patch-rebar.config (revision 435132) +++ head/www/erlang-cowboy/files/patch-rebar.config (revision 435133) @@ -1,7 +1,5 @@ ---- rebar.config.orig 2015-08-18 14:42:22 UTC +--- rebar.config.orig 2017-02-27 16:58:59 UTC +++ rebar.config -@@ -1,4 +1,2 @@ - {deps, [ -- {cowlib, ".*", {git, "https://github.com/ninenines/cowlib.git", "1.0.0"}}, -- {ranch, ".*", {git, "https://github.com/ninenines/ranch.git", "1.0.0"}} - ]}. +@@ -1,2 +1 @@ +-{deps, [{cowlib,".*",{git,"https://github.com/ninenines/cowlib","1.0.2"}},{ranch,".*",{git,"https://github.com/ninenines/ranch","1.3.2"}}]}. + {erl_opts, [debug_info,warn_export_all,warn_export_vars,warn_shadow_vars,warn_obsolete_guard,warn_missing_spec]}. Index: head/www/erlang-cowboy/pkg-plist =================================================================== --- head/www/erlang-cowboy/pkg-plist (revision 435132) +++ head/www/erlang-cowboy/pkg-plist (revision 435133) @@ -1,190 +1,192 @@ +lib/erlang/lib/cowboy-%%VERSION%%/ebin/cow_uri.beam lib/erlang/lib/cowboy-%%VERSION%%/ebin/cowboy.app lib/erlang/lib/cowboy-%%VERSION%%/ebin/cowboy.beam lib/erlang/lib/cowboy-%%VERSION%%/ebin/cowboy_app.beam lib/erlang/lib/cowboy-%%VERSION%%/ebin/cowboy_bstr.beam lib/erlang/lib/cowboy-%%VERSION%%/ebin/cowboy_clock.beam lib/erlang/lib/cowboy-%%VERSION%%/ebin/cowboy_handler.beam lib/erlang/lib/cowboy-%%VERSION%%/ebin/cowboy_http.beam lib/erlang/lib/cowboy-%%VERSION%%/ebin/cowboy_http_handler.beam lib/erlang/lib/cowboy-%%VERSION%%/ebin/cowboy_loop_handler.beam lib/erlang/lib/cowboy-%%VERSION%%/ebin/cowboy_middleware.beam lib/erlang/lib/cowboy-%%VERSION%%/ebin/cowboy_protocol.beam lib/erlang/lib/cowboy-%%VERSION%%/ebin/cowboy_req.beam lib/erlang/lib/cowboy-%%VERSION%%/ebin/cowboy_rest.beam lib/erlang/lib/cowboy-%%VERSION%%/ebin/cowboy_router.beam lib/erlang/lib/cowboy-%%VERSION%%/ebin/cowboy_spdy.beam lib/erlang/lib/cowboy-%%VERSION%%/ebin/cowboy_static.beam lib/erlang/lib/cowboy-%%VERSION%%/ebin/cowboy_sub_protocol.beam lib/erlang/lib/cowboy-%%VERSION%%/ebin/cowboy_sup.beam lib/erlang/lib/cowboy-%%VERSION%%/ebin/cowboy_websocket.beam lib/erlang/lib/cowboy-%%VERSION%%/ebin/cowboy_websocket_handler.beam +lib/erlang/lib/cowboy-%%VERSION%%/src/cow_uri.erl lib/erlang/lib/cowboy-%%VERSION%%/src/cowboy.app.src lib/erlang/lib/cowboy-%%VERSION%%/src/cowboy.erl lib/erlang/lib/cowboy-%%VERSION%%/src/cowboy_app.erl lib/erlang/lib/cowboy-%%VERSION%%/src/cowboy_bstr.erl lib/erlang/lib/cowboy-%%VERSION%%/src/cowboy_clock.erl lib/erlang/lib/cowboy-%%VERSION%%/src/cowboy_handler.erl lib/erlang/lib/cowboy-%%VERSION%%/src/cowboy_http.erl lib/erlang/lib/cowboy-%%VERSION%%/src/cowboy_http_handler.erl lib/erlang/lib/cowboy-%%VERSION%%/src/cowboy_loop_handler.erl lib/erlang/lib/cowboy-%%VERSION%%/src/cowboy_middleware.erl lib/erlang/lib/cowboy-%%VERSION%%/src/cowboy_protocol.erl lib/erlang/lib/cowboy-%%VERSION%%/src/cowboy_req.erl lib/erlang/lib/cowboy-%%VERSION%%/src/cowboy_rest.erl lib/erlang/lib/cowboy-%%VERSION%%/src/cowboy_router.erl lib/erlang/lib/cowboy-%%VERSION%%/src/cowboy_spdy.erl lib/erlang/lib/cowboy-%%VERSION%%/src/cowboy_static.erl lib/erlang/lib/cowboy-%%VERSION%%/src/cowboy_sub_protocol.erl lib/erlang/lib/cowboy-%%VERSION%%/src/cowboy_sup.erl lib/erlang/lib/cowboy-%%VERSION%%/src/cowboy_websocket.erl lib/erlang/lib/cowboy-%%VERSION%%/src/cowboy_websocket_handler.erl %%PORTDOCS%%%%DOCSDIR%%/README.md %%PORTEXAMPLES%%%%EXAMPLESDIR%%/README.md %%PORTEXAMPLES%%%%EXAMPLESDIR%%/chunked_hello_world/Makefile %%PORTEXAMPLES%%%%EXAMPLESDIR%%/chunked_hello_world/README.md %%PORTEXAMPLES%%%%EXAMPLESDIR%%/chunked_hello_world/relx.config %%PORTEXAMPLES%%%%EXAMPLESDIR%%/chunked_hello_world/src/chunked_hello_world.app.src %%PORTEXAMPLES%%%%EXAMPLESDIR%%/chunked_hello_world/src/chunked_hello_world_app.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/chunked_hello_world/src/chunked_hello_world_sup.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/chunked_hello_world/src/toppage_handler.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/compress_response/Makefile %%PORTEXAMPLES%%%%EXAMPLESDIR%%/compress_response/README.md %%PORTEXAMPLES%%%%EXAMPLESDIR%%/compress_response/relx.config %%PORTEXAMPLES%%%%EXAMPLESDIR%%/compress_response/src/compress_response.app.src %%PORTEXAMPLES%%%%EXAMPLESDIR%%/compress_response/src/compress_response_app.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/compress_response/src/compress_response_sup.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/compress_response/src/toppage_handler.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/cookie/Makefile %%PORTEXAMPLES%%%%EXAMPLESDIR%%/cookie/README.md %%PORTEXAMPLES%%%%EXAMPLESDIR%%/cookie/relx.config %%PORTEXAMPLES%%%%EXAMPLESDIR%%/cookie/src/cookie.app.src %%PORTEXAMPLES%%%%EXAMPLESDIR%%/cookie/src/cookie_app.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/cookie/src/cookie_sup.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/cookie/src/toppage_handler.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/cookie/templates/toppage.dtl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/echo_get/Makefile %%PORTEXAMPLES%%%%EXAMPLESDIR%%/echo_get/README.md %%PORTEXAMPLES%%%%EXAMPLESDIR%%/echo_get/relx.config %%PORTEXAMPLES%%%%EXAMPLESDIR%%/echo_get/src/echo_get.app.src %%PORTEXAMPLES%%%%EXAMPLESDIR%%/echo_get/src/echo_get_app.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/echo_get/src/echo_get_sup.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/echo_get/src/toppage_handler.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/echo_post/Makefile %%PORTEXAMPLES%%%%EXAMPLESDIR%%/echo_post/README.md %%PORTEXAMPLES%%%%EXAMPLESDIR%%/echo_post/relx.config %%PORTEXAMPLES%%%%EXAMPLESDIR%%/echo_post/src/echo_post.app.src %%PORTEXAMPLES%%%%EXAMPLESDIR%%/echo_post/src/echo_post_app.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/echo_post/src/echo_post_sup.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/echo_post/src/toppage_handler.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/error_hook/Makefile %%PORTEXAMPLES%%%%EXAMPLESDIR%%/error_hook/README.md %%PORTEXAMPLES%%%%EXAMPLESDIR%%/error_hook/relx.config %%PORTEXAMPLES%%%%EXAMPLESDIR%%/error_hook/src/error_hook.app.src %%PORTEXAMPLES%%%%EXAMPLESDIR%%/error_hook/src/error_hook_app.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/error_hook/src/error_hook_sup.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/eventsource/Makefile %%PORTEXAMPLES%%%%EXAMPLESDIR%%/eventsource/README.md %%PORTEXAMPLES%%%%EXAMPLESDIR%%/eventsource/priv/index.html %%PORTEXAMPLES%%%%EXAMPLESDIR%%/eventsource/relx.config %%PORTEXAMPLES%%%%EXAMPLESDIR%%/eventsource/src/eventsource.app.src %%PORTEXAMPLES%%%%EXAMPLESDIR%%/eventsource/src/eventsource_app.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/eventsource/src/eventsource_handler.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/eventsource/src/eventsource_sup.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/hello_world/Makefile %%PORTEXAMPLES%%%%EXAMPLESDIR%%/hello_world/README.md %%PORTEXAMPLES%%%%EXAMPLESDIR%%/hello_world/relx.config %%PORTEXAMPLES%%%%EXAMPLESDIR%%/hello_world/src/hello_world.app.src %%PORTEXAMPLES%%%%EXAMPLESDIR%%/hello_world/src/hello_world_app.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/hello_world/src/hello_world_sup.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/hello_world/src/toppage_handler.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/markdown_middleware/Makefile %%PORTEXAMPLES%%%%EXAMPLESDIR%%/markdown_middleware/README.md %%PORTEXAMPLES%%%%EXAMPLESDIR%%/markdown_middleware/priv/small.mp4 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/markdown_middleware/priv/small.ogv %%PORTEXAMPLES%%%%EXAMPLESDIR%%/markdown_middleware/priv/video.md %%PORTEXAMPLES%%%%EXAMPLESDIR%%/markdown_middleware/relx.config %%PORTEXAMPLES%%%%EXAMPLESDIR%%/markdown_middleware/src/erlmarkdown.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/markdown_middleware/src/markdown_converter.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/markdown_middleware/src/markdown_middleware.app.src %%PORTEXAMPLES%%%%EXAMPLESDIR%%/markdown_middleware/src/markdown_middleware_app.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/markdown_middleware/src/markdown_middleware_sup.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rest_basic_auth/Makefile %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rest_basic_auth/README.md %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rest_basic_auth/relx.config %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rest_basic_auth/src/rest_basic_auth.app.src %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rest_basic_auth/src/rest_basic_auth_app.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rest_basic_auth/src/rest_basic_auth_sup.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rest_basic_auth/src/toppage_handler.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rest_hello_world/Makefile %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rest_hello_world/README.md %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rest_hello_world/relx.config %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rest_hello_world/src/rest_hello_world.app.src %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rest_hello_world/src/rest_hello_world_app.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rest_hello_world/src/rest_hello_world_sup.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rest_hello_world/src/toppage_handler.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rest_pastebin/Makefile %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rest_pastebin/README.md %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rest_pastebin/priv/index.html %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rest_pastebin/priv/index.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rest_pastebin/relx.config %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rest_pastebin/src/rest_pastebin.app.src %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rest_pastebin/src/rest_pastebin_app.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rest_pastebin/src/rest_pastebin_sup.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rest_pastebin/src/toppage_handler.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rest_stream_response/Makefile %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rest_stream_response/README.md %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rest_stream_response/relx.config %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rest_stream_response/src/rest_stream_response.app.src %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rest_stream_response/src/rest_stream_response_app.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rest_stream_response/src/rest_stream_response_sup.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/rest_stream_response/src/toppage_handler.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/ssl_hello_world/Makefile %%PORTEXAMPLES%%%%EXAMPLESDIR%%/ssl_hello_world/README.md %%PORTEXAMPLES%%%%EXAMPLESDIR%%/ssl_hello_world/priv/ssl/cowboy-ca.crt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/ssl_hello_world/priv/ssl/server.crt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/ssl_hello_world/priv/ssl/server.key %%PORTEXAMPLES%%%%EXAMPLESDIR%%/ssl_hello_world/relx.config %%PORTEXAMPLES%%%%EXAMPLESDIR%%/ssl_hello_world/src/ssl_hello_world.app.src %%PORTEXAMPLES%%%%EXAMPLESDIR%%/ssl_hello_world/src/ssl_hello_world_app.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/ssl_hello_world/src/ssl_hello_world_sup.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/ssl_hello_world/src/toppage_handler.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/static_world/Makefile %%PORTEXAMPLES%%%%EXAMPLESDIR%%/static_world/README.md %%PORTEXAMPLES%%%%EXAMPLESDIR%%/static_world/priv/index.html %%PORTEXAMPLES%%%%EXAMPLESDIR%%/static_world/priv/small.mp4 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/static_world/priv/small.ogv %%PORTEXAMPLES%%%%EXAMPLESDIR%%/static_world/priv/test.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/static_world/priv/video.html %%PORTEXAMPLES%%%%EXAMPLESDIR%%/static_world/relx.config %%PORTEXAMPLES%%%%EXAMPLESDIR%%/static_world/src/static_world.app.src %%PORTEXAMPLES%%%%EXAMPLESDIR%%/static_world/src/static_world_app.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/static_world/src/static_world_sup.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/upload/Makefile %%PORTEXAMPLES%%%%EXAMPLESDIR%%/upload/README.md %%PORTEXAMPLES%%%%EXAMPLESDIR%%/upload/priv/index.html %%PORTEXAMPLES%%%%EXAMPLESDIR%%/upload/relx.config %%PORTEXAMPLES%%%%EXAMPLESDIR%%/upload/src/upload.app.src %%PORTEXAMPLES%%%%EXAMPLESDIR%%/upload/src/upload_app.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/upload/src/upload_handler.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/upload/src/upload_sup.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/web_server/Makefile %%PORTEXAMPLES%%%%EXAMPLESDIR%%/web_server/README.md %%PORTEXAMPLES%%%%EXAMPLESDIR%%/web_server/priv/small.mp4 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/web_server/priv/small.ogv %%PORTEXAMPLES%%%%EXAMPLESDIR%%/web_server/priv/test.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/web_server/priv/video.html %%PORTEXAMPLES%%%%EXAMPLESDIR%%/web_server/relx.config %%PORTEXAMPLES%%%%EXAMPLESDIR%%/web_server/src/directory_handler.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/web_server/src/directory_lister.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/web_server/src/web_server.app.src %%PORTEXAMPLES%%%%EXAMPLESDIR%%/web_server/src/web_server_app.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/web_server/src/web_server_sup.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/websocket/Makefile %%PORTEXAMPLES%%%%EXAMPLESDIR%%/websocket/README.md %%PORTEXAMPLES%%%%EXAMPLESDIR%%/websocket/priv/index.html %%PORTEXAMPLES%%%%EXAMPLESDIR%%/websocket/priv/static/jquery.min.js %%PORTEXAMPLES%%%%EXAMPLESDIR%%/websocket/relx.config %%PORTEXAMPLES%%%%EXAMPLESDIR%%/websocket/src/websocket.app.src %%PORTEXAMPLES%%%%EXAMPLESDIR%%/websocket/src/websocket_app.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/websocket/src/websocket_sup.erl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/websocket/src/ws_handler.erl