lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

mobilizon: 4.0.0 -> 4.0.2

authored by

Kerstin Humm and committed by
Yt
a81c0c88 c68839c5

+21 -30
-16
pkgs/servers/mobilizon/cacerts_get.patch
··· 1 - diff --git a/config/config.exs b/config/config.exs 2 - index d75b2e10a..d46ebffd2 100644 3 - --- a/config/config.exs 4 - +++ b/config/config.exs 5 - @@ -128,7 +128,9 @@ config :mobilizon, Mobilizon.Web.Email.Mailer, 6 - tls_options: [ 7 - verify: :verify_peer, 8 - versions: [:"tlsv1.2", :"tlsv1.3"], 9 - - cacerts: :public_key.cacerts_get(), 10 - + cacerts: if System.get_env("SSL_CERT_FILE") != nil and :public_key.cacerts_load(System.get_env("SSL_CERT_FILE")) == :ok do 11 - + :public_key.cacerts_get() 12 - + end, 13 - server_name_indication: ~c"localhost", 14 - depth: 99 15 - ], 16 -
+8 -14
pkgs/servers/mobilizon/common.nix
··· 1 - { fetchFromGitLab, applyPatches }: rec { 1 + { fetchFromGitLab }: rec { 2 2 3 3 pname = "mobilizon"; 4 - version = "4.0.0"; 4 + version = "4.0.2"; 5 5 6 - src = applyPatches { 7 - src = fetchFromGitLab { 8 - domain = "framagit.org"; 9 - owner = "framasoft"; 10 - repo = pname; 11 - rev = version; 12 - sha256 = "sha256-PslcIS+HjGTx8UYhb7BG2OgLXfIWHDouuiogA/rq/7M="; 13 - }; 14 - patches = [ 15 - # See https://framagit.org/framasoft/mobilizon/-/merge_requests/1452 16 - ./cacerts_get.patch 17 - ]; 6 + src = fetchFromGitLab { 7 + domain = "framagit.org"; 8 + owner = "framasoft"; 9 + repo = pname; 10 + rev = version; 11 + sha256 = "sha256-Ri1qCiQaKlSTSSGWHzFqYBCoTEMtOtwe0Kli466dv4M="; 18 12 }; 19 13 }
+13
pkgs/servers/mobilizon/mix.nix
··· 1789 1789 beamDeps = [ combine gettext tzdata ]; 1790 1790 }; 1791 1791 1792 + tls_certificate_check = buildRebar3 rec { 1793 + name = "tls_certificate_check"; 1794 + version = "1.20.0"; 1795 + 1796 + src = fetchHex { 1797 + pkg = "tls_certificate_check"; 1798 + version = "${version}"; 1799 + sha256 = "ab57b74b1a63dc5775650699a3ec032ec0065005eff1f020818742b7312a8426"; 1800 + }; 1801 + 1802 + beamDeps = [ ssl_verify_fun ]; 1803 + }; 1804 + 1792 1805 tz_world = buildMix rec { 1793 1806 name = "tz_world"; 1794 1807 version = "1.3.1";