portunus: 2.0.0 -> 2.1.1

Changelog: <https://github.com/majewsky/portunus/releases/tag/v2.1.0>

v2.1.1 only fixes a regression that v2.1.0 introduced.
This commit is contained in:
Stefan Majewsky 2023-12-31 01:52:01 +01:00
parent ec3229de33
commit 3c05138a5c
2 changed files with 3 additions and 8 deletions

View File

@ -102,7 +102,7 @@ The pre-existing [services.ankisyncd](#opt-services.ankisyncd.enable) has been m
The `nimPackages` and `nim2Packages` sets have been removed.
See https://nixos.org/manual/nixpkgs/unstable#nim for more information.
- [Portunus](https://github.com/majewsky/portunus) has been updated to 2.0.
- [Portunus](https://github.com/majewsky/portunus) has been updated to major version 2.
This version of Portunus supports strong password hashes, but the legacy hash SHA-256 is also still supported to ensure a smooth migration of existing user accounts.
After upgrading, follow the instructions on the [upstream release notes](https://github.com/majewsky/portunus/releases/tag/v2.0.0) to upgrade all user accounts to strong password hashes.
Support for weak password hashes will be removed in NixOS 24.11.

View File

@ -6,24 +6,19 @@
buildGoModule rec {
pname = "portunus";
version = "2.0.0";
version = "2.1.1";
src = fetchFromGitHub {
owner = "majewsky";
repo = "portunus";
rev = "v${version}";
sha256 = "sha256-jicqH31Q+kDkOvtCg+HStQ4LUUzKm5ZO4utnAkCOLvY=";
sha256 = "sha256-+pMMIutj+OWKZmOYH5NuA4a7aS5CD+33vAEC9bJmyfM=";
};
buildInputs = [ libxcrypt-legacy ];
vendorHash = null;
postInstall = ''
mv $out/bin/{,portunus-}orchestrator
mv $out/bin/{,portunus-}server
'';
meta = with lib; {
description = "Self-contained user/group management and authentication service";
homepage = "https://github.com/majewsky/portunus";