aboutsummaryrefslogtreecommitdiff
path: root/www/erlang-hackney
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2015-11-04 15:33:41 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2015-11-04 15:33:41 +0000
commit9e75abc8ea696fe4beb9c926ca68845a654c3213 (patch)
treeeb2a43a939d3e7c6478e03f2633e8585ae9e94ef /www/erlang-hackney
parent8507b4878001c8632f21d98c3df18c20cb6add64 (diff)
downloadports-9e75abc8ea696fe4beb9c926ca68845a654c3213.tar.gz
ports-9e75abc8ea696fe4beb9c926ca68845a654c3213.zip
Notes
Diffstat (limited to 'www/erlang-hackney')
-rw-r--r--www/erlang-hackney/Makefile2
-rw-r--r--www/erlang-hackney/distinfo4
-rw-r--r--www/erlang-hackney/files/patch-rebar.config14
-rw-r--r--www/erlang-hackney/files/patch-rebar.config.script16
4 files changed, 17 insertions, 19 deletions
diff --git a/www/erlang-hackney/Makefile b/www/erlang-hackney/Makefile
index 08c0da891edd..b896779c3c39 100644
--- a/www/erlang-hackney/Makefile
+++ b/www/erlang-hackney/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= hackney
-PORTVERSION= 1.4.1
+PORTVERSION= 1.4.4
CATEGORIES= www
PKGNAMEPREFIX= erlang-
diff --git a/www/erlang-hackney/distinfo b/www/erlang-hackney/distinfo
index 5c7dc6507fe3..c0f638f4b216 100644
--- a/www/erlang-hackney/distinfo
+++ b/www/erlang-hackney/distinfo
@@ -1,2 +1,2 @@
-SHA256 (benoitc-hackney-1.4.1_GH0.tar.gz) = fdbbad483cb4754b0e7e5739b20d512f2bff019d009cb168f0110f44950599f1
-SIZE (benoitc-hackney-1.4.1_GH0.tar.gz) = 834457
+SHA256 (benoitc-hackney-1.4.4_GH0.tar.gz) = 444470f99e47f81adb4df0325664e4b6ffc44bd184528a70b077b9bc7452be94
+SIZE (benoitc-hackney-1.4.4_GH0.tar.gz) = 834425
diff --git a/www/erlang-hackney/files/patch-rebar.config b/www/erlang-hackney/files/patch-rebar.config
index 5af24ddde033..6acd1c29c773 100644
--- a/www/erlang-hackney/files/patch-rebar.config
+++ b/www/erlang-hackney/files/patch-rebar.config
@@ -1,16 +1,16 @@
---- rebar.config.orig 2015-10-27 10:09:05 UTC
+--- rebar.config.orig 2015-11-04 09:48:27 UTC
+++ rebar.config
-@@ -16,13 +16,6 @@
+@@ -13,13 +13,6 @@
- {plugins, [rebar3_hex]}.
+ {post_hooks, [{clean, "rm -rf *~ */*~ */*.xfm test/*.beam"}]}.
-{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"}.
-
+ {profiles, [{docs, [{deps,
+ [
+ {edown,
diff --git a/www/erlang-hackney/files/patch-rebar.config.script b/www/erlang-hackney/files/patch-rebar.config.script
index 556b66eb1c78..526fae74f126 100644
--- a/www/erlang-hackney/files/patch-rebar.config.script
+++ b/www/erlang-hackney/files/patch-rebar.config.script
@@ -1,17 +1,15 @@
---- rebar.config.script.orig 2015-11-03 08:42:20 UTC
+--- rebar.config.script.orig 2015-11-04 10:56:56 UTC
+++ rebar.config.script
-@@ -1,13 +1,4 @@
--IsRebar3 = case application:get_env(rebar, vsn) of
-- {ok, VSN} ->
+@@ -1,11 +1,4 @@
+-IsRebar3 = case application:get_key(rebar, vsn) of
+- {ok, VSN} ->
- [VSN1 | _] = string:tokens(VSN, "-"),
- [Maj, Min, Patch] = string:tokens(VSN1, "."),
- (list_to_integer(Maj) >= 3);
- undefined ->
-- %% is mix is used
- lists:keymember(mix, 1, application:loaded_applications())
-- end,
--
+- end,
+IsRebar3 = true,
- Rebar2Deps = [
- {idna, ".*",
+ Rebar2Deps = [{idna, ".*",
+ {git, "https://github.com/benoitc/erlang-idna",