openssh: remove special-casing for 10.0p2 version

This commit is contained in:
Morgan Jones
2025-10-24 23:09:54 -07:00
parent 5c98215bcd
commit aec6faf4d4
+2 -13
View File
@@ -8,19 +8,8 @@
let
common = opts: callPackage (import ./common.nix opts) { };
# Gets the correct OpenSSH URL for a given version.
urlFor =
version:
let
urlVersion =
{
# 10.0p1 was accidentally released as 10.0p2:
# https://www.openwall.com/lists/oss-security/2025/04/09/6
"10.0p2" = "10.0p1";
}
.${version} or version;
in
"mirror://openbsd/OpenSSH/portable/openssh-${urlVersion}.tar.gz";
# Gets the OpenSSH mirror URL.
urlFor = version: "mirror://openbsd/OpenSSH/portable/openssh-${version}.tar.gz";
in
{
openssh = common rec {