Merge #222022: dovecot: avoid testing DES-encrypted passwords

...into staging-next

+4 -1
+1 -1
nixos/doc/manual/release-notes/rl-2305.section.md
··· 22 22 23 23 - `nixos-rebuild` now supports an extra `--specialisation` option that can be used to change specialisation for `switch` and `test` commands. 24 24 25 - - `libxcrypt`, the library providing the `crypt(3)` password hashing function, is now built without support for algorithms not flagged [`strong`](https://github.com/besser82/libxcrypt/blob/v4.4.33/lib/hashes.conf#L48). This affects the availability of password hashing algorithms used for system login (`login(1)`, `passwd(1)`), but also Apache2 Basic-Auth, Samba, OpenLDAP, and [many other packages](https://github.com/search?q=repo%3ANixOS%2Fnixpkgs%20libxcrypt&type=code). 25 + - `libxcrypt`, the library providing the `crypt(3)` password hashing function, is now built without support for algorithms not flagged [`strong`](https://github.com/besser82/libxcrypt/blob/v4.4.33/lib/hashes.conf#L48). This affects the availability of password hashing algorithms used for system login (`login(1)`, `passwd(1)`), but also Apache2 Basic-Auth, Samba, OpenLDAP, Dovecot, and [many other packages](https://github.com/search?q=repo%3ANixOS%2Fnixpkgs%20libxcrypt&type=code). 26 26 27 27 ## New Services {#sec-release-23.05-new-services} 28 28
+3
pkgs/servers/mail/dovecot/default.nix
··· 41 41 sed -i -s -E 's!\bcat\b!${coreutils}/bin/cat!g' src/lib-smtp/test-bin/*.sh 42 42 43 43 patchShebangs src/config/settings-get.pl 44 + 45 + # DES-encrypted passwords are not supported by NixPkgs anymore 46 + sed '/test_password_scheme("CRYPT"/d' -i src/auth/test-libpassword.c 44 47 '' + lib.optionalString stdenv.isLinux '' 45 48 export systemdsystemunitdir=$out/etc/systemd/system 46 49 '';