Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Oct 2015 14:01:59 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r400245 - in head/www/erlang-hackney: . files
Message-ID:  <201510271401.t9RE1xKU016731@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Tue Oct 27 14:01:59 2015
New Revision: 400245
URL: https://svnweb.freebsd.org/changeset/ports/400245

Log:
  Upgrade www/erlang-hackney to version 1.4.0.

Added:
  head/www/erlang-hackney/files/patch-rebar.config.script   (contents, props changed)
Modified:
  head/www/erlang-hackney/Makefile
  head/www/erlang-hackney/distinfo
  head/www/erlang-hackney/files/patch-rebar.config
  head/www/erlang-hackney/pkg-plist

Modified: head/www/erlang-hackney/Makefile
==============================================================================
--- head/www/erlang-hackney/Makefile	Tue Oct 27 13:57:39 2015	(r400244)
+++ head/www/erlang-hackney/Makefile	Tue Oct 27 14:01:59 2015	(r400245)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	hackney
-PORTVERSION=	1.3.2
+PORTVERSION=	1.4.0
 CATEGORIES=	www
 PKGNAMEPREFIX=	erlang-
 
@@ -15,12 +15,14 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	benoitc
 
 ERL_BUILD_DEPS=	dns/erlang-idna \
-		devel/erlang-ssl_verify_hostname
+		devel/erlang-certifi \
+		devel/erlang-ssl_verify_hostname \
+		misc/erlang-mimerl
 ERL_RUN_DEPS:=	${ERL_BUILD_DEPS}
 
 pre-build:
 	@${MKDIR} ${WRKSRC}/_build/default/lib
-.for lib in idna ssl_verify_hostname
+.for lib in idna certifi mimerl ssl_verify_hostname
 	@${LN} -s ${PREFIX}/lib/erlang/lib/${lib}-* ${WRKSRC}/_build/default/lib/${lib}
 .endfor
 

Modified: head/www/erlang-hackney/distinfo
==============================================================================
--- head/www/erlang-hackney/distinfo	Tue Oct 27 13:57:39 2015	(r400244)
+++ head/www/erlang-hackney/distinfo	Tue Oct 27 14:01:59 2015	(r400245)
@@ -1,2 +1,2 @@
-SHA256 (benoitc-hackney-1.3.2_GH0.tar.gz) = 8d82635bc3a5eb210da1a8d39310f0721dd1ed508863c29c9c212d2730885c75
-SIZE (benoitc-hackney-1.3.2_GH0.tar.gz) = 936061
+SHA256 (benoitc-hackney-1.4.0_GH0.tar.gz) = 2ae4c150bf9ac5c2e35e821eb262794d2bc6323b858955fee67b046a44e96977
+SIZE (benoitc-hackney-1.4.0_GH0.tar.gz) = 630423

Modified: head/www/erlang-hackney/files/patch-rebar.config
==============================================================================
--- head/www/erlang-hackney/files/patch-rebar.config	Tue Oct 27 13:57:39 2015	(r400244)
+++ head/www/erlang-hackney/files/patch-rebar.config	Tue Oct 27 14:01:59 2015	(r400245)
@@ -1,16 +1,16 @@
---- rebar.config.orig	2015-07-01 08:02:39 UTC
+--- rebar.config.orig	2015-10-27 10:09:05 UTC
 +++ rebar.config
-@@ -15,13 +15,6 @@
- {post_hooks, [{clean, "rm -rf *~ */*~ */*.xfm test/*.beam"}]}.
+@@ -16,13 +16,6 @@
  
- {deps, [
--       {idna, ".*",
--        {git, "https://github.com/benoitc/erlang-idna",
--         {tag, "1.0.2"}}},
--
--       {ssl_verify_hostname, ".*",
--        {git, "https://github.com/deadtrickster/ssl_verify_hostname.erl",
--         {tag, "1.0.5"}}}
- ]}.
+ {plugins, [rebar3_hex]}.
  
+-{deps, [
+-        {idna, "1.0.2"},
+-        {mimerl, "1.0.0"},
+-        {certifi, "0.1.1"},
+-        {ssl_verify_hostname, "1.0.5"}
+- ]}.
+-
  %% Not yet supported in rebar3
+ %% {require_otp_vsn, "R14|R15|R16|17|18"}.
+ 

Added: head/www/erlang-hackney/files/patch-rebar.config.script
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/erlang-hackney/files/patch-rebar.config.script	Tue Oct 27 14:01:59 2015	(r400245)
@@ -0,0 +1,11 @@
+--- rebar.config.script.orig	2015-10-27 13:33:15 UTC
++++ rebar.config.script
+@@ -1,7 +1,4 @@
+-{ok, VSN} = application:get_key(rebar, vsn),
+-[VSN1 | _] = string:tokens(VSN, "-"),
+-[Maj, Min, Patch] = string:tokens(VSN1, "."),
+-IsRebar3 = (list_to_integer(Maj) >= 3),
++IsRebar3 = true.
+ 
+ 
+ Rebar2Deps = [

Modified: head/www/erlang-hackney/pkg-plist
==============================================================================
--- head/www/erlang-hackney/pkg-plist	Tue Oct 27 13:57:39 2015	(r400244)
+++ head/www/erlang-hackney/pkg-plist	Tue Oct 27 14:01:59 2015	(r400245)
@@ -2,20 +2,16 @@ lib/erlang/lib/hackney-%%VERSION%%/ebin/
 lib/erlang/lib/hackney-%%VERSION%%/ebin/hackney.beam
 lib/erlang/lib/hackney-%%VERSION%%/ebin/hackney_app.beam
 lib/erlang/lib/hackney-%%VERSION%%/ebin/hackney_bstr.beam
-lib/erlang/lib/hackney-%%VERSION%%/ebin/hackney_cacerts.beam
 lib/erlang/lib/hackney-%%VERSION%%/ebin/hackney_connect.beam
 lib/erlang/lib/hackney-%%VERSION%%/ebin/hackney_cookie.beam
 lib/erlang/lib/hackney-%%VERSION%%/ebin/hackney_date.beam
-lib/erlang/lib/hackney-%%VERSION%%/ebin/hackney_deps.beam
 lib/erlang/lib/hackney-%%VERSION%%/ebin/hackney_dummy_metrics.beam
 lib/erlang/lib/hackney-%%VERSION%%/ebin/hackney_exometer_metrics.beam
 lib/erlang/lib/hackney-%%VERSION%%/ebin/hackney_folsom_metrics.beam
 lib/erlang/lib/hackney-%%VERSION%%/ebin/hackney_headers.beam
 lib/erlang/lib/hackney-%%VERSION%%/ebin/hackney_http.beam
 lib/erlang/lib/hackney-%%VERSION%%/ebin/hackney_http_connect.beam
-lib/erlang/lib/hackney-%%VERSION%%/ebin/hackney_idna.beam
 lib/erlang/lib/hackney-%%VERSION%%/ebin/hackney_manager.beam
-lib/erlang/lib/hackney-%%VERSION%%/ebin/hackney_mimetypes.beam
 lib/erlang/lib/hackney-%%VERSION%%/ebin/hackney_multipart.beam
 lib/erlang/lib/hackney-%%VERSION%%/ebin/hackney_pool.beam
 lib/erlang/lib/hackney-%%VERSION%%/ebin/hackney_pool_handler.beam
@@ -31,40 +27,33 @@ lib/erlang/lib/hackney-%%VERSION%%/ebin/
 lib/erlang/lib/hackney-%%VERSION%%/ebin/hackney_util.beam
 lib/erlang/lib/hackney-%%VERSION%%/include/hackney.hrl
 lib/erlang/lib/hackney-%%VERSION%%/include/hackney_lib.hrl
-lib/erlang/lib/hackney-%%VERSION%%/priv/ca-bundle.crt
 lib/erlang/lib/hackney-%%VERSION%%/src/hackney.app.src
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_app/hackney_app.erl
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_app/hackney_deps.erl
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_app/hackney_internal.hrl
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_app/hackney_sup.erl
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_app/hackney_trace.erl
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_client/hackney.erl
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_client/hackney_dummy_metrics.erl
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_client/hackney_exometer_metrics.erl
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_client/hackney_folsom_metrics.erl
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_client/hackney_idna.erl
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_client/hackney_manager.erl
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_client/hackney_methods.hrl
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_client/hackney_request.erl
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_client/hackney_response.erl
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_client/hackney_stream.erl
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_client/hackney_util.erl
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_connect/hackney_cacerts.erl
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_connect/hackney_cacerts.erl.src
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_connect/hackney_connect.erl
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_connect/hackney_http_connect.erl
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_connect/hackney_pool.erl
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_connect/hackney_pool_handler.erl
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_connect/hackney_socks5.erl
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_connect/hackney_ssl_transport.erl
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_connect/hackney_tcp_transport.erl
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_lib/hackney_bstr.erl
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_lib/hackney_cookie.erl
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_lib/hackney_date.erl
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_lib/hackney_headers.erl
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_lib/hackney_http.erl
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_lib/hackney_mimetypes.erl
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_lib/hackney_mimetypes.erl.src
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_lib/hackney_multipart.erl
-lib/erlang/lib/hackney-%%VERSION%%/src/hackney_lib/hackney_url.erl
+lib/erlang/lib/hackney-%%VERSION%%/src/hackney.erl
+lib/erlang/lib/hackney-%%VERSION%%/src/hackney_app.erl
+lib/erlang/lib/hackney-%%VERSION%%/src/hackney_internal.hrl
+lib/erlang/lib/hackney-%%VERSION%%/src/hackney_manager.erl
+lib/erlang/lib/hackney-%%VERSION%%/src/hackney_methods.hrl
+lib/erlang/lib/hackney-%%VERSION%%/src/hackney_stream.erl
+lib/erlang/lib/hackney-%%VERSION%%/src/hackney_sup.erl
+lib/erlang/lib/hackney-%%VERSION%%/src/hackney_trace.erl
+lib/erlang/lib/hackney-%%VERSION%%/src/hackney_util.erl
+lib/erlang/lib/hackney-%%VERSION%%/src/http/hackney_bstr.erl
+lib/erlang/lib/hackney-%%VERSION%%/src/http/hackney_cookie.erl
+lib/erlang/lib/hackney-%%VERSION%%/src/http/hackney_date.erl
+lib/erlang/lib/hackney-%%VERSION%%/src/http/hackney_headers.erl
+lib/erlang/lib/hackney-%%VERSION%%/src/http/hackney_http.erl
+lib/erlang/lib/hackney-%%VERSION%%/src/http/hackney_multipart.erl
+lib/erlang/lib/hackney-%%VERSION%%/src/http/hackney_request.erl
+lib/erlang/lib/hackney-%%VERSION%%/src/http/hackney_response.erl
+lib/erlang/lib/hackney-%%VERSION%%/src/http/hackney_url.erl
+lib/erlang/lib/hackney-%%VERSION%%/src/metrics/hackney_dummy_metrics.erl
+lib/erlang/lib/hackney-%%VERSION%%/src/metrics/hackney_exometer_metrics.erl
+lib/erlang/lib/hackney-%%VERSION%%/src/metrics/hackney_folsom_metrics.erl
+lib/erlang/lib/hackney-%%VERSION%%/src/socket/hackney_connect.erl
+lib/erlang/lib/hackney-%%VERSION%%/src/socket/hackney_http_connect.erl
+lib/erlang/lib/hackney-%%VERSION%%/src/socket/hackney_pool.erl
+lib/erlang/lib/hackney-%%VERSION%%/src/socket/hackney_pool_handler.erl
+lib/erlang/lib/hackney-%%VERSION%%/src/socket/hackney_socks5.erl
+lib/erlang/lib/hackney-%%VERSION%%/src/socket/hackney_ssl_transport.erl
+lib/erlang/lib/hackney-%%VERSION%%/src/socket/hackney_tcp_transport.erl
 %%PORTDOCS%%%%DOCSDIR%%/README.md



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510271401.t9RE1xKU016731>