openssh: remove special-casing for 10.0p2 version
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user