From 7b7c8c2ea691474694260d77a3458d5c5c16243d Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 9 Jul 2024 16:27:28 +0200 Subject: [PATCH] Provide Hex package versions that ejabberd 24.xx can download from hex.pm --- ejabberd_auth_http/rebar.config | 2 +- ejabberd_observer_cli/rebar.config | 2 +- mod_ecaptcha/rebar.config | 5 +++++ mod_prometheus/rebar.config | 4 ++-- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ejabberd_auth_http/rebar.config b/ejabberd_auth_http/rebar.config index 33275cea..1cccad12 100644 --- a/ejabberd_auth_http/rebar.config +++ b/ejabberd_auth_http/rebar.config @@ -1,4 +1,4 @@ {deps, [ {cuesport, ".*", {git, "https://github.com/goj/cuesport"}}, - {fusco, ".*", {git, "https://github.com/esl/fusco"}} + {fusco, "0.1.1", {git, "https://github.com/esl/fusco"}} ]}. diff --git a/ejabberd_observer_cli/rebar.config b/ejabberd_observer_cli/rebar.config index d2bc5c52..bc2caf1e 100644 --- a/ejabberd_observer_cli/rebar.config +++ b/ejabberd_observer_cli/rebar.config @@ -1,5 +1,5 @@ {deps, [ {observer_cli, ".*", {git, "https://github.com/zhongwencool/observer_cli"}}, {os_stats, ".*", {git, "https://github.com/zhongwencool/os_stats"}}, - {recon, ".*", {git, "https://github.com/ferd/recon"}} + {recon, "2.5.5", {git, "https://github.com/ferd/recon"}} ]}. diff --git a/mod_ecaptcha/rebar.config b/mod_ecaptcha/rebar.config index 12252a8b..c702da27 100644 --- a/mod_ecaptcha/rebar.config +++ b/mod_ecaptcha/rebar.config @@ -1,3 +1,8 @@ + +% There's a bug in ecaptcha 0.2.0 that breaks compilation with +% Erlang/OTP 26, and 0.2.0 is the latest version published in hex right now. +% Consequently, let's use the latest ecaptcha from git repository. + {deps, [ {ecaptcha, ".*", {git, "https://github.com/seriyps/ecaptcha", {branch, "master"}}} ]}. diff --git a/mod_prometheus/rebar.config b/mod_prometheus/rebar.config index f5b4c0e3..862ade81 100644 --- a/mod_prometheus/rebar.config +++ b/mod_prometheus/rebar.config @@ -1,4 +1,4 @@ {deps, [ - {quantile_estimator, ".*", {git, "https://github.com/deadtrickster/quantile_estimator", {branch, "master"}}}, - {prometheus, ".*", {git, "https://github.com/deadtrickster/prometheus.erl", {branch, "master"}}} + {quantile_estimator, "0.2.1", {git, "https://github.com/deadtrickster/quantile_estimator", {branch, "master"}}}, + {prometheus, "1.44.0", {git, "https://github.com/deadtrickster/prometheus.erl", {branch, "master"}}} ]}.