pleroma: 2.5.1 -> 2.5.2

Security update, fixes a critical bug in the media proxy.

The crypt dependency was removed, dropping the libxcrypt-legacy
workaround \0/.

Full changelog there:
https://git.pleroma.social/pleroma/pleroma/-/releases/v2.5.2
This commit is contained in:
Félix Baylac Jacqué 2023-05-29 09:42:26 +02:00
parent a268f6ff1c
commit e0688e7fd0
2 changed files with 2 additions and 22 deletions

View file

@ -8,14 +8,14 @@
beamPackages.mixRelease rec {
pname = "pleroma";
version = "2.5.1";
version = "2.5.2";
src = fetchFromGitLab {
domain = "git.pleroma.social";
owner = "pleroma";
repo = "pleroma";
rev = "v${version}";
sha256 = "sha256-3iG2s7jVEnhq1kLLgtaHnFmLYBO2Xr5M5jjZfSNA9z4=";
sha256 = "sha256-5qxop/hJj1hIsEcK6vJnI2RnAcLf3tO43B0e0FcNZcA=";
};
mixNixDeps = import ./mix.nix {
@ -160,13 +160,6 @@ beamPackages.mixRelease rec {
cp ${cfgFile} config/config.exs
'';
};
crypt = let
version = prev.crypt.version;
in prev.crypt.override {
buildInputs = [ libxcrypt-legacy ];
postInstall = "mv $out/lib/erlang/lib/crypt-${version}/priv/{hex-source-crypt-${version},crypt}.so";
};
});
};

View file

@ -281,19 +281,6 @@ let
beamDeps = [ ecto ];
};
crypt = buildRebar3 rec {
name = "crypt";
version = "1.0.1";
src = fetchHex {
pkg = "${name}";
version = "${version}";
sha256 = "10ir7nsa0dkn5jr0w9x2m38jc73aym7llz2pnkwxk9f747izz3cn";
};
beamDeps = [];
};
custom_base = buildMix rec {
name = "custom_base";
version = "0.2.1";