File tree Expand file tree Collapse file tree
pkgs/tools/networking/openssh Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,9 +67,35 @@ stdenv.mkDerivation (finalAttrs: {
6767 # See discussion in https://github.com/NixOS/nixpkgs/pull/16966
6868 ./dont_create_privsep_path.patch
6969
70+ # See discussion in https://github.com/NixOS/nixpkgs/issues/466049 and
71+ # https://gitlab.archlinux.org/archlinux/packaging/packages/openssh/-/issues/23
72+ ( fetchpatch {
73+ name = "pkcs11-fetchkey-error-to-debug.patch" ;
74+ url = "https://github.com/openssh/openssh-portable/commit/607f337637f2077b34a9f6f96fc24237255fe175.patch" ;
75+ hunks = [ "2-" ] ;
76+ hash = "sha256-rdvKL6/rwrdhGKlcmdy6fxVgJgaaRsmngX0KkShXAhQ=" ;
77+ } )
78+ ( fetchpatch {
79+ name = "pkcs11-fix-pinentry.patch" ;
80+ url = "https://github.com/openssh/openssh-portable/commit/434ba7684054c0637ce8f2486aaacafe65d9b8aa.patch" ;
81+ # only applies to Makefile.in (which doesn't have a date header) so no hunks= needed
82+ hash = "sha256-3JQ3IJurngXclORrfC2Bx7xvmGA6w2nIh+eZ0zd0bLY=" ;
83+ } )
84+
7085 # See discussion in https://github.com/NixOS/nixpkgs/issues/453782 and
7186 # https://github.com/openssh/openssh-portable/pull/602
72- ./fix_pkcs11_tests.patch
87+ ( fetchpatch {
88+ name = "pkcs11-tests-allow-module-path.patch" ;
89+ url = "https://github.com/openssh/openssh-portable/commit/5e7c3f33b2693b668ecfbac84b85f2c0c84410c2.patch" ;
90+ hunks = [ "2-" ] ;
91+ hash = "sha256-mGpRGXurg8K9Wp8qoojG5MQ+3sZW2XKy2z0RDXLHaEc=" ;
92+ } )
93+ ( fetchpatch {
94+ name = "ssh-agent-tests-increase-timeout.patch" ;
95+ url = "https://github.com/openssh/openssh-portable/commit/1fdc3c61194819c16063dc430eeb84b81bf42dcf.patch" ;
96+ hunks = [ "2-" ] ;
97+ hash = "sha256-b9YCOav32kY5VEvIG3W1fyD87HaQxof6Zwq9Oo+/Lac=" ;
98+ } )
7399 ]
74100 ++ extraPatches ;
75101
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments